/* SME proof story, Apple-style scroll with a ruled top. Scoped to the
   homepage; support and privacy retain their layout.

   Two registers, one seam. Through the proof line the page is a ruled
   composition: a centred hero on a hairline grid inside a framed column, the
   café scene squared beside its sample record, and the proof line as the box
   that closes the frame. From the working day on, the page is a sequence of
   pinned and scrubbed moments: a thin translucent header, one large statement
   per section, a record that stays put while the working day scrolls past it,
   and surfaces that settle in as they enter. Both halves share the tokens,
   the type, the pills and the hairline. Only opacity and transforms animate.
   Scroll-driven animations are CSS (`animation-timeline: view()`), behind
   @supports and the motion preference, so a browser without them shows the
   static page; nothing is hidden waiting. */
.story-home {
  --story-green: #294f3f;
  --story-ink: #1f3028;
  --story-muted: #68665b;
  --story-line: #dedfd2;
  /* A firmer hairline for control edges; the header's sign-in reads it. */
  --story-line-strong: #b4bba8;
  /* The hero's ruled grid: the hairline, faint. */
  --story-hero-rule: rgba(222, 223, 210, .32);
  --story-cream: #f7f7ed;
  --story-paper: #fffdf8;
  --story-clay: #a34b22;
  --display: "Fraunces", Georgia, serif;
  --ui: "Instrument Sans", Arial, sans-serif;
  --header-h: 56px;
  /* The header's own ease: decelerates decisively, no long tail. The page keeps --story-ease. */
  --header-ease: cubic-bezier(.25, .6, .2, 1);
  --story-ease: cubic-bezier(.22, 1, .36, 1);
  --story-fade: 480ms var(--story-ease);
  --wrap: min(1120px, calc(100% - 96px));
  background: var(--story-cream);
  color: var(--story-ink);
  font-size: 17px;
  line-height: 1.55;
}
html:has(.story-home) { scroll-behavior: smooth; }
.story-home * { min-width: 0; }
.story-home .wrap { width: var(--wrap); margin-inline: auto; }
.story-home a:focus-visible, .story-home summary:focus-visible { outline: 3px solid var(--story-clay); outline-offset: 4px; }
.story-home .skip { position: absolute; inset-block-start: -100px; inset-inline-start: 20px; padding: 12px 20px; z-index: 20; background: #fff; }
.story-home .skip:focus { inset-block-start: 12px; }

/* Header: pinned, thin, translucent. The one piece of the page that follows the reader.
   Crisp pass (from the crisp iteration, #63): a solid whole-pixel hairline under the
   bar, links set on one line at line-height 1, the language divider with equal space
   on both sides, the sign-in on the firmer hairline, and motion no longer than 140ms.
   The sign-in keeps the page's pill radius; a second control radius would be a
   second rule, not a sharper one. */
.story-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 247, 237, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--story-line);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
.story-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.story-home .brand { display: block; line-height: 0; }
.story-home .brand img { width: 118px; height: auto; display: block; }
.story-header nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: -.005em; color: #3f4f45; }
.story-header nav a { padding-block: 8px; }
.story-header nav a:hover { color: var(--story-clay); }
.story-header .language { border-inline-start: 1px solid var(--story-line); padding-inline-start: 24px; }
.story-header .sign-in { color: var(--story-ink); border: 1px solid var(--story-line-strong); border-radius: 999px; padding: 8px 14px; display: inline-flex; align-items: center; }
.story-header .sign-in:hover { color: var(--story-ink); border-color: var(--story-ink); }

/* Type rhythm: one eyebrow, one large statement, one measure of body per section. */
.story-home .eyebrow { font-family: var(--ui); font-size: 11px; font-weight: 600; letter-spacing: .14em; line-height: 1.6; margin: 0 0 20px; color: #4c5c4c; }
.story-home h1 { font-family: var(--display); font-size: clamp(52px, 6.6vw, 88px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; margin: 0 0 32px; max-width: 760px; text-wrap: balance; }
.story-home h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; letter-spacing: -.04em; margin: 0; white-space: pre-line; text-wrap: balance; }
.story-home h3 { margin: 0; }
.story-home p { margin: 0; }

/* The ruled top, through the proof line. The hero sits in a framed column on a
   faint grid; the scene is a squared two-column figure (the café, then its
   sample record with a short connector between them); the proof line is a box
   that closes the frame. The frame's own geometry is square; the controls and
   the example tags stay the page's pills.
   Calm pass (#66): the grid is its own layer behind the hero, masked so it is absent
   behind the headline and the copy and only present by the time the scene
   arrives; the headline sits on plain cream, the ruled sheet shows around the
   figure. A browser without mask-image shows the faint grid throughout. */
.story-home .hero { position: relative; padding: 0 48px 48px; border-inline: 1px solid var(--story-line); }
.story-home .hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--story-hero-rule) 1px, transparent 1px), linear-gradient(var(--story-hero-rule) 1px, transparent 1px);
  background-size: 80px 80px; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 38%, #000 72%);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 38%, #000 72%);
}
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 900px; margin-inline: auto; padding: 96px 0 72px; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 10px; }
.sun-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #a66139; box-shadow: 0 0 0 4px rgba(166, 97, 57, .08); flex-shrink: 0; }
/* .story-home p zeroes margins, so the hero's two paragraphs carry its name to keep theirs. */
.story-home .hero-body { font-size: 18px; line-height: 1.6; max-width: 520px; color: var(--story-muted); margin: 0 0 36px; text-wrap: balance; }
.story-home .action { display: inline-flex; width: auto; align-items: center; justify-content: center; scroll-margin-top: calc(var(--header-h) + 24px); background: var(--story-green); color: #fff; border-radius: 999px; font-size: 16px; font-weight: 600; padding: 15px 28px; min-height: 52px; }
.story-home .action:hover { background: #1b3a2b; }
.story-home .hero-note { font-size: 12px; color: var(--story-muted); margin: 20px 0 0; }
/* The in-page link to the working day. The header carries the same link, so the
   hero shows it only on a phone, where the header hides its section links. */
.read-story { display: none; gap: 12px; align-items: center; font-size: 13px; font-weight: 500; color: #3f4f45; margin-top: 18px; padding-block: 4px; }
.morning-scene { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--story-line); background: #eff1e0; }
/* Registration marks at the figure's top corners, as on a ruled sheet. */
.morning-scene::before, .morning-scene::after { content: "+"; position: absolute; top: -14px; font: 20px/24px monospace; color: #7d8d7f; }
.morning-scene::before { inset-inline-start: -6px; }
.morning-scene::after { inset-inline-end: -6px; }
.scene-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 22px; border-bottom: 1px solid var(--story-line); background: var(--story-cream); font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #4c5c4c; }
.scene-world { padding: 24px 24px 0; text-align: center; }
.morning-scene h2 { font-size: 28px; letter-spacing: -.025em; }
.cafe { width: 100%; height: 245px; object-fit: contain; display: block; margin-top: 8px; }
.scene-record {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 34px;
  border-inline-start: 1px solid var(--story-line);
  background-image: radial-gradient(#c0c7b2 1px, transparent 1px); background-size: 16px 16px;
}
/* The signal from the scene to its record: one short line, one dot. */
.record-connector { position: absolute; inset-inline-start: -1px; top: 50%; width: 34px; height: 1px; background: #9eaf9f; }
.record-connector::after { content: ""; position: absolute; inset-inline-end: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--story-green); }
.attendance-receipt {
  position: relative; z-index: 1; width: 100%; max-width: 390px; padding: 20px;
  text-align: start; border: 1px solid #d6dccb; background: var(--story-paper); border-radius: 4px;
  box-shadow: 0 12px 30px rgba(31, 48, 40, .06);
}
.receipt-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .12em; font-weight: 600; color: #4c5c4c; }
.receipt-main { display: flex; align-items: center; gap: 12px; padding-block: 20px 16px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e6b58a; color: #513d2c; font-family: var(--display); font-size: 24px; flex-shrink: 0; }
.receipt-main strong { display: block; font-size: 15px; }
.check-status { font-size: 11px; color: #426340; display: block; }
/* The times are <bdi>, which take their direction from their digits (left to
   right, in both languages), so an auto margin on them sits on the wrong side
   of the Arabic page. The auto margin lives on the text block, which inherits
   the page's direction, and the time sits at the row's far end in both. */
.receipt-main > div { margin-inline-end: auto; }
.receipt-time { font-family: var(--display); font-size: 32px; letter-spacing: -.04em; }
.attendance-receipt > p { border-top: 1px dashed var(--story-line); padding-top: 12px; font-size: 10px; color: var(--story-muted); }
.scene-caption { font-size: 12px; color: #3f4f45; text-align: center; margin-top: 18px; }

/* The proof line: what the product does today, the box that closes the frame.
   Below it the ruled register ends and the working day opens on plain cream. */
.story-home .capabilities { border: 1px solid var(--story-line); padding: 22px 32px; display: flex; align-items: center; gap: 30px; background: var(--story-paper); }
.capabilities .eyebrow { margin: 0; font-size: 10px; flex-shrink: 0; }
.story-home .proof { border: 0; margin: 0; padding: 0; gap: 6px 20px; color: #3f4f45; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.story-home .proof li:not(:last-child)::after { content: none; }

/* The working day: a statement, then a record pinned beside three scrolling steps. */
.day-section { padding-block: 120px 60px; scroll-margin-top: var(--header-h); }
.section-intro { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 72px; }
.section-intro .intro { font-size: 19px; color: #4f5d53; max-width: 520px; margin-top: 24px; text-wrap: pretty; }
.day-scroll { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.day-record {
  position: sticky; top: calc(var(--header-h) + 28px); align-self: start;
  background: var(--story-paper); border: 1px solid var(--story-line); border-radius: 20px;
  box-shadow: 0 24px 48px -32px rgba(31, 48, 40, .35);
}
.company-heading { display: flex; gap: 14px; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--story-line); }
.cafe-monogram { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #ece3cd; font-size: 21px; flex-shrink: 0; }
.company-heading h3 { font-size: 16px; font-weight: 600; }
.company-heading p { font-size: 12px; color: var(--story-muted); margin-top: 2px; }
.record-rows { list-style: none; margin: 0; padding: 8px 26px; }
.record-row { display: flex; align-items: center; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--story-line); }
.record-row:last-child { border-bottom: 0; }
.record-tick { width: 30px; height: 30px; border: 1px solid #a9b79b; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--story-green); flex-shrink: 0; background: #e6efdf; }
.record-row strong { display: block; font-size: 18px; font-weight: 500; }
.record-row div > span { display: block; color: var(--story-muted); font-size: 12px; }
.record-row > div { margin-inline-end: auto; }
.record-time { font-family: var(--display); font-size: 24px; letter-spacing: -.03em; color: #3f4f45; }
.example-disclosure { font-size: 11px; color: #6a685f; }
.day-section > .example-disclosure { margin-top: 24px; padding-top: 16px; font-size: 12px; border-top: 1px solid var(--story-line); }
.day-steps { list-style: none; margin: 0; padding: 0; }
.step { padding-block: 12vh 18vh; border-top: 1px solid var(--story-line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-time { font-family: var(--display); font-size: clamp(64px, 8vw, 112px); line-height: .95; letter-spacing: -.05em; font-weight: 600; }
.step-label { font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #4c5c4c; margin: 18px 0 40px; }
.step .before { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--story-line); }
.step .eyebrow { margin-bottom: 12px; }
.step .before .eyebrow { color: #7b604c; }
.tangle { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; color: #82614e; max-width: 420px; letter-spacing: -.02em; }
.resolved { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.25; max-width: 440px; letter-spacing: -.03em; }

/* With the script, the record fills in as the day scrolls: a row reads at full
   strength once its step has been reached, and the step in view is the one lit.
   The script sets the classes, so the count of moments lives in content.ts only. */
.day-scroll[data-step] .record-row:not(.is-reached) { opacity: .32; }
.day-scroll[data-step] .record-row:not(.is-reached) .record-tick { background: transparent; color: transparent; }
.day-scroll[data-step] .step:not(.is-current) { opacity: .3; }

/* Evidence: one dark band, one statement, three facts set as a column of type. */
.evidence-section { background: #22402f; color: #f5f4e8; padding-block: 120px; }
.evidence-section .eyebrow { color: #b8c7ac; }
.evidence-section .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.evidence-grid { width: 100%; max-width: 920px; margin-top: 72px; text-align: start; }
.evidence-grid article { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: baseline; border-top: 1px solid #4f6a58; padding-block: 36px; }
.evidence-grid article:last-child { border-bottom: 1px solid #4f6a58; }
.evidence-grid h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.evidence-grid p { color: #d5ddcc; font-size: 17px; line-height: 1.6; max-width: 480px; }

/* Other teams: two quiet cards, each with its own disclosure. */
.more-stories { padding-block: 120px 100px; text-align: center; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; align-items: start; text-align: start; }
.small-story { border: 1px solid var(--story-line); border-radius: 20px; padding: 32px; background: var(--story-paper); }
.small-story-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 28px; }
.small-story-top .eyebrow { margin: 0; }
.small-story h3 { font-size: 13px; font-weight: 500; color: var(--story-muted); }
.story-question { font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.2; margin: 12px 0 32px; max-width: 380px; }
.small-story summary { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; border-top: 1px solid var(--story-line); padding-top: 18px; cursor: pointer; list-style: none; }
.small-story summary::-webkit-details-marker { display: none; }
.small-story summary > span { font-size: 20px; line-height: 1; }
.small-story details[open] summary > span { transform: rotate(45deg); }
.expanded-story { font-size: 14px; padding-top: 18px; }
.expanded-story p { margin-bottom: 14px; }
.expanded-story strong { display: block; font-size: 10px; letter-spacing: .14em; margin-bottom: 6px; color: #4c5c4c; }
.expanded-story .example-disclosure { padding-top: 12px; border-top: 1px solid var(--story-line); }

/* The price and the close: centred statements, each with one line under it. */
.pricing-section { display: flex; flex-direction: column; align-items: center; text-align: center; border-top: 1px solid var(--story-line); padding-block: 120px; scroll-margin-top: var(--header-h); }
.pricing-statement { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; max-width: 620px; margin-top: 32px; letter-spacing: -.02em; text-wrap: balance; }
.pricing-note { font-size: 16px; color: var(--story-muted); max-width: 460px; margin-top: 18px; text-wrap: pretty; }
.closing { text-align: center; padding-block: 100px 120px; border-top: 1px solid var(--story-line); display: flex; flex-direction: column; align-items: center; }
.closing p { font-size: 17px; color: #4f5d53; margin-top: 20px; max-width: 460px; text-wrap: pretty; }
.closing-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 32px; padding: 14px 24px; border: 1px solid var(--story-green); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--story-green); }
.closing-link:hover { background: var(--story-green); color: #fff; }
.story-home .foot { max-width: none; width: var(--wrap); padding: 24px 0 36px; border-top: 1px solid var(--story-line); color: var(--story-muted); font-size: 12px; gap: 20px; }

/* Arabic: Amiri for display, Readex Pro for the rest; more leading, no tracking. */
.story-home.ar { --display: "Amiri", serif; --ui: "Readex Pro", Arial, sans-serif; line-height: 1.8; }
.story-home.ar h1 { font-size: clamp(46px, 5.4vw, 72px); line-height: 1.35; letter-spacing: 0; max-width: 870px; }
.story-home.ar h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.35; letter-spacing: 0; }
.story-home.ar .eyebrow, .story-home.ar .step-label, .story-home.ar .scene-heading, .story-home.ar .receipt-top, .story-home.ar .expanded-story strong, .story-home.ar .story-header nav { letter-spacing: 0; }
.story-home.ar .eyebrow { font-size: 12px; }
.story-home.ar .hero-body, .story-home.ar .section-intro .intro { font-size: 18px; }
.story-home.ar .morning-scene h2 { font-size: clamp(26px, 2.2vw, 30px); }
.story-home.ar .step-time { letter-spacing: 0; }
/* The record column and the receipt time match the bold time beside the tick:
   Amiri's Arabic-Indic digits read wide and spaced next to Readex Pro's (the
   founder chose this on screenshots, 2026-11-06). The step times stay display. */
.story-home.ar .receipt-time, .story-home.ar .record-time { font-family: var(--ui); font-weight: 500; letter-spacing: 0; }
.story-home.ar .step-time { line-height: 1.1; font-size: clamp(60px, 7.4vw, 104px); }
.story-home.ar .step-label { font-size: 15px; text-transform: none; }
.story-home.ar .tangle { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.6; letter-spacing: 0; }
.story-home.ar .resolved { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.5; letter-spacing: 0; }
.story-home.ar .evidence-grid h3 { line-height: 1.4; letter-spacing: 0; }
.story-home.ar .story-question { line-height: 1.5; letter-spacing: 0; }
.story-home.ar .pricing-statement { line-height: 1.6; letter-spacing: 0; }

@media (max-width: 1050px) {
  .story-home { --wrap: calc(100% - 56px); }
  .story-home .hero { padding-inline: 32px; }
  .scene-record { padding: 24px; }
  .record-connector { width: 24px; }
  .receipt-top { flex-wrap: wrap; }
  .morning-scene h2 { font-size: 24px; }
  .story-home .capabilities { flex-direction: column; align-items: center; gap: 12px; }
  .story-home .proof { justify-content: center; }
  .day-scroll { gap: 36px; }
  .evidence-grid article { grid-template-columns: 1fr 1.2fr; gap: 24px; }
}
@media (max-width: 720px) {
  .story-home { --header-h: 50px; }
  .story-home { --wrap: calc(100% - 32px); }
  .story-header .wrap { gap: 12px; }
  .story-home .brand img { width: 100px; }
  .story-header nav { gap: 16px; font-size: 12px; }
  .story-header .section-link { display: none; }
  .story-header .language { padding-inline-start: 0; border: 0; }
  .story-home .hero { padding: 0 18px 24px; }
  .story-home .hero::before { background-size: 56px 56px; }
  .hero-copy { padding: 48px 0 36px; }
  .story-home h1 { font-size: clamp(42px, 10.5vw, 68px); margin-bottom: 20px; }
  .story-home .hero-body { font-size: 17px; margin-bottom: 28px; }
  .story-home .hero-note { font-size: 11px; margin-top: 16px; }
  .read-story { display: inline-flex; }
  /* The scene stacks: the café, then the record under it, the connector turned downward. */
  .morning-scene { grid-template-columns: 1fr; }
  .scene-heading { font-size: 9px; padding: 12px; flex-wrap: wrap; }
  .scene-world { padding: 22px 14px 0; }
  .morning-scene h2 { font-size: 26px; }
  .cafe { height: auto; max-height: 240px; }
  .scene-record { border-inline-start: 0; border-top: 1px solid var(--story-line); padding: 24px 14px 16px; }
  .record-connector { width: 1px; height: 24px; top: 0; inset-inline-start: 50%; }
  .record-connector::after { top: auto; bottom: 0; inset-inline-end: -3px; }
  .attendance-receipt { padding: 16px; }
  .receipt-top { font-size: 8px; gap: 6px; }
  .receipt-main { gap: 8px; padding-block: 16px 12px; }
  .receipt-time { font-size: 26px; flex-shrink: 0; }
  .avatar { width: 32px; height: 32px; font-size: 20px; }
  .scene-caption { font-size: 11px; margin-top: 12px; }
  .story-home .capabilities { text-align: center; gap: 10px; padding: 20px 16px; }
  .story-home .proof { gap: 6px 16px; font-size: 12px; }
  .day-section { padding-block: 80px 40px; }
  .section-intro { margin-bottom: 40px; }
  .section-intro .intro { font-size: 17px; margin-top: 18px; }
  .story-home h2 { font-size: clamp(34px, 9.6vw, 44px); }
  /* The record pins under the header while the steps scroll beneath it. */
  .day-scroll { grid-template-columns: 1fr; gap: 0; }
  .day-record { top: calc(var(--header-h) + 10px); z-index: 2; border-radius: 16px; }
  .company-heading { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .company-heading h3 { font-size: 14px; }
  .company-heading p { font-size: 10px; }
  .cafe-monogram { width: 30px; height: 30px; font-size: 15px; }
  .record-rows { padding: 0 16px; }
  .record-row { padding-block: 8px; gap: 10px; }
  .record-tick { width: 24px; height: 24px; font-size: 12px; }
  .record-row strong { font-size: 15px; }
  .record-row div > span { font-size: 11px; }
  .record-time { font-size: 19px; }
  .day-steps { padding-top: 40px; }
  .step { padding-block: 40px 44vh; }
  .step:first-child { padding-top: 0; }
  .step-time { font-size: clamp(56px, 18vw, 80px); }
  .step-label { margin: 12px 0 28px; }
  .step .before { padding-bottom: 22px; margin-bottom: 22px; }
  .tangle { font-size: 24px; }
  .resolved { font-size: 27px; }
  .evidence-section { padding-block: 72px; }
  .evidence-grid { margin-top: 40px; }
  .evidence-grid article { grid-template-columns: 1fr; gap: 10px; padding-block: 26px; }
  .evidence-grid p { font-size: 16px; }
  .more-stories { padding-block: 72px 60px; }
  .story-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .small-story { padding: 24px; }
  .pricing-section, .closing { padding-block: 72px; }
  .pricing-statement { font-size: 22px; margin-top: 22px; }
  .pricing-note { font-size: 15px; }
  .closing { padding-bottom: 80px; }
  .story-home .foot { align-items: start; font-size: 11px; }
  .story-home .foot > span { max-width: 230px; }
  .story-home.ar h1 { font-size: clamp(36px, 9.5vw, 60px); }
  .story-home.ar .step-time { font-size: clamp(52px, 16vw, 72px); }
}

/* Motion. From the working day on, scrubbed by the scroll position where the
   browser can, so a surface settles into place as it enters and unsettles on
   the way back out; no scroll handler, no parallax, no loop, nothing hidden
   while waiting. Everything in this block is off under reduced motion, and a
   browser without scroll-driven animations simply shows the static page. */
@keyframes story-settle {
  from { opacity: 0; translate: 0 36px; }
  to { opacity: 1; translate: 0 0; }
}
/* The ruled top does not scrub. Its one motion: the connector draws from the
   scene to the record, once, when the scene enters (story-motion.js marks it). */
@keyframes record-signal {
  from { opacity: 0; scale: .1 1; }
  to { opacity: 1; scale: 1; }
}
@keyframes record-signal-down {
  from { opacity: 0; scale: 1 .1; }
  to { opacity: 1; scale: 1; }
}
/* Steps keep opacity for the script's dimming, so only their position scrubs. */
@keyframes story-step {
  from { translate: 0 48px; }
  to { translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .morning-scene.is-watched:not(.is-entered) .record-connector { opacity: 0; }
  .morning-scene.is-entered .record-connector { transform-origin: left; animation: record-signal 600ms var(--story-ease) both; }
  .ar .morning-scene.is-entered .record-connector { transform-origin: right; }
  .record-row, .step { transition: opacity var(--story-fade); }
  .record-tick { transition: background-color var(--story-fade), color var(--story-fade), scale var(--story-fade); }
  .day-scroll[data-step] .record-row:not(.is-reached) .record-tick { scale: .8; }
  .story-home .action, .closing-link { transition: translate 200ms var(--story-ease), background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
  .story-home .action:active { translate: 0 1px; }
  /* Header motion is its own: short and decisive, a 1px lift that press cancels. */
  .story-header nav a { transition: color 140ms ease; }
  .story-header .sign-in { transition: translate 140ms var(--header-ease), border-color 140ms ease, color 140ms ease; }
  .story-header .sign-in:active, .story-header .sign-in:hover:active { translate: 0 0; }
  .read-story > span, .closing-link > span { display: inline-block; transition: translate 220ms var(--story-ease); }
  .small-story summary > span { transition: transform 220ms var(--story-ease); }
  .small-story details[open] .expanded-story { animation: story-settle 360ms var(--story-ease) both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 720px) {
  .morning-scene.is-entered .record-connector, .ar .morning-scene.is-entered .record-connector { transform-origin: top; animation-name: record-signal-down; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .story-home .action:hover { translate: 0 -2px; }
  .story-header .sign-in:hover { translate: 0 -1px; }
  .read-story:hover > span { translate: 0 3px; }
  .closing-link:hover > span { translate: 0 -3px; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-intro, .evidence-section h2, .evidence-grid article, .more-stories > h2, .small-story,
    .pricing-section > *, .closing > * { animation: story-settle linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .step { animation: story-step linear both; animation-timeline: view(); animation-range: entry 0% entry 25%; }
    /* Keyboard focus never waits for a scrubbed entrance. */
    .small-story:has(:focus-visible), .closing:has(:focus-visible), .closing > :has(:focus-visible) { animation: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.story-home) { scroll-behavior: auto; }
  .story-home *, .story-home *::before, .story-home *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .story-home *, .story-home *::before, .story-home *::after { animation: none !important; }
  .story-header, .day-record { position: static; }
  .day-scroll[data-step] .record-row:not(.is-reached), .day-scroll[data-step] .step:not(.is-current) { opacity: 1; }
  .day-scroll[data-step] .record-row:not(.is-reached) .record-tick { background: #e6efdf; color: var(--story-green); scale: 1; }
}
