:root {
  color-scheme: light dark;
  --bg: #f7f3ec;
  --bg-soft: #eef3ea;
  --viewport-bg: #f7f3ec;
  --ink: #181714;
  --muted: rgba(24, 23, 20, 0.62);
  --native-muted: rgba(0, 0, 0, 0.58);
  --card: rgba(255, 251, 244, 0.86);
  --native-card: rgba(255, 251, 244, 0.80);
  --native-field-border: rgba(24, 23, 20, 0.08);
  --line: rgba(255, 255, 255, 0.66);
  --accent: #405261;
  --sage: #788f73;
  --warm: #b48f6b;
  --danger: #8f4d4d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1115;
    --bg-soft: #161c20;
    --viewport-bg: #0d1115;
    --ink: #f8f5ee;
    --muted: rgba(248, 245, 238, 0.68);
    --native-muted: rgba(255, 255, 255, 0.68);
    --card: rgba(27, 31, 35, 0.72);
    --native-card: rgba(27, 31, 35, 0.58);
    --native-field-border: rgba(255, 255, 255, 0.10);
    --line: rgba(255, 255, 255, 0.10);
    --accent: #aebfcc;
    --sage: #93aa8d;
    --warm: #c4a17b;
    --danger: #d18484;
  }
}

* {
  box-sizing: border-box;
  touch-action: manipulation;
}

html {
  min-height: 100%;
  background: var(--viewport-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  color: var(--ink);
  background: var(--viewport-bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 34px 20px 48px;
}

body.is-reading-shared .shell {
  min-height: 100svh;
  padding: calc(12px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));
}

body.is-reading-shared .repere-card.is-reading {
  min-height: calc(100svh - 36px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.is-reading-shared .footer {
  display: none;
}

.landing-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 52%, var(--bg) 100%);
}

.landing-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 6vh, 72px) clamp(24px, 5vw, 56px) clamp(56px, 8vw, 92px);
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vh, 112px);
}

.landing-shell > section[id] {
  scroll-margin-top: 84px;
}

.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.landing-topbar-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 11px clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
}

.landing-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 760;
}

.landing-nav-links a:hover {
  color: var(--ink);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.56fr);
  gap: clamp(64px, 10vw, 136px);
  align-items: center;
}

.landing-copy {
  min-width: 0;
  max-width: 640px;
}

.landing-copy h1 {
  margin: 0;
  max-width: 10.8ch;
  font-size: clamp(3rem, 6.4vw, 5.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.landing-lede {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.7vw, 1.36rem);
  line-height: 1.42;
  font-weight: 760;
}

.landing-note {
  max-width: 545px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
  font-weight: 600;
}

.phone-mockup {
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  justify-self: end;
}

.phone-frame {
  position: relative;
  width: min(308px, 100%);
  aspect-ratio: 390 / 844;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 58px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(160deg, #4b5054, #151b1f 46%, #080d10);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28), -18px 18px 80px rgba(120, 143, 115, 0.08);
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 96px;
  height: 28px;
  border-radius: 999px;
  background: #090d10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 12px rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 70px 25px 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 47px;
  background:
    radial-gradient(circle at 20% 4%, rgba(255, 255, 255, 0.20), transparent 12rem),
    linear-gradient(152deg, rgba(255, 255, 255, 0.14), transparent 42%),
    #11171b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.13), transparent 30%, transparent 72%, rgba(255, 255, 255, 0.04));
}

.preview-top,
.phone-screen h2,
.preview-steps {
  position: relative;
  z-index: 1;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(248, 245, 238, 0.62);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phone-screen h2 {
  margin: 50px 0 0;
  color: #f8f5ee;
  font-size: clamp(1.85rem, 3vw, 2.32rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.preview-steps {
  display: grid;
  gap: 0;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.preview-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.preview-steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  font-size: 0.82rem;
  font-weight: 850;
}

.preview-steps p {
  margin: 0;
  color: #f8f5ee;
  font-size: 0.94rem;
  line-height: 1.35;
  font-weight: 690;
}

.landing-lede,
.landing-note,
.phone-screen h2,
.preview-steps p {
  overflow-wrap: break-word;
}

.repere-card,
.collection-index,
.empty-state,
.code-card,
.revoked-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.repere-card {
  overflow: visible;
  scroll-margin-top: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero {
  min-height: 230px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 28% 42%, rgba(255, 255, 255, 0.42), transparent 7rem),
    radial-gradient(circle at 66% 35%, rgba(180, 143, 107, 0.22), transparent 9rem),
    linear-gradient(135deg, rgba(64, 82, 97, 0.82), rgba(120, 143, 115, 0.58));
}

.hero.has-image {
  padding: 0;
  min-height: auto;
}

.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
  background: rgba(255, 251, 244, 0.96);
  box-shadow: inset 0 0 0 1px rgba(64, 82, 97, 0.07), 0 10px 26px rgba(64, 82, 97, 0.08);
  font-size: 1.02rem;
  font-weight: 850;
}

.content {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.guide-overview-panel,
.step {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(64, 82, 97, 0.10), transparent 56%),
    rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 52px rgba(64, 82, 97, 0.08);
  backdrop-filter: blur(20px);
}

.guide-overview-panel {
  padding: clamp(26px, 6vw, 46px);
  border-radius: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.description {
  margin: 14px 0 0;
  color: var(--native-muted);
  font-size: clamp(1.12rem, 4vw, 1.46rem);
  line-height: 1.38;
  font-weight: 680;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.repere-actions {
  display: flex;
  margin-top: 30px;
}

.reader-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border-radius: 26px;
}

@media (prefers-color-scheme: dark) {
  .meta-pill {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .guide-overview-panel,
  .step {
    border-color: var(--native-field-border);
    background:
      linear-gradient(145deg, rgba(174, 191, 204, 0.10), transparent 56%),
      rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 1.12rem;
  font-weight: 850;
}

.step p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 4.2vw, 1.48rem);
  line-height: 1.18;
  font-weight: 850;
}

.step-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

.step-video,
.reader-video {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  margin-bottom: 12px;
  background: rgba(64, 82, 97, 0.14);
  border: 1px solid var(--line);
}

.reader-video {
  border-radius: 24px;
  margin-top: 16px;
}

.step-video iframe,
.reader-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.step .note {
  margin-top: 8px;
  color: var(--native-muted);
  font-size: clamp(1rem, 3.4vw, 1.14rem);
  line-height: 1.28;
  font-weight: 700;
}

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.empty-state,
.code-card,
.revoked-card {
  padding: 28px;
}

.brand-mark {
  width: 62px;
  height: 62px;
  display: block;
  border-radius: 22px;
  margin-bottom: 22px;
  background: var(--card);
  object-fit: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.brand-lockup .brand-mark-small {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  .landing-page {
    background: linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 52%, var(--bg) 100%);
  }
}

@media (max-width: 860px) {
  .landing-shell {
    gap: 54px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 58px;
  }

  .phone-mockup {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    padding: 28px 16px 48px;
    gap: 64px;
  }

  .landing-topbar-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .landing-copy h1 {
    max-width: 9.8ch;
    font-size: clamp(2.45rem, 11.2vw, 3.2rem);
    line-height: 1;
  }

  .landing-lede {
    margin-top: 26px;
    font-size: 1.12rem;
  }

  .landing-note {
    font-size: 1rem;
  }

  .phone-frame {
    width: min(284px, 100%);
    border-radius: 50px;
    padding: 10px;
  }

  .phone-frame::before {
    top: 19px;
    width: 78px;
    height: 24px;
  }

  .phone-screen {
    padding: 60px 22px 24px;
    border-radius: 40px;
  }

  .preview-top {
    gap: 10px;
    font-size: 0.62rem;
  }

  .phone-screen h2 {
    margin-top: 42px;
    font-size: 1.85rem;
  }

  .preview-steps li {
    padding: 15px 0;
  }

  .preview-steps p {
    font-size: 0.88rem;
  }
}

.code-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.code-input {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.44);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.primary-button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: white;
  background: linear-gradient(135deg, #405261, #5f7380);
  font-weight: 800;
  cursor: pointer;
}

.secondary-button,
.plain-button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.36);
  font-weight: 800;
  cursor: pointer;
}

.plain-button {
  min-height: 42px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  text-align: left;
}

button:focus-visible,
input:focus-visible,
.toc-link:focus-visible,
.collection-back-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent), white 28%);
  outline-offset: 3px;
}

.collection-index:focus,
.repere-card:focus,
.reader-panel:focus {
  outline: none;
}

button:disabled {
  cursor: default;
  opacity: 0.45;
}

.error {
  color: var(--danger);
  font-weight: 700;
}

.collection {
  display: grid;
  gap: 18px;
}

.collection .repere-card {
  display: none;
}

.collection .repere-card.is-selected,
.collection .repere-card:target {
  display: block;
}

.collection-index {
  padding: 34px 20px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.collection-index h1 {
  color: var(--ink);
}

.collection-index .description {
  color: var(--native-muted);
  font-weight: 660;
}

.toc-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.toc-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 18px 18px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 24px;
  background: var(--native-card);
}

.toc-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-size: 1.12rem;
  font-weight: 850;
}

.toc-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.toc-title {
  color: var(--ink);
  font-size: clamp(1.2rem, 4.1vw, 1.46rem);
  font-weight: 850;
  line-height: 1.12;
}

.toc-description,
.toc-meta {
  color: var(--native-muted);
  font-size: clamp(1rem, 3.4vw, 1.14rem);
  line-height: 1.25;
}

.toc-description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toc-meta {
  font-weight: 780;
}

.toc-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 251, 244, 0.72);
  font-weight: 850;
}

.collection-back-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 0 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.36);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 850;
}

@media (prefers-color-scheme: dark) {
  .toc-link {
    border-color: var(--native-field-border);
  }

  .toc-arrow,
  .collection-back-button {
    background: rgba(255, 255, 255, 0.08);
  }
}

.reader-panel {
  padding: 0;
  min-height: calc(100svh - 36px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 18px;
  background: transparent;
}

@media (prefers-color-scheme: dark) {
  .reader-panel {
    background: transparent;
  }

  .secondary-button {
    background: rgba(255, 255, 255, 0.08);
  }
}

.reader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reader-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.reader-top-actions .collection-back-button {
  flex: 0 0 auto;
  margin: 0;
}

.reader-count {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  margin-left: auto;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--native-card);
  font-size: 1rem;
  font-weight: 850;
}

.reader-close-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--native-card);
  text-align: center;
}

.reader-button-symbol {
  display: inline-grid;
  place-items: center;
  font-size: 1.5em;
  line-height: 1;
}

.reader-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.68);
}

.reader-progress div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--accent));
  transition: width 220ms ease;
}

.reader-stage {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: clamp(72px, 15svh, 142px);
  overflow: auto;
  scrollbar-width: none;
}

.reader-panel.is-finished .reader-stage {
  align-items: center;
  justify-content: center;
  padding-top: 0;
  overflow: visible;
}

.reader-stage::-webkit-scrollbar {
  display: none;
}

.reader-step,
.reader-finish {
  display: none;
  width: 100%;
}

.reader-step.is-active,
.reader-finish:not([hidden]) {
  display: block;
}

.reader-step-card {
  width: 100%;
  min-height: clamp(230px, 25svh, 322px);
  padding: clamp(26px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 34px;
  background-color: rgba(255, 255, 255, 0.38);
  background-image:
    linear-gradient(145deg, rgba(var(--guide-tint-red), var(--guide-tint-green), var(--guide-tint-blue), 0.24), transparent 66%),
    linear-gradient(rgba(var(--guide-tint-red), var(--guide-tint-green), var(--guide-tint-blue), 0.16), rgba(var(--guide-tint-red), var(--guide-tint-green), var(--guide-tint-blue), 0.16));
  box-shadow: 0 18px 52px rgba(64, 82, 97, 0.08);
  backdrop-filter: blur(20px);
}

.reader-finish:not([hidden]) {
  display: grid;
  justify-items: center;
  padding: 18px 0 8px;
  text-align: center;
}

.reader-finish-emoji {
  width: min(154px, 44vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.20), transparent 52%),
    var(--card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  font-size: clamp(4.25rem, 18vw, 4.9rem);
  line-height: 1;
}

.reader-step h2 {
  margin: 0;
  font-size: clamp(2.42rem, 9.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.reader-step-card .reader-image + h2,
.reader-step-card .reader-video + h2 {
  margin-top: clamp(24px, 6vw, 36px);
}

.reader-finish h2 {
  margin: clamp(46px, 10vw, 58px) 0 0;
  font-size: clamp(2.42rem, 10vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.reader-image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 24px;
  margin-top: 18px;
}

.reader-note,
.reader-finish p:not(.eyebrow) {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 3vw, 1.4rem);
  line-height: 1.36;
  font-weight: 600;
}

.reader-finish p:not(.eyebrow) {
  margin: 18px auto 0;
}

.reader-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.reader-controls .primary-button,
.reader-controls .secondary-button,
.repere-actions .primary-button {
  width: 100%;
}

.reader-controls .primary-button,
.reader-controls .secondary-button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.24rem;
  font-weight: 850;
}

.reader-controls .reader-next-button {
  gap: 10px;
}

.reader-controls .secondary-button:disabled {
  opacity: 1;
  cursor: default;
}

@media (prefers-color-scheme: dark) {
  body.is-reading-shared {
    background:
      radial-gradient(circle at 86% 20%, rgba(120, 143, 115, 0.14), transparent 30rem),
      linear-gradient(150deg, #0d1014 0%, #101516 54%, #171d1c 78%, #0d1115 100%);
  }

  .reader-count,
  .reader-close-button {
    color: rgba(255, 255, 255, 0.86);
    background: rgba(27, 31, 35, 0.72);
  }

  .reader-progress {
    background: rgba(27, 31, 35, 0.70);
  }

  .reader-step-card {
    border-color: rgba(var(--guide-tint-red), var(--guide-tint-green), var(--guide-tint-blue), 0.44);
    background-color: rgba(27, 31, 35, 0.86);
    background-image:
      linear-gradient(145deg, rgba(var(--guide-tint-red), var(--guide-tint-green), var(--guide-tint-blue), 0.25), transparent 68%),
      linear-gradient(rgba(var(--guide-tint-red), var(--guide-tint-green), var(--guide-tint-blue), 0.22), rgba(var(--guide-tint-red), var(--guide-tint-green), var(--guide-tint-blue), 0.22));
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 18px 12px 34px;
  }

  .repere-card,
  .collection-index,
  .empty-state,
  .code-card,
  .revoked-card {
    border-radius: 26px;
  }

  .content,
  .collection-index {
    padding: 20px 10px;
  }

  .collection-index {
    padding-top: 42px;
  }

  .toc-link {
    grid-template-columns: 40px minmax(0, 1fr) 42px;
    gap: 14px;
    min-height: 104px;
    padding: 16px;
  }

  .toc-arrow {
    width: 42px;
    height: 42px;
  }

  .reader-panel {
    min-height: calc(100svh - 36px);
  }

  .reader-top {
    align-items: center;
    gap: 12px;
  }

  .reader-top-actions {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reader-progress div {
    transition: none;
  }
}


/* ─── Landing: content sections ─── */

.landing-how,
.landing-uses,
.landing-share,
.landing-problem,
.landing-faq {
  display: grid;
  gap: clamp(26px, 3.4vw, 40px);
}

.landing-eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.landing-section-header {
  max-width: 720px;
}

.landing-section-title {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 2.85rem);
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.landing-section-sub {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.54;
  font-weight: 620;
}

/* Buttons */

.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 820;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}

.landing-btn--app {
  padding: 0 18px;
  min-height: 54px;
  color: #fff;
  background: #111418;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-btn--app:hover {
  background: #1c2128;
}

.landing-btn-apple {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.landing-btn-app-text {
  display: grid;
  line-height: 1.05;
  text-align: left;
}

.landing-btn-app-text small {
  font-size: 0.66rem;
  font-weight: 600;
  opacity: 0.86;
}

.landing-btn-app-text strong {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.landing-btn--solid {
  padding: 0 18px;
  min-height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  font-size: 0.96rem;
}

.landing-btn--ghost {
  padding: 0 20px;
  min-height: 54px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 1rem;
}

.landing-btn--ghost:hover {
  background: var(--card);
}

/* Hero CTA + trust strip */

.landing-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.landing-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.landing-trust svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--sage);
}

/* Problem: moment cards */

.landing-moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-moment {
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}

.landing-moment-time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.landing-moment-text {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 720;
  line-height: 1.4;
}

.landing-problem-punch {
  margin: 0;
  max-width: 640px;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 820;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.landing-problem-punch span {
  color: var(--muted);
}

/* How it works: numbered steps */

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-step {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.landing-step-num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  font-size: 1.02rem;
  font-weight: 850;
}

.landing-step-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 850;
  line-height: 1.18;
}

.landing-step-body {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.52;
  font-weight: 620;
}

/* Use cases: icon cards */

.landing-uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.landing-use-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}

.landing-use-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}

.landing-use-icon svg {
  width: 23px;
  height: 23px;
}

.landing-use-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.22;
}

.landing-use-body {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 620;
}

/* Features: editorial two-column list */

.landing-features {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.landing-features-head .landing-btn {
  margin-top: 26px;
}

.landing-feature-list {
  display: grid;
}

.landing-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.landing-feature:first-child {
  padding-top: 0;
  border-top: 0;
}

.landing-feature-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.landing-feature-icon svg {
  width: 28px;
  height: 28px;
}

.landing-feature-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.2;
}

.landing-feature-body {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 620;
  line-height: 1.5;
}

/* Sharing: icon + badge cards */

.landing-share-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.landing-share-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  display: grid;
  gap: 11px;
  align-content: start;
}

.landing-share-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 3px;
}

.landing-share-icon svg {
  width: 24px;
  height: 24px;
}

.landing-share-icon--open {
  color: #405261;
  background: rgba(64, 82, 97, 0.12);
}

.landing-share-icon--locked {
  color: var(--ink);
  background: rgba(24, 23, 20, 0.08);
}

.landing-share-icon--group {
  color: #4d6b52;
  background: rgba(120, 143, 115, 0.15);
}

.landing-share-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-share-badge--open {
  color: #405261;
  background: rgba(64, 82, 97, 0.11);
}

.landing-share-badge--locked {
  color: rgba(24, 23, 20, 0.64);
  background: rgba(24, 23, 20, 0.08);
}

.landing-share-badge--group {
  color: #4d6b52;
  background: rgba(120, 143, 115, 0.14);
}

.landing-share-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.2;
}

.landing-share-card-body {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 620;
  color: var(--muted);
  line-height: 1.54;
}

/* Privacy: tinted panel */

.landing-privacy {
  padding: clamp(28px, 4vw, 46px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(120, 143, 115, 0.16), rgba(64, 82, 97, 0.10));
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.landing-privacy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-privacy-point {
  display: grid;
  gap: 7px;
}

.landing-privacy-point svg {
  width: 25px;
  height: 25px;
  color: var(--sage);
}

.landing-privacy-title {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 850;
}

.landing-privacy-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 620;
  line-height: 1.5;
}

/* FAQ: accordion */

.landing-faq-list {
  display: grid;
  gap: 10px;
}

.landing-faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}

.landing-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 820;
}

.landing-faq-item summary::-webkit-details-marker {
  display: none;
}

.landing-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
}

.landing-faq-item[open] summary::after {
  content: "\2212";
}

.landing-faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.58;
}

/* Final CTA band */

.landing-cta {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 4vw, 48px);
  border-radius: 32px;
  text-align: center;
  color: #fff;
  background: linear-gradient(150deg, var(--accent), var(--sage));
}

.landing-cta-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
}

.landing-cta-sub {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 620;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.landing-cta .landing-btn--app {
  margin-top: 8px;
}

.landing-cta-reassure {
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 680;
  color: rgba(255, 255, 255, 0.82);
}

/* Footer */

.landing-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--line);
}

.landing-footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 640;
}

/* Dark mode */

@media (prefers-color-scheme: dark) {
  .landing-moment,
  .landing-step,
  .landing-use-card,
  .landing-share-card,
  .landing-faq-item {
    border-color: var(--native-field-border);
    background: var(--native-card);
  }

  .landing-privacy {
    border-color: var(--native-field-border);
    background: linear-gradient(140deg, rgba(147, 170, 141, 0.14), rgba(174, 191, 204, 0.08));
  }

  .landing-share-icon--open {
    color: #aebfcc;
    background: rgba(174, 191, 204, 0.15);
  }

  .landing-share-icon--locked {
    color: var(--ink);
    background: rgba(248, 245, 238, 0.10);
  }

  .landing-share-icon--group {
    color: #93aa8d;
    background: rgba(147, 170, 141, 0.16);
  }

  .landing-share-badge--open {
    color: #aebfcc;
    background: rgba(174, 191, 204, 0.14);
  }

  .landing-share-badge--locked {
    color: rgba(248, 245, 238, 0.60);
    background: rgba(248, 245, 238, 0.08);
  }

  .landing-share-badge--group {
    color: #93aa8d;
    background: rgba(147, 170, 141, 0.16);
  }
}

/* Responsive */

@media (max-width: 860px) {
  .landing-moments,
  .landing-privacy-points {
    grid-template-columns: 1fr;
  }

  .landing-steps {
    grid-template-columns: 1fr;
  }

  .landing-uses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-share-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .landing-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .landing-nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .landing-section-title {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .landing-uses-grid {
    grid-template-columns: 1fr;
  }

  .landing-share-cards {
    max-width: 100%;
  }

  .landing-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero-cta .landing-btn {
    justify-content: center;
  }
}

/* ─── Landing: aesthetic polish ─── */

.landing-page {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  --l-hairline: color-mix(in srgb, var(--ink) 9%, transparent);
  --l-shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 18px 36px -24px rgba(40, 52, 64, 0.30);
  --l-shadow-hover: 0 2px 5px rgba(20, 22, 26, 0.05), 0 28px 54px -26px rgba(40, 52, 64, 0.36);
  --l-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  .landing-page {
    --l-hairline: color-mix(in srgb, #fff 11%, transparent);
    --l-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 22px 44px -26px rgba(0, 0, 0, 0.72);
    --l-shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.5), 0 32px 60px -28px rgba(0, 0, 0, 0.82);
  }
}

/* Micro-typography */

.landing-copy h1 {
  letter-spacing: -0.025em;
}

.landing-section-title,
.landing-cta-title {
  letter-spacing: -0.02em;
}

/* Eyebrow: editorial leading rule */

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.landing-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

/* Top bar refinement */

.landing-topbar {
  border-bottom: 1px solid var(--l-hairline);
  box-shadow: 0 8px 24px -22px rgba(40, 52, 64, 0.5);
}

.landing-nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.landing-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--l-ease);
}

.landing-nav-links a:hover::after {
  transform: scaleX(1);
}

/* Buttons: depth, hover, press */

.landing-btn {
  transition: transform 0.25s var(--l-ease), box-shadow 0.25s var(--l-ease),
    background-color 0.2s ease, border-color 0.2s ease;
}

.landing-btn-apple {
  width: 24px;
  height: 24px;
}

.landing-btn--app {
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.55);
}

.landing-btn--app:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.58);
}

.landing-btn--app:active {
  transform: translateY(0);
}

.landing-btn--solid {
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}

.landing-btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--accent) 78%, transparent);
}

.landing-btn--ghost:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
}

/* Trust strip: chip-circled checks */

.landing-trust svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sage) 18%, transparent);
}

/* Surfaces: hairline + soft elevation */

.landing-moment,
.landing-step,
.landing-use-card,
.landing-share-card,
.landing-faq-item {
  border-color: var(--l-hairline);
  box-shadow: var(--l-shadow);
  transition: box-shadow 0.35s var(--l-ease), border-color 0.35s var(--l-ease),
    transform 0.35s var(--l-ease);
}

.landing-moment:hover,
.landing-step:hover,
.landing-use-card:hover,
.landing-share-card:hover {
  box-shadow: var(--l-shadow-hover);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
}

.landing-faq-item:hover {
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
}

/* Icon chips: inner highlight + drop */

.landing-use-icon {
  box-shadow: 0 7px 16px -8px rgba(40, 52, 64, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.landing-step-num {
  box-shadow: 0 9px 20px -9px color-mix(in srgb, var(--accent) 62%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.landing-share-icon {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 16%, transparent);
}

/* FAQ: circled marker */

.landing-faq-item summary {
  transition: background-color 0.2s ease;
}

.landing-faq-item summary::after {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 1.2rem;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.landing-faq-item[open] summary::after {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

/* Panels: refined depth */

.landing-privacy {
  border-color: var(--l-hairline);
  box-shadow: var(--l-shadow);
}

.landing-privacy-point svg {
  padding: 7px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sage) 16%, transparent);
  box-sizing: content-box;
}

.landing-cta {
  position: relative;
  overflow: hidden;
  box-shadow: 0 34px 64px -32px color-mix(in srgb, var(--accent) 62%, transparent);
}

.landing-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 78% at 50% -18%, rgba(255, 255, 255, 0.16), transparent 60%);
}

.landing-cta > * {
  position: relative;
}

/* Focus-visible: accessible and tidy */

.landing-page a:focus-visible,
.landing-page button:focus-visible,
.landing-page summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent), white 12%);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Hero entrance: subtle, motion-safe */

@media (prefers-reduced-motion: no-preference) {
  .landing-hero .landing-copy > *,
  .landing-hero .phone-mockup {
    animation: landing-rise 0.7s var(--l-ease) both;
  }

  .landing-copy .landing-eyebrow { animation-delay: 0.02s; }
  .landing-copy h1 { animation-delay: 0.09s; }
  .landing-copy .landing-lede { animation-delay: 0.17s; }
  .landing-copy .landing-hero-cta { animation-delay: 0.25s; }
  .landing-copy .landing-trust { animation-delay: 0.33s; }
  .landing-hero .phone-mockup { animation-delay: 0.2s; }
}

@keyframes landing-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ─── Landing V2: clinical clarity ─── */

.landing-page {
  --l-page-x: clamp(20px, 5vw, 72px);
  --l-max: 1120px;
  --l-text: #181714;
  --l-muted-strong: color-mix(in srgb, var(--ink) 72%, transparent);
  --l-rule: color-mix(in srgb, var(--ink) 10%, transparent);
  --l-soft-panel: color-mix(in srgb, var(--bg-soft) 56%, white 44%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 96%, white 4%) 0%, var(--bg) 46%, color-mix(in srgb, var(--bg-soft) 42%, var(--bg) 58%) 100%);
}

.landing-shell {
  width: 100%;
  padding: 0 0 clamp(48px, 7vw, 84px);
  gap: 0;
}

.landing-shell > section,
.landing-footer {
  width: min(var(--l-max), calc(100% - (var(--l-page-x) * 2)));
  margin-inline: auto;
}

.landing-shell > section:not(.landing-hero) {
  padding-block: clamp(64px, 9vw, 118px);
  border-top: 1px solid var(--l-rule);
}

.landing-shell > section[id] {
  scroll-margin-top: 76px;
}

.landing-topbar {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.1);
}

.landing-topbar-inner {
  width: min(var(--l-max), 100%);
  min-height: 68px;
  padding: 10px var(--l-page-x);
}

.brand-lockup {
  gap: 10px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.brand-lockup .brand-mark-small {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: none;
}

.landing-nav-links a {
  font-size: 0.9rem;
  font-weight: 720;
}

.landing-nav-links a::after {
  display: none;
}

.landing-btn {
  border-radius: 999px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.landing-btn:hover,
.landing-btn:active {
  transform: none !important;
}

.landing-btn--solid {
  min-height: 42px;
  padding-inline: 17px;
  background: var(--ink);
  box-shadow: none;
  font-size: 0.92rem;
}

.landing-btn--app {
  min-height: 56px;
  padding-inline: 20px 22px;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

.landing-btn--app:hover,
.landing-btn--solid:hover {
  background: color-mix(in srgb, var(--ink) 88%, var(--sage) 12%);
  box-shadow: none;
}

.landing-btn--ghost {
  min-height: 56px;
  padding-inline: 22px;
  border-color: var(--l-rule);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.landing-btn--ghost:hover {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border-color: color-mix(in srgb, var(--ink) 20%, transparent);
}

.landing-btn-app-text small {
  font-size: 0.65rem;
}

.landing-btn-app-text strong {
  font-size: 1.1rem;
}

.landing-hero {
  width: 100%;
  min-height: calc(100svh - 68px);
  padding: clamp(64px, 9vw, 112px) var(--l-page-x) clamp(72px, 10vw, 124px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(48px, 8vw, 116px);
  background:
    radial-gradient(circle at 78% 32%, color-mix(in srgb, var(--sage) 14%, transparent), transparent 26rem),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 98%, white 2%), color-mix(in srgb, var(--bg-soft) 34%, var(--bg) 66%));
  border-bottom: 1px solid var(--l-rule);
}

.landing-copy {
  max-width: 700px;
}

.landing-eyebrow {
  margin-bottom: 18px;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.075em;
}

.landing-eyebrow::before {
  width: 18px;
  height: 1px;
  opacity: 0.5;
}

.landing-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.55rem, 8.1vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.landing-lede {
  max-width: 610px;
  margin-top: clamp(28px, 4vw, 42px);
  color: var(--l-muted-strong);
  font-size: clamp(1.17rem, 1.8vw, 1.48rem);
  line-height: 1.42;
  font-weight: 640;
  letter-spacing: -0.012em;
}

.landing-hero-cta {
  margin-top: clamp(28px, 4vw, 42px);
  gap: 14px;
}

.landing-trust {
  max-width: 690px;
  margin-top: clamp(28px, 4vw, 44px);
  gap: 0;
  border-top: 1px solid var(--l-rule);
}

.landing-trust li {
  padding: 15px 22px 15px 0;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 0.92rem;
  font-weight: 680;
}

.landing-trust svg {
  width: 18px;
  height: 18px;
  padding: 0;
  color: var(--sage);
  background: transparent;
}

.phone-mockup {
  align-self: center;
}

.phone-frame {
  width: min(370px, 100%);
  padding: 10px;
  border-radius: 56px;
  border: 1px solid color-mix(in srgb, #fff 18%, #000 20%);
  background: linear-gradient(145deg, #343a3f, #080b0d 58%);
  box-shadow: 0 42px 90px -50px rgba(0, 0, 0, 0.72);
}

.phone-screen {
  padding: 72px 26px 30px;
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(248, 245, 238, 0.08), transparent 26%),
    #101518;
}

.phone-screen h2 {
  margin-top: 44px;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  letter-spacing: -0.04em;
}

.preview-steps li {
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 0;
}

.preview-steps span {
  width: 24px;
  height: 24px;
  background: #f8f5ee;
  color: #11171b;
  font-size: 0.76rem;
}

.preview-steps p {
  font-size: 0.96rem;
  font-weight: 620;
  color: rgba(248, 245, 238, 0.9);
}

.landing-how,
.landing-uses,
.landing-share,
.landing-problem,
.landing-faq,
.landing-privacy {
  gap: clamp(30px, 4.4vw, 56px);
}

.landing-section-header {
  max-width: 760px;
}

.landing-section-title {
  max-width: 860px;
  font-size: clamp(2.2rem, 4.9vw, 4.45rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.landing-section-sub {
  max-width: 650px;
  margin-top: 18px;
  color: var(--l-muted-strong);
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  line-height: 1.52;
  font-weight: 560;
}

.landing-moments,
.landing-steps,
.landing-uses-grid,
.landing-share-cards,
.landing-privacy-points {
  gap: 0;
}

.landing-moments,
.landing-steps {
  border-top: 1px solid var(--l-rule);
}

.landing-moment,
.landing-step {
  padding: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 30px) clamp(22px, 3vw, 34px) 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--l-rule);
  background: transparent;
  box-shadow: none;
}

.landing-moment:hover,
.landing-step:hover,
.landing-use-card:hover,
.landing-share-card:hover,
.landing-faq-item:hover {
  border-color: var(--l-rule);
  box-shadow: none;
  transform: none;
}

.landing-moment-time {
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--warm) 86%, var(--ink) 14%);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.landing-moment-text {
  max-width: 330px;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.45;
  font-weight: 620;
}

.landing-problem-punch {
  max-width: 780px;
  font-size: clamp(1.65rem, 3.2vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.landing-problem-punch span {
  display: block;
  margin-top: 10px;
  color: color-mix(in srgb, var(--ink) 54%, transparent);
}

.landing-step-num {
  width: auto;
  height: auto;
  margin-bottom: 18px;
  place-items: start;
  border-radius: 0;
  color: color-mix(in srgb, var(--ink) 34%, transparent);
  background: transparent;
  box-shadow: none;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.landing-step-title {
  font-size: clamp(1.24rem, 1.8vw, 1.55rem);
  letter-spacing: -0.02em;
}

.landing-step-body {
  max-width: 310px;
  margin-top: 10px;
  color: var(--l-muted-strong);
  font-size: 0.98rem;
  font-weight: 560;
}

.landing-uses-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--l-rule);
}

.landing-use-card {
  gap: 18px;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 34px) clamp(22px, 3vw, 34px) 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--l-rule);
  background: transparent;
  box-shadow: none;
}

.landing-use-card:nth-child(odd) {
  border-right: 1px solid var(--l-rule);
}

.landing-use-card:nth-child(even) {
  padding-left: clamp(18px, 3vw, 34px);
}

.landing-use-icon {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--sage) 16%, transparent) !important;
  box-shadow: none;
}

.landing-use-icon svg {
  width: 20px;
  height: 20px;
}

.landing-use-title,
.landing-share-card-title,
.landing-feature-title,
.landing-privacy-title {
  font-size: clamp(1.06rem, 1.3vw, 1.18rem);
  letter-spacing: -0.018em;
}

.landing-use-body,
.landing-share-card-body,
.landing-feature-body,
.landing-privacy-body,
.landing-faq-answer {
  color: var(--l-muted-strong);
  font-size: 0.96rem;
  font-weight: 540;
}

.landing-features {
  width: min(var(--l-max), calc(100% - (var(--l-page-x) * 2)));
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 7vw, 92px);
}

.landing-feature {
  padding: clamp(24px, 3.2vw, 36px) 0;
  border-color: var(--l-rule);
}

.landing-feature-icon {
  color: var(--sage);
}

.landing-share-cards {
  border-top: 1px solid var(--l-rule);
}

.landing-share-card {
  padding: clamp(26px, 3.2vw, 38px) clamp(20px, 3vw, 34px) clamp(26px, 3.2vw, 38px) 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--l-rule);
  background: transparent;
  box-shadow: none;
}

.landing-share-card:not(:last-child) {
  border-right: 1px solid var(--l-rule);
}

.landing-share-card + .landing-share-card {
  padding-left: clamp(20px, 3vw, 34px);
}

.landing-share-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 999px;
  box-shadow: none;
  background: transparent;
}

.landing-share-badge {
  padding: 0;
  background: transparent !important;
  color: color-mix(in srgb, var(--ink) 46%, transparent) !important;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.landing-privacy {
  width: min(var(--l-max), calc(100% - (var(--l-page-x) * 2)));
  padding: clamp(36px, 6vw, 76px);
  border: 1px solid var(--l-rule);
  border-radius: 34px;
  background: color-mix(in srgb, var(--bg-soft) 64%, var(--bg) 36%);
  box-shadow: none;
}

.landing-privacy-point svg {
  padding: 0;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
}

.landing-faq-list {
  border-top: 1px solid var(--l-rule);
}

.landing-faq-item {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--l-rule);
  background: transparent;
  box-shadow: none;
}

.landing-faq-item summary {
  padding: 20px 0;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
}

.landing-faq-item summary::after {
  background: transparent;
}

.landing-faq-answer {
  max-width: 760px;
  padding: 0 44px 22px 0;
}

.landing-cta {
  width: min(var(--l-max), calc(100% - (var(--l-page-x) * 2)));
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 70px);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--l-rule);
  border-bottom: 1px solid var(--l-rule);
  box-shadow: none;
}

.landing-cta::after {
  display: none;
}

.landing-cta-title {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  letter-spacing: -0.055em;
}

.landing-cta-sub {
  color: var(--l-muted-strong);
}

.landing-cta-reassure {
  color: color-mix(in srgb, var(--ink) 56%, transparent);
}

.landing-footer {
  margin-top: clamp(56px, 8vw, 90px);
  padding-top: 28px;
}

@media (prefers-color-scheme: dark) {
  .landing-page {
    --l-muted-strong: color-mix(in srgb, var(--ink) 72%, transparent);
    --l-rule: color-mix(in srgb, var(--ink) 12%, transparent);
    background: linear-gradient(180deg, #0d1115 0%, #10161a 52%, #0d1115 100%);
  }

  .landing-hero {
    background:
      radial-gradient(circle at 78% 32%, color-mix(in srgb, var(--sage) 10%, transparent), transparent 26rem),
      linear-gradient(180deg, #0d1115, #10161a);
  }

  .landing-privacy {
    background: color-mix(in srgb, var(--bg-soft) 72%, #000 28%);
  }

  .landing-btn--solid,
  .landing-btn--app {
    color: #111418;
    background: #f8f5ee;
    border-color: #f8f5ee;
  }

  .landing-btn--solid:hover,
  .landing-btn--app:hover {
    background: color-mix(in srgb, #f8f5ee 88%, var(--sage) 12%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-hero .landing-copy > *,
  .landing-hero .phone-mockup {
    animation: none;
  }
}

@media (max-width: 900px) {
  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: clamp(44px, 8vw, 72px);
  }

  .landing-copy h1 {
    max-width: 10.5ch;
  }

  .phone-mockup {
    justify-self: start;
  }

  .landing-moments,
  .landing-steps,
  .landing-share-cards,
  .landing-privacy-points,
  .landing-features {
    grid-template-columns: 1fr;
  }

  .landing-share-card,
  .landing-share-card + .landing-share-card,
  .landing-share-card:not(:last-child) {
    padding-left: 0;
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .landing-page {
    --l-page-x: 18px;
  }

  .landing-topbar-inner {
    min-height: 62px;
  }

  .landing-copy h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  .landing-section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .landing-hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .landing-hero-cta {
    align-items: stretch;
  }

  .landing-hero-cta .landing-btn {
    justify-content: center;
  }

  .landing-trust {
    display: grid;
  }

  .landing-trust li {
    padding: 12px 0;
  }

  .phone-frame {
    width: min(310px, 100%);
  }

  .landing-uses-grid {
    grid-template-columns: 1fr;
  }

  .landing-use-card,
  .landing-use-card:nth-child(even),
  .landing-use-card:nth-child(odd) {
    padding-left: 0;
    border-right: 0;
  }

  .landing-privacy {
    padding: 30px 22px;
    border-radius: 26px;
  }

  .landing-cta {
    justify-items: start;
    text-align: left;
  }

  .landing-cta .landing-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ─── Landing V2 width correction ─── */

.landing-page {
  --l-page-x: clamp(24px, 4.2vw, 64px);
  --l-max: 1340px;
  --l-readable: 760px;
}

.landing-topbar-inner {
  width: min(var(--l-max), 100%);
}

.landing-shell > section,
.landing-footer,
.landing-features,
.landing-privacy,
.landing-cta {
  width: min(var(--l-max), calc(100% - (var(--l-page-x) * 2)));
}

.landing-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(58px, 7.4vw, 128px);
}

.landing-copy {
  max-width: 760px;
}

.landing-lede {
  max-width: var(--l-readable);
}

.landing-section-header {
  max-width: 920px;
}

.landing-section-title {
  max-width: 1040px;
}

.landing-section-sub {
  max-width: 720px;
}

.landing-moment-text,
.landing-step-body {
  max-width: 380px;
}

.phone-frame {
  width: min(400px, 100%);
}

@media (min-width: 1180px) {
  .landing-uses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-use-card:nth-child(odd),
  .landing-use-card:nth-child(even) {
    padding-left: clamp(20px, 2.4vw, 32px);
    padding-right: clamp(20px, 2.4vw, 32px);
    border-right: 1px solid var(--l-rule);
  }

  .landing-use-card:nth-child(3n) {
    border-right: 0;
  }

  .landing-use-card:nth-child(3n + 1) {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .landing-page {
    --l-max: 1120px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .landing-page {
    --l-page-x: 18px;
  }
}

/* ─── Landing V2 hero full-bleed background correction ─── */

.landing-hero {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  position: relative;
  overflow: hidden;
  padding-inline: max(var(--l-page-x), calc((100vw - var(--l-max)) / 2 + var(--l-page-x)));
  background:
    radial-gradient(42rem 28rem at 74% 30%, color-mix(in srgb, var(--sage) 14%, transparent), transparent 72%),
    radial-gradient(34rem 24rem at 24% 42%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 76%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 98%, white 2%) 0%,
      color-mix(in srgb, var(--bg-soft) 34%, var(--bg) 66%) 62%,
      var(--bg) 100%
    );
}

.landing-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(120px, 16vw, 260px);
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.landing-hero > * {
  position: relative;
  z-index: 1;
}

@media (prefers-color-scheme: dark) {
  .landing-hero {
    background:
      radial-gradient(46rem 30rem at 74% 30%, color-mix(in srgb, var(--sage) 10%, transparent), transparent 74%),
      radial-gradient(34rem 24rem at 24% 42%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 76%),
      linear-gradient(180deg,
        #0d1115 0%,
        #11181c 58%,
        var(--bg) 100%
      );
  }

  .landing-hero::after {
    background: linear-gradient(180deg, transparent, var(--bg));
  }
}

/* ─── Landing V2 hero full-bleed fix, layout preserved ─── */

.landing-hero {
  width: min(var(--l-max), calc(100% - (var(--l-page-x) * 2)));
  max-width: var(--l-max);
  margin-inline: auto;
  padding-inline: 0;
  overflow: visible;
  background: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
}

.landing-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(42rem 28rem at 74% 30%, color-mix(in srgb, var(--sage) 14%, transparent), transparent 72%),
    radial-gradient(34rem 24rem at 24% 42%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 76%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 98%, white 2%) 0%,
      color-mix(in srgb, var(--bg-soft) 34%, var(--bg) 66%) 62%,
      var(--bg) 100%
    );
}

.landing-hero::after {
  z-index: 0;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
}

.landing-copy h1 {
  max-width: 10.8ch;
}

@media (prefers-color-scheme: dark) {
  .landing-hero {
    background: none;
  }

  .landing-hero::before {
    background:
      radial-gradient(46rem 30rem at 74% 30%, color-mix(in srgb, var(--sage) 10%, transparent), transparent 74%),
      radial-gradient(34rem 24rem at 24% 42%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 76%),
      linear-gradient(180deg,
        #0d1115 0%,
        #11181c 58%,
        var(--bg) 100%
      );
  }
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }
}

/* ─── Landing hero: real app screenshot ─── */

.phone-frame--screenshot {
  padding: 9px;
  background: linear-gradient(145deg, #3a4044, #070a0c 58%);
}

.phone-frame--screenshot::before {
  display: none;
}

.phone-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 942 / 2048;
  object-fit: cover;
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101518;
}

@media (max-width: 560px) {
  .phone-screen-image {
    border-radius: 40px;
  }
}

/* ─── Landing V3: lisibility, consistency, accessibility final pass ─── */

.landing-page {
  --l-page-x: clamp(24px, 5vw, 76px);
  --l-max: 1320px;
  --l-readable: 720px;
  --l-text-primary: var(--ink);
  --l-text-secondary: color-mix(in srgb, var(--ink) 74%, transparent);
  --l-text-tertiary: color-mix(in srgb, var(--ink) 58%, transparent);
  --l-rule: color-mix(in srgb, var(--ink) 14%, transparent);
  --l-rule-strong: color-mix(in srgb, var(--ink) 22%, transparent);
  --l-panel: color-mix(in srgb, var(--bg-soft) 46%, var(--bg) 54%);
  --l-panel-strong: color-mix(in srgb, var(--bg-soft) 64%, var(--bg) 36%);
  --l-radius: 28px;
  background: var(--bg);
}

@media (prefers-color-scheme: dark) {
  .landing-page {
    --l-text-secondary: rgba(248, 245, 238, 0.78);
    --l-text-tertiary: rgba(248, 245, 238, 0.62);
    --l-rule: rgba(248, 245, 238, 0.13);
    --l-rule-strong: rgba(248, 245, 238, 0.20);
    --l-panel: rgba(248, 245, 238, 0.045);
    --l-panel-strong: rgba(248, 245, 238, 0.065);
    background: #0c1113;
  }
}

.landing-topbar-inner,
.landing-shell > section,
.landing-footer,
.landing-features,
.landing-privacy,
.landing-cta {
  width: min(var(--l-max), calc(100% - (var(--l-page-x) * 2)));
}

.landing-topbar {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom-color: var(--l-rule);
}

@media (prefers-color-scheme: dark) {
  .landing-topbar {
    background: rgba(12, 17, 19, 0.82);
  }
}

.landing-topbar-inner {
  min-height: 74px;
}

.brand-lockup {
  font-size: 1.08rem;
  font-weight: 860;
}

.brand-lockup .brand-mark-small {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.brand-mark-frame {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark-frame .brand-mark-small {
  width: 42px;
  height: 42px;
  margin: 0;
}

.landing-nav {
  gap: clamp(18px, 2.4vw, 34px);
}

.landing-nav-links {
  gap: clamp(18px, 2.2vw, 30px);
}

.landing-nav-links a {
  color: var(--l-text-secondary);
  font-size: 0.98rem;
  font-weight: 760;
}

.landing-btn--solid {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 1rem;
  font-weight: 820;
}

.landing-btn--app,
.landing-btn--ghost {
  min-height: 60px;
}

.landing-btn--app {
  padding-inline: 22px 24px;
}

.landing-btn--ghost {
  padding-inline: 24px;
  border-color: var(--l-rule-strong);
  font-size: 1.02rem;
}

.landing-btn-app-text small {
  font-size: 0.72rem;
}

.landing-btn-app-text strong {
  font-size: 1.18rem;
}

.landing-hero {
  min-height: calc(100svh - 74px);
  padding-block: clamp(74px, 9vw, 124px) clamp(82px, 10vw, 134px);
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.68fr);
  gap: clamp(68px, 8vw, 128px);
  align-items: center;
}

.landing-hero::before {
  background:
    radial-gradient(50rem 34rem at 78% 26%, color-mix(in srgb, var(--sage) 15%, transparent), transparent 76%),
    radial-gradient(42rem 26rem at 18% 38%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 78%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-soft) 22%, var(--bg) 78%) 0%, var(--bg) 100%);
}

@media (prefers-color-scheme: dark) {
  .landing-hero::before {
    background:
      radial-gradient(50rem 34rem at 78% 26%, rgba(147, 170, 141, 0.105), transparent 76%),
      radial-gradient(42rem 26rem at 18% 38%, rgba(174, 191, 204, 0.07), transparent 78%),
      linear-gradient(180deg, #0f1518 0%, #0c1113 100%);
  }
}

.landing-copy {
  max-width: 780px;
}

.landing-copy h1 {
  max-width: 13.7ch;
  font-size: clamp(4.25rem, 7.7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.landing-lede {
  max-width: var(--l-readable);
  margin-top: clamp(30px, 3.6vw, 44px);
  color: var(--l-text-secondary);
  font-size: clamp(1.24rem, 1.65vw, 1.5rem);
  line-height: 1.48;
  font-weight: 650;
}

.landing-eyebrow {
  margin-bottom: 18px;
  color: var(--l-text-tertiary);
  font-size: 0.84rem;
  letter-spacing: 0.085em;
}

.landing-hero-cta {
  margin-top: clamp(30px, 3.7vw, 46px);
}

.landing-trust {
  max-width: 780px;
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top-color: var(--l-rule-strong);
}

.landing-trust li {
  padding: 18px 22px 0 0;
  color: var(--l-text-secondary);
  font-size: 1rem;
  line-height: 1.38;
  font-weight: 700;
}

.landing-trust svg {
  color: var(--sage);
}

.phone-mockup {
  justify-content: center;
}

.phone-frame {
  width: min(430px, 100%);
  border-radius: 60px;
  box-shadow: 0 48px 95px -58px rgba(0, 0, 0, 0.88);
}

.phone-screen-image {
  border-radius: 50px;
}

.landing-shell > section:not(.landing-hero) {
  padding-block: clamp(84px, 9vw, 132px);
  border-top-color: var(--l-rule);
}

.landing-section-header {
  max-width: 980px;
}

.landing-section-title {
  max-width: 1020px;
  color: var(--l-text-primary);
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.landing-section-sub {
  max-width: 780px;
  margin-top: 20px;
  color: var(--l-text-secondary);
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.52;
  font-weight: 600;
}

.landing-problem {
  gap: clamp(34px, 4.4vw, 60px);
}

.landing-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 0;
}

.landing-moment {
  min-height: 170px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--l-rule);
  border-radius: 24px;
  background: var(--l-panel);
}

.landing-moment-time {
  color: color-mix(in srgb, var(--warm) 82%, var(--ink) 18%);
  font-size: 0.8rem;
  letter-spacing: 0.085em;
}

.landing-moment-text {
  max-width: none;
  color: var(--l-text-primary);
  font-size: clamp(1.1rem, 1.35vw, 1.24rem);
  line-height: 1.42;
  font-weight: 700;
}

.landing-problem-punch {
  max-width: 900px;
  padding-top: clamp(12px, 2vw, 24px);
  color: var(--l-text-primary);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.landing-problem-punch span {
  color: var(--l-text-secondary);
}

.landing-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top-color: var(--l-rule-strong);
}

.landing-step {
  min-height: 260px;
  padding: clamp(28px, 3.2vw, 42px) clamp(20px, 3vw, 34px) clamp(28px, 3.2vw, 42px) 0;
}

.landing-step:not(:last-child) {
  border-right: 1px solid var(--l-rule);
}

.landing-step + .landing-step {
  padding-left: clamp(20px, 3vw, 34px);
}

.landing-step-num {
  color: color-mix(in srgb, var(--ink) 42%, transparent);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.88;
}

.landing-step-title {
  color: var(--l-text-primary);
  font-size: clamp(1.28rem, 1.85vw, 1.62rem);
  line-height: 1.15;
}

.landing-step-body {
  max-width: 390px;
  color: var(--l-text-secondary);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.55;
  font-weight: 580;
}

.landing-uses-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--l-rule-strong);
}

.landing-use-card,
.landing-use-card:nth-child(odd),
.landing-use-card:nth-child(even),
.landing-use-card:nth-child(3n),
.landing-use-card:nth-child(3n + 1) {
  min-height: 150px;
  padding: clamp(24px, 2.8vw, 36px);
  border: 0;
  border-bottom: 1px solid var(--l-rule);
  border-right: 0;
  background: transparent;
}

.landing-use-card:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--l-rule);
}

.landing-use-card:nth-child(even) {
  padding-right: 0;
}

.landing-use-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--l-text-primary);
  background: color-mix(in srgb, var(--sage) 18%, transparent) !important;
}

.landing-use-title,
.landing-share-card-title,
.landing-feature-title,
.landing-privacy-title {
  color: var(--l-text-primary);
  font-size: clamp(1.12rem, 1.35vw, 1.26rem);
  line-height: 1.2;
}

.landing-use-body,
.landing-share-card-body,
.landing-feature-body,
.landing-privacy-body,
.landing-faq-answer {
  color: var(--l-text-secondary);
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.55;
  font-weight: 560;
}

.landing-features {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(52px, 7vw, 104px);
}

.landing-features-head {
  position: sticky;
  top: 112px;
}

.landing-feature-list {
  border-top: 1px solid var(--l-rule-strong);
}

.landing-feature {
  padding: clamp(24px, 2.8vw, 34px) 0;
  border-top: 0;
  border-bottom: 1px solid var(--l-rule);
}

.landing-feature-icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  color: var(--sage);
}

.landing-feature-icon svg {
  width: 31px;
  height: 31px;
}

.landing-share-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 0;
}

.landing-share-card,
.landing-share-card + .landing-share-card,
.landing-share-card:not(:last-child) {
  min-height: 255px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--l-rule);
  border-radius: 24px;
  background: var(--l-panel);
}

.landing-share-icon {
  width: 42px;
  height: 42px;
  color: var(--sage);
}

.landing-share-badge {
  color: var(--l-text-tertiary) !important;
  font-size: 0.78rem;
}

.landing-privacy {
  padding: clamp(44px, 6.5vw, 86px);
  border-color: var(--l-rule-strong);
  border-radius: 32px;
  background: var(--l-panel-strong);
}

.landing-privacy .landing-section-title {
  max-width: 880px;
}

.landing-privacy-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.landing-privacy-point {
  gap: 10px;
}

.landing-privacy-point svg {
  width: 30px;
  height: 30px;
  color: var(--sage);
}

.landing-faq-list {
  border-top-color: var(--l-rule-strong);
}

.landing-faq-item {
  border-bottom-color: var(--l-rule);
}

.landing-faq-item summary {
  min-height: 68px;
  padding: 22px 0;
  color: var(--l-text-primary);
  font-size: clamp(1.06rem, 1.22vw, 1.18rem);
  line-height: 1.35;
  font-weight: 780;
}

.landing-faq-item summary::after {
  color: var(--l-text-secondary);
  font-size: 1.35rem;
}

.landing-faq-answer {
  max-width: 850px;
  padding-bottom: 26px;
}

.landing-cta {
  width: min(980px, calc(100% - (var(--l-page-x) * 2)));
  margin-inline: auto;
  padding: clamp(72px, 8vw, 104px) 0;
  border-color: var(--l-rule-strong);
  text-align: center;
  justify-items: center;
}

.landing-cta-title {
  max-width: 15ch;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 0.98;
}

.landing-cta-sub {
  color: var(--l-text-secondary);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
}

.landing-cta-reassure,
.landing-footer-note {
  color: var(--l-text-tertiary);
  font-size: 0.98rem;
}

.landing-footer {
  padding-bottom: clamp(28px, 4vw, 44px);
}

@media (max-width: 1020px) {
  .landing-hero,
  .landing-features {
    grid-template-columns: 1fr;
  }

  .landing-features-head {
    position: static;
  }

  .phone-mockup {
    justify-self: start;
  }

  .landing-moments,
  .landing-steps,
  .landing-share-cards,
  .landing-privacy-points {
    grid-template-columns: 1fr;
  }

  .landing-step,
  .landing-step + .landing-step,
  .landing-step:not(:last-child),
  .landing-share-card,
  .landing-share-card + .landing-share-card,
  .landing-share-card:not(:last-child) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .landing-share-card,
  .landing-share-card + .landing-share-card,
  .landing-share-card:not(:last-child) {
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .landing-page {
    --l-page-x: 20px;
  }

  .landing-topbar-inner {
    min-height: 66px;
  }

  .landing-copy h1 {
    max-width: 9.8ch;
    font-size: clamp(3.15rem, 14.5vw, 4.6rem);
  }

  .landing-lede {
    font-size: 1.14rem;
  }

  .landing-trust,
  .landing-uses-grid {
    grid-template-columns: 1fr;
  }

  .landing-trust li {
    padding-top: 13px;
  }

  .landing-use-card,
  .landing-use-card:nth-child(odd),
  .landing-use-card:nth-child(even) {
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .landing-section-title {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
  }

  .landing-problem-punch {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .phone-frame {
    width: min(330px, 100%);
  }

  .phone-screen-image {
    border-radius: 42px;
  }

  .landing-privacy {
    padding: 32px 22px;
  }
}

/* ─── Landing V3: hero line-break refinement ─── */

.landing-copy h1 {
  max-width: 15.2ch;
  font-size: clamp(3.85rem, 6.65vw, 5.85rem);
  line-height: 0.94;
}

@media (max-width: 760px) {
  .landing-copy h1 {
    max-width: 10.8ch;
    font-size: clamp(3.05rem, 13vw, 4.25rem);
  }
}

/* ─── Landing V3: hero vertical rhythm and headline wrapping fix ─── */

.landing-hero {
  min-height: auto;
  padding-block: clamp(84px, 8vw, 118px) clamp(92px, 9vw, 136px);
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.66fr);
  gap: clamp(58px, 7.4vw, 118px);
  align-items: center;
}

.landing-copy h1 {
  max-width: 16.6ch;
  font-size: clamp(3.65rem, 5.9vw, 5.35rem);
  line-height: 0.95;
}

.landing-lede {
  margin-top: clamp(26px, 3vw, 36px);
}

.landing-hero-cta {
  margin-top: clamp(26px, 3vw, 38px);
}

.landing-trust {
  margin-top: clamp(28px, 3.2vw, 40px);
}

@media (max-width: 760px) {
  .landing-hero {
    padding-block: 52px 72px;
  }

  .landing-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(3rem, 12.2vw, 4.1rem);
  }
}

/* ─── Landing V4: UI audit pass — spacing, hierarchy, contrast, responsive ─── */

.landing-page {
  --l-max: 1360px;
  --l-page-x: clamp(28px, 5vw, 76px);
  --l-text-primary: #fffaf2;
  --l-text-secondary: rgba(255, 250, 242, 0.76);
  --l-text-tertiary: rgba(255, 250, 242, 0.60);
  --l-rule: rgba(255, 250, 242, 0.105);
  --l-rule-strong: rgba(255, 250, 242, 0.18);
}

.landing-shell,
.landing-topbar-inner {
  width: min(var(--l-max), 100%);
}

.landing-shell {
  gap: clamp(94px, 9.2vw, 150px);
}

.landing-topbar-inner {
  min-height: 72px;
}

.landing-hero {
  grid-template-columns: minmax(590px, 1fr) minmax(330px, 410px);
  gap: clamp(48px, 5.2vw, 86px);
  align-items: start;
  padding-block: clamp(58px, 6vw, 86px) clamp(88px, 8vw, 126px);
}

.landing-copy {
  max-width: 700px;
}

.landing-copy h1 {
  max-width: 100%;
  font-size: clamp(3.55rem, 5.12vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.078em;
  text-wrap: balance;
}

.landing-section-title,
.landing-problem-punch,
.landing-cta-title {
  text-wrap: balance;
}

.landing-lede {
  max-width: 630px;
  font-size: clamp(1.18rem, 1.45vw, 1.32rem);
  line-height: 1.48;
}

.landing-hero-cta {
  gap: 14px;
}

.landing-trust {
  max-width: 690px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 26px);
  border-top: 1px solid var(--l-rule-strong);
}

.landing-trust li {
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding-top: 16px;
  color: var(--l-text-secondary);
  font-size: clamp(0.96rem, 1vw, 1.04rem);
  line-height: 1.22;
  font-weight: 720;
}

.landing-trust svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.phone-frame {
  width: min(410px, 100%);
}

.phone-frame--screenshot {
  padding: 8px;
  border-radius: 52px;
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.34),
    -18px 24px 90px rgba(120, 143, 115, 0.12);
}

.phone-screen-image {
  border-radius: 43px;
}

.landing-section-header {
  max-width: 1040px;
  margin-bottom: clamp(30px, 3.4vw, 54px);
}

.landing-section-sub {
  max-width: 760px;
  color: var(--l-text-secondary);
  font-size: clamp(1.05rem, 1.24vw, 1.18rem);
  line-height: 1.55;
}

.landing-moment,
.landing-step,
.landing-use-card,
.landing-feature,
.landing-share-card,
.landing-privacy-point {
  text-wrap: pretty;
}

.landing-moment-text,
.landing-step-body,
.landing-use-body,
.landing-share-card-body,
.landing-feature-body,
.landing-privacy-body,
.landing-faq-answer {
  color: var(--l-text-secondary);
}

.landing-step {
  min-height: 240px;
}

.landing-step-num {
  color: rgba(255, 250, 242, 0.38);
}

.landing-uses-grid {
  align-items: stretch;
}

.landing-use-card {
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
}

.landing-share-card {
  display: flex;
  flex-direction: column;
}

.landing-share-card-title {
  margin-top: auto;
}

.landing-privacy {
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, 0.035);
}

.landing-faq-item summary {
  min-height: 72px;
  font-size: clamp(1.1rem, 1.3vw, 1.22rem);
}

.landing-btn:focus-visible,
.landing-nav-links a:focus-visible,
.brand-lockup:focus-visible,
.landing-faq-item summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sage) 70%, white 30%);
  outline-offset: 4px;
  border-radius: 999px;
}

.landing-faq-item summary:focus-visible {
  border-radius: 10px;
}

@media (max-width: 1120px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: clamp(46px, 7vw, 72px);
  }

  .landing-copy {
    max-width: 760px;
  }

  .landing-copy h1 {
    max-width: 12.9ch;
    font-size: clamp(3.35rem, 8.2vw, 4.85rem);
  }

  .phone-mockup {
    justify-content: center;
    justify-self: center;
  }

  .phone-frame {
    width: min(385px, 82vw);
  }

  .landing-trust {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .landing-page {
    --l-page-x: 20px;
  }

  .landing-shell {
    gap: 84px;
  }

  .landing-topbar-inner {
    min-height: 64px;
  }

  .landing-nav-links {
    display: none;
  }

  .landing-hero {
    padding-block: 48px 72px;
  }

  .landing-copy h1 {
    max-width: 100%;
    font-size: clamp(2.72rem, 10.4vw, 3.55rem);
    line-height: 0.99;
    letter-spacing: -0.072em;
  }

  .landing-lede {
    font-size: 1.08rem;
    line-height: 1.52;
  }

  .landing-hero-cta {
    align-items: stretch;
  }

  .landing-hero-cta .landing-btn {
    justify-content: center;
  }

  .landing-trust {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .landing-trust li {
    min-height: 0;
    padding-top: 12px;
    font-size: 1rem;
  }

  .phone-frame {
    width: min(330px, 92vw);
  }

  .phone-frame--screenshot {
    border-radius: 48px;
  }

  .phone-screen-image {
    border-radius: 39px;
  }

  .landing-section-title {
    font-size: clamp(2.25rem, 9.6vw, 3.15rem);
    line-height: 0.98;
  }

  .landing-section-sub {
    font-size: 1.02rem;
  }

  .landing-problem-punch {
    font-size: clamp(2rem, 8.4vw, 2.85rem);
    line-height: 1.04;
  }

  .landing-step {
    min-height: 0;
    padding-block: 26px;
  }

  .landing-share-card,
  .landing-share-card + .landing-share-card,
  .landing-share-card:not(:last-child) {
    min-height: 0;
    padding: 24px;
  }

  .landing-privacy {
    border-radius: 24px;
  }

  .landing-cta-title {
    max-width: 13ch;
    font-size: clamp(2.25rem, 9.5vw, 3.25rem);
    line-height: 1;
  }
}

/* Align first feature item with the vertical rhythm of following items. */

.landing-feature:first-child {
  padding-top: clamp(24px, 2.8vw, 34px);
}

/* Tighten long editorial lines that were wrapping too aggressively. */

.landing-problem-punch {
  max-width: 1040px;
  font-size: clamp(2rem, 3.35vw, 3.45rem);
  line-height: 1.05;
}

.landing-features {
  grid-template-columns: minmax(460px, 0.95fr) minmax(520px, 1.05fr);
}

.landing-features-head .landing-section-title {
  max-width: 680px;
  font-size: clamp(2.65rem, 4.25vw, 4.2rem);
}

@media (max-width: 1120px) {
  .landing-features {
    grid-template-columns: 1fr;
  }
}

/* Loosen display-title tracking: the heavy font was too tight at large sizes. */

.landing-copy h1,
.landing-section-title,
.landing-problem-punch,
.landing-cta-title {
  letter-spacing: -0.038em;
}

.landing-copy {
  max-width: 860px;
}

.landing-copy h1 {
  max-width: 15.4ch;
  font-size: clamp(3.8rem, 5.45vw, 5.55rem);
  letter-spacing: -0.044em;
  text-wrap: pretty;
}

.landing-features-head .landing-section-title,
.landing-privacy .landing-section-title {
  letter-spacing: -0.034em;
}

/* Keep the product screenshot present without letting it dominate the hero. */

.phone-frame {
  width: min(356px, 100%);
}

.phone-frame--screenshot {
  border-radius: 48px;
}

.phone-screen-image {
  border-radius: 39px;
}

@media (max-width: 1120px) {
  .phone-frame {
    width: min(330px, 82vw);
  }
}

@media (max-width: 760px) {
  .landing-copy h1,
  .landing-section-title,
  .landing-problem-punch,
  .landing-cta-title {
    letter-spacing: -0.03em;
  }

  .landing-copy h1 {
    font-size: clamp(3.05rem, 11.2vw, 3.85rem);
  }

  .phone-frame {
    width: min(300px, 86vw);
  }
}

/* Keep only one divider between hero and the next section. */

.landing-hero {
  border-bottom: 0;
}

/* Alternative hero illustration: compact product panel instead of full phone mockup. */

.hero-visual {
  min-width: 0;
  width: 100%;
  align-self: start;
  justify-self: end;
  display: flex;
  justify-content: flex-end;
  padding-top: clamp(4px, 1vw, 16px);
}

.hero-preview-card {
  position: relative;
  width: min(455px, 100%);
  aspect-ratio: 0.78;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 38px;
  background: #0b0f12;
  box-shadow:
    0 36px 88px rgba(0, 0, 0, 0.34),
    -24px 28px 96px rgba(120, 143, 115, 0.10);
}

.hero-preview-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.14),
    inset 0 -1px 0 rgba(255, 250, 242, 0.05);
}

.hero-preview-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 12, 0.72));
}

.hero-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 1120px) {
  .hero-visual {
    justify-content: center;
    justify-self: center;
  }

  .hero-preview-card {
    width: min(430px, 86vw);
  }
}

@media (max-width: 760px) {
  .hero-visual {
    padding-top: 0;
  }

  .hero-preview-card {
    width: min(330px, 88vw);
    border-radius: 32px;
  }
}

/* Final spacing system: normalize vertical rhythm and same-role components. */

.landing-page {
  --l-section-y: clamp(84px, 7.4vw, 116px);
  --l-section-header-gap: clamp(30px, 3.2vw, 46px);
  --l-card-gap: 20px;
  --l-card-pad: clamp(24px, 2.5vw, 32px);
}

.landing-hero {
  padding-block: clamp(60px, 5.8vw, 84px) clamp(72px, 6.4vw, 96px);
}

.landing-shell > section:not(.landing-hero):not(.landing-privacy):not(.landing-cta) {
  padding-block: var(--l-section-y);
}

.landing-section-header {
  margin-bottom: var(--l-section-header-gap);
}

.landing-section-sub {
  margin-top: 16px;
}

.landing-problem {
  gap: var(--l-section-header-gap);
}

.landing-moments,
.landing-share-cards {
  gap: var(--l-card-gap);
}

.landing-moment,
.landing-share-card,
.landing-share-card + .landing-share-card,
.landing-share-card:not(:last-child) {
  padding: var(--l-card-pad);
  border-radius: 24px;
}

.landing-moment {
  min-height: 154px;
}

.landing-share-card,
.landing-share-card + .landing-share-card,
.landing-share-card:not(:last-child) {
  min-height: 236px;
}

.landing-step {
  min-height: 230px;
  padding-top: clamp(26px, 2.7vw, 34px);
  padding-bottom: clamp(26px, 2.7vw, 34px);
}

.landing-uses-grid {
  border-top-color: var(--l-rule-strong);
}

.landing-uses {
  --l-text-primary: #fffaf2;
  --l-text-secondary: rgba(255, 250, 242, 0.72);
  --l-rule: rgba(255, 250, 242, 0.10);
  --l-rule-strong: rgba(255, 250, 242, 0.16);
}

.landing-uses .landing-eyebrow,
.landing-uses .landing-section-title,
.landing-uses .landing-use-title {
  color: var(--l-text-primary);
}

.landing-uses .landing-section-sub,
.landing-uses .landing-use-body {
  color: rgba(255, 250, 242, 0.72);
}

.landing-uses .landing-use-icon {
  color: #fffaf2;
}

.landing-uses .landing-use-card:nth-child(1) .landing-use-icon {
  background: rgb(168 122 92) !important;
}

.landing-uses .landing-use-card:nth-child(2) .landing-use-icon,
.landing-uses .landing-use-card:nth-child(7) .landing-use-icon,
.landing-uses .landing-use-card:nth-child(10) .landing-use-icon {
  background: rgb(120 143 115) !important;
}

.landing-uses .landing-use-card:nth-child(3) .landing-use-icon {
  background: rgb(71 102 135) !important;
}

.landing-uses .landing-use-card:nth-child(4) .landing-use-icon,
.landing-uses .landing-use-card:nth-child(8) .landing-use-icon {
  background: rgb(87 92 110) !important;
}

.landing-uses .landing-use-card:nth-child(5) .landing-use-icon {
  background: rgb(104 112 126) !important;
}

.landing-uses .landing-use-card:nth-child(6) .landing-use-icon,
.landing-uses .landing-use-card:nth-child(9) .landing-use-icon {
  background: rgb(148 107 82) !important;
}

.landing-use-card,
.landing-use-card:nth-child(odd),
.landing-use-card:nth-child(even),
.landing-use-card:nth-child(3n),
.landing-use-card:nth-child(3n + 1) {
  min-height: 136px;
  padding-top: clamp(24px, 2.4vw, 30px);
  padding-bottom: clamp(24px, 2.4vw, 30px);
}

.landing-feature {
  min-height: 116px;
  padding: clamp(26px, 2.45vw, 32px) 0;
}

.landing-feature:first-child {
  padding-top: clamp(26px, 2.45vw, 32px);
}

.landing-privacy {
  padding: clamp(52px, 5.6vw, 76px);
}

.landing-privacy-points {
  gap: clamp(28px, 3.2vw, 44px);
}

.landing-faq-item summary {
  min-height: 66px;
  padding: 20px 0;
}

.landing-cta {
  padding-block: clamp(72px, 7.2vw, 100px);
}

@media (max-width: 760px) {
  .landing-page {
    --l-section-y: 74px;
    --l-section-header-gap: 28px;
    --l-card-gap: 14px;
    --l-card-pad: 24px;
  }

  .landing-hero {
    padding-block: 44px 64px;
  }

  .landing-moment,
  .landing-share-card,
  .landing-share-card + .landing-share-card,
  .landing-share-card:not(:last-child) {
    min-height: 0;
  }

  .landing-step,
  .landing-feature,
  .landing-feature:first-child {
    min-height: 0;
    padding-block: 24px;
  }

  .landing-use-card,
  .landing-use-card:nth-child(odd),
  .landing-use-card:nth-child(even),
  .landing-use-card:nth-child(3n),
  .landing-use-card:nth-child(3n + 1) {
    min-height: 0;
    padding-block: 22px;
  }

  .landing-privacy {
    padding: 32px 22px;
  }
}

/* Restore an iPhone-like shell around the cropped screenshot while keeping the bottom fade. */

.hero-preview-card {
  padding: 9px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 54px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.16), transparent 30%),
    linear-gradient(152deg, #353b40 0%, #151a1e 42%, #070a0c 100%);
  box-shadow:
    0 38px 92px rgba(0, 0, 0, 0.34),
    -24px 28px 96px rgba(120, 143, 115, 0.10),
    inset 0 1px 0 rgba(255, 250, 242, 0.08);
}

.hero-preview-card::before {
  border: 1px solid rgba(255, 250, 242, 0.075);
  border-radius: 45px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 242, 0.035),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

.hero-preview-image {
  border-radius: 45px;
}

@media (max-width: 760px) {
  .hero-preview-card {
    padding: 8px;
    border-radius: 46px;
  }

  .hero-preview-card::before,
  .hero-preview-image {
    border-radius: 38px;
  }
}

/* Hero screenshot fade: the captured screen continues visually, then dissolves into the page. */

.hero-preview-card {
  aspect-ratio: 0.72;
  /* Reach full transparency before the lower iPhone radius starts showing. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 66%,
    rgba(0, 0, 0, 0.88) 76%,
    rgba(0, 0, 0, 0.28) 88%,
    transparent 94%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 66%,
    rgba(0, 0, 0, 0.88) 76%,
    rgba(0, 0, 0, 0.28) 88%,
    transparent 94%
  );
}

.hero-preview-card::after {
  height: 50%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(7, 10, 12, 0.34) 44%,
    rgba(7, 10, 12, 0.82) 76%,
    rgba(7, 10, 12, 0.94) 100%
  );
}

@media (max-width: 760px) {
  .hero-preview-card {
    aspect-ratio: 0.72;
  }
}

@media (max-width: 760px) {
  .hero-visual {
    display: none;
  }
}

/* Floating header capsule: visible only after the visitor starts scrolling. */

.landing-page {
  --landing-header-h: 72px;
  --landing-menu-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --landing-menu-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  min-height: 72px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    backdrop-filter 160ms ease;
}

.landing-topbar-inner {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 999px;
  transform-origin: top center;
  transition:
    width 420ms var(--landing-menu-ease),
    min-height 420ms var(--landing-menu-ease),
    padding 420ms var(--landing-menu-ease),
    transform 420ms var(--landing-menu-ease-soft);
  will-change: width, min-height, padding, transform;
}

.landing-topbar-inner::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.985, 0.86);
  background: rgba(12, 17, 19, 0.70);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(255, 250, 242, 0.055),
    inset 0 1px 0 rgba(255, 250, 242, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
  transition:
    opacity 260ms ease-out,
    transform 420ms var(--landing-menu-ease-soft),
    box-shadow 420ms var(--landing-menu-ease-soft),
    backdrop-filter 420ms var(--landing-menu-ease-soft);
  will-change: opacity, transform;
}

.landing-topbar-inner > * {
  position: relative;
  z-index: 1;
}

.landing-topbar.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.landing-topbar.is-scrolled .landing-topbar-inner {
  width: min(calc(var(--l-max) - (var(--l-page-x) * 2)), calc(100% - (var(--l-page-x) * 2)));
  min-height: 62px;
  padding: 10px 16px 10px 24px;
  transform: translateY(2px);
}

.landing-topbar.is-scrolled .landing-topbar-inner::before {
  opacity: 1;
  transform: scale(1);
}

.landing-topbar.is-scrolled .landing-btn--solid {
  min-height: 44px;
  padding-inline: 20px;
}

.landing-hero {
  padding-top: calc(clamp(60px, 5.8vw, 84px) + var(--landing-header-h));
}

@media (max-width: 760px) {
  .landing-page {
    --landing-header-h: 64px;
  }

  .landing-topbar {
    min-height: 64px;
  }

  .landing-hero {
    padding-top: calc(44px + var(--landing-header-h));
  }

  .landing-topbar.is-scrolled .landing-topbar-inner {
    width: min(calc(var(--l-max) - (var(--l-page-x) * 2)), calc(100% - (var(--l-page-x) * 2)));
    min-height: 54px;
    padding: 7px 9px 7px 14px;
  }

  .landing-topbar.is-scrolled .landing-btn--solid {
    min-height: 40px;
    padding-inline: 15px;
  }
}

/* Hero title wrapping: no hard breaks; prioritize a clean two-line display on wide desktop. */

@media (min-width: 1121px) {
  .landing-hero {
    grid-template-columns: minmax(0, min(860px, calc(100vw - 532px))) minmax(0, 410px);
    gap: 36px;
  }

  .landing-copy,
  .landing-copy h1 {
    max-width: 860px;
  }
}

/* App Store support/privacy pages. */

.legal-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(38rem 24rem at 22% 12%, rgba(147, 170, 141, 0.08), transparent 72%),
    linear-gradient(180deg, #0d1115 0%, #0b0f12 100%);
}

.legal-topbar,
.legal-shell {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-topbar-link,
.legal-text-link,
.landing-footer-links a {
  color: rgba(255, 250, 242, 0.72);
  text-decoration: none;
  font-weight: 760;
}

.legal-topbar-link:hover,
.legal-text-link:hover,
.landing-footer-links a:hover {
  color: #fffaf2;
}

.legal-shell {
  padding: clamp(48px, 7vw, 86px) 0 clamp(72px, 9vw, 120px);
}

.legal-hero {
  padding-bottom: clamp(34px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 250, 242, 0.13);
}

.legal-hero h1 {
  max-width: 11ch;
  margin: 14px 0 0;
  color: #fffaf2;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.legal-hero p,
.legal-card p,
.legal-card li,
.legal-updated {
  color: rgba(255, 250, 242, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.56;
}

.legal-hero p {
  max-width: 690px;
  margin: 24px 0 0;
  font-weight: 720;
}

.legal-updated {
  color: rgba(255, 250, 242, 0.52) !important;
  font-size: 0.98rem !important;
}

.legal-mail-button {
  margin-top: 28px;
}

.legal-card {
  padding: clamp(30px, 4.2vw, 46px) 0;
  border-bottom: 1px solid rgba(255, 250, 242, 0.10);
}

.legal-card h2 {
  margin: 0;
  color: #fffaf2;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.legal-card p {
  max-width: 760px;
  margin: 16px 0 0;
}

.legal-card ul {
  margin: 20px 0 0;
  padding-left: 1.2em;
}

.legal-card li + li {
  margin-top: 10px;
}

.legal-card .legal-text-link {
  display: inline-flex;
  margin-top: 18px;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.landing-footer-links a {
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .legal-topbar,
  .legal-shell {
    width: min(100% - 32px, 900px);
  }

  .legal-topbar {
    min-height: 68px;
  }

  .legal-topbar-link {
    font-size: 0.92rem;
  }

  .legal-hero h1 {
    max-width: 10.5ch;
  }

  .legal-mail-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .landing-topbar,
  .landing-topbar-inner,
  .landing-topbar-inner::before {
    transition: none;
  }
}

/* Landing deck mode: each major section behaves like a slide while scrolling. */

html.landing-root {
  scroll-padding-top: 0;
  scroll-snap-type: y mandatory;
}

html.landing-root body.landing-page {
  --bg: #0d1115;
  --bg-soft: #11171b;
  --viewport-bg: #0d1115;
  --ink: #fffaf2;
  --muted: rgba(255, 250, 242, 0.70);
  --card: rgba(255, 250, 242, 0.045);
  --line: rgba(255, 250, 242, 0.12);
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 52%, var(--bg) 100%);
  background-attachment: fixed;
}

html.landing-root .landing-btn--solid,
html.landing-root .landing-btn--app {
  color: #0d1115;
  background: #fffaf2;
  border-color: rgba(255, 250, 242, 0.76);
}

html.landing-root .landing-btn--solid:hover,
html.landing-root .landing-btn--app:hover {
  background: rgba(255, 250, 242, 0.88);
}

html.landing-root .landing-shell {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

html.landing-root .landing-shell > section {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: transparent;
}

html.landing-root .landing-shell > section,
html.landing-root .landing-shell > section:not(.landing-hero),
html.landing-root .landing-privacy,
html.landing-root .landing-cta {
  border-top: 0;
  border-bottom: 0;
}

html.landing-root .landing-shell > section[id] {
  scroll-margin-top: 0;
}

html.landing-root .landing-shell > section:not(.landing-hero):not(.landing-privacy):not(.landing-cta) {
  align-content: center;
  padding-block: var(--landing-header-h, 72px) 0;
}

html.landing-root .landing-hero {
  min-height: 100svh;
  align-content: center;
  padding-top: calc(var(--landing-header-h, 72px) + clamp(42px, 5svh, 72px));
  padding-bottom: clamp(52px, 7svh, 88px);
}

html.landing-root .landing-hero::before,
html.landing-root .landing-hero::after {
  display: none;
}

html.landing-root .landing-privacy,
html.landing-root .landing-cta {
  align-content: center;
}

html.landing-root .landing-privacy {
  padding: var(--landing-header-h, 72px) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html.landing-root .landing-faq {
  height: 100svh;
  max-height: 100svh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

html.landing-root .landing-faq:has(.landing-faq-item[open]) {
  align-content: start;
  padding-bottom: clamp(32px, 5svh, 56px);
}

html.landing-root .landing-cta {
  padding: var(--landing-header-h, 72px) 0 0;
}

html.landing-root .landing-footer {
  scroll-snap-align: end;
  border-top: 0;
}

@media (min-width: 980px) and (min-height: 720px) {
  html.landing-root .landing-problem,
  html.landing-root .landing-how,
  html.landing-root .landing-uses,
  html.landing-root .landing-share,
  html.landing-root .landing-faq {
    gap: clamp(22px, 3.2svh, 36px);
  }

  html.landing-root .landing-section-title {
    font-size: clamp(2.45rem, 4.55vw, 4.05rem);
  }

  html.landing-root .landing-problem-punch {
    font-size: clamp(1.6rem, 3vw, 2.55rem);
  }

  html.landing-root .landing-moment,
  html.landing-root .landing-step {
    min-height: 0;
    padding-block: clamp(20px, 2.5svh, 30px);
  }

  html.landing-root .landing-uses-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    border-top: 0;
  }

  html.landing-root .landing-use-card,
  html.landing-root .landing-use-card:nth-child(odd),
  html.landing-root .landing-use-card:nth-child(even),
  html.landing-root .landing-use-card:nth-child(3n),
  html.landing-root .landing-use-card:nth-child(3n + 1) {
    min-height: 0;
    padding: clamp(16px, 2svh, 22px);
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid var(--l-rule);
    border-radius: 20px;
    background: rgba(255, 250, 242, 0.018);
  }

  html.landing-root .landing-use-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  html.landing-root .landing-use-title {
    font-size: clamp(0.94rem, 1vw, 1.04rem);
  }

  html.landing-root .landing-use-body {
    margin-top: 6px;
    font-size: clamp(0.82rem, 0.88vw, 0.92rem);
    line-height: 1.42;
  }

  html.landing-root .landing-feature {
    min-height: 0;
    padding-block: clamp(18px, 2.4svh, 28px);
  }

  html.landing-root .landing-share-card,
  html.landing-root .landing-share-card + .landing-share-card,
  html.landing-root .landing-share-card:not(:last-child) {
    min-height: 0;
  }

  html.landing-root .landing-faq-item summary {
    min-height: 58px;
    padding-block: 16px;
  }

  html.landing-root .landing-faq-answer {
    padding-bottom: 20px;
  }
}

@media (max-width: 760px), (max-height: 700px) {
  html.landing-root {
    scroll-snap-type: y proximity;
  }

  html.landing-root .phone-mockup {
    display: none;
  }

  html.landing-root .landing-shell > section {
    min-height: 100svh;
    scroll-snap-stop: normal;
  }

  html.landing-root .landing-shell > section:not(.landing-hero):not(.landing-privacy):not(.landing-cta) {
    padding-block: var(--landing-header-h, 64px) 0;
  }
}

/* Landing light theme: mirror the native app palette and undo dark-only deck overrides. */

@media (prefers-color-scheme: light) {
  html.landing-root body.landing-page {
    --bg: #f7f3ec;
    --bg-soft: #eef3ea;
    --viewport-bg: #f7f3ec;
    --ink: #181714;
    --muted: rgba(24, 23, 20, 0.62);
    --card: rgba(255, 251, 244, 0.86);
    --line: rgba(24, 23, 20, 0.12);
    --l-text-primary: #181714;
    --l-text-secondary: rgba(24, 23, 20, 0.74);
    --l-text-tertiary: rgba(24, 23, 20, 0.58);
    --l-rule: rgba(24, 23, 20, 0.12);
    --l-rule-strong: rgba(24, 23, 20, 0.20);
    --l-panel: color-mix(in srgb, #eef3ea 44%, #f7f3ec 56%);
    --l-panel-strong: color-mix(in srgb, #eef3ea 68%, #f7f3ec 32%);
    background: #f7f3ec;
    color: #181714;
  }

  html.landing-root .landing-shell > section {
    background: #f7f3ec;
  }

  html.landing-root .landing-hero::before {
    background: #f7f3ec;
  }

  html.landing-root .landing-hero::after {
    display: none;
  }

  html.landing-root .landing-copy h1,
  html.landing-root .landing-section-title,
  html.landing-root .landing-problem-punch,
  html.landing-root .landing-cta-title,
  html.landing-root .landing-moment-text,
  html.landing-root .landing-step-title,
  html.landing-root .landing-use-title,
  html.landing-root .landing-share-card-title,
  html.landing-root .landing-feature-title,
  html.landing-root .landing-privacy-title,
  html.landing-root .landing-faq-item summary,
  html.landing-root .brand-lockup {
    color: var(--l-text-primary);
  }

  html.landing-root .brand-lockup .brand-mark-small {
    box-shadow: none;
  }

  html.landing-root .brand-mark-frame {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(24, 23, 20, 0.88);
    border-radius: 17px;
    background: transparent;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
  }

  html.landing-root .landing-lede,
  html.landing-root .landing-trust li,
  html.landing-root .landing-section-sub,
  html.landing-root .landing-problem-punch span,
  html.landing-root .landing-moment-text,
  html.landing-root .landing-step-body,
  html.landing-root .landing-use-body,
  html.landing-root .landing-share-card-body,
  html.landing-root .landing-feature-body,
  html.landing-root .landing-privacy-body,
  html.landing-root .landing-faq-answer,
  html.landing-root .landing-cta-sub,
  html.landing-root .landing-cta-reassure,
  html.landing-root .landing-footer-note,
  html.landing-root .landing-footer-links a {
    color: var(--l-text-secondary);
  }

  html.landing-root .landing-eyebrow,
  html.landing-root .landing-nav-links a,
  html.landing-root .landing-share-badge {
    color: var(--l-text-tertiary) !important;
  }

  html.landing-root .landing-moment,
  html.landing-root .landing-step,
  html.landing-root .landing-share-card,
  html.landing-root .landing-share-card + .landing-share-card,
  html.landing-root .landing-share-card:not(:last-child),
  html.landing-root .landing-faq-item {
    border-color: var(--l-rule);
    background: rgba(255, 251, 244, 0.58);
  }

  html.landing-root .landing-uses {
    --l-text-primary: #181714;
    --l-text-secondary: rgba(24, 23, 20, 0.72);
    --l-rule: rgba(24, 23, 20, 0.12);
    --l-rule-strong: rgba(24, 23, 20, 0.20);
  }

  html.landing-root .landing-uses .landing-eyebrow,
  html.landing-root .landing-uses .landing-section-title,
  html.landing-root .landing-uses .landing-use-title {
    color: var(--l-text-primary);
  }

  html.landing-root .landing-uses .landing-section-sub,
  html.landing-root .landing-uses .landing-use-body {
    color: var(--l-text-secondary);
  }

  html.landing-root .landing-uses .landing-use-icon {
    color: #fffaf2;
  }

  html.landing-root .landing-step-num {
    color: rgba(24, 23, 20, 0.42);
  }

  html.landing-root .landing-moment-time {
    color: #7f532d;
  }

  html.landing-root .landing-privacy {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  html.landing-root .landing-cta {
    border-color: var(--l-rule-strong);
    background: transparent;
  }

  html.landing-root .landing-btn--solid,
  html.landing-root .landing-btn--app {
    color: #fffaf2;
    background: #181714;
    border-color: rgba(24, 23, 20, 0.82);
  }

  html.landing-root .landing-btn--solid:hover,
  html.landing-root .landing-btn--app:hover {
    background: color-mix(in srgb, #181714 88%, #788f73 12%);
  }

  html.landing-root .landing-btn--ghost {
    color: #181714;
    border-color: var(--l-rule-strong);
  }

  html.landing-root .landing-topbar-inner::before {
    background: rgba(255, 251, 244, 0.78);
    box-shadow:
      0 18px 48px rgba(64, 82, 97, 0.12),
      inset 0 0 0 1px rgba(24, 23, 20, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }

  html.landing-root .landing-footer {
    border-top-color: var(--l-rule);
  }
}

/* Landing menu polish: tighter capsule, cleaner stroke, calmer shadow. */

html.landing-root .landing-topbar {
  min-height: 68px;
}

html.landing-root .landing-topbar-inner {
  min-height: 60px;
  padding: 8px 14px 8px 18px;
  transition: none;
}

html.landing-root .landing-topbar-inner::before {
  transform: scale(0.992, 0.9);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 250, 242, 0.09),
    inset 0 1px 0 rgba(255, 250, 242, 0.10);
}

html.landing-root .landing-topbar.is-scrolled .landing-topbar-inner {
  min-height: 58px;
  padding: 7px 14px 7px 18px;
  transform: translateY(1px);
}

html.landing-root .landing-topbar.is-scrolled .landing-btn--solid {
  min-height: 42px;
  padding-inline: 18px;
}

html.landing-root .brand-mark-frame {
  width: 48px;
  height: 48px;
}

html.landing-root .brand-mark-frame .brand-mark-small {
  width: 42px;
  height: 42px;
}

@media (prefers-color-scheme: light) {
  html.landing-root .landing-topbar-inner::before {
    background: rgba(255, 251, 244, 0.84);
    box-shadow:
      0 12px 32px rgba(64, 82, 97, 0.10),
      inset 0 0 0 1px rgba(24, 23, 20, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.70);
  }
}

@media (max-width: 760px) {
  html.landing-root .landing-topbar {
    min-height: 64px;
  }

  html.landing-root .landing-topbar.is-scrolled .landing-topbar-inner {
    min-height: 54px;
    padding: 6px 9px 6px 12px;
  }
}
