:root {
  --canvas: #ffffff;
  --surface: #f5f7f2;
  --surface-warm: #fbfaf5;
  --ink: #0d332c;
  --ink-soft: #61716c;
  --accent: #13804e;
  --accent-deep: #075b40;
  --accent-soft: #e5f1de;
  --warm: #d76a27;
  --hairline: rgba(13, 51, 44, .13);
  --shadow: 0 24px 70px rgba(13, 51, 44, .14);
  --shadow-soft: 0 14px 34px rgba(13, 51, 44, .09);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(1.25rem, 5vw, 5.75rem);
  --max: 1260px;
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Outfit", system-ui, sans-serif; }
body::selection { background: var(--accent); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; transition: top .2s var(--ease-out); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem var(--gutter); background: color-mix(in srgb, #fff 88%, transparent); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: background .2s var(--ease-out), border-color .2s var(--ease-out); }
.site-header.is-scrolled { background: color-mix(in srgb, #fff 96%, transparent); border-color: var(--hairline); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.brand span { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); margin-left: auto; }
.site-nav a { color: var(--ink-soft); font-size: .88rem; text-decoration: none; transition: color .16s ease; }
.site-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; transition: transform .16s var(--ease-out), background .16s ease, color .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.98); }
.button--dark { background: var(--ink); color: #fff; }
.button--dark:hover { background: var(--accent-deep); }
.button--ghost { border-color: var(--hairline); color: var(--ink); }
.button--ghost:hover { border-color: var(--ink); }

.shell { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.section-label { margin: 0 0 1rem; color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-heading { margin: 0; max-width: 12ch; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.5rem, 5.5vw, 5.8rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.body-copy { max-width: 56ch; color: var(--ink-soft); font-size: clamp(1rem, .95rem + .22vw, 1.18rem); line-height: 1.62; text-wrap: pretty; }

/* Stacked swap: every variant shares one grid cell, so the box always holds
   the largest variant and nothing below it moves when the active one changes. */
.swap { display: grid; justify-items: start; }
.swap__item { grid-area: 1 / 1; opacity: 0; transform: translateY(.18em); transition: opacity .32s var(--ease-out), transform .42s var(--ease-out); }
.swap__item.is-active { opacity: 1; transform: none; }

/* Story: a centred hero whose Admin App phone docks to the right column on
   scroll, then stays sticky while the Tundaa AI steps scroll past it.
   JS writes --dock (0 centred → 1 docked) and --dx (px from the dock column to
   the viewport centre) on .story. Only transform and opacity are animated. */
.story { --dock: 0; --dx: 0px; --phone-h: min(74svh, 42rem); --dock-top: max(5.5rem, calc((100svh - var(--phone-h)) / 2 + 2rem)); position: relative; background: var(--canvas); overflow-x: clip; }
.story__hero { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; padding: clamp(8rem, 15svh, 10rem) var(--gutter) clamp(2.5rem, 6svh, 4rem); text-align: center; }
.story__hero h1 { max-width: 15ch; margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(3rem, 6.6vw, 7rem); font-weight: 500; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.story__hero .ul { position: relative; display: inline; color: var(--accent-deep); background: linear-gradient(90deg, var(--accent) 0%, #8cc152 45%, #f2b33d 70%, var(--warm) 100%) no-repeat left bottom / 0% .09em; padding-bottom: .04em; animation: ul-draw 1.1s var(--ease-out) .35s forwards; }
@keyframes ul-draw { to { background-size: 100% .09em; } }
.story__lede { max-width: 44ch; margin: 1.6rem auto 0; color: var(--ink-soft); font-size: clamp(1.02rem, 1.25vw, 1.25rem); line-height: 1.5; text-wrap: balance; }
.story__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.button--lg { min-height: 3.1rem; padding-inline: 1.4rem; font-size: .95rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.text-link span { transition: transform .2s var(--ease-out); }
.text-link:hover span { transform: translate(2px, -2px); }
.story__deco { position: absolute; inset: auto 0 0; height: 0; pointer-events: none; opacity: calc(1 - var(--dock) * 2); transform: translateY(calc(var(--dock) * -4rem)); }
.story__mark { position: absolute; left: clamp(1rem, 9vw, 9rem); top: 4rem; width: clamp(4.5rem, 8vw, 7.5rem); transform: rotate(-10deg); filter: drop-shadow(0 18px 24px rgba(13,51,44,.18)); }
.story__tag { position: absolute; right: clamp(1rem, 8vw, 8rem); top: 9rem; display: grid; gap: .1rem; padding: .8rem 1rem; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-soft); text-align: left; transform: rotate(5deg); }
.story__tag strong { font-size: .95rem; }
.story__tag span { color: var(--ink-soft); font-size: .74rem; }
.story__spark { position: absolute; right: clamp(3rem, 14vw, 14rem); top: 0; color: var(--ink); font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; transform: rotate(12deg); }

.story__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro dock" "steps dock" "flow dock"; column-gap: clamp(2rem, 6vw, 7rem); width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin-inline: auto; padding-bottom: clamp(2rem, 6svh, 4rem); }
.story__intro { grid-area: intro; padding-top: calc(var(--dock-top) + 1rem); opacity: calc(var(--dock) * 1.6 - .5); transform: translateX(calc((1 - var(--dock)) * -2.5rem)); }
.story__intro h2 { max-width: 10ch; }
.story__intro .body-copy { margin: 1.5rem 0 0; }
.story__dock { grid-area: dock; position: relative; }
.dock-phone { position: sticky; top: var(--dock-top); display: flex; justify-content: center; margin: 0; }
.dock-phone::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 150%; height: 105%; border-radius: 50%; background: radial-gradient(circle, #e0eed5 0%, rgba(224,238,213,0) 66%); transform: translate(-50%, -50%); opacity: var(--dock); }
.dock-phone__frame { position: relative; z-index: 1; transform-origin: 50% 0; transform: translateX(calc(var(--dx) * (1 - var(--dock)))) scale(calc(1 + .1 * (1 - var(--dock)))); will-change: transform; }

.story-steps { grid-area: steps; margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.story-step { display: flex; flex-direction: column; justify-content: center; min-height: 52svh; border-top: 1px solid var(--hairline); }
.story-step:last-child { border-bottom: 1px solid var(--hairline); }
.story-step__q { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: 1.4rem 0 0; border: 0; background: none; color: var(--ink-soft); cursor: pointer; text-align: left; opacity: .5; transition: opacity .3s var(--ease-out), color .3s var(--ease-out); }
.story-step__q:hover { opacity: .85; }
.story-step__num { flex: none; color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.story-step__text { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.6rem, 2.5vw, 2.6rem); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.story-step__body { max-width: 40ch; margin: 0 0 1.4rem 2.6rem; color: var(--ink-soft); font-size: clamp(1.14rem, 1.02rem + .35vw, 1.32rem); line-height: 1.55; opacity: 0; transform: translateY(.6rem); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); padding-top: .9rem; }
.story-step.is-active .story-step__q { color: var(--ink); opacity: 1; }
.story-step.is-active .story-step__body { opacity: 1; transform: none; }

.ai-flow { grid-area: flow; display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: 1.7rem; color: var(--accent-deep); font-size: .8rem; font-weight: 700; }
.ai-flow span { padding: .35rem .55rem; border-radius: 7px; background: var(--accent-soft); }
.ai-flow i { color: var(--warm); font-style: normal; }


.how-section { padding: clamp(6rem, 12vw, 11rem) 0; background: var(--canvas); }
.how-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.how-intro h2 { max-width: 11ch; }
.how-intro .body-copy { margin: 0; justify-self: end; }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.how-step { display: flex; flex-direction: column; min-height: 30rem; padding: clamp(1.5rem, 2.4vw, 2.2rem); border-radius: var(--radius-md); background: var(--surface); }
.how-step__num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; color: var(--accent); font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; box-shadow: var(--shadow-soft); }
.how-step h3 { margin: 1.6rem 0 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.how-step p { max-width: 28ch; margin: .8rem 0 2rem; color: var(--ink-soft); line-height: 1.5; }
.how-step--accent { background: var(--accent-deep); color: #fff; }
.how-step--accent p { color: rgba(255,255,255,.75); }
.how-step--accent .how-step__num { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.how-artifact { display: grid; gap: .1rem; margin-top: auto; padding: .9rem 1rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); color: var(--ink); font-size: .84rem; transform: rotate(-1.2deg); }
.how-step:nth-child(2) .how-artifact { transform: rotate(1deg); }
.artifact-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--hairline); }
.artifact-row b { font-weight: 600; white-space: nowrap; }
.artifact-row--total { border-bottom: 0; color: var(--ink-soft); }
.artifact-ok { color: var(--accent); }
.how-artifact--chat { gap: .5rem; padding: 1rem; }
.artifact-q { justify-self: end; max-width: 85%; padding: .5rem .7rem; border-radius: 14px 14px 4px 14px; background: var(--accent-deep); color: #fff; }
.artifact-a { max-width: 92%; padding: .55rem .75rem; border-radius: 14px 14px 14px 4px; background: var(--surface); line-height: 1.4; }
.artifact-a b { color: var(--accent-deep); }
.artifact-task { display: flex; align-items: center; gap: .65rem; padding: .5rem 0; }
.artifact-task i { flex: none; width: 1.05rem; height: 1.05rem; border: 1.5px solid var(--hairline); border-radius: 50%; }
.artifact-task.is-done { color: var(--ink-soft); text-decoration: line-through; }
.artifact-task.is-done i { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 80% no-repeat; }
.how-note { margin: 1.4rem 0 0; color: var(--ink-soft); font-size: .78rem; }

.capabilities { background: var(--ink); color: #f7fbf4; }
.cap-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.cap-rail { display: flex; align-items: stretch; gap: 1.2rem; padding-inline: var(--gutter); width: max-content; }
.cap-intro, .cap-card { width: clamp(19rem, 30vw, 29rem); height: min(38rem, calc(100svh - 9rem)); flex: 0 0 auto; border-radius: var(--radius-lg); overflow: hidden; }
.cap-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem); background: var(--accent-deep); }
.cap-intro h2 { max-width: 8ch; margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.8rem, 5vw, 5.5rem); font-weight: 500; line-height: .95; letter-spacing: -.06em; }
.cap-intro p { max-width: 28ch; margin: 1.5rem 0 0; color: rgba(255,255,255,.72); line-height: 1.55; }
.cap-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: #f2f5ee; color: var(--ink); }
.cap-card__copy { position: relative; z-index: 2; }
.cap-card h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 3.2vw, 3.3rem); font-weight: 500; letter-spacing: -.05em; }
.cap-card p { max-width: 24ch; min-height: calc(1.48em * 3); margin: .7rem 0 0; color: var(--ink-soft); line-height: 1.48; }
/* The phone takes the height left in the card and is scaled to fit whole, so
   every screen shows top to bottom and the cards stay level in the rail. */
.cap-card__image { display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-height: 0; margin-top: 1.2rem; }
.cap-card__image img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(13,51,44,.2)); }
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: 1.5rem; padding: .8rem; border-radius: 22px; background: #fff; box-shadow: 0 22px 40px rgba(13,51,44,.16); }
.dash__tile { display: grid; gap: .2rem; padding: .8rem; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface-warm); }
.dash__tile span { color: var(--ink-soft); font-size: .72rem; }
.dash__tile b { font-size: clamp(.9rem, 1.15vw, 1.05rem); font-weight: 600; letter-spacing: -.01em; }
.dash__tile em { font-size: .66rem; font-style: normal; color: var(--ink-soft); }
.dash__tile em.up { color: var(--accent); }
.dash__tile em.warn { color: #b8442a; }
.dash__note { grid-column: 1 / -1; margin: .2rem 0 0; color: var(--ink-soft); font-size: .66rem; text-align: center; }
.rail-controls { position: absolute; z-index: 3; left: var(--gutter); bottom: 2rem; display: flex; gap: .5rem; }
.rail-button { width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem; transition: background .16s ease, transform .16s var(--ease-out); }
.rail-button:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.cta-band { padding: clamp(4rem, 8vw, 7rem) 0 0; background: var(--surface-warm); }
.cta-band__panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--radius-lg); background: var(--accent-soft); }
.cta-band h2 { max-width: 18ch; margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.9rem, 3.4vw, 3.3rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.cta-band .button { flex: none; min-height: 3.1rem; padding-inline: 1.4rem; font-size: .95rem; }

.proof-section { padding: clamp(5rem, 10vw, 9rem) 0 clamp(6rem, 12vw, 11rem); background: var(--surface-warm); }
.proof-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.proof-copy { position: sticky; top: 7rem; }
.proof-copy h2 { max-width: 9ch; }
.proof-copy .body-copy { margin-top: 1.5rem; }
.proof-gallery { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; height: min(46rem, 88svh); }
.proof-image { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--surface); }
.proof-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.proof-image:hover img { transform: scale(1.035); }
.proof-image--large { grid-row: span 2; }
.proof-note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .75rem .85rem; border-radius: 12px; background: rgba(255,255,255,.86); color: var(--ink); font-size: .8rem; }

.trust-section { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--canvas); }
.trust-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
.trust-layout h2 { max-width: 10ch; }
.trust-list { border-top: 1px solid var(--hairline); }
.trust-item { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--hairline); }
.trust-item__num { color: var(--accent); font-family: "Fraunces", Georgia, serif; font-size: 1.4rem; }
.trust-item h3 { margin: 0; font-size: 1.05rem; }
.trust-item p { max-width: 50ch; margin: .35rem 0 0; color: var(--ink-soft); line-height: 1.5; }

.close-section { padding: clamp(6rem, 13vw, 12rem) var(--gutter); background: var(--accent-deep); color: #f7fbf4; text-align: center; }
.close-section h2 { max-width: 10ch; margin: 0 auto; font-family: "Fraunces", Georgia, serif; font-size: clamp(3rem, 7vw, 7.5rem); font-weight: 500; line-height: .92; letter-spacing: -.065em; text-wrap: balance; }
.close-section p { max-width: 40ch; margin: 1.5rem auto 0; color: rgba(255,255,255,.72); line-height: 1.55; }
.close-section .button { margin-top: 2rem; background: #fff; color: var(--ink); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem var(--gutter); background: var(--ink); color: rgba(255,255,255,.66); font-size: .78rem; }
.site-footer a { color: inherit; text-underline-offset: .2em; }

.float-join { position: fixed; z-index: 45; right: clamp(1rem, 2.5vw, 1.75rem); bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: .55rem; padding: .4rem 1.1rem .4rem .4rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 14px 34px rgba(13,51,44,.28); font-size: .9rem; font-weight: 600; text-decoration: none; opacity: 0; transform: translateY(1rem) scale(.96); pointer-events: none; transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), background .16s ease; }
.float-join.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-join:hover { background: var(--accent-deep); }
.float-join img { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #fff; }

/* Below 960px the phone doesn't slide sideways. It sits under the hero, then
   pins in a panel under the header while the intro and steps scroll through
   the strip below it. The dock column spans the intro and steps rows so the
   panel stays pinned for exactly that stretch; the steps get trailing space
   so the last one reaches the strip before the panel lets go. */
@media (max-width: 959px) {
  .story { --panel-top: 4.4rem; --panel-h: min(60svh, 34rem); --phone-h: calc(var(--panel-h) - 1.5rem); --strip-h: calc(100svh - var(--panel-top) - var(--panel-h)); }
  .story__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  .story__dock { grid-area: auto; grid-row: 1 / 3; grid-column: 1; z-index: 2; pointer-events: none; }
  .story__intro { grid-area: auto; grid-row: 1; grid-column: 1; padding-top: calc(var(--panel-h) + 2rem); }
  .story-steps { grid-area: auto; grid-row: 2; grid-column: 1; margin-top: 1.5rem; padding-bottom: calc(var(--strip-h) * .5); }
  .ai-flow { grid-area: auto; grid-row: 3; grid-column: 1; }
  .dock-phone { top: var(--panel-top); height: var(--panel-h); align-items: center; margin-inline: calc(var(--gutter) * -1); background: var(--canvas); }
  .dock-phone::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.5rem; background: linear-gradient(var(--canvas), rgba(255,255,255,0)); }
  .dock-phone::before { width: 110%; }
  .dock-phone__frame { transform: none; }
  .story-step { min-height: max(var(--strip-h), 13rem); }
  .story-step__q { padding-top: 1rem; }
  .story-step__body { margin-bottom: 1rem; }
}

@media (max-width: 1050px) {
  .site-nav { display: none; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; align-items: start; }
  .how-step > :not(.how-artifact) { grid-column: 1; }
  .how-step .how-artifact { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; }
}

@media (max-width: 760px) {
  .site-header { padding-block: .7rem; }
  .header-actions .button--ghost { display: none; }
  .brand img { width: 2rem; height: 2rem; }
  .brand span { font-size: 1.1rem; }
  .story { --panel-top: 4.2rem; --panel-h: min(58svh, 31rem); }
  .story__hero { padding-top: 6.5rem; }
  .story__hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .story__actions { gap: 1.1rem; margin-top: 1.5rem; }
  .story__tag, .story__spark { display: none; }
  .story__mark { left: auto; right: var(--gutter); top: -1rem; width: 3.2rem; }
  .story__intro h2 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .story-step__text { font-size: 1.45rem; }
  .story-step__body { margin-left: 2.4rem; font-size: 1.1rem; }
  .how-section { padding-block: 5rem; }
  .how-intro, .proof-grid, .trust-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .how-intro .body-copy { justify-self: start; }
  .how-step { display: flex; }
  .how-step .how-artifact { margin-top: 0; }
  .cap-stage { align-items: center; padding-top: 3.5rem; overflow-x: auto; overflow-y: hidden; }
  .cap-intro, .cap-card { width: min(80vw, 25rem); height: min(34rem, calc(100svh - 9rem)); }
  .rail-controls { bottom: 1.2rem; }
  .cta-band__panel { flex-direction: column; align-items: flex-start; }
  .dash { padding: .6rem; gap: .45rem; }
  .dash__tile { padding: .65rem .6rem; }
  .dash__tile b { font-size: .84rem; white-space: nowrap; }
  .float-join { padding-right: .95rem; font-size: .82rem; }
  .float-join img { width: 1.8rem; height: 1.8rem; }
  .proof-copy { position: static; }
  .proof-gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .proof-image--large { grid-row: auto; min-height: 31rem; }
  .proof-image { min-height: 18rem; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .story__hero .ul { background-size: 100% .09em; }
  .cap-stage { overflow-x: auto; }
}
