/* ============================================================
   Mlemmie - landing page
   One sheet of cool paper, white floating panels, one brand
   blue. The paper deepens a step per screen and never turns
   dark as a whole: the night appears exactly once, at the foot
   of the page, as a single card floating on the deepest paper
   step - a radius, a 1px rim, three light shadows, one blue read
   along a 135 degree diagonal, and the brand's two arcs sitting
   in its floor as a watermark. No class on <body> switches any
   of it: this sheet is the design.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  --ink: #0f172a;
  --ink-deep: #111827;

  /* One paper ladder for the whole page.
     --paper-0 — --paper-4 are the light steps the five light screens
     walk down (OKLCH L 0.985 → 0.888). Each step is a little wider than
     the one before, so the page reads as evening coming on rather than
     as a flat wash.
     The night at the foot of the page is one single colour, not another
     ladder of steps. Five near-identical light blues were impossible to
     read as a descent; one clear move at the end is not. */
  --paper-0: #f8fafe;
  --paper-1: #f1f6fd;
  --paper-2: #e6eefa;
  --paper-3: #dbe7f7;
  --paper-4: #cbdcef;

  --page: var(--paper-0);
  --panel: #ffffff;
  --panel-soft: #f6f8fc;
  --tile: #f1f5fb;
  --tile-cool: #eef4fb;

  --text: var(--ink);
  --text-soft: #475467;
  /* Darker than the old muted grey so the smallest labels still clear
     4.5:1 on the deepest paper step (--paper-4), not just on white. */
  --text-muted: #555d6b;

  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-tint: rgba(37, 99, 235, 0.08);
  --sky: #6aa6f8;
  --sky-soft: rgba(106, 166, 248, 0.14);

  /* Restrained status colours for due states. */
  --warning: #92400e;
  --warning-bg: #fff7ed;
  --warning-line: rgba(146, 64, 14, 0.2);
  --success: #0f766e;
  --success-bg: #ecfdf5;
  --success-line: rgba(15, 118, 110, 0.2);

  /* Copy on the night card. Every value is checked against the lightest
     pixel the card can paint under type - the lit top-left corner, behind
     the kicker: soft 6.57:1, muted 5.03:1 on the painted pixels at 1440,
     6.83 and 4.93 at 375. Both sit a step above the values the older, flatter
     fill could afford, because the corner it lights is a step brighter. */
  --on-deep: #f7faff;
  --on-deep-soft: rgba(247, 250, 255, 0.82);
  --on-deep-muted: rgba(247, 250, 255, 0.77);
  --on-deep-line: rgba(247, 250, 255, 0.18);
  --sky-bright: #a9c8f5;

  --line: rgba(15, 23, 42, 0.1);
  --line-soft: rgba(15, 23, 42, 0.06);
  --line-strong: rgba(15, 23, 42, 0.16);

  --rule: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.34),
    rgba(15, 23, 42, 0.1) 38%,
    rgba(15, 23, 42, 0.02) 78%,
    transparent
  );

  /* Hairline for the ruled rows in the privacy sheet. One line, no colour. */
  --rule-row: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.09),
    rgba(15, 23, 42, 0.09)
  );

  /* Chinese-first system stacks: no font files are downloaded. */
  --font-sans:
    "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "MiSans",
    "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
    "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Display serif: a Chinese semi-serif where the platform has one, so the
     headline keeps a book-like voice and still degrades to a plain serif. */
  --font-display:
    "STZhongsong", "Songti SC", "Source Han Serif SC", "Noto Serif SC",
    "STSong", "SimSun", "Palatino Linotype", Georgia, serif;
  --font-serif:
    "Palatino Linotype", "Iowan Old Style", "Book Antiqua", Constantia,
    Palatino, Georgia, "Songti SC", "STSong", serif;
  --font-mono:
    ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo,
    Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(18px, 3.4vw, 40px);
  --panel-pad: clamp(24px, 4.2vw, 60px);
  /* Paper visible between two panels. Wider than a plain gap so the
     step from one screen to the next can actually be seen. */
  --screen-gap: clamp(16px, 2.1vw, 30px);
  --radius-panel: clamp(24px, 2.4vw, 34px);
  --radius-tile: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-panel:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 22px -16px rgba(15, 23, 42, 0.08),
    0 48px 88px -60px rgba(15, 23, 42, 0.16);
  --shadow-tile:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 14px 28px -22px rgba(15, 23, 42, 0.12);
  --shadow-tile-hover:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 22px 40px -26px rgba(15, 23, 42, 0.16);
  --shadow-float:
    0 1px 1px rgba(15, 23, 42, 0.03),
    0 10px 28px -18px rgba(15, 23, 42, 0.14),
    0 2px 6px -3px rgba(15, 23, 42, 0.05);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--page);
  background-image:
    radial-gradient(
      1000px 680px at 86% -8%,
      rgba(37, 99, 235, 0.05),
      transparent 62%
    ),
    radial-gradient(
      820px 560px at 0% 6%,
      rgba(148, 163, 184, 0.12),
      transparent 58%
    ),
    radial-gradient(
      900px 620px at 10% 46%,
      rgba(106, 166, 248, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, var(--paper-0) 0%, #f9fbfe 46%, var(--paper-1) 100%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The landing page paints every screen with its own step of the ramp,
   so the shared porcelain wash is not needed there. The legal pages
   keep it. */
body#top {
  background-image: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

::selection {
  background: var(--sky-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* On the dusk base the accent ring would sink into the navy. */
.closing :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sky-bright);
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 100px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transition: top 180ms var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 3. Shared type ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.65),
    rgba(37, 99, 235, 0.06)
  );
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding-top: 6px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.17em;
  line-height: 1.5;
}

.section-label::after {
  content: "";
  flex: 1;
  min-width: 24px;
  height: 1px;
  margin-bottom: 5px;
  background: var(--rule);
}

.section-label .num {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
}

.section-en {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 0.01em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 2.1fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(30px, 3.8vw, 52px);
}

.section-intro h2 {
  max-width: 17em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 500;
  letter-spacing: 0.008em;
  line-height: 1.32;
  text-wrap: balance;
}

/* Keeps a short clause together when a heading has to wrap on a phone. */
.nb {
  white-space: nowrap;
}

.section-intro > p:not(.section-en) {
  max-width: 37em;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

/* Suspended white panels. One rhythm for every section.
   The paper behind each screen is one step further down the ladder,
   and the panel's foot melts into that paper, so the step is felt
   rather than seen as a line. */
.section {
  --screen-top: var(--paper-1);
  --screen-bottom: var(--paper-2);
  padding: var(--screen-gap) 0;
  background: linear-gradient(180deg, var(--screen-top), var(--screen-bottom));
}

.how {
  --screen-top: var(--paper-2);
  --screen-bottom: var(--paper-3);
  /* A slower descent here: this screen is longer than features. */
  background: linear-gradient(
    180deg,
    var(--paper-2) 0%,
    var(--paper-2) 40%,
    var(--paper-3) 100%
  );
}

/* The FAQ stops at the deepest paper step. The page never fades toward the
   night any more: the closing card below can arrive as one deliberate block
   instead of a slow leak. */
.faq {
  --screen-top: var(--paper-3);
  --screen-bottom: var(--paper-4);
  background: linear-gradient(
    180deg,
    var(--paper-3) 0%,
    var(--paper-3) 34%,
    var(--paper-4) 100%
  );
}

.section > .wrap {
  position: relative;
  isolation: isolate;
  /* The sheet has to clip the mark in its floor at the rounded corner. `clip`
     does that without turning the sheet into a scroll container, so the FAQ's
     sticky intro keeps sticking; `hidden` is the fallback for engines that do
     not know `clip` yet. */
  overflow: hidden;
  overflow: clip;
  padding: var(--panel-pad);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-panel);
  background-color: var(--panel);
  /* The sheet keeps its white face and picks up the local paper only in
     the last third, so its bottom edge belongs to the page around it. */
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 62%,
    color-mix(in oklab, var(--screen-bottom) 46%, #ffffff) 100%
  );
  box-shadow: var(--shadow-panel);
}

/* The brand's two arcs stand in the floor of the three white sheets: the same
   cropped 3.1:1 band, the same fade, and the same rule as the night card's
   floor - the mark's height is the sheet's own bottom padding, so at every
   width it lives in the one strip no type can reach, and the rounded corner
   cuts it the way the card's edge does. On paper a watermark is ink, not
   light, so the stroke is the brand blue at 4%. */
.section > .wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: calc(var(--panel-pad) * -0.06);
  width: calc(var(--panel-pad) * 3.1);
  height: var(--panel-pad);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20241.8%2078'%3E%3Cdefs%3E%3ClinearGradient%20id='a'%20gradientUnits='userSpaceOnUse'%20x1='0'%20y1='-2.38'%20x2='0'%20y2='9.1'%3E%3Cstop%20offset='0'%20stop-color='%232563eb'%20stop-opacity='0'/%3E%3Cstop%20offset='1'%20stop-color='%232563eb'%20stop-opacity='.06'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%20transform='translate(71%20-18.4)%20scale(4.88)'%20fill='none'%20stroke='url(%23a)'%20stroke-width='3.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5.8%2025.6C5.8%2014.6%209.6%206.4%2013.8%206.4'/%3E%3Cpath%20d='M26.2%2025.7C26.2%2013.6%2021.4%204.6%2017.2%209.2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* The side alternates down the page - 01 right, 02 left, 04 right - so the
   three read as one system rather than three decorations. A left placement
   pulls the band further out, because the artwork itself carries more empty
   lead-in on its left than on its right; without it the mark would stand
   70px in from the edge on one side and 25px on the other. */
.how > .wrap::after {
  right: auto;
  left: calc(var(--panel-pad) * -0.71);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 220ms var(--ease-out),
    color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    transform 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(37, 99, 235, 0.3),
    0 14px 26px -12px rgba(37, 99, 235, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* A single soft sheen on hover - no looping light. */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 44%,
    rgba(255, 255, 255, 0.04) 54%,
    transparent 68%
  );
  transform: translateX(-135%);
  transition: transform 700ms var(--ease-out);
  pointer-events: none;
}

.btn--primary:hover::after {
  transform: translateX(135%);
}

.btn--primary:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(29, 78, 216, 0.32),
    0 18px 32px -14px rgba(37, 99, 235, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow:
    0 1px 2px rgba(29, 78, 216, 0.3),
    0 8px 18px -12px rgba(37, 99, 235, 0.6);
}

.btn .arrow {
  transition: transform 260ms var(--ease-out);
}

.btn:hover .arrow {
  transform: translate(2px, -2px);
}

.btn:hover .arrow--down {
  transform: translate(0, 2px);
}

.btn:hover .arrow--up {
  transform: translate(0, -2px);
}

/* Secondary action: quiet, hairline pill. */
.btn--text {
  gap: 8px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
  font-weight: 400;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.btn--text:hover {
  border-color: var(--line-strong);
  background: var(--panel);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn--text:active {
  transform: translateY(0);
}

.btn--header {
  min-height: 44px;
  padding: 0 17px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 400;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn--header:hover {
  border-color: var(--line-strong);
  background: var(--tile);
  color: var(--ink);
  transform: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* ---------- 5. Header: a floating frosted capsule ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 10px;
  background: transparent;
}

/* A blur bed so content passing underneath softens instead of colliding
   with the capsule. Deliberately colourless: a paper-tinted scrim would
   read as a pale band once the page reaches its dusk base. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -26px;
  z-index: -1;
  -webkit-backdrop-filter: blur(9px) saturate(120%);
  backdrop-filter: blur(9px) saturate(120%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 62%, transparent 100%);
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 clamp(12px, 1.4vw, 20px);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  /* More opaque than before: the capsule now travels over the dusk base
     too, and nav labels must stay quiet against whatever passes behind. */
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    var(--shadow-float),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
}

.brand img {
  width: auto;
  height: 22px;
}

/* Segmented navigation pills inside the capsule. */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.045);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 13px;
  letter-spacing: 0.01em;
  transition:
    background-color 220ms var(--ease-out),
    color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.nav a[aria-current="location"],
.nav a.is-active {
  background: var(--panel);
  color: var(--accent-deep);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

/* Mobile navigation: a native <details>, so it also works without JS. */
.mobile-nav {
  display: none;
  position: relative;
  margin-left: auto;
}

.mobile-nav summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12.5px;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 180ms var(--ease-out);
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary::marker {
  content: "";
}

.mobile-nav summary:hover {
  border-color: var(--line-strong);
}

.menu-bars {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 9px;
  flex: none;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform 220ms var(--ease-out);
}

.menu-bars::before {
  top: 1px;
}

.menu-bars::after {
  bottom: 1px;
}

.mobile-nav[open] .menu-bars::before {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-nav[open] .menu-bars::after {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(300px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.mobile-nav__panel nav > a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px;
  transition: background-color 160ms var(--ease-out);
}

.mobile-nav__panel nav > a:hover {
  background: var(--tile);
}

.mobile-nav__panel nav > a[aria-current="location"],
.mobile-nav__panel nav > a.is-active {
  background: var(--tile);
  color: var(--ink);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 5.4vw, 74px) 0 clamp(20px, 2.4vw, 34px);
  background: linear-gradient(180deg, var(--paper-0) 0%, var(--paper-1) 100%);
}

/* Faint colour glow behind the product visual - gradients only. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      46% 52% at 78% 46%,
      rgba(37, 99, 235, 0.14),
      transparent 72%
    ),
    radial-gradient(
      34% 40% at 88% 70%,
      rgba(106, 166, 248, 0.2),
      transparent 72%
    );
  background-size: 120% 120%;
  background-position: 0% 0%;
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.hero-copy {
  padding-block: 8px;
}

.hero-copy h1 {
  margin: 24px 0 0;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 500;
  letter-spacing: 0.012em;
  line-height: 1.16;
}

.headline-line {
  display: block;
}

.headline-line + .headline-line {
  padding-left: 0.18em;
}

.hero-lede {
  max-width: 28em;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: clamp(15.5px, 1.25vw, 17px);
  letter-spacing: 0.012em;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  list-style: none;
}

.hero-meta li {
  position: relative;
}

.hero-meta li + li {
  padding-left: 22px;
}

.hero-meta li + li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.hero-visual {
  min-width: 0;
}

/* The composed product visual - HTML/CSS, not a screenshot. */
.stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 546px;
  padding: clamp(26px, 3.6vw, 50px);
  border: 1px solid var(--line-soft);
  border-radius: 34px;
  background:
    radial-gradient(
      120% 90% at 84% 6%,
      rgba(37, 99, 235, 0.05),
      transparent 60%
    ),
    linear-gradient(155deg, #ffffff 0%, #f8fafc 54%, #eef4fb 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 22px 48px -28px rgba(15, 23, 42, 0.26),
    0 64px 110px -72px rgba(15, 23, 42, 0.34);
  perspective: 1200px;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-position: center;
  background-size: 64px 64px;
  pointer-events: none;
}

.stage-mark {
  position: absolute;
  top: -34px;
  right: -18px;
  z-index: 0;
  width: min(320px, 56%);
  height: auto;
  color: var(--ink);
  opacity: 0.075;
  pointer-events: none;
  /* Dissolve the watermark toward its edges instead of cutting it off. */
  -webkit-mask-image: radial-gradient(
    118% 118% at 72% 24%,
    #000 30%,
    transparent 76%
  );
  mask-image: radial-gradient(118% 118% at 72% 24%, #000 30%, transparent 76%);
}

.stage-rail {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.due-card {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  padding: 24px 24px 19px;
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  background:
    radial-gradient(
      120% 80% at 100% 0%,
      rgba(37, 99, 235, 0.035),
      transparent 62%
    ),
    #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 20px 44px -26px rgba(15, 23, 42, 0.24);
  transform: none;
  transition: transform 180ms var(--ease-out);
}

/* Pointer tilt is enabled by script and stays off for touch/reduced motion. */
.stage.is-tilting .due-card {
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition-duration: 90ms;
}

.due-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.due-card__date {
  color: var(--text-muted);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.due-main {
  margin-top: 22px;
}

.due-main__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.label-dot {
  width: 5px;
  height: 5px;
  border: 1px solid var(--sky);
  border-radius: 50%;
}

/* Due state: warm for today, sky-cool for the next few days, quiet after. */
.due-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 19px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.055);
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px transparent;
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.due-status[data-state="today"] {
  background: var(--warning-bg);
  color: var(--warning);
  box-shadow: inset 0 0 0 1px var(--warning-line);
}

.due-status[data-state="soon"] {
  background: var(--accent-tint);
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
}

.due-status[data-state="later"] {
  background: rgba(15, 23, 42, 0.055);
  color: var(--text-muted);
}

.due-main__title {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.due-main__meta {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

/* One short fade/slide when the demo swaps reminders. The list items arrive a
   beat apart so the change reads clearly without turning into a show. */
@keyframes due-swap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.due-card.is-swapping .due-card__top {
  animation: due-swap 200ms var(--ease-out) both;
}

.due-card.is-swapping .due-main {
  animation: due-swap 260ms 40ms var(--ease-out) both;
}

.due-card.is-swapping .due-next__head {
  animation: due-swap 240ms 80ms var(--ease-out) both;
}

.due-card.is-swapping .due-list li {
  animation-name: due-swap;
  animation-duration: 300ms;
  animation-timing-function: var(--ease-out);
  animation-fill-mode: both;
  animation-delay: calc(110ms + var(--i, 0) * 45ms);
}

.due-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-soft);
  font-size: 11.5px;
  line-height: 1;
}

.mock-btn--solid {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px -10px rgba(37, 99, 235, 0.7);
}

.due-next {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
}

.due-next__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.due-next__head span:last-child {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.due-list {
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.due-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 9px 0;
}

.due-list li + li {
  border-top: 1px solid var(--line-soft);
}

.due-ico {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--text-soft);
}

.due-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.due-name {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
}

.due-date {
  color: var(--text-muted);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.due-when {
  min-width: 44px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.due-when.is-today {
  color: var(--warning);
}

.due-when.is-soon {
  color: var(--accent-deep);
}

.due-weight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.due-weight__label {
  color: var(--text-muted);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  white-space: nowrap;
}

.due-weight__value {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.due-weight__value span {
  margin-left: 3px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 400;
}

.spark {
  width: 100%;
  max-width: 76px;
  height: 20px;
  color: var(--ink);
  justify-self: center;
  opacity: 0.82;
}

/* A real month grid, floated over the card like a page from a wall calendar. */
.mini-cal {
  position: absolute;
  top: -26px;
  right: -18px;
  z-index: 3;
  width: 182px;
  padding: 12px 13px 10px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 58%, #f3f8ff 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 16px 30px -20px rgba(15, 23, 42, 0.24),
    0 30px 60px -46px rgba(37, 99, 235, 0.5);
  transform: rotate(2deg);
  transition:
    transform 520ms var(--ease-out),
    box-shadow 520ms var(--ease-out);
}

/* A hairline tab on the top edge - the small detail a paper calendar has. */
.mini-cal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 42px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.5),
    transparent
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.mini-cal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 8px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

.mini-cal__month {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.mini-cal__head .mono {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.mini-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 20px;
  gap: 0;
  margin-top: 6px;
  text-align: center;
}

.mini-cal__dow {
  align-self: center;
  color: var(--text-muted);
  font-size: 7.5px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.mini-cal__day {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: var(--text-soft);
  font-size: 9px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition:
    color 240ms var(--ease-out),
    background-color 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

.mini-cal__day.is-blank {
  visibility: hidden;
}

.mini-cal__day.is-today {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px -3px rgba(15, 23, 42, 0.6);
}

/* Selected reminder: a thin ring. Today keeps the solid fill. */
.mini-cal__day.is-due {
  background: rgba(37, 99, 235, 0.09);
  color: var(--accent-deep);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.5);
}

.mini-cal__day.is-today.is-due {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(37, 99, 235, 0.18),
    0 3px 8px -3px rgba(37, 99, 235, 0.6);
}

/* Other reminders in the same month: a small dot under the number.
   Today already reads as the anchor, so it never carries the extra dot. */
.mini-cal__day.has-due::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.55);
  transform: translateX(-50%);
}

.mini-cal__day.is-today.has-due::after {
  display: none;
}

.mini-cal__next {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 7px 0 0;
  padding: 7px 2px 0;
  border-top: 1px dashed var(--line);
  color: var(--text-muted);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.mini-cal__next::before {
  content: "";
  width: 3px;
  height: 3px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

.mini-cal__next[hidden] {
  display: none;
}

/* A short fade/slide over the grid when the selected reminder changes. */
@keyframes cal-shift {
  0% {
    opacity: 0.35;
    transform: translateY(3px);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.mini-cal.is-shifting .mini-cal__grid {
  animation: cal-shift 340ms var(--ease-out) both;
}

.stage:hover .mini-cal {
  transform: rotate(0.6deg) translateY(-3px);
}

/* The tag rail under the hero: one floating toolbar of real controls. */
.hero-index {
  position: relative;
  isolation: isolate;
  margin: clamp(34px, 4.2vw, 52px) auto 0;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(243, 247, 253, 0.88) 100%
  );
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -1px 0 rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 40px -30px rgba(15, 23, 42, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}

/* A soft pool of blue light under the tray - decoration only. */
.hero-index::before {
  content: "";
  position: absolute;
  inset: -16px -12px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(
    62% 84% at 50% 50%,
    rgba(37, 99, 235, 0.12),
    transparent 72%
  );
  filter: blur(7px);
  pointer-events: none;
}

.hero-index ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-index li {
  display: flex;
  align-items: center;
  flex: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.tag svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--text-soft);
  opacity: 0.72;
  transition:
    opacity 200ms var(--ease-out),
    color 200ms var(--ease-out);
}

.tag:hover {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 2px 6px -4px rgba(15, 23, 42, 0.32);
}

.tag:hover svg {
  opacity: 0.82;
}

.tag[aria-pressed="true"] {
  border-color: rgba(37, 99, 235, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  color: var(--accent-deep);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 1px 2px rgba(37, 99, 235, 0.12),
    0 8px 16px -12px rgba(37, 99, 235, 0.6);
}

.tag[aria-pressed="true"] svg {
  color: var(--accent);
  opacity: 1;
}

.tag[aria-pressed="true"]:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e7efff 100%);
}

.tag:active {
  transform: translateY(0);
}

.tag:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---------- 7. Feature tiles ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  position: relative;
  padding: 26px 26px 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-tile);
  background: linear-gradient(180deg, #f9fbff 0%, #f1f5fb 100%);
  transition:
    transform 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out),
    border-color 300ms var(--ease-out),
    background 300ms var(--ease-out);
}

.feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #eef4ff 100%);
  color: var(--accent);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 10px 18px -16px rgba(37, 99, 235, 0.55),
    inset 0 1px 0 #ffffff;
  transition: transform 360ms var(--ease-out);
}

.feature-num {
  padding-top: 3px;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.feature h3 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

/* ---------- 7b. Name note ---------- */
.name-note {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 2.1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-tile);
  background: linear-gradient(160deg, #f6f8fc 0%, #eef4fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  scroll-margin-top: 100px;
}

.name-note__label {
  margin: 0;
  color: var(--text-muted);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.name-note__words {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1;
}

.name-note__words .slash {
  color: var(--line-strong);
  font-size: 0.7em;
  font-style: normal;
}

.name-note__text {
  max-width: 38em;
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
}

.name-note__text em {
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ---------- 8. How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 26px 26px 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-tile);
  background: linear-gradient(180deg, #f9fbff 0%, #f1f5fb 100%);
  transition:
    transform 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out),
    border-color 300ms var(--ease-out),
    background 300ms var(--ease-out);
}

.step-num {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.step h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- 9. Privacy: the document page ----------
   Still light, still the same paper family. It is set apart by being a
   pale-blue sheet with its own ruled rows, one watermark and mono labels -
   the fine print of the site - not by inverting to dark, and not by any
   texture laid over the type. */
.privacy {
  position: relative;
  padding: var(--screen-gap) 0;
  background:
    radial-gradient(
      110% 80% at 88% 0%,
      rgba(37, 99, 235, 0.08),
      transparent 62%
    ),
    var(--paper-3);
}

/* The sheet: a hair lighter than the paper it lies on, ruled like a
   document rather than floating like the white panels around it. */
.privacy > .wrap {
  position: relative;
  overflow: hidden;
  padding: var(--panel-pad);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-panel);
  background-color: #fbfdff;
  background-image: linear-gradient(
    180deg,
    #fbfdff 0%,
    #f7fbff 58%,
    color-mix(in oklab, var(--paper-3) 46%, #ffffff) 100%
  );
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 30px 64px -52px rgba(15, 23, 42, 0.26);
  color: var(--text);
}

.privacy-mark {
  position: absolute;
  top: -84px;
  right: -46px;
  z-index: 0;
  width: min(340px, 34vw);
  height: auto;
  color: var(--accent);
  opacity: 0.1;
  pointer-events: none;
  /* Dissolve toward the edges so the watermark never cuts off. */
  -webkit-mask-image: radial-gradient(
    118% 118% at 72% 24%,
    #000 32%,
    transparent 78%
  );
  mask-image: radial-gradient(118% 118% at 72% 24%, #000 32%, transparent 78%);
}

.privacy > .wrap > *:not(.privacy-mark) {
  position: relative;
  z-index: 1;
}

/* The head of the document: same grid as every other screen, closed by a
   ledger rule that the pledge rows below continue. The class name is kept
   from the dark version so the markup does not change. */
.section-head--dark {
  margin-bottom: clamp(26px, 3.4vw, 44px);
  padding-bottom: clamp(18px, 2.4vw, 28px);
  background-image: var(--rule-row);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

/* The second column reads as the next leaf of the same sheet: the gap alone
   separates it, no rule down the seam. */
.privacy-col + .privacy-col {
  padding-left: clamp(24px, 3vw, 44px);
}

.pledge {
  padding: 22px 0 26px;
  background-image: var(--rule-row);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 1px;
}

.pledge h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.5;
}

.pledge p {
  max-width: 34em;
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.mono-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.roles {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.roles li {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.6;
}

.roles b {
  color: var(--ink);
  font-weight: 500;
}

.roles span {
  color: var(--text-soft);
}

.roles-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.75;
}

.privacy-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(24px, 3.4vw, 40px);
  padding-top: 22px;
  background-image: var(--rule-row);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 1px;
}

.privacy-foot > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out);
}

.privacy-links a:hover {
  border-color: rgba(37, 99, 235, 0.45);
  background: #ffffff;
  color: var(--accent-deep);
}

.privacy-links .arrow {
  transition: transform 240ms var(--ease-out);
}

.privacy-links a:hover .arrow {
  transform: translate(2px, -2px);
}

/* ---------- 10. FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.55fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 108px;
}

.faq-intro .section-label {
  margin-bottom: 24px;
}

.faq-intro .section-en {
  margin-bottom: 8px;
}

.faq-intro h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 500;
  letter-spacing: 0.008em;
  line-height: 1.36;
  text-wrap: balance;
}

.faq-intro > p:not(.section-en) {
  max-width: 26em;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.faq-contact {
  margin-top: 24px !important;
  color: var(--text-muted) !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

.faq-contact a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color 180ms var(--ease-out);
}

.faq-contact a:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.faq-list {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-tile);
  background: var(--panel-soft);
  overflow: hidden;
}

.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 19px 22px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms var(--ease-out);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: "";
}

.faq-list summary:hover {
  background: var(--panel);
}

.faq-list details[open] > summary {
  background: var(--panel);
  box-shadow: inset 2px 0 0 rgba(37, 99, 235, 0.55);
}

.faq-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  transform-origin: 50% 50%;
  transition: transform 320ms var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition:
    transform 260ms var(--ease-out),
    opacity 200ms var(--ease-out),
    background-color 200ms var(--ease-out);
}

.faq-list summary:hover .faq-icon::before,
.faq-list summary:hover .faq-icon::after,
details[open] .faq-icon::before,
details[open] .faq-icon::after {
  background: var(--accent);
}

.faq-icon::before {
  top: 7.5px;
  left: 0;
  width: 16px;
  height: 1px;
}

.faq-icon::after {
  top: 0;
  left: 7.5px;
  width: 1px;
  height: 16px;
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

details[open] .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-list details > p {
  max-width: 54em;
  margin: 0;
  padding: 0 52px 22px 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 11. Closing ----------
   The page itself never goes dark. The paper keeps its light ladder down to
   the FAQ, and the closing is one night card floating on that same deepest
   step: a radius, a 1px rim and three light shadows - the only dark area on
   the site, small and deliberate. The surface is one blue read along a
   135deg diagonal, and the brand's two arcs sit in its floor as a watermark. */
.closing {
  padding: clamp(26px, 3.4vw, 44px) 0 var(--screen-gap);
  /* The card floats on the deepest paper step. The last stop steps back
     toward the step above, so the paper does not end on a hard band under
     the card. */
  background: linear-gradient(
    180deg,
    var(--paper-4) 0%,
    var(--paper-4) 64%,
    #cfdff1 100%
  );
  color: var(--text);
}

/* The card. Three things are load-bearing here:
   - `isolation: isolate` makes this a stacking context, so the two children
     below (z-index:-1) are painted above the card's own background and
     below every in-flow box. That order is what the spec guarantees; without
     it a negative-z child could fall behind the card's own paint. It is the
     quietest way to get there: no transform, no filter, no extra layer.
   - `overflow: hidden` clips the watermark at the rounded corners with no
     dependency on mask-image or clip-path.
   - the bottom padding is the floor the watermark lives in, so no heading,
     paragraph or caption can ever sit on top of the arcs. */
.closing-grid {
  --card-floor: clamp(72px, 6.8vw, 108px);
  /* The artwork's viewBox is 241.8 x 78 - exactly 3.1 : 1, the band's own
     proportion - so at this width the artwork's height is the strip's height
     and the whole cropped mark lands inside it, at every breakpoint. */
  --wm: calc(var(--card-floor) * 3.1);
  /* The one thing that makes the card a card: the 135deg read of its surface.
     Three stops of a single blue - a lit corner at the top left, a body a step
     under it, a floor under that - so the card reads as one material falling
     into shadow, never as two hues. It lives in a custom property so nothing
     else in the sheet has to restate it. */
  --dusk-fill: linear-gradient(
    135deg,
    #2d5b8c 0%,
    #162b52 46%,
    #04101d 100%
  );
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: var(--panel-pad) var(--panel-pad)
    calc(var(--panel-pad) + var(--card-floor));
  border: 1px solid rgba(169, 200, 245, 0.26);
  border-radius: var(--radius-panel);
  background-image:
    radial-gradient(
      90% 110% at 88% -12%,
      rgba(106, 166, 248, 0.16),
      transparent 60%
    ),
    var(--dusk-fill);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.1),
    0 18px 36px -26px rgba(15, 23, 42, 0.38),
    0 56px 96px -72px rgba(15, 23, 42, 0.48);
  color: var(--on-deep);
}

/* Both decorative layers, one step behind the type. */
.closing-grid::before,
.closing-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

/* A last sheen along the top edge and a breath of sky in the bottom left
   corner: the card reads as lit from outside the page rather than printed. */
.closing-grid::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0) 24%
    ),
    radial-gradient(
      110% 70% at 2% 108%,
      rgba(106, 166, 248, 0.09),
      transparent 62%
    );
}

/* The watermark: the brand's two arcs - the two humps of the nose, each with
   the start of its leg - standing in the bottom right corner and running off
   the card's edge. It is an inline SVG in a background image, not a masked
   box: the dissolve is painted by the stroke's own linearGradient (0 → 7%
   white), so Chrome, Firefox and Safari all show the same stain without
   mask-image, filter or blend mode. The strip it lives in is the card's
   bottom padding - the reason nothing can cover it, and the reason it can
   never cover a word.

   The viewBox is cropped to the part of the mark worth showing: the two
   apexes near the top of the strip and enough of both legs to read the curve
   before the card's edge cuts them. The crop is 3.1:1, the band's own
   proportion, so the artwork's height is the band's height: `auto` cannot
   overflow it, and `bottom` keeps any sub-pixel slack at the transparent
   top instead of the painted bottom. */
.closing-grid::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--card-floor);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20241.8%2078'%3E%3Cdefs%3E%3ClinearGradient%20id='a'%20gradientUnits='userSpaceOnUse'%20x1='0'%20y1='-2.38'%20x2='0'%20y2='9.1'%3E%3Cstop%20offset='0'%20stop-color='%23fff'%20stop-opacity='0'/%3E%3Cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.07'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%20transform='translate(71%20-18.4)%20scale(4.88)'%20fill='none'%20stroke='url(%23a)'%20stroke-width='3.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5.8%2025.6C5.8%2014.6%209.6%206.4%2013.8%206.4'/%3E%3Cpath%20d='M26.2%2025.7C26.2%2013.6%2021.4%204.6%2017.2%209.2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: var(--wm) auto;
  /* The horizontal offset is a fraction of the artwork's own size, so the same
     corner of the same shape stays visible at every width. The vertical one is
     zero by construction: the artwork is exactly as tall as the strip. */
  background-position: right calc(var(--wm) * -0.02) bottom;
}

.closing .kicker {
  color: var(--on-deep-muted);
}

.closing .kicker::before {
  background: linear-gradient(
    90deg,
    var(--sky-bright),
    rgba(169, 200, 245, 0.1)
  );
}

.closing h2 {
  margin: 18px 0 0;
  color: var(--on-deep);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.24;
}

.closing-lede {
  max-width: 30em;
  margin: 18px 0 0;
  color: var(--on-deep-soft);
  font-size: 15.5px;
  line-height: 1.8;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 30px;
}

/* The accent blue stays the one saturated thing on the night card. */
.closing .btn--primary {
  box-shadow:
    0 1px 2px rgba(8, 19, 38, 0.4),
    0 18px 30px -16px rgba(37, 99, 235, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.closing-note {
  margin: 24px 0 0;
  color: var(--on-deep-muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.closing-figure {
  justify-self: end;
  max-width: 240px;
  margin: 0;
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--on-deep-line);
  text-align: center;
}

.closing-figure img {
  width: 150px;
  height: 150px;
  margin-inline: auto;
  /* The mark is drawn in ink; on the dusk base it reads as a white seal. */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.closing-figure figcaption {
  margin-top: 20px;
  color: var(--on-deep-muted);
  font-size: 11.5px;
  line-height: 1.75;
  text-align: left;
}

/* ---------- 12. Footer ---------- */
.site-footer {
  padding: var(--screen-gap) 0 clamp(20px, 3vw, 30px);
}

/* Only the landing page sits at the end of the ladder. Its footer stays on
   paper: the night appeared once, in the card above, and the footer is the
   same white panel the rest of the page is made of. The legal pages keep the
   shared porcelain background and their own light footer. */
#top .site-footer {
  background: linear-gradient(180deg, var(--paper-4) 0%, var(--paper-3) 100%);
  color: var(--text-muted);
}

.site-footer > .wrap {
  position: relative;
  padding: clamp(26px, 3.2vw, 42px) clamp(22px, 3.4vw, 48px)
    clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-panel);
  background: var(--panel);
  box-shadow: var(--shadow-panel);
}

/* A short blue hairline along the top edge of the footer card. */
.site-footer > .wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(22px, 3.4vw, 48px);
  left: clamp(22px, 3.4vw, 48px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.34) 26%,
    rgba(106, 166, 248, 0.22) 62%,
    transparent
  );
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(
      0,
      1fr
    );
  gap: 40px;
}

.footer-brand img {
  width: auto;
  height: 20px;
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-brand p {
  max-width: 26em;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.footer-col h3 {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.footer-col ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li,
.footer-about p {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.footer-col li a {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  transition: color 180ms var(--ease-out);
}

.footer-col a:hover {
  color: var(--accent-deep);
}

.footer-about p {
  max-width: 24em;
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 18px;
  background-image: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.1),
    rgba(15, 23, 42, 0.03) 58%,
    transparent
  );
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 1px;
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-legal a {
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms var(--ease-out);
}

.footer-legal a:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ---------- 13. Motion ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-drift {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 18% 12%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 720ms var(--ease-out) both;
  }

  .hero-copy > *:nth-child(1) {
    animation-delay: 40ms;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 100ms;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 170ms;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 230ms;
  }

  .hero-copy > *:nth-child(5) {
    animation-delay: 290ms;
  }

  .hero-visual {
    animation: rise 820ms 200ms var(--ease-out) both;
  }

  .hero::before {
    animation: glow-drift 26s ease-in-out infinite alternate;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 620ms var(--ease-out),
      transform 620ms var(--ease-out);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .js .feature[data-reveal]:nth-child(2) {
    transition-delay: 45ms;
  }

  .js .feature[data-reveal]:nth-child(3) {
    transition-delay: 90ms;
  }

  .js .feature[data-reveal]:nth-child(4) {
    transition-delay: 45ms;
  }

  .js .feature[data-reveal]:nth-child(5) {
    transition-delay: 90ms;
  }

  .js .feature[data-reveal]:nth-child(6) {
    transition-delay: 135ms;
  }

  .js .step[data-reveal]:nth-child(2) {
    transition-delay: 60ms;
  }

  .js .step[data-reveal]:nth-child(3) {
    transition-delay: 120ms;
  }
}

/* Gentle lift: pointer devices and desktop widths only. */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .feature:hover,
  .step:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.14);
    background: var(--panel);
    box-shadow: var(--shadow-tile-hover);
  }

  .feature:hover .feature-icon {
    transform: translateY(-2px);
  }

  .tag:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .stage.is-tilting .due-card {
    transform: none;
  }
}

/* ---------- 14. Print ---------- */
@media print {
  body {
    background: #fff;
  }

  .site-header,
  .nav,
  .mobile-nav,
  .skip-link,
  .hero::before,
  .privacy-mark {
    display: none !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .section,
  .privacy,
  .closing {
    padding: 10px 0;
  }

  .hero,
  .section,
  .privacy,
  .closing,
  .site-footer {
    background: #fff !important;
  }

  .section > .wrap,
  .closing-grid,
  .site-footer > .wrap,
  .stage,
  .due-card,
  .feature,
  .step,
  .faq-list {
    box-shadow: none !important;
  }

  .section > .wrap,
  .closing-grid,
  .site-footer > .wrap {
    border-color: #c8cdd6;
    border-radius: 8px;
    background: #fff !important;
  }

  /* No watermark reaches the paper on any of the light sheets. */
  .section > .wrap::after {
    display: none !important;
  }

  .feature,
  .step,
  .name-note,
  .faq-list,
  .feature-icon {
    background: #fff !important;
    border-color: #c8cdd6;
  }

  /* The privacy sheet prints as a plain, readable document block. */
  .privacy > .wrap {
    border-color: #c8cdd6;
    border-radius: 8px;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
  }

  .privacy .section-head--dark .section-label,
  .privacy .section-head--dark .section-en,
  .privacy .section-head--dark .section-intro > p:not(.section-en),
  .privacy .pledge p,
  .privacy .roles span,
  .privacy .roles-note,
  .privacy .privacy-foot > p,
  .privacy .mono-tag {
    color: #0f172a !important;
  }

  .privacy .section-head--dark .section-label .num,
  .privacy .section-head--dark .section-intro h2,
  .privacy .pledge h3,
  .privacy .roles b,
  .privacy .privacy-links a {
    color: #0f172a !important;
  }

  .privacy .section-label::after,
  .privacy .section-head--dark,
  .privacy .pledge,
  .privacy .roles li,
  .privacy .privacy-foot,
  .privacy .privacy-links a {
    border-color: #c8cdd6 !important;
  }

  /* Ledger rules are painted as background images, so they need their own
     reset before the borders above can do the work. */
  .privacy .section-head--dark,
  .privacy .pledge,
  .privacy .privacy-foot {
    background-image: none !important;
  }

  .privacy .mono-tag {
    border-color: #c8cdd6;
    background: #fff !important;
  }

  .privacy .privacy-links a {
    background: #fff !important;
  }

  /* The closing prints light as well: no reversed type. */
  .closing,
  .closing-grid,
  .closing .kicker,
  .closing h2,
  .closing-lede,
  .closing-note,
  .closing-figure figcaption {
    color: #0f172a !important;
  }

  /* Solid pills and buttons print as outlined blocks, never white on white. */
  .btn--primary,
  .mock-btn--solid {
    border-color: #c8cdd6 !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
  }

  .btn--primary::after {
    display: none !important;
  }

  .closing-grid,
  #top .site-footer > .wrap {
    border-color: #c8cdd6;
    background: #fff !important;
    box-shadow: none !important;
  }

  .closing .kicker::before {
    background: #98a2b3 !important;
  }

  .closing-figure {
    border-left-color: #c8cdd6;
  }

  /* The card prints as a plain column: no floor strip, no rim, and every
     wash, sheen and watermark is dropped. */
  .closing-grid {
    padding: 16px !important;
  }

  .closing-grid::before,
  .closing-grid::after {
    display: none !important;
    background: none !important;
  }

  .closing-figure img {
    filter: none !important;
    opacity: 1 !important;
  }

  #top .site-footer .footer-legal a {
    border-bottom-color: #c8cdd6;
  }

  .feature,
  .step,
  .pledge,
  .faq-list details,
  .closing-figure {
    break-inside: avoid;
  }
}

/* ---------- 15. Responsive: <= 1120 ---------- */
@media (max-width: 1120px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .step {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 22px 24px 24px;
  }

  .step-num {
    padding-top: 2px;
    font-size: 28px;
  }

  .step h3 {
    margin-top: 0;
  }

  .step p {
    max-width: 40em;
  }
}

/* ---------- 16. Responsive: <= 900 ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .hero::before {
    background:
      radial-gradient(
        62% 38% at 52% 64%,
        rgba(37, 99, 235, 0.12),
        transparent 72%
      ),
      radial-gradient(
        54% 32% at 40% 76%,
        rgba(106, 166, 248, 0.18),
        transparent 72%
      );
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .section-label {
    padding-top: 0;
  }

  .section-label::after {
    display: none;
  }

  .name-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .name-note__words {
    margin-top: 9px;
  }

  .privacy-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  /* One column: the leaf has nothing left to inset against. */
  .privacy-col + .privacy-col {
    padding-left: 0;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .faq-intro {
    position: static;
  }

  .closing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .closing-figure {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-self: stretch;
    max-width: none;
    padding: 26px 0 0;
    border-top: 1px solid var(--on-deep-line);
    border-left: 0;
    text-align: left;
  }

  .closing-figure img {
    flex: none;
    width: 92px;
    height: 92px;
    margin: 0;
  }

  .closing-figure figcaption {
    max-width: 28em;
    margin: 0;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- 17. Responsive: <= 640 ---------- */
@media (max-width: 640px) {
  :root {
    --panel-pad: 22px;
    --radius-panel: 24px;
    --screen-gap: 12px;
  }

  .site-header {
    padding: 8px 0 6px;
  }

  .header-inner {
    min-height: 54px;
    padding: 0 8px 0 14px;
    gap: 12px;
  }

  .brand img {
    height: 20px;
  }

  section[id],
  .name-note {
    scroll-margin-top: 84px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(36px, 9.8vw, 48px);
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  .headline-line + .headline-line {
    padding-left: 0;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 4px 18px;
    margin-top: 22px;
    font-size: 10.5px;
  }

  .hero-meta li + li {
    padding-left: 0;
  }

  .hero-meta li + li::before {
    display: none;
  }

  .hero-index {
    width: 100%;
    margin-top: 30px;
    padding: 5px;
    border-radius: 20px;
  }

  .hero-index ul {
    justify-content: flex-start;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-padding-inline: 10px;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%
    );
  }

  .hero-index ul::-webkit-scrollbar {
    display: none;
  }

  .tag {
    min-height: 44px;
    padding: 0 13px;
    font-size: 11.5px;
  }

  .stage {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 26px;
  }

  .stage-mark,
  .stage-rail {
    display: none;
  }

  /* On a phone the calendar becomes a small card above the reminder panel. */
  .mini-cal {
    position: static;
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 15px 10px;
    transform: none;
  }

  .stage:hover .mini-cal {
    transform: none;
  }

  .mini-cal__grid {
    grid-auto-rows: 26px;
  }

  .mini-cal__day {
    width: 24px;
    height: 24px;
    font-size: 11.5px;
  }

  .mini-cal__dow {
    font-size: 8.5px;
  }

  .mini-cal__head {
    padding-bottom: 8px;
  }

  .mini-cal__month {
    font-size: 14px;
  }

  .due-card {
    width: 100%;
    padding: 20px 18px 16px;
    border-radius: 20px;
  }

  .due-main__title {
    font-size: 21px;
  }

  .due-actions {
    gap: 7px;
  }

  .mock-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 10.5px;
  }

  .due-weight {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .spark {
    max-width: 64px;
  }

  .section-intro h2 {
    font-size: clamp(26px, 7.4vw, 32px);
  }

  .section-intro > p:not(.section-en) {
    margin-top: 12px;
    font-size: 14px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .feature {
    padding: 22px 22px 24px;
  }

  .feature h3 {
    margin-top: 20px;
  }

  .name-note {
    padding: 20px;
  }

  .name-note__text {
    font-size: 14.5px;
  }

  .step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 20px 22px;
  }

  .step-num {
    font-size: 24px;
  }

  .step h3 {
    margin-bottom: 6px;
    font-size: 17px;
  }

  .privacy-mark {
    display: none;
  }

  .pledge {
    padding-bottom: 24px;
  }

  .roles li {
    grid-template-columns: 4.6em minmax(0, 1fr);
    gap: 10px;
  }

  .privacy-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-links {
    width: 100%;
  }

  .privacy-links a {
    flex: 1;
    justify-content: space-between;
    padding: 0 16px;
  }

  .faq-intro h2 {
    font-size: clamp(27px, 8vw, 32px);
  }

  .faq-intro .section-label {
    margin-bottom: 20px;
  }

  .faq-list summary {
    min-height: 60px;
    padding: 17px 18px;
    font-size: 15px;
  }

  .faq-list details > p {
    padding: 0 34px 20px 18px;
    font-size: 13.5px;
  }

  .closing h2 {
    font-size: clamp(32px, 9.4vw, 44px);
  }

  .closing-lede {
    font-size: 15px;
  }

  .closing-actions {
    margin-top: 26px;
  }

  .closing-actions .btn {
    width: 100%;
  }

  .closing-figure {
    gap: 16px;
  }

  .closing-figure img {
    width: 74px;
    height: 74px;
  }

  .site-footer > .wrap {
    padding: 24px 20px 20px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px 20px;
  }

  .footer-brand,
  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-col li a {
    min-height: 44px;
    padding: 8px 0;
  }

  .footer-legal {
    flex-direction: column;
    gap: 2px;
  }

  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 28px;
  }
}

/* ---------- 页脚主体与备案 ---------- */
.footer-legal{margin:18px 0 0;font-size:13px;line-height:1.7;color:var(--ink-3,#8a86a0)}
.footer-legal a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(20,18,35,.16)}
.footer-legal a:hover{color:#14121c}
