a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(var(--brand-surface-rgb), 0.08);
  background: #0f172a;
  color: var(--warm-white);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 164px 1fr auto;
  gap: 30px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.86;
}

.brand img {
  width: 100%;
  max-height: none;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-header {
  width: 164px;
  height: 24px;
  max-height: 24px;
  overflow: hidden;
}

.brand-footer {
  width: clamp(314px, 22.8vw, 342px);
  max-height: 67px;
}

.brand-header img {
  width: 164px;
  max-height: none;
}

.brand-footer img {
  max-height: 67px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  color: rgba(var(--brand-surface-rgb), 0.76);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: -13px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--warm-white);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-more-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.more-chevron {
  display: inline-block;
  margin-left: 3px;
  font-size: 10px;
  transform: translateY(-1px);
  transition: transform 180ms ease;
}

.nav-more.is-open .more-chevron,
.nav-more:focus-within .more-chevron,
.nav-more:hover .more-chevron {
  transform: translateY(-1px) rotate(180deg);
}

.more-menu {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  width: 230px;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(var(--brand-surface-rgb), 0.10);
  border-radius: 16px;
  background: #121c34;
  box-shadow: 0 18px 36px rgba(0, 9, 34, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-more:hover .more-menu,
.nav-more:focus-within .more-menu,
.nav-more.is-open .more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.more-menu .nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  color: rgba(var(--brand-surface-rgb), 0.74);
  font-size: 14px;
}

.more-menu .nav-link:hover,
.more-menu .nav-link.is-active {
  background: rgba(var(--brand-surface-rgb), 0.08);
  color: var(--warm-white);
}

.more-menu .nav-link::after {
  left: 12px;
  right: auto;
  bottom: 5px;
  width: 34px;
  height: 2px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 var(--space-4);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, filter 180ms ease;
}

.header-cta {
  min-width: 146px;
  min-height: 46px;
  border: 0;
  border-radius: 23px;
  padding-inline: 26px;
  font-size: 15px;
  font-weight: 600;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  filter: brightness(1.06);
}

.button:focus-visible,
.nav-link:focus-visible,
.nav-more-button:focus-visible {
  outline: 2px solid rgba(var(--brand-surface-rgb), 0.92);
  outline-offset: 3px;
}

.button-primary {
  background: var(--brand-gradient);
  color: #fff;
}

.button-secondary {
  border-color: rgba(var(--brand-surface-rgb), 0.24);
  background: rgba(var(--brand-surface-rgb), 0.08);
  color: var(--warm-white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 1px solid rgba(var(--brand-surface-rgb), 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--warm-white);
}

.menu-button span:not(.sr-only) {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  display: none;
}

.story-frame {
  min-height: 420px;
  display: grid;
  place-items: center;
  gap: var(--space-4);
  align-content: center;
  border: 1px solid rgba(var(--brand-surface-rgb), 0.16);
  border-radius: var(--radius-lg);
  background: rgba(var(--brand-surface-rgb), 0.08);
  box-shadow: inset 0 1px 0 rgba(var(--brand-surface-rgb), 0.12);
  text-align: center;
}

.story-frame img {
  width: min(180px, 42vw);
  border-radius: 34px;
  box-shadow: 0 24px 72px rgba(var(--brand-midnight-rgb), 0.3);
}

.story-frame span {
  display: block;
  color: var(--muted-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-frame strong {
  display: block;
  margin-top: var(--space-1);
  font-family: var(--font-editorial);
  font-size: 34px;
  font-weight: 400;
}

.card-list,
.proof-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-list li,
.proof-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  padding: var(--space-3) var(--space-4);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.proof-list li {
  background: var(--paper);
}

.moment-list,
.story-chip-list,
.magic-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.moment-list li,
.story-chip-list li,
.magic-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--warm-white);
  color: var(--ink);
  padding: var(--space-2) var(--space-3);
  font-size: 14px;
  font-weight: 500;
}

.magic-list {
  margin-top: var(--space-5);
}

.magic-list li {
  border-color: rgba(var(--brand-surface-rgb), 0.16);
  background: rgba(var(--brand-surface-rgb), 0.08);
  color: var(--warm-white);
}

.premium-phone {
  position: relative;
  isolation: isolate;
  justify-self: center;
  border-radius: 56px;
  background:
    linear-gradient(90deg, rgba(var(--brand-midnight-rgb), 0.78), rgba(var(--brand-surface-rgb), 0.9) 13%, rgba(var(--brand-neutral-rgb), 0.72) 35%, rgba(var(--brand-midnight-rgb), 0.78) 100%),
    linear-gradient(145deg, rgba(var(--brand-surface-rgb), 0.98), rgba(var(--brand-neutral-rgb), 0.42) 32%, rgba(var(--brand-midnight-rgb), 0.88) 100%);
  padding: 5px;
  box-shadow:
    inset 0 0 0 1px rgba(var(--brand-surface-rgb), 0.76),
    inset 8px 0 16px rgba(var(--brand-surface-rgb), 0.26),
    inset -9px 0 18px rgba(var(--brand-midnight-rgb), 0.5),
    0 28px 76px rgba(var(--brand-midnight-rgb), 0.28);
}

.premium-phone::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  pointer-events: none;
  border-radius: 50px;
  box-shadow:
    inset 1px 0 0 rgba(var(--brand-surface-rgb), 0.62),
    inset -1px 0 0 rgba(var(--brand-midnight-rgb), 0.48);
}

.phone-shell {
  width: min(380px, 82vw);
  min-height: 720px;
}

.phone-hardware {
  position: relative;
  min-height: inherit;
  z-index: 2;
  border-radius: 51px;
  background:
    linear-gradient(90deg, rgba(var(--brand-midnight-rgb), 0.96), rgba(var(--brand-slate-rgb), 0.96) 50%, rgba(var(--brand-midnight-rgb), 0.98)),
    var(--brand-midnight);
  padding: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(var(--brand-midnight-rgb), 0.9),
    inset 0 0 0 2px rgba(var(--brand-surface-rgb), 0.08);
}

.phone-rail {
  position: absolute;
  z-index: 2;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--brand-surface-rgb), 0.9), rgba(var(--brand-neutral-rgb), 0.38) 45%, rgba(var(--brand-midnight-rgb), 0.42));
  opacity: 0.9;
  box-shadow: inset -1px 0 0 rgba(var(--brand-midnight-rgb), 0.22);
}

.phone-rail-left {
  left: -3px;
  top: 104px;
  height: 74px;
}

.phone-rail-left::before,
.phone-rail-left::after {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: inherit;
}

.phone-rail-left::before {
  top: -48px;
  height: 28px;
}

.phone-rail-left::after {
  top: 88px;
  height: 54px;
}

.phone-rail-right {
  right: -3px;
  top: 154px;
  height: 86px;
}

.dynamic-island {
  position: absolute;
  z-index: 4;
  top: 17px;
  left: 50%;
  width: 96px;
  height: 27px;
  border-radius: 999px;
  background: rgba(var(--brand-midnight-rgb), 0.96);
  transform: translateX(-50%);
  box-shadow:
    inset 0 1px 2px rgba(var(--brand-surface-rgb), 0.12),
    0 1px 1px rgba(var(--brand-surface-rgb), 0.14);
}

.dynamic-island::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--brand-slate-rgb), 0.78);
}

.phone-screen {
  height: 100%;
  min-height: 672px;
  display: grid;
  align-content: end;
  gap: var(--space-3);
  border-radius: 43px;
  background: var(--brand-midnight) url("../assets/stories/garden-painting.png") center / cover;
  color: var(--warm-white);
  padding: var(--space-5);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(var(--brand-surface-rgb), 0.09),
    inset 0 -12px 22px rgba(var(--brand-midnight-rgb), 0.2);
}

.phone-screen span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(var(--brand-midnight-rgb), 0.72);
}

.phone-screen strong {
  font-family: var(--font-editorial);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.02;
  text-shadow: 0 2px 14px rgba(var(--brand-midnight-rgb), 0.86);
}

.phone-screen p {
  color: var(--muted-light);
  font-size: 15px;
}

.privacy-map {
  display: grid;
  gap: var(--space-3);
}

.privacy-map div,
.journey-stack div,
.life-line div,
.plan-grid article,
.edition-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--warm-white);
  padding: var(--space-4);
  box-shadow: 0 16px 46px rgba(var(--brand-midnight-rgb), 0.07);
}

.privacy-map span,
.life-line span,
.edition-grid span {
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: var(--space-4);
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
}

.life-line div {
  min-height: 190px;
}

.edition-grid article {
  background: rgba(var(--brand-surface-rgb), 0.08);
  border-color: rgba(var(--brand-surface-rgb), 0.14);
  box-shadow: none;
}

.edition-grid h2,
.plan-grid h2 {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 400;
}

.plan-grid {
  margin-top: var(--space-7);
}

.plan-grid article {
  min-height: 240px;
  display: grid;
  align-content: space-between;
}

.plan-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.journey-stack {
  display: grid;
  gap: var(--space-3);
}

.journey-stack div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 28px;
}

.journey-stack span {
  font-family: var(--font-sans);
  text-align: right;
}

.home-phone {
  width: 214px;
  min-height: 430px;
  border-radius: 44px;
  padding: 5px;
}

.home-phone-screen {
  min-height: 398px;
  display: grid;
  align-content: end;
  gap: var(--space-2);
  overflow: hidden;
  border-radius: 36px;
  background: var(--brand-midnight) url("../assets/stories/garden-painting.png") center / cover;
  color: var(--warm-white);
  padding: var(--space-5) var(--space-3) var(--space-3);
}

.hero-trove-phone {
  width: 204px;
  min-height: 408px;
}

.hero-trove-phone .phone-hardware {
  min-height: 408px;
}

.hero-trove-phone .phone-screen {
  min-height: 376px;
}

.home-phone .phone-hardware {
  border-radius: 43px;
  padding: 6px;
}

.home-phone .dynamic-island {
  top: 14px;
  width: 64px;
  height: 19px;
}

.home-phone .phone-rail-left {
  top: 76px;
  height: 46px;
}

.home-phone .phone-rail-right {
  top: 108px;
  height: 62px;
}

.phone-topline,
.phone-hero-card span,
.home-phone-screen > span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-hero-card {
  display: grid;
  gap: 4px;
}

.phone-hero-card strong {
  font-family: var(--font-editorial);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(var(--brand-midnight-rgb), 0.86);
}

.phone-list {
  display: grid;
  gap: 6px;
}

.phone-list p {
  margin: 0;
  border-radius: 999px;
  background: rgba(var(--brand-surface-rgb), 0.16);
  color: rgba(var(--brand-surface-rgb), 0.9);
  padding: 7px 9px;
  font-size: 12px;
}

.premium-phone {
  border-radius: 54px;
  background:
    linear-gradient(90deg, rgba(var(--brand-midnight-rgb), 0.72), rgba(var(--brand-surface-rgb), 0.9) 10%, rgba(var(--brand-neutral-rgb), 0.58) 28%, rgba(var(--brand-surface-rgb), 0.66) 48%, rgba(var(--brand-midnight-rgb), 0.72) 100%);
  padding: 3px;
  box-shadow:
    inset 1px 0 0 rgba(var(--brand-surface-rgb), 0.72),
    inset -1px 0 0 rgba(var(--brand-midnight-rgb), 0.44),
    0 28px 60px rgba(15, 23, 42, 0.24);
}

.premium-phone::before {
  inset: 5px;
  border-radius: 50px;
  box-shadow:
    inset 1px 0 0 rgba(var(--brand-surface-rgb), 0.44),
    inset -1px 0 0 rgba(var(--brand-midnight-rgb), 0.42);
}

.premium-phone::after {
  content: "";
  position: absolute;
  inset: 8px 9px auto;
  z-index: 5;
  height: 44%;
  pointer-events: none;
  border-radius: 44px 44px 18px 18px;
  background: linear-gradient(115deg, rgba(var(--brand-surface-rgb), 0.16), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.52;
}

.phone-hardware {
  border-radius: 51px;
  background:
    linear-gradient(90deg, rgba(var(--brand-midnight-rgb), 0.94), rgba(var(--brand-slate-rgb), 0.9) 45%, rgba(var(--brand-midnight-rgb), 0.98)),
    var(--brand-midnight);
  padding: 5px;
}

.phone-screen {
  border-radius: 46px;
}

.home-phone .phone-hardware {
  border-radius: 50px;
  padding: 5px;
}

.home-phone .dynamic-island {
  top: 13px;
  width: 76px;
  height: 22px;
}

.home-phone .phone-rail-left {
  left: -4px;
  top: 82px;
  height: 54px;
}

.home-phone .phone-rail-right {
  right: -4px;
  top: 128px;
  height: 72px;
}

.app-phone-screen {
  border-radius: 44px;
  padding: 46px 18px 16px;
}

.flow-phone {
  width: min(246px, 100%);
  min-height: 492px;
  box-shadow: inset 0 0 0 1px rgba(var(--brand-surface-rgb), 0.58), 0 18px 50px rgba(var(--brand-midnight-rgb), 0.18);
}

.flow-phone .phone-hardware {
  min-height: 492px;
}

.flow-phone .phone-screen {
  min-height: 458px;
}

.app-phone-screen,
.flow-phone-screen {
  position: relative;
  min-height: 398px;
  align-content: start;
  gap: 0;
  background:
    linear-gradient(180deg, rgba(var(--brand-surface-rgb), 0.98), rgba(var(--brand-neutral-rgb), 0.12) 100%),
    var(--brand-surface);
  color: var(--ink);
  padding: 42px 12px 13px;
  border-radius: 37px;
}

.app-phone-screen::before,
.flow-phone-screen::before {
  content: "9:41";
  position: absolute;
  top: 15px;
  left: 22px;
  z-index: 2;
  color: rgba(var(--brand-midnight-rgb), 0.86);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.app-phone-screen::after,
.flow-phone-screen::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 21px;
  z-index: 2;
  width: 31px;
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(var(--brand-midnight-rgb), 0.8) 0 5px, transparent 5px 8px, rgba(var(--brand-midnight-rgb), 0.8) 8px 14px, transparent 14px 17px, rgba(var(--brand-midnight-rgb), 0.8) 17px 100%);
  opacity: 0.82;
}

.app-phone-screen > span,
.app-phone-screen > strong,
.app-phone-screen > p,
.flow-phone-screen > span,
.flow-phone-screen > strong,
.flow-phone-screen > p {
  display: none;
}

.trove-ui,
.flow-screen-ui {
  position: relative;
  min-height: calc(100% - 2px);
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-family: var(--font-sans);
  padding-bottom: 43px;
}

.hero-trove-phone .trove-ui {
  gap: 12px;
  padding-bottom: 48px;
}

.hero-trove-phone .app-nav {
  min-height: 34px;
  border-bottom-color: rgba(var(--brand-midnight-rgb), 0.055);
  padding: 2px 0 10px;
  font-size: 10px;
}

.hero-trove-phone .app-nav strong {
  font-size: 13px;
  font-weight: 560;
}

.trove-ui::after,
.flow-screen-ui::after {
  content: "Today    Troves    People    Search    More";
  position: absolute;
  right: -2px;
  bottom: 0;
  left: -2px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  color: rgba(var(--brand-slate-rgb), 0.64);
  font-size: 8px;
  letter-spacing: 0;
  white-space: pre;
}

.trove-ui::before,
.flow-screen-ui::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: rgba(var(--brand-midnight-rgb), 0.86);
  transform: translateX(-50%);
}

.app-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  align-items: center;
  min-height: 28px;
  border-bottom: 1px solid rgba(var(--brand-midnight-rgb), 0.07);
  color: rgba(var(--brand-slate-rgb), 0.7);
  font-size: 10px;
  line-height: 1;
  padding: 2px 2px 8px;
}

.app-nav strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 560;
}

.app-nav span:last-child {
  text-align: right;
}

.trove-cover,
.create-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--brand-midnight);
}

.trove-cover {
  min-height: 130px;
  display: grid;
  align-items: end;
  padding: 14px;
}

.hero-trove-phone .trove-cover {
  min-height: 178px;
  border-radius: 22px;
  padding: 16px;
}

.trove-cover img,
.create-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trove-cover::after,
.create-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--brand-midnight-rgb), 0.02), rgba(var(--brand-midnight-rgb), 0.72));
}

.trove-cover > div,
.create-card strong,
.create-card span {
  position: relative;
  z-index: 1;
}

.trove-cover strong,
.create-card strong {
  display: block;
  color: var(--brand-surface);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.05;
}

.hero-trove-phone .trove-cover strong {
  font-size: 23px;
}

.hero-trove-phone .trove-cover span {
  font-size: 12px;
}

.trove-cover span,
.create-card span {
  color: rgba(var(--brand-surface-rgb), 0.76);
  font-size: 10px;
}

.trove-meta,
.trove-tabs,
.trove-stats,
.trove-intel,
.field-row,
.invite-card,
.contributor-row,
.complete-card {
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.075);
  border-radius: 16px;
  background: rgba(var(--brand-surface-rgb), 0.82);
  box-shadow: 0 7px 18px rgba(var(--brand-midnight-rgb), 0.04);
}

.hero-trove-phone .trove-meta,
.hero-trove-phone .trove-tabs,
.hero-trove-phone .trove-stats,
.hero-trove-phone .trove-intel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-trove-phone .trove-meta {
  border-bottom: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  padding: 2px 0 13px;
}

.trove-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 8px;
}

.trove-meta p,
.invite-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-right: -6px;
  border: 2px solid var(--brand-surface);
  border-radius: 50%;
  background: var(--brand-gradient-horizontal);
  color: var(--brand-surface);
  font-size: 8px;
  font-weight: 500;
}

.avatar-stack-images span {
  background: var(--avatar-image) center / cover;
  color: transparent;
}

.hero-trove-phone .avatar-stack span {
  width: 31px;
  height: 31px;
  margin-right: -8px;
  border-width: 2px;
}

.hero-trove-phone .trove-meta p {
  font-size: 12px;
}

.trove-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  background: rgba(var(--brand-neutral-rgb), 0.16);
}

.hero-trove-phone .trove-tabs {
  border-bottom: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  padding: 0 0 10px;
  background: transparent;
}

.hero-trove-phone .trove-tabs span {
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(var(--brand-slate-rgb), 0.68);
  font-size: 12px;
  text-align: left;
}

.hero-trove-phone .trove-tabs span:first-child {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.hero-trove-phone .trove-tabs span:first-child::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -11px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-midnight);
}

.trove-tabs span {
  border-radius: 11px;
  color: var(--muted);
  padding: 7px 0;
  text-align: center;
  font-size: 9px;
}

.trove-tabs span:first-child {
  background: var(--brand-midnight);
  color: var(--brand-surface);
}

.trove-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.hero-trove-phone .trove-stats {
  border-bottom: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
}

.hero-trove-phone .trove-stats div {
  padding: 6px 0 14px;
}

.hero-trove-phone .trove-stats strong {
  font-size: 26px;
  font-weight: 600;
}

.hero-trove-phone .trove-stats span {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.trove-stats div {
  padding: 9px;
}

.trove-stats div + div {
  border-left: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
}

.trove-stats strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 560;
  line-height: 1;
}

.trove-stats span {
  color: var(--muted);
  font-size: 9px;
}

.trove-intel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.hero-trove-phone .trove-intel p {
  padding: 8px 0;
  color: rgba(var(--brand-slate-rgb), 0.78);
  font-size: 12px;
}

.trove-intel p {
  margin: 0;
  color: var(--ink);
  padding: 8px 9px;
  font-size: 10px;
}

.trove-intel p + p {
  border-top: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
}

.flow-ui {
  display: grid;
  gap: 8px;
  margin: 4px 0 6px;
}

.flow-ui-create div,
.flow-ui-upload div,
.flow-ui-complete div {
  min-height: 42px;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
  border-radius: 14px;
  background: rgba(var(--brand-surface-rgb), 0.82);
  box-shadow: 0 5px 14px rgba(var(--brand-midnight-rgb), 0.035);
}

.flow-ui-create div:first-child,
.flow-ui-complete div {
  background: var(--brand-gradient-horizontal);
}

.flow-ui-invite div {
  display: flex;
}

.flow-ui-invite span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-right: -8px;
  border: 2px solid var(--brand-surface);
  border-radius: 50%;
  background: var(--brand-gradient-horizontal);
  color: var(--brand-surface);
  font-size: 10px;
  font-weight: 500;
}

.flow-ui small,
.flow-ui-complete small {
  color: var(--muted);
  font-size: 11px;
}

.flow-ui-upload {
  grid-template-columns: repeat(2, 1fr);
}

.flow-ui-timeline {
  position: relative;
  padding-left: 16px;
}

.flow-ui-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: var(--brand-gradient);
}

.flow-ui-timeline i {
  min-height: 30px;
  border-radius: 10px;
  background: rgba(var(--brand-midnight-rgb), 0.06);
}

.flow-ui-complete strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
}

.create-card {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 2px;
  padding: 14px;
}

.field-row,
.contributor-row,
.complete-card {
  display: grid;
  gap: 4px;
  padding: 11px;
}

.field-row span,
.contributor-row span,
.complete-card span {
  color: var(--muted);
  font-size: 9px;
}

.field-row strong,
.contributor-row strong,
.complete-card strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 560;
}

.invite-card {
  display: grid;
  gap: 8px;
  padding: 11px;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.upload-grid img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(var(--brand-midnight-rgb), 0.08);
}

.timeline-list {
  display: grid;
  gap: 8px;
}

.timeline-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.075);
  border-radius: 16px;
  background: rgba(var(--brand-surface-rgb), 0.84);
  padding: 7px;
  box-shadow: 0 6px 17px rgba(var(--brand-midnight-rgb), 0.04);
}

.timeline-list img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.timeline-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 560;
}

.timeline-list span {
  color: var(--muted);
  font-size: 9px;
}

.timeline-list article div::after {
  content: "12 reactions - 4 comments";
  display: block;
  margin-top: 3px;
  color: rgba(var(--brand-slate-rgb), 0.52);
  font-size: 8px;
  line-height: 1;
}

.complete-card {
  background: var(--brand-midnight);
  box-shadow: 0 12px 28px rgba(var(--brand-midnight-rgb), 0.18);
}

.complete-card strong {
  color: var(--brand-surface);
}

.complete-card span {
  color: rgba(var(--brand-surface-rgb), 0.72);
}

.suggestion-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  border-radius: 16px;
  background: rgba(var(--brand-surface-rgb), 0.86);
  padding: 12px;
}

.suggestion-card span,
.approval-row span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.suggestion-card strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.22;
}

.suggestion-card p {
  margin: 0;
  color: rgba(var(--brand-slate-rgb), 0.72);
  font-size: 10px;
  line-height: 1.35;
}

.approval-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  padding: 9px 0;
}

.approval-row strong {
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
  color: #fff;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 600;
}

.qr-card {
  min-height: 142px;
  display: grid;
  grid-template-columns: repeat(2, 42px);
  gap: 12px;
  place-content: center;
  position: relative;
  border-radius: 20px;
  background: var(--brand-midnight);
  color: var(--brand-surface);
}

.qr-card span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-gradient-horizontal);
}

.qr-card strong {
  grid-column: 1 / -1;
  color: var(--brand-surface);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.share-row,
.join-card {
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.075);
  border-radius: 16px;
  background: rgba(var(--brand-surface-rgb), 0.72);
  box-shadow: 0 5px 16px rgba(var(--brand-midnight-rgb), 0.035);
}

.share-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
}

.share-row span,
.join-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.share-row strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
}

.join-card {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.arrival-stack {
  display: grid;
  gap: 8px;
}

.arrival-stack article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
  border-radius: 16px;
  background: rgba(var(--brand-midnight-rgb), 0.025);
  padding: 7px;
  animation: upload-arrive 520ms ease both;
}

.arrival-stack article:nth-child(2) {
  animation-delay: 120ms;
}

.arrival-stack article:nth-child(3) {
  animation-delay: 240ms;
}

.arrival-stack img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.arrival-stack strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
}

.arrival-stack span {
  color: var(--muted);
  font-size: 10px;
}

.story-timeline-list article {
  animation: upload-arrive 520ms ease both;
}

.story-timeline-list article:nth-child(2) {
  animation-delay: 90ms;
}

.story-timeline-list article:nth-child(3) {
  animation-delay: 180ms;
}

.story-timeline-list article:nth-child(4) {
  animation-delay: 270ms;
}

.completed-cover {
  position: relative;
  min-height: 188px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 24px;
  background: var(--brand-midnight);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(var(--brand-midnight-rgb), 0.12);
}

.completed-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.completed-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--brand-midnight-rgb), 0.04), rgba(var(--brand-midnight-rgb), 0.78));
}

.completed-cover div {
  position: relative;
  z-index: 1;
}

.completed-cover strong {
  display: block;
  color: var(--brand-surface);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 520;
}

.completed-cover span {
  color: rgba(var(--brand-surface-rgb), 0.74);
  font-size: 10px;
}

.finish-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.finish-actions span {
  border-radius: 999px;
  background: rgba(var(--brand-midnight-rgb), 0.06);
  color: var(--ink);
  padding: 8px 5px;
  font-size: 9px;
  text-align: center;
}

.trust-status-card,
.trust-toggle-card {
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.075);
  border-radius: 16px;
  background: rgba(var(--brand-surface-rgb), 0.72);
  padding: 10px;
  box-shadow: 0 5px 16px rgba(var(--brand-midnight-rgb), 0.035);
}

.trust-status-card {
  display: grid;
  gap: 4px;
}

.trust-status-card strong,
.trust-toggle-card strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 520;
}

.trust-status-card span,
.trust-toggle-card span {
  color: var(--muted);
  font-size: 10px;
}

.trust-toggle-card {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.trust-toggle-card strong {
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
  color: var(--brand-surface);
  padding: 5px 8px;
  font-size: 9px;
}

.your-story-phone-ui {
  gap: 11px;
}

.your-story-pill-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.your-story-pill-row span {
  border-radius: 999px;
  background: rgba(var(--brand-midnight-rgb), 0.055);
  color: var(--ink);
  padding: 8px 5px;
  font-size: 9px;
  font-weight: 500;
  text-align: center;
}

.life-chapter-list {
  display: grid;
  gap: 8px;
}

.life-chapter-list div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
  border-radius: 16px;
  background: rgba(var(--brand-midnight-rgb), 0.025);
  padding: 12px;
}

.life-chapter-list span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.life-chapter-list strong {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 450;
}

.person-card {
  display: grid;
  justify-items: center;
  gap: 5px;
  border-radius: 22px;
  background: var(--brand-midnight);
  padding: 14px;
  text-align: center;
}

.person-card img {
  width: 84px;
  height: 84px;
  border: 3px solid rgba(var(--brand-surface-rgb), 0.72);
  border-radius: 999px;
  object-fit: cover;
}

.person-card strong {
  color: var(--brand-surface);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
}

.person-card span {
  color: rgba(var(--brand-surface-rgb), 0.72);
  font-size: 10px;
}

.relationship-timeline {
  display: grid;
  gap: 4px;
  padding-left: 8px;
}

.relationship-timeline div {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: center;
}

.relationship-timeline span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
  box-shadow: 0 0 0 5px rgba(var(--brand-midnight-rgb), 0.045);
}

.relationship-timeline strong {
  border-bottom: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 0;
}

.story-map {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(var(--brand-blue-rgb), 0.16), rgba(var(--brand-orange-rgb), 0.18)),
    var(--brand-surface-soft);
  padding: 14px;
}

.story-map::before,
.story-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  border-radius: 999px;
}

.story-map::before {
  inset: 24px 34px 48px 22px;
}

.story-map::after {
  inset: 70px 12px 22px 60px;
}

.story-map strong {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.pin {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid var(--brand-surface);
  border-radius: 999px;
  background: var(--brand-pink);
  box-shadow: 0 8px 20px rgba(var(--brand-midnight-rgb), 0.18);
}

.pin-one {
  left: 26%;
  top: 31%;
}

.pin-two {
  right: 27%;
  top: 41%;
  background: var(--brand-blue);
}

.pin-three {
  left: 51%;
  bottom: 34%;
  background: var(--brand-orange);
}

.tradition-loop {
  display: grid;
  gap: 8px;
}

.tradition-loop div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
  border-radius: 16px;
  background: rgba(var(--brand-midnight-rgb), 0.025);
  padding: 9px;
}

.tradition-loop span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
  color: var(--brand-surface);
  font-size: 10px;
  font-weight: 600;
}

.tradition-loop strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
}

.memory-notification {
  display: grid;
  gap: 10px;
  border-radius: 22px;
  background: var(--brand-midnight);
  padding: 12px;
  box-shadow: 0 18px 42px rgba(var(--brand-midnight-rgb), 0.18);
}

.memory-notification img {
  width: 100%;
  height: 148px;
  border-radius: 16px;
  object-fit: cover;
}

.memory-notification strong {
  display: block;
  color: var(--brand-surface);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.memory-notification span {
  color: rgba(var(--brand-surface-rgb), 0.72);
  font-size: 10px;
}

.story-edition-phone-ui {
  gap: 10px;
}

.edition-flow-list {
  display: grid;
  gap: 5px;
}

.edition-flow-list div {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 7px;
  align-items: center;
}

.edition-flow-list span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
}

.edition-flow-list strong {
  border-bottom: 1px solid rgba(var(--brand-midnight-rgb), 0.08);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 7px 0;
}

.certificate-card {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.14);
  background:
    linear-gradient(145deg, rgba(var(--brand-surface-rgb), 0.98), rgba(var(--brand-neutral-rgb), 0.34)),
    var(--brand-surface);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(var(--brand-midnight-rgb), 0.12);
}

.certificate-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
  opacity: 0.9;
}

.certificate-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certificate-card strong {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 400;
  line-height: 0.98;
}

.certificate-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.certificate-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: var(--space-3) 0 0;
  overflow: hidden;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
  border-radius: 14px;
  background: rgba(var(--brand-midnight-rgb), 0.1);
}

.certificate-card dl div {
  display: grid;
  gap: 4px;
  background: rgba(var(--brand-surface-rgb), 0.78);
  padding: 10px;
}

.certificate-card dt {
  color: var(--muted);
  font-size: 10px;
}

.certificate-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.mini-certificate {
  border-radius: 18px;
  padding: 14px;
}

.mini-certificate strong {
  font-size: 24px;
}

.mini-certificate dl {
  grid-template-columns: 1fr;
  margin-top: 4px;
}

.mini-certificate::after {
  width: 30px;
  height: 30px;
  right: 12px;
  bottom: 12px;
}

.book-preview-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.1);
  border-radius: 18px;
  background: rgba(var(--brand-midnight-rgb), 0.025);
  padding: 9px;
}

.book-preview-card img {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  object-fit: cover;
}

.book-preview-card strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.book-preview-card span {
  color: var(--muted);
  font-size: 10px;
}

.plans-phone-ui {
  gap: 9px;
}

.plans-join-list {
  display: grid;
  gap: 5px;
}

.plans-join-list div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(var(--brand-midnight-rgb), 0.09);
  border-radius: 12px;
  background: rgba(var(--brand-midnight-rgb), 0.025);
  padding: 7px;
}

.plans-join-list span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
}

.plans-join-list strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
}

.plans-join-list em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.hosted-phone-ui {
  gap: 10px;
}

.get-phone-ui {
  gap: 10px;
}

.trust-card-screen {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(var(--brand-midnight-rgb), 0.04);
}

.ask-card {
  border-radius: 18px;
  background: var(--brand-midnight);
  color: var(--brand-surface);
  padding: 14px;
}

.ask-card span {
  display: block;
  color: var(--brand-surface);
  font-size: 13px;
  line-height: 1.28;
  text-transform: none;
  letter-spacing: 0;
}

@keyframes upload-arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.perspective-tile,
.story-moment {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: var(--midnight);
  box-shadow: 0 16px 50px rgba(var(--brand-midnight-rgb), 0.1);
}

.perspective-tile::before,
.story-moment::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(var(--brand-surface-rgb), 0.82);
  border-radius: 16px;
  opacity: 0.78;
  pointer-events: none;
}

.perspective-tile img,
.story-moment img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
}

.crop-left img {
  object-position: 8% center;
}

.crop-right img {
  object-position: 92% center;
}

.crop-center img {
  object-position: 42% 72%;
}

.crop-wall img {
  object-position: 72% center;
}

.perspective-tile figcaption {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  border-radius: 999px;
  background: rgba(var(--brand-midnight-rgb), 0.72);
  color: var(--warm-white);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
}

.sequence-card {
  display: grid;
  justify-items: center;
}

.sequence-card:nth-child(2),
.sequence-card:nth-child(4) {
  transform: translateY(28px);
}

.sequence-card .home-phone {
  width: 170px;
  min-height: 340px;
}

.sequence-card .home-phone-screen {
  min-height: 308px;
}

.story-moment {
  min-height: 220px;
}

.story-moment-flow {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--brand-midnight);
  box-shadow: 0 22px 70px rgba(var(--brand-midnight-rgb), 0.28);
}

.story-moment-flow::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(var(--brand-surface-rgb), 0.78);
  border-radius: 19px;
  pointer-events: none;
}

.story-moment-flow.is-final::before {
  border-color: rgba(var(--brand-surface-rgb), 0.94);
}

.story-moment-flow img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.story-moment-flow figcaption {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  border-radius: 999px;
  background: rgba(var(--brand-midnight-rgb), 0.72);
  color: var(--brand-surface);
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 500;
}

.moment-a,
.moment-c {
  height: 180px;
}

.moment-b {
  height: 240px;
}

.moment-final {
  height: 360px;
}

.moment-a img {
  object-position: 42% center;
}

.moment-b img {
  object-position: 36% 82%;
}

.moment-c img {
  object-position: 12% center;
}

.moment-final img {
  object-position: center;
}

.capability-panel article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: var(--space-4);
}

.intelligence-thread article {
  position: relative;
  display: grid;
  gap: var(--space-1);
  border-left: 0;
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
}

.intelligence-thread h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 25px;
  font-weight: 400;
}

.intelligence-thread p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.intelligence-thread span {
  position: absolute;
  top: 18px;
  left: 0;
  width: 18px;
  height: 18px;
  display: block;
  border-top: 2px solid var(--brand-blue);
  border-left: 2px solid var(--brand-blue);
  border-radius: 5px 0 0 0;
}

.intelligence-thread article:nth-child(2) span {
  border-color: var(--brand-indigo);
}

.intelligence-thread article:nth-child(3) span {
  border-color: var(--brand-pink);
}

.intelligence-thread article:nth-child(4) span {
  border-color: var(--brand-orange);
}

.capability-panel article span {
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: var(--space-4);
  border-radius: 999px;
  background: var(--brand-gradient-horizontal);
}

.capability-panel h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 26px;
  font-weight: 400;
}

.capability-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.home-trust-list {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-4) 0;
  padding: 0;
  list-style: none;
}

.home-trust-list li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-4);
  color: var(--brand-pink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration-line: underline;
  text-decoration-color: rgba(var(--brand-pink-rgb), 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link::after {
  content: "→";
  color: var(--brand-orange);
  text-decoration: none;
}

.text-link:hover {
  color: var(--brand-orange);
  text-decoration-color: rgba(var(--brand-orange-rgb), 0.48);
}

.home-light-button {
  border-color: var(--line);
  background: rgba(var(--brand-surface-rgb), 0.78);
  color: var(--ink);
}

@media (max-width: 860px) {
  .sequence-card:nth-child(2),
  .sequence-card:nth-child(4) {
    transform: none;
  }

  .sequence-card .home-phone {
    width: min(260px, 80vw);
  }

  .sequence-card .home-phone-screen {
    min-height: 430px;
  }
}

@media (max-width: 520px) {
  .home-phone {
    width: min(248px, 78vw);
    min-height: 484px;
  }

  .home-phone-screen {
    min-height: 452px;
  }
}

.site-footer {
  background: #0f172a;
  color: var(--warm-white);
  padding: var(--space-8) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(var(--space-5), 3.4vw, var(--space-7));
  align-items: start;
}

.footer-brand {
  padding-top: 2px;
}

.footer-brand p {
  margin-top: var(--space-4);
  color: var(--muted-light);
  font-family: var(--font-editorial);
  font-size: 28px;
  line-height: 1.12;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.footer-column h2 {
  color: rgba(var(--brand-surface-rgb), 0.98);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted-light);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--warm-white);
}

.footer-bottom {
  margin-top: var(--space-7);
  border-top: 1px solid rgba(var(--brand-surface-rgb), 0.12);
  padding-top: var(--space-4);
  color: rgba(var(--brand-surface-rgb), 0.66);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    min-height: 72px;
    grid-template-columns: 1fr auto;
    width: calc(100% - 40px);
  }

  .brand-header {
    width: 170px;
    height: 25px;
    max-height: 25px;
  }

  .brand-header img {
    width: 170px;
  }

  .footer-grid {
    grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(150px, 1fr));
  }

  .menu-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
  }

  body[data-menu-open] .mobile-menu {
    display: block;
    border-top: 1px solid rgba(var(--brand-surface-rgb), 0.12);
  }

  .mobile-menu-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.42fr);
    gap: var(--space-3);
    padding: var(--space-4) 0;
  }

  .mobile-menu-group {
    display: grid;
    align-content: start;
    gap: var(--space-3);
  }

  .mobile-legal-group {
    border-left: 1px solid rgba(var(--brand-surface-rgb), 0.12);
    padding-left: var(--space-4);
  }

  .mobile-legal-group p {
    margin: 0 0 2px;
    color: rgba(var(--brand-surface-rgb), 0.48);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .brand-footer {
    width: 294px;
    max-height: 58px;
  }
}

@media (max-width: 520px) {
  .brand-header {
    width: 170px;
    height: 25px;
    max-height: 25px;
  }

  .brand-header img {
    width: 170px;
  }

  .brand-footer {
    width: 276px;
    max-height: 54px;
  }

  .mobile-menu-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-legal-group {
    border-left: 0;
    border-top: 1px solid rgba(var(--brand-surface-rgb), 0.12);
    padding: var(--space-4) 0 0;
  }

  .story-frame {
    min-height: 320px;
  }
}

@media (min-width: 861px) {
  .hero-trove-phone {
    width: 260px;
    height: 545px;
    min-height: 545px;
    box-sizing: border-box;
  }

  .hero-trove-phone .phone-hardware {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .hero-trove-phone .phone-screen {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }
}
