/* Lifeboard website. White, calm, big type. No web fonts or trackers: system fonts, one stylesheet, one small script.
   Without the script (or with Reduce Motion on) every section is shown in its finished, still state. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --gray: #f2f4f6;
  --gray-2: #e5e8eb;
  --text: #191f28;
  --sub: #4e5968;
  --muted: #8b95a1;
  --line: rgba(25, 31, 40, 0.08);
  --brand: #0f8a7e;
  --brand-strong: #0b6f65;
  --brand-light: #35c2b0;
  --brand-tint: #e7f6f3;
  --shadow: 0 40px 80px -30px rgba(15, 50, 44, 0.35), 0 12px 30px -12px rgba(15, 50, 44, 0.2);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.scrolled { border-bottom-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 15px; }
.bar nav a.link { color: var(--sub); text-decoration: none; transition: color .2s; }
.bar nav a.link:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 16px; font-weight: 650; font-size: 16px; text-decoration: none; background: var(--brand); color: #fff; border: 0; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { background: var(--brand-strong); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn.small { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: var(--gray); color: var(--text); }
.btn.ghost:hover { background: var(--gray-2); }
.btn.white { background: #fff; color: var(--brand-strong); }
.btn.white:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.btn.glass { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.glass:hover { background: rgba(255, 255, 255, .26); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- type ---------- */
section { padding: 120px 0; }
h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.15; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 750; text-wrap: balance; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--brand); margin: 0 0 14px; letter-spacing: -0.01em; }
.eyebrow.light { color: rgba(255, 255, 255, .8); }
.sub { color: var(--sub); font-size: clamp(17px, 1.6vw, 20px); max-width: 36em; margin: 0 0 8px; line-height: 1.65; }
.sub.auto { margin-inline: auto; }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- 1. hero ---------- */
.hero { padding: 0; }
.hero-card {
  position: relative; overflow: hidden; color: #fff;
  margin: 4px 16px 0; border-radius: 32px; padding: 96px 24px 0;
  background:
    radial-gradient(60% 50% at 20% 15%, rgba(120, 230, 210, .55), transparent 70%),
    radial-gradient(50% 45% at 85% 30%, rgba(30, 170, 150, .6), transparent 70%),
    linear-gradient(160deg, #1aa898 0%, #0f8a7e 45%, #0a5f57 100%);
}
.hero-card::before { content: ""; position: absolute; inset: 0; background: url("img/hex.svg"); background-size: 52px 90px; mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 80%); pointer-events: none; }
.hero-glow { position: absolute; width: 60vmax; height: 60vmax; left: 50%; top: 40%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); pointer-events: none; animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { translate: -42% -56%; scale: 1.15; } }
.hero-haru { position: relative; width: 132px; margin: 0 auto 6px; filter: drop-shadow(0 18px 24px rgba(0, 40, 35, .35)); animation: bob 4.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-3deg); } }
.hero-copy { position: relative; text-align: center; }
.pill-badge { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero h1 { font-size: clamp(46px, 8.4vw, 104px); line-height: 1.02; letter-spacing: -0.035em; margin: 22px 0 18px; font-weight: 800; }
.hero-copy p { font-size: clamp(18px, 2vw, 22px); margin: 0 auto 32px; max-width: 30em; color: rgba(255, 255, 255, .88); }
.hero-shot { position: relative; max-width: 980px; margin: 64px auto 0; }
.hero-shot img { border-radius: 14px 14px 0 0; box-shadow: 0 -10px 60px -10px rgba(0, 30, 26, .45); }
.scroll-hint { display: none; }

/* ---------- 2. statement ---------- */
.statement .stage { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.words { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.3; letter-spacing: -0.035em; font-weight: 750; margin: 0; text-wrap: pretty; }
.words span { transition: color .35s; }

/* ---------- 3. story ---------- */
@property --glow { syntax: "<color>"; inherits: true; initial-value: rgba(53, 194, 176, .45); }
.story-grid { display: grid; grid-template-columns: .62fr 1.6fr; gap: 48px; align-items: center; }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.story-list li { display: grid; grid-template-columns: 32px 1fr; gap: 20px; }
.story-list .num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.story-list .eyebrow { margin: 4px 0 8px; }
.story-list h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 10px; }
.story-list p:not(.eyebrow) { color: var(--sub); margin: 0; font-size: 17px; }
.story-screens { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-screens img { border-radius: 12px; box-shadow: var(--shadow); }

/* ---------- 4. modules ---------- */
.type-line { font-size: clamp(36px, 6vw, 76px); letter-spacing: -0.045em; margin-bottom: 18px; }
.typed { color: var(--brand); }
.caret { display: inline-block; width: 4px; height: .9em; margin-left: 4px; vertical-align: -0.08em; background: var(--brand); border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.marquee { display: flex; overflow: hidden; margin: 64px 0 0; padding: 20px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 20px; padding-right: 20px; flex-shrink: 0; animation: slide 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.mcard { width: 280px; flex-shrink: 0; background: var(--gray); border-radius: 28px; padding: 28px; transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.mcard:hover { transform: translateY(-8px); background: #fff; box-shadow: var(--shadow); }
.mcard h3 { font-size: 22px; margin: 18px 0 6px; letter-spacing: -0.02em; }
.mcard p { margin: 0; color: var(--sub); font-size: 15.5px; }
.ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; }
.c1 { background: #e3f2ff; } .c2 { background: #fff1e0; } .c3 { background: #e7f6f3; }
.c4 { background: #ffe9ec; } .c5 { background: #eaf7e4; } .c6 { background: #f1ebff; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.numbers div { text-align: center; padding: 28px 12px; }
.numbers b { display: block; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.numbers span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- 5. expand ---------- */
.expand { padding: 40px 0; }
.expand-row .w { display: none; }
.pill { position: relative; overflow: hidden; margin: 0 16px; border-radius: 32px; color: #fff; background: radial-gradient(70% 60% at 80% 0%, rgba(120, 230, 210, .45), transparent 70%), linear-gradient(160deg, #13a090, #0b6f65); }
.pill-inner { padding: 96px 24px; max-width: 1000px; margin: 0 auto; text-align: center; }
.pill h2 { color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0 40px; text-align: left; }
.pgrid div { background: rgba(255, 255, 255, .12); border-radius: 22px; padding: 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pgrid h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.pgrid p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15.5px; }

/* ---------- 6. haru ---------- */
.haru { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.haru-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 48px; background: radial-gradient(60% 60% at 50% 45%, #dff5f0, var(--gray) 75%); }
.haru-pic img { width: 52%; filter: drop-shadow(0 24px 30px rgba(15, 80, 70, .25)); animation: bob 4.2s ease-in-out infinite; }
.moods { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.moods li { display: inline-flex; align-items: center; gap: 8px; background: var(--gray); border-radius: 999px; padding: 10px 16px; font-size: 15px; font-weight: 550; color: var(--sub); }

/* ---------- 7. coming soon ---------- */
.soon { background: var(--gray); }
.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.scard { background: #fff; border-radius: 24px; padding: 24px; min-height: 160px; }
.scard h3 { margin: 26px 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.scard p { margin: 0; color: var(--sub); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-strong); background: var(--brand-tint); border-radius: 8px; padding: 3px 9px; }

/* ---------- 8. install ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--gray); border-radius: 24px; padding: 28px 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 750; margin-bottom: 22px; }
.steps li b { display: block; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.steps li span { color: var(--sub); font-size: 15.5px; }
.steps li strong { color: var(--text); }
.note { margin-top: 20px; padding: 20px 24px; border-radius: 20px; background: var(--brand-tint); color: var(--text); font-size: 16px; }

/* ---------- 9. final ---------- */
.final { padding: 140px 0 160px; }
.final-icon { width: 120px; margin: 0 auto 32px; border-radius: 27px; box-shadow: var(--shadow); }
.final h2 { font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -0.045em; margin-bottom: 36px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 64px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer p { margin: 0; max-width: 46em; }

/* ---------- plain document pages (privacy) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(36px, 5.4vw, 52px); letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 10px; }
.doc h2 { font-size: 26px; margin: 48px 0 12px; letter-spacing: -0.025em; }
.doc p, .doc li { color: var(--sub); }
.doc b, .doc strong { color: var(--text); }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); color: var(--sub); }
.doc td:first-child { color: var(--text); font-weight: 600; }
.doc th { color: var(--muted); font-weight: 600; font-size: 13px; }
.doc code { background: var(--gray); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.doc .summary { background: var(--brand-tint); border-radius: 20px; padding: 22px 24px; margin: 20px 0 8px; color: var(--text); }

/* =====================================================================
   Motion. Only with the script and without Reduce Motion.
   ===================================================================== */
.js:not(.reduce) [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js:not(.reduce) [data-reveal].in { opacity: 1; transform: none; }
.js .words span { color: #d1d6db; }
.js .words span.lit { color: var(--text); }

/* Sticky stages: the section is tall, its stage stays on screen while --p runs 0 → 1. */
.js:not(.reduce) [data-scroll] { padding: 0; }
.js:not(.reduce) [data-scroll] > .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* the expanding panel measures the stage itself (100vw also counts a visible scrollbar and overshoots) */
.js:not(.reduce) .expand .stage { container-type: size; }

/* 1. Hero: the card opens to the edges, the copy lifts away and the app rises into the middle. */
.js:not(.reduce) .hero { height: 230vh; margin-top: -60px; }
.js:not(.reduce) .hero .stage { --a: clamp(0, calc(var(--p, 0) * 3.2), 1); --b: clamp(0, calc((var(--p, 0) - .04) * 2.4), 1); --c: clamp(0, calc((var(--p, 0) - .04) * 3), 1); }
.js:not(.reduce) .hero-card {
  position: absolute; inset: 0; margin: 0; padding: 0; border-radius: 0;
  clip-path: inset(calc(64px * (1 - var(--a))) calc(16px * (1 - var(--a))) calc(16px * (1 - var(--a))) round calc(32px * (1 - var(--a))));
}
.js:not(.reduce) .hero-copy { position: absolute; left: 0; right: 0; top: 50%; padding: 0 24px; transform: translateY(calc(-42% - var(--c) * 120px)) scale(calc(1 - var(--c) * .08)); opacity: calc(1 - var(--c) * 1.3); }
.js:not(.reduce) .hero-haru { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, calc(-50% - min(33vh, 300px) - var(--c) * 160px)); opacity: calc(1 - var(--c) * 1.4); animation: none; }
.js:not(.reduce) .hero-haru { width: min(132px, 15vh); }
.js:not(.reduce) .hero-shot { position: absolute; left: 50%; top: 50%; width: min(1000px, 84vw, 100vh); margin: 0; transform: translate(-50%, calc(-46% + (1 - var(--b)) * 78vh)) scale(calc(.92 + var(--b) * .08)); }
.js:not(.reduce) .hero-shot img { border-radius: 14px; box-shadow: 0 50px 100px -30px rgba(0, 30, 26, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
.js:not(.reduce) .scroll-hint { display: block; position: absolute; left: 50%; bottom: 34px; translate: -50% 0; margin: 0; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; opacity: calc(.75 - var(--p, 0) * 6); }
.js:not(.reduce) .scroll-hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 8px auto 0; background: linear-gradient(#fff, transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* 2. Statement */
.js:not(.reduce) .statement { height: 240vh; }
.js:not(.reduce) .statement .stage { display: grid; place-items: center; max-width: none; }
.js:not(.reduce) .statement .words { max-width: 980px; padding: 0 24px; }

/* 3. Story: one step per screen of scrolling. A numbered rail fills as you scroll; the active step opens. */
.js:not(.reduce) .story { height: 460vh; }
.js:not(.reduce) .story .stage { display: grid; align-items: center; }
.js:not(.reduce) .story .stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); aspect-ratio: 1.4; translate: -30% -50%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); opacity: .9; transition: --glow .9s var(--ease); animation: drift 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { translate: -36% -46%; scale: 1.08; } }
.js:not(.reduce) .story[data-step="0"] { --glow: rgba(53, 194, 176, .6); }
.js:not(.reduce) .story[data-step="1"] { --glow: rgba(255, 170, 90, .5); }
.js:not(.reduce) .story[data-step="2"] { --glow: rgba(70, 150, 255, .45); }
.js:not(.reduce) .story[data-step="3"] { --glow: rgba(160, 110, 255, .45); }
.js:not(.reduce) .story-grid { position: relative; }
.js:not(.reduce) .story-list { gap: 0; }
.js:not(.reduce) .story-list li { position: relative; padding: 0 0 22px; opacity: .62; transition: opacity .5s var(--ease); }
.js:not(.reduce) .story-list li:last-child { padding-bottom: 0; }
.js:not(.reduce) .story-list li::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--gray-2); }
.js:not(.reduce) .story-list li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--brand); transform: scaleY(var(--f, 0)); transform-origin: top; }
.js:not(.reduce) .story-list li:last-child::before, .js:not(.reduce) .story-list li:last-child::after { display: none; }
.js:not(.reduce) .story-list li:nth-child(1) { --f: clamp(0, calc(var(--p, 0) * 4), 1); }
.js:not(.reduce) .story-list li:nth-child(2) { --f: clamp(0, calc(var(--p, 0) * 4 - 1), 1); }
.js:not(.reduce) .story-list li:nth-child(3) { --f: clamp(0, calc(var(--p, 0) * 4 - 2), 1); }
.js:not(.reduce) .story-list .num { position: relative; z-index: 1; transition: background .4s, color .4s, transform .5s var(--ease), box-shadow .4s; }
.js:not(.reduce) .story-list .eyebrow { margin: 5px 0 0; font-size: 17px; color: var(--sub); transition: color .4s, font-size .4s var(--ease); }
.js:not(.reduce) .story-list .more > * { opacity: 0; transition: opacity .45s; }
.js:not(.reduce) .story-list h2 { font-size: clamp(24px, 2.4vw, 32px); }
.js:not(.reduce) .story-list .more { display: block; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.js:not(.reduce) .story-list .more h2 { margin-top: 8px; }
.js:not(.reduce) .story-list .more p { margin-top: 10px; }
.js:not(.reduce) .story-screens { display: block; aspect-ratio: 4 / 3; }
.js:not(.reduce) .story-screens img { position: absolute; inset: 0; width: 100%; opacity: 0; transform: scale(.93); transition: opacity .7s var(--ease), transform .9s var(--ease); box-shadow: 0 50px 90px -30px rgba(15, 50, 44, .45), 0 0 0 1px var(--line); }
.js:not(.reduce) .story:not([data-step]) .story-screens img:first-child,
.js:not(.reduce) .story[data-step="0"] .story-screens img:nth-child(1),
.js:not(.reduce) .story[data-step="1"] .story-screens img:nth-child(2),
.js:not(.reduce) .story[data-step="2"] .story-screens img:nth-child(3),
.js:not(.reduce) .story[data-step="3"] .story-screens img:nth-child(4) { opacity: 1; transform: none; }
.js:not(.reduce) .story:not([data-step]) .story-list li:nth-child(1),
.js:not(.reduce) .story[data-step="0"] .story-list li:nth-child(1),
.js:not(.reduce) .story[data-step="1"] .story-list li:nth-child(2),
.js:not(.reduce) .story[data-step="2"] .story-list li:nth-child(3),
.js:not(.reduce) .story[data-step="3"] .story-list li:nth-child(4) { opacity: 1; }
.js:not(.reduce) .story:not([data-step]) .story-list li:nth-child(1) .num,
.js:not(.reduce) .story[data-step="0"] .story-list li:nth-child(1) .num,
.js:not(.reduce) .story[data-step="1"] .story-list li:nth-child(2) .num,
.js:not(.reduce) .story[data-step="2"] .story-list li:nth-child(3) .num,
.js:not(.reduce) .story[data-step="3"] .story-list li:nth-child(4) .num { background: var(--brand); color: #fff; transform: scale(1.15); box-shadow: 0 8px 20px -6px rgba(15, 138, 126, .6); }
.js:not(.reduce) .story[data-step="1"] .story-list li:nth-child(1) .num,
.js:not(.reduce) .story[data-step="2"] .story-list li:nth-child(-n+2) .num,
.js:not(.reduce) .story[data-step="3"] .story-list li:nth-child(-n+3) .num { background: var(--brand-light); color: #fff; }
.js:not(.reduce) .story:not([data-step]) .story-list li:nth-child(1) .eyebrow,
.js:not(.reduce) .story[data-step="0"] .story-list li:nth-child(1) .eyebrow,
.js:not(.reduce) .story[data-step="1"] .story-list li:nth-child(2) .eyebrow,
.js:not(.reduce) .story[data-step="2"] .story-list li:nth-child(3) .eyebrow,
.js:not(.reduce) .story[data-step="3"] .story-list li:nth-child(4) .eyebrow { color: var(--brand); font-size: 15px; }
.js:not(.reduce) .story:not([data-step]) .story-list li:nth-child(1) .more,
.js:not(.reduce) .story[data-step="0"] .story-list li:nth-child(1) .more,
.js:not(.reduce) .story[data-step="1"] .story-list li:nth-child(2) .more,
.js:not(.reduce) .story[data-step="2"] .story-list li:nth-child(3) .more,
.js:not(.reduce) .story[data-step="3"] .story-list li:nth-child(4) .more { max-height: 15em; }
.js:not(.reduce) .story:not([data-step]) .story-list li:nth-child(1) .more > *,
.js:not(.reduce) .story[data-step="0"] .story-list li:nth-child(1) .more > *,
.js:not(.reduce) .story[data-step="1"] .story-list li:nth-child(2) .more > *,
.js:not(.reduce) .story[data-step="2"] .story-list li:nth-child(3) .more > *,
.js:not(.reduce) .story[data-step="3"] .story-list li:nth-child(4) .more > * { opacity: 1; }

/* 5. Expand: "Private [pill] by design"; the pill grows from the centre and pushes the words off the screen.
   The pill is placed on its own in the middle (not in a grid with the words), so it can never drift sideways. */
.js:not(.reduce) .expand { height: 280vh; }
.js:not(.reduce) .expand .stage {
  --x: clamp(0, calc((var(--p, 0) - .1) * 1.9), 1); --y: clamp(0, calc((var(--p, 0) - .6) * 5), 1);
  --w0: clamp(96px, 13vw, 200px); --h0: clamp(56px, 7.6vw, 112px); --gap: clamp(14px, 2vw, 28px);
  --pw: calc(var(--w0) + var(--x) * (100cqw - var(--w0)));
  --ph: calc(var(--h0) + var(--x) * (100cqh - var(--h0)));
}
.js:not(.reduce) .expand-row { position: absolute; inset: 0; }
.js:not(.reduce) .expand-row .w { display: block; position: absolute; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: clamp(30px, 8.2vw, 124px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; opacity: calc(1 - var(--x)); }
.js:not(.reduce) .expand-row .w:first-child { right: calc(50% + var(--pw) / 2 + var(--gap)); }
.js:not(.reduce) .expand-row .w:last-child { left: calc(50% + var(--pw) / 2 + var(--gap)); }
.js:not(.reduce) .pill {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0;
  width: var(--pw); height: var(--ph);
  border-radius: calc(var(--h0) / 2 * (1 - var(--x)));
}
.js:not(.reduce) .pill-inner { position: absolute; left: 50%; top: 50%; width: min(1000px, 100cqw); padding: 0 24px; transform: translate(-50%, calc(-50% + (1 - var(--y)) * 40px)); opacity: var(--y); }

/* 7. Collage: cards start scattered and tilted, and settle as the section comes up. */
.js:not(.reduce) .scard { transform: translate(calc(var(--dx) * (1 - var(--e, 0))), calc(var(--dy) * (1 - var(--e, 0)))) rotate(calc(var(--r) * (1 - var(--e, 0)))); box-shadow: 0 calc(30px * (1 - var(--e, 0))) 60px -30px rgba(15, 50, 44, calc(.3 * (1 - var(--e, 0)))); will-change: transform; }
.scard:nth-child(1) { --dx: -120px; --dy: 140px; --r: -8deg; }
.scard:nth-child(2) { --dx: -40px;  --dy: 220px; --r: 5deg; }
.scard:nth-child(3) { --dx: 50px;   --dy: 180px; --r: -4deg; }
.scard:nth-child(4) { --dx: 140px;  --dy: 120px; --r: 9deg; }
.scard:nth-child(5) { --dx: -150px; --dy: 260px; --r: 6deg; }
.scard:nth-child(6) { --dx: -30px;  --dy: 320px; --r: -7deg; }
.scard:nth-child(7) { --dx: 60px;   --dy: 300px; --r: 4deg; }
.scard:nth-child(8) { --dx: 160px;  --dy: 240px; --r: -9deg; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  section { padding: 88px 0; }
  .bar nav a.link { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .js:not(.reduce) .story .stage { align-items: start; padding-top: 76px; }
  .js:not(.reduce) .story-screens { order: -1; }
  .js:not(.reduce) .story-list li { grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 14px; }
  .js:not(.reduce) .story-list .num { width: 28px; height: 28px; }
  .js:not(.reduce) .story-list li::before, .js:not(.reduce) .story-list li::after { left: 13px; top: 32px; }
  .js:not(.reduce) .story-list .eyebrow { margin-top: 3px; font-size: 16px; }
  .js:not(.reduce) .story-list h2 { font-size: 22px; }
  .js:not(.reduce) .story-list .more p { font-size: 15.5px; margin-top: 6px; }
  .collage, .steps { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .haru { grid-template-columns: 1fr; gap: 36px; }
  .haru-pic { max-width: 420px; width: 100%; margin: 0 auto; }
  .pgrid { grid-template-columns: 1fr; gap: 10px; margin: 28px 0; }
  .js:not(.reduce) .pgrid p { display: none; }
}
@media (max-width: 560px) {
  .collage, .steps { grid-template-columns: 1fr; }
  .scard { min-height: 0; }
  .scard h3 { margin-top: 16px; }
  .hero-card { border-radius: 24px; }
  .js:not(.reduce) .hero-shot { width: 92vw; }
  .js:not(.reduce) .scard { --dx: 0px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow, .hero-haru, .haru-pic img, .caret { animation: none; }
  .track { animation: none; }
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .track[aria-hidden] { display: none; }
}

/* =====================================================================
   More motion: reading progress, a day with Haru, Haru follows the pointer, tilting cards.
   ===================================================================== */
.progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* A day with Haru (still: the cards in a wrapping grid) */
.day { position: relative; padding: 100px 0; }
.day .sky { display: none; }
.day-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; max-width: var(--max); margin: 36px auto 0; padding: 0 24px; }
.dcard { position: relative; color: var(--text); background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 30px 60px -36px rgba(15, 50, 44, .35); border: 1px solid var(--line); }
.dcard .time { position: absolute; right: 24px; top: 26px; font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.dcard .dico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-tint); font-size: 26px; }
.dcard h3 { margin: 20px 0 8px; font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
.dcard p { margin: 0; color: var(--sub); font-size: 15.5px; }
.dcard.night { background: #13202e; color: #eef3f1; border-color: transparent; }
.dcard.night p, .dcard.night .time { color: #9fb2c4; }
.dcard.night .dico { background: rgba(255, 255, 255, .08); }

/* moving version: pinned, the track slides left as you scroll, the sky goes morning → noon → evening → night */
.js:not(.reduce) .day { height: 420vh; padding: 0; }
.js:not(.reduce) .day .stage { container-type: size; display: flex; flex-direction: column; justify-content: center; transition: color .6s; }
.js:not(.reduce) .day .sky { display: block; position: absolute; inset: 0; z-index: -1; background: #fff7e8; }
.js:not(.reduce) .day .sky i { position: absolute; inset: 0; transition: opacity .2s linear; }
.js:not(.reduce) .day .sky .s1 { background: linear-gradient(180deg, #e8f7f3, #ffffff); opacity: clamp(0, calc((var(--p, 0) - .12) * 5), 1); }
.js:not(.reduce) .day .sky .s2 { background: linear-gradient(180deg, #eef6ff, #ffffff); opacity: clamp(0, calc((var(--p, 0) - .38) * 5), 1); }
.js:not(.reduce) .day .sky .s3 { background: linear-gradient(180deg, #ffe4d4, #fff3ea); opacity: clamp(0, calc((var(--p, 0) - .58) * 5), 1); }
.js:not(.reduce) .day .sky .s4 { background: radial-gradient(60% 50% at 75% 15%, #2a3d5c, transparent 70%), linear-gradient(180deg, #0d1626, #17253a); opacity: clamp(0, calc((var(--p, 0) - .8) * 6), 1); }
.js:not(.reduce) .day[data-step="4"] .stage { color: #eef3f1; }
.js:not(.reduce) .day[data-step="4"] .eyebrow { color: #7fe0d0; }
.js:not(.reduce) .day-track {
  --cw: min(380px, 76cqw); --g: 20px;
  display: flex; gap: var(--g); max-width: none; margin: 40px 0 0; padding: 0 0 0 max(24px, calc((100cqw - var(--max)) / 2 + 24px));
  transform: translateX(calc(-1 * clamp(0, (var(--p, 0) - .04) / .9, 1) * (5 * var(--cw) + 4 * var(--g) - 100cqw + 2 * max(24px, calc((100cqw - var(--max)) / 2 + 24px)))));
  will-change: transform;
}
.js:not(.reduce) .dcard { flex: 0 0 var(--cw); min-height: 260px; }

/* Haru leans toward the pointer (set by main.js as --mx / --my, -1…1) */
.js:not(.reduce) .hero-haru { rotate: calc(var(--mx, 0) * 9deg); translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 10px); transition: rotate .25s ease-out, translate .25s ease-out; }
.js:not(.reduce) .haru-pic img { translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 8px); transition: translate .3s ease-out; }

/* cards tilt toward the pointer */
.js:not(.reduce) .tilt { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .18s ease-out, box-shadow .3s, background .3s; }
.js:not(.reduce) .mcard.tilt:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }

@media (max-width: 560px) {
  .js:not(.reduce) .day-track { --cw: 82cqw; --g: 14px; }
  .js:not(.reduce) .dcard { min-height: 230px; padding: 22px; }
  .dcard h3 { font-size: 19px; }
}
@media (hover: none) { .js .tilt { --rx: 0deg !important; --ry: 0deg !important; } }


/* =====================================================================
   Lifeboard AI: deep-mint stage. Still state first; motion layered on with .js:not(.reduce).
   ===================================================================== */
.pnote { margin: 0 auto; max-width: 34em; color: rgba(255, 255, 255, .86); font-size: 17px; }
.ai { position: relative; overflow: hidden; margin: 0 16px; border-radius: 32px; padding: 120px 0 96px; color: #e9fbf7; background: #05201d; isolation: isolate; }
.ai-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ai-bg::after { content: ""; position: absolute; inset: 0; background: url("img/hex.svg"); background-size: 52px 90px; opacity: .5; mask-image: radial-gradient(60% 50% at 50% 20%, #000, transparent 80%); -webkit-mask-image: radial-gradient(60% 50% at 50% 20%, #000, transparent 80%); }
.ai-bg i { position: absolute; width: 60vmax; height: 60vmax; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(60px); opacity: .55; }
.ai-bg .b1 { left: -15%; top: -25%; background: radial-gradient(closest-side, #1fc7ae, transparent); animation: aiflow 14s ease-in-out infinite alternate; }
.ai-bg .b2 { right: -20%; top: 5%; background: radial-gradient(closest-side, #5a7bff, transparent); opacity: .38; animation: aiflow 18s ease-in-out infinite alternate-reverse; }
.ai-bg .b3 { left: 20%; bottom: -45%; background: radial-gradient(closest-side, #b080ff, transparent); opacity: .3; animation: aiflow 16s ease-in-out infinite alternate; }
@keyframes aiflow { to { translate: 12% 10%; scale: 1.2; } }
.ai h2 { color: #fff; font-size: clamp(40px, 6.6vw, 84px); letter-spacing: -0.045em; }
.ai-grad { background: linear-gradient(90deg, #7ff0dc, #8fb0ff 55%, #d1a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; }
.ai .sub { color: rgba(233, 251, 247, .78); }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 650; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.spark { width: 20px; height: 20px; color: #9ff5e5; }
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.aic { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.aic-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #35c2b0, #7a8cff); color: #04201c; font-weight: 800; font-size: 14px; }
.aic h3 { margin: 18px 0 6px; font-size: 22px; letter-spacing: -0.02em; color: #fff; }
.aic-d { margin: 0 0 22px; color: rgba(233, 251, 247, .74); font-size: 15.5px; }
.demo { margin-top: auto; min-height: 210px; border-radius: 20px; padding: 18px; background: rgba(4, 22, 20, .6); border: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }
.d-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7fe0d0; }
.d-text { margin: 0; color: #f2fffc; line-height: 1.6; }
.d-text.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: #7fe0d0; animation: blink 1s steps(1) infinite; }
.mail { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.mail b { color: #fff; font-size: 14.5px; }
.mail span { color: rgba(233, 251, 247, .75); font-size: 13.5px; line-height: 1.5; }
.chips { display: grid; gap: 8px; margin-top: 12px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: #fff; font-weight: 600; font-size: 14px; }
.chip-task { background: rgba(53, 194, 176, .28); border: 1px solid rgba(127, 240, 220, .45); }
.chip-event { background: rgba(122, 140, 255, .28); border: 1px solid rgba(160, 175, 255, .5); }
.chip-k { font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.chip-ok { margin-left: auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #7ff0dc; color: #04201c; }
.chip-ok svg { width: 12px; height: 12px; }
.wl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wl li { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #7fe0d0; }
.wl b { color: #fff; font-size: 14px; }
.wl svg { width: 100%; height: 22px; overflow: visible; }
.wl .idea { min-width: 92px; text-align: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #1b1340; background: linear-gradient(90deg, #9ff5e5, #c9b0ff); }
.ai-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; width: fit-content; max-width: 100%; margin: 56px auto 0; padding: 16px 30px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: 17px; color: rgba(233, 251, 247, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ai-price b { color: #fff; font-size: 22px; letter-spacing: -0.02em; }
.ai-price i { width: 5px; height: 5px; border-radius: 50%; background: #7fe0d0; }
.ai-fine { margin: 18px 0 0; text-align: center; color: rgba(233, 251, 247, .7); font-size: 14.5px; }
.ai-priv { margin: 22px auto 0; max-width: 46em; text-align: center; color: rgba(233, 251, 247, .62); font-size: 14.5px; }
.ai-peek { position: absolute; right: -34px; top: 90px; width: 110px; rotate: -14deg; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .4)); pointer-events: none; }

.js:not(.reduce) .ai-grad { animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.js:not(.reduce) .spark { animation: twinkle 2.8s ease-in-out infinite; }
@keyframes twinkle { 50% { scale: 1.25; rotate: 18deg; } }
/* demos play once when the card scrolls into view (.play is set by main.js) */
.js:not(.reduce) .aic { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js:not(.reduce) .aic.play { opacity: 1; transform: none; }
.js:not(.reduce) .aic:nth-child(2) { transition-delay: .12s; }
.js:not(.reduce) .aic:nth-child(3) { transition-delay: .24s; }
.js:not(.reduce) .chip, .js:not(.reduce) .wl .idea { opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .4s, transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.js:not(.reduce) .aic.play .chip-task { opacity: 1; transform: none; transition-delay: 1.4s; }
.js:not(.reduce) .aic.play .chip-event { opacity: 1; transform: none; transition-delay: 1.9s; }
.js:not(.reduce) .chip-ok { scale: 0; transition: scale .5s cubic-bezier(.3, 1.8, .5, 1); }
.js:not(.reduce) .aic.play .chip-ok { scale: 1; }
.js:not(.reduce) .aic.play .chip-task .chip-ok { transition-delay: 3s; }
.js:not(.reduce) .aic.play .chip-event .chip-ok { transition-delay: 3.5s; }
.js:not(.reduce) .wl li { opacity: 0; transform: translateX(-14px); transition: opacity .5s, transform .6s var(--ease); }
.js:not(.reduce) .aic.play .wl li { opacity: 1; transform: none; }
.js:not(.reduce) .aic.play .wl li:nth-child(1) { transition-delay: .4s; }
.js:not(.reduce) .aic.play .wl li:nth-child(2) { transition-delay: .65s; }
.js:not(.reduce) .aic.play .wl li:nth-child(3) { transition-delay: .9s; }
.js:not(.reduce) .wl svg path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease) .6s; }
.js:not(.reduce) .aic.play .wl svg path { stroke-dashoffset: 0; }
.js:not(.reduce) .aic.play .wl .idea { opacity: 1; transform: none; transition-delay: 2s; }
/* Haru peeks in from the side, waves once, then stays */
.js:not(.reduce) .ai-peek { transform: translateX(120%); transition: transform 1s cubic-bezier(.3, 1.4, .5, 1) .3s; }
.js:not(.reduce) .ai.peeked .ai-peek { transform: none; animation: wiggle 3.6s ease-in-out 1.6s infinite; }
@keyframes wiggle { 0%, 70%, 100% { rotate: -14deg; } 80% { rotate: -22deg; } 90% { rotate: -8deg; } }

/* magnetic buttons: main.js sets --tx / --ty while the pointer is near */
.js:not(.reduce) .btn:not(.small) { translate: var(--tx, 0px) var(--ty, 0px); }

@media (max-width: 900px) {
  .ai { padding: 88px 0 72px; border-radius: 24px; }
  .ai-cards { grid-template-columns: 1fr; margin-top: 44px; }
  .demo { min-height: 0; }
  .ai-peek { width: 84px; right: -28px; top: 60px; }
}
@media (max-width: 560px) {
  .ai-price { border-radius: 28px; padding: 16px 22px; gap: 10px 16px; font-size: 16px; }
  .ai-price i { display: none; }
  .ai-price span { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-bg i, .ai-grad, .spark, .d-text.typing::after { animation: none; }
}

/* thanks.html: after a Lifeboard AI checkout */
.thanks { max-width: 640px; margin: 0 auto; padding: 48px 24px 96px; text-align: center; }
.ty-stage { position: relative; width: 260px; height: 240px; margin: 0 auto 8px; display: grid; place-items: center; }
.ty-glow { position: absolute; inset: 10px; border-radius: 50%;
  background: conic-gradient(from 0deg, #35c2b0, #8b5cf6, #f59e0b, #35c2b0); filter: blur(46px); opacity: .45; }
.ty-haru { position: relative; width: 170px; height: auto; filter: drop-shadow(0 24px 30px rgba(15, 80, 70, .25)); }
.ty-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.ty-bit { position: absolute; left: 0; top: 0; width: var(--s, 12px); height: var(--s, 12px); background: var(--c, #35c2b0);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%); opacity: 0; }
.ty-eyebrow { margin: 6px 0 10px; font-weight: 700; color: var(--brand); letter-spacing: .02em; }
.ty-spark { display: inline-block; }
.ty-title { margin: 0; font-size: clamp(34px, 7vw, 56px); line-height: 1.05; letter-spacing: -0.04em; }
.ty-title span { display: block; }
.ty-title span + span { background: linear-gradient(90deg, var(--brand), #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ty-lead { margin: 18px auto 0; max-width: 460px; font-size: 18px; color: var(--sub); }
.ty-steps { list-style: none; padding: 0; margin: 34px auto 0; display: grid; gap: 10px; text-align: left; max-width: 460px; }
.ty-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--gray); }
.ty-steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; }
.ty-steps span { color: var(--sub); }
.ty-steps strong { color: var(--text); }
.ty-cta { margin: 30px 0 0; }
.ty-fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .ty-haru { animation: ty-drop .9s cubic-bezier(.2, 1.4, .4, 1) both, ty-spin .8s .9s ease-in-out both, ty-float 4s 1.8s ease-in-out infinite; }
  .ty-glow { animation: ty-turn 9s linear infinite, ty-fade 1.2s ease-out both; }
  .ty-eyebrow, .ty-title span, .ty-lead, .ty-steps li, .ty-cta, .ty-fine { animation: ty-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ty-eyebrow { animation-delay: .5s; }
  .ty-title span:nth-child(1) { animation-delay: .65s; }
  .ty-title span:nth-child(2) { animation-delay: .8s; }
  .ty-lead { animation-delay: 1s; }
  .ty-steps li:nth-child(1) { animation-delay: 1.15s; }
  .ty-steps li:nth-child(2) { animation-delay: 1.25s; }
  .ty-steps li:nth-child(3) { animation-delay: 1.35s; }
  .ty-cta { animation-delay: 1.5s; }
  .ty-fine { animation-delay: 1.6s; }
  .ty-spark { animation: ty-twinkle 2.4s ease-in-out infinite; }
  .ty-bit { animation: ty-fly var(--d, 1.4s) cubic-bezier(.15, .7, .3, 1) var(--w, .45s) both; }
}
@media (prefers-reduced-motion: reduce) { .ty-bit { display: none; } }
@keyframes ty-drop { from { transform: translateY(-140px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ty-spin { 0% { rotate: 0deg; } 60% { rotate: 380deg; } 100% { rotate: 360deg; } }
@keyframes ty-float { 50% { translate: 0 -8px; } }
@keyframes ty-turn { to { rotate: 360deg; } }
@keyframes ty-fade { from { opacity: 0; transform: scale(.4); } }
@keyframes ty-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ty-twinkle { 50% { transform: scale(1.35) rotate(20deg); opacity: .7; } }
@keyframes ty-fly {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(.4); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1); }
}
