/* Plan & Toast — landing page. Builds on the tokens and components in styles.css. */
html { scroll-behavior: smooth; }
body.lp { overflow-x: clip; background: var(--bg); }
.lp .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.lp h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; }
.lp h2 em, .lp h1 em { font-style: italic; font-weight: 500; color: var(--terra); }
.lp h3 { font-size: 25px; }
.lp section { position: relative; }
.btn.big { padding: 15px 26px; font-size: 16px; }
.btn.big.ghost { background: rgba(254, 253, 250, .6); }
.btn.light { background: #f5f1e8; color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn svg.ic { transition: transform .2s; }
.btn:hover svg.ic { transform: translateX(3px); }

.scrollbar { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--terra); transform-origin: left; transform: scaleX(var(--page, 0)); z-index: 60; }

/* ---------- Nav ---------- */
.topnav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1160px, calc(100% - 28px)); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(251, 249, 244, .6); border: 1px solid transparent; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .3s, border-color .3s, box-shadow .3s, padding .3s; }
.topnav.scrolled { background: rgba(251, 249, 244, .88); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(60, 45, 25, .35); }
.topnav .brand { font-size: 24px; }
.topnav nav { display: flex; gap: 28px; }
.topnav nav a { font-size: 14.5px; color: var(--ink-soft); position: relative; padding: 4px 0; }
.topnav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.topnav nav a:hover::after { transform: scaleX(1); }
.topnav-cta { display: flex; align-items: center; gap: 16px; }
.signin { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.signin:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 90px; text-align: center; overflow: clip; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(52px, 8.2vw, 116px); line-height: .98; letter-spacing: -.015em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .line .rise { display: inline-block; }
.hero .lede { max-width: 620px; margin: 28px auto 0; font-size: 19px; color: var(--ink-soft); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.rise { opacity: 0; transform: translateY(28px); animation: riseIn 1s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.line .rise { transform: translateY(105%); }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.hero-arches { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-arches i { position: absolute; border-radius: 999px 999px 0 0; transform: translateY(calc(var(--py, 0) * 1px)); will-change: transform; }
.hero-arches i:nth-child(1) { left: -70px; top: 150px; width: 250px; height: 520px; background: linear-gradient(#cfd6c3, rgba(207, 214, 195, 0)); }
.hero-arches i:nth-child(2) { right: 70px; top: 90px; width: 210px; height: 470px; background: linear-gradient(#e3b6a0, rgba(227, 182, 160, 0)); }
.hero-arches i:nth-child(3) { right: -90px; top: 260px; width: 230px; height: 480px; background: linear-gradient(#e2cd9b, rgba(226, 205, 155, 0)); }

.stage { position: relative; z-index: 2; max-width: 1080px; margin: 72px auto 0; padding: 0 28px; perspective: 1600px; }
.mock { display: grid; grid-template-columns: 62px 1fr; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 60px 120px -50px rgba(60, 45, 25, .5), 0 20px 40px -30px rgba(60, 45, 25, .3);
  transform-origin: 50% 0; transform: rotateX(calc((1 - var(--hp, 0)) * 18deg)) scale(calc(.9 + var(--hp, 0) * .1)); will-change: transform; }
.mock small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mock b { font-family: var(--serif); font-weight: 600; font-variant-numeric: lining-nums; }
.mock-side { border-right: 1px solid var(--line); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-side .mark { width: 30px; height: 30px; margin-bottom: 8px; }
.mock-side i { width: 30px; height: 30px; border-radius: 9px; background: var(--line-soft); }
.mock-side i.on { background: var(--sage-soft); box-shadow: inset 0 0 0 1px #cfd8c4; }
.mock-main { padding: 26px 28px 28px; background: var(--bg); }
.mock-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.mock-head b { font-size: 28px; line-height: 1.15; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.mock-stats div, .mock-tl, .mock-list { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mock-stats b { font-size: 28px; line-height: 1.2; }
.mock-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; }
.mock-left { display: grid; gap: 14px; align-content: start; }
.mock-next { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: linear-gradient(135deg, #ebe6d8, #e2dcc9); border: 1px solid #ddd5c2; border-radius: 12px; padding: 20px 22px; }
.mock-next > div > b { display: block; font-size: 24px; margin: 8px 0 2px; }
.mock-next small { text-transform: none; letter-spacing: 0; font-size: 12px; }
.mock-next .bar { margin-top: 14px; max-width: 280px; background: rgba(255, 255, 255, .6); }
.mock-count { text-align: center; }
.mock-count b { display: block; font-size: 52px; line-height: 1; color: var(--sage-deep); }
.mock-line { position: relative; height: 22px; margin-top: 12px; }
.mock-line::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line); }
.mock-line span { position: absolute; top: 3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 4px var(--card); }
.mock-list p { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.mock-list p:last-child { border: 0; padding-bottom: 0; }
.mock-list p i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #c4baa6; flex: none; }
.mock-list p span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-list em, .plist em, .demo-alerts em { font-style: normal; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--terra); background: var(--terra-soft); padding: 2px 8px; border-radius: 99px; flex: none; }

.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 24px 50px -22px rgba(60, 45, 25, .45); transform: translateY(calc(var(--py, 0) * 1px)); will-change: transform; }
.float b { display: block; font-size: 14px; font-weight: 600; }
.float small { color: var(--muted); font-size: 12px; }
.float-a { left: -26px; top: 150px; }
.float-b { right: -30px; top: 300px; }
.tick { width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; }
.tick svg.ic { width: 16px; height: 16px; stroke-width: 2.4; }
.mini-ring { position: relative; width: 46px; height: 46px; }
.mini-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mini-ring circle { fill: none; stroke: var(--line); stroke-width: 6; }
.mini-ring .fg { stroke: var(--terra); stroke-linecap: round; stroke-dasharray: 157; stroke-dashoffset: 56.5; }
.mini-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--surface); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: slide 46s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--muted); white-space: nowrap; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); opacity: .55; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Film ---------- */
.film { padding: 120px 0 40px; }
.film .sec-head { margin-bottom: 44px; }
.film-frame { max-width: 1080px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: #f1ebdd; line-height: 0;
  box-shadow: 0 60px 120px -55px rgba(60, 45, 25, .55), 0 0 0 1px var(--line); }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #f1ebdd; }
@media (max-width: 700px) { .film { padding: 80px 0 20px; } .film-frame { border-radius: 16px; } }

/* ---------- Occasions: pinned scroll story ---------- */
.scrolly { height: 340vh; }
.scrolly-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: clip; }
.scrolly-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; width: 100%; }
.scrolly-copy h2 { margin: 6px 0 30px; }
.type-steps { display: grid; gap: 8px; }
.type-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; overflow: hidden; opacity: .55; transition: opacity .35s, background .35s, border-color .35s, box-shadow .35s; }
.type-step:hover { opacity: .85; }
.type-step .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.type-step b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 40px; }
.type-step .txt > span { display: block; max-height: 0; opacity: 0; overflow: hidden; color: var(--ink-soft); font-size: 15px; transition: max-height .45s, opacity .35s, padding .35s; }
.type-step .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.scrolly[data-active="0"] .type-step:nth-child(1), .scrolly[data-active="1"] .type-step:nth-child(2), .scrolly[data-active="2"] .type-step:nth-child(3) { opacity: 1; background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.scrolly[data-active="0"] .type-step:nth-child(1) .txt > span, .scrolly[data-active="1"] .type-step:nth-child(2) .txt > span, .scrolly[data-active="2"] .type-step:nth-child(3) .txt > span { max-height: 90px; opacity: 1; padding-bottom: 6px; }
.scrolly[data-active="0"] .type-step:nth-child(1) .fill, .scrolly[data-active="1"] .type-step:nth-child(2) .fill, .scrolly[data-active="2"] .type-step:nth-child(3) .fill { transform: scaleX(var(--sp, 0)); }

.scrolly-stage { position: relative; height: 500px; }
.scrolly-stage::before { content: ""; position: absolute; right: -40px; top: -50px; width: 300px; height: 520px; border-radius: 999px 999px 0 0; background: #e9c9b8; opacity: .55; transition: background .6s; }
.scrolly[data-active="1"] .scrolly-stage::before { background: #ead9ae; }
.scrolly[data-active="2"] .scrolly-stage::before { background: #c5d3d0; }
.panel { position: absolute; inset: 0 30px 0 0; display: flex; flex-direction: column; background: linear-gradient(165deg, var(--accent-soft), var(--card) 42%); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px;
  box-shadow: 0 40px 80px -40px rgba(60, 45, 25, .45); opacity: 0; transform: translateY(46px) scale(.95) rotate(1.2deg); pointer-events: none; transition: opacity .55s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.scrolly[data-active="1"] .panel:nth-child(1), .scrolly[data-active="2"] .panel:nth-child(1), .scrolly[data-active="2"] .panel:nth-child(2) { transform: translateY(-46px) scale(.95) rotate(-1.2deg); }
.scrolly[data-active="0"] .panel:nth-child(1), .scrolly[data-active="1"] .panel:nth-child(2), .scrolly[data-active="2"] .panel:nth-child(3) { opacity: 1; transform: none; pointer-events: auto; }
.panel header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.panel header .pill { background: rgba(255, 255, 255, .65); }
.panel h3 { font-size: 32px; margin: 14px 0 4px; }
.panel-meta { font-size: 14px; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 6px; }
.tags span { font-size: 12px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); }
.plist { list-style: none; margin: 8px 0 0; padding: 0; }
.plist li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.plist li i { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #c4baa6; flex: none; }
.plist li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: #c9c0ae; }
.plist li.done i { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--accent), inset 0 0 0 9px #fff; }
.plist em { margin-left: auto; }
.split { display: flex; flex: none; gap: 3px; height: 30px; margin-top: auto; border-radius: 9px; overflow: hidden; }
.split i { background: var(--accent); font-style: normal; font-size: 11px; color: #fff; display: grid; place-items: center; white-space: nowrap; overflow: hidden; }
.split i:nth-child(2) { opacity: .82; } .split i:nth-child(3) { opacity: .64; } .split i:nth-child(4) { opacity: .5; } .split i:nth-child(5) { opacity: .38; } .split i:nth-child(6) { opacity: .26; }

/* ---------- Facts ---------- */
.facts { padding: 84px 0; background: var(--surface); border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.facts b { display: block; font-family: var(--serif); font-size: clamp(54px, 6vw, 84px); font-weight: 600; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--sage-deep); }
.facts span { display: block; margin-top: 10px; color: var(--ink-soft); max-width: 22ch; }

/* ---------- Features ---------- */
.features, .how, .who { padding: 130px 0; }
.sec-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.sec-head h2 { margin-top: 6px; }
.sec-head > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--ink-soft); }
.sec-head.left { text-align: left; margin: 0; }
.sec-head.left .btn { margin-top: 28px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s, opacity .8s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(60, 45, 25, .4); border-color: #d8cfbd; }
.feat.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.feat.full { grid-column: 1 / -1; grid-template-columns: 1fr 1.4fr; background: linear-gradient(120deg, var(--card) 40%, #ece6d6); }
.feat h3 { margin: 18px 0 8px; }
.feat p { color: var(--ink-soft); }
.feat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); }
.feat-ic.terra { background: var(--terra-soft); color: var(--terra); }
.feat-ic.ochre { background: var(--ochre-soft); color: #8c6a25; }
.feat-ic.slate { background: var(--slate-soft); color: var(--slate); }
.feat-ic svg.ic { width: 21px; height: 21px; }
.feat > div[class^="demo"], .feat > ul { margin-top: auto; padding-top: 24px; }
.feat.wide > ul, .feat.wide > div[class^="demo"] { padding-top: 0; margin: 0; }

.demo-list { list-style: none; padding: 8px 18px; margin: 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; }
.demo-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.demo-list li:last-child { border: 0; }
.demo-list li i { width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--sage); border: 1.5px solid var(--sage); box-shadow: inset 0 0 0 4px var(--sage), inset 0 0 0 9px #fff; transition: all .4s calc(var(--i, 0) * 380ms + 500ms); }
.demo-list li small { margin-left: auto; font-size: 12px; color: var(--muted); transition: opacity .4s calc(var(--i, 0) * 380ms + 500ms); }
.demo-list li.open i { background: transparent; border-color: #c4baa6; box-shadow: none; }
.demo-list li.open small { color: #8c6a25; }
.js [data-anim]:not(.in) .demo-list li:not(.open) i { background: transparent; border-color: #c4baa6; box-shadow: none; }
.js [data-anim]:not(.in) .demo-list li:not(.open) small { opacity: 0; }

.demo-alerts, .demo-vendors { display: grid; gap: 8px; }
.demo-alerts span, .demo-vendors span { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft);
  transition: opacity .5s calc(var(--i, 0) * 160ms + 300ms), transform .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 160ms + 300ms); }
.js [data-anim]:not(.in) .demo-alerts span, .js [data-anim]:not(.in) .demo-vendors span { opacity: 0; transform: translateX(-18px); }
.demo-vendors em { font-style: normal; font-size: 12px; font-weight: 500; padding: 3px 11px; border-radius: 99px; }
.demo-vendors .s1 { background: var(--ochre-soft); color: #8c6a25; }
.demo-vendors .s2 { background: var(--sage-soft); color: var(--sage-deep); }
.demo-vendors .s3 { background: var(--sage-deep); color: #fbf9f4; }

.demo-budget > div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.demo-budget .bar { height: 8px; }
.demo-budget .bar i { width: var(--w); background: var(--ochre); transition: width 1.2s cubic-bezier(.2, .7, .2, 1) .35s; }
.js [data-anim]:not(.in) .demo-budget .bar i { width: 0; }
.demo-budget p { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.demo-budget p b { font-family: var(--serif); font-size: 24px; color: var(--ink); font-variant-numeric: lining-nums; margin-right: 4px; }

.demo-note { background: #fbf6e9; border: 1px solid #ecdfbf; border-radius: 4px 14px 14px 14px; padding: 14px 16px; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink-soft); transform: rotate(-1.2deg); transition: transform .7s cubic-bezier(.2, .7, .2, 1) .3s, opacity .6s .3s; }
.js [data-anim]:not(.in) .demo-note { opacity: 0; transform: rotate(-5deg) translateY(16px); }

.demo-season { display: flex; align-items: center; gap: 36px; }
.demo-ring { position: relative; width: 110px; height: 110px; flex: none; }
.demo-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.demo-ring circle { fill: none; stroke: var(--line); stroke-width: 7; }
.demo-ring .fg { stroke: var(--sage); stroke-linecap: round; stroke-dasharray: 245; stroke-dashoffset: 88; transition: stroke-dashoffset 1.5s cubic-bezier(.2, .7, .2, 1) .3s; }
.js [data-anim]:not(.in) .demo-ring .fg { stroke-dashoffset: 245; }
.demo-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 28px; font-variant-numeric: lining-nums; }
.demo-line { position: relative; flex: 1; height: 44px; margin-right: 24px; }
.demo-line::before { content: ""; position: absolute; left: 0; right: -24px; top: 21px; height: 2px; background: #d9d0be; }
.demo-line span { position: absolute; top: 2px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--accent);
  transition: transform .6s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i, 0) * 180ms + 400ms), opacity .3s calc(var(--i, 0) * 180ms + 400ms); }
.demo-line span svg.ic { width: 16px; height: 16px; }
.js [data-anim]:not(.in) .demo-line span { transform: scale(0); opacity: 0; }

/* ---------- How it works ---------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.how .sec-head { position: sticky; top: 130px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--line); }
.steps::after { background: var(--sage-deep); transform-origin: top; transform: scaleY(var(--lp, 0)); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 52px 1fr; gap: 26px; }
.step .num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 24px; font-weight: 600; font-variant-numeric: lining-nums; background: var(--surface); border: 2px solid var(--line); color: var(--muted); transition: all .4s; }
.step h3 { font-size: 30px; line-height: 52px; }
.step p { color: var(--ink-soft); font-size: 17px; max-width: 40ch; }
.step > div { opacity: .4; transform: translateX(10px); transition: opacity .5s, transform .5s; }
.step.on > div { opacity: 1; transform: none; }
.step.on .num { background: var(--sage-deep); border-color: var(--sage-deep); color: #fbf9f4; transform: scale(1.08); }
html:not(.js) .step > div { opacity: 1; transform: none; }

/* ---------- Who ---------- */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.who-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 44px; display: flex; flex-direction: column; align-items: flex-start; }
.who-card.alt { background: linear-gradient(160deg, #e9eee1, #f3efe2); border-color: #d6ddc9; }
.who-tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); font-weight: 500; }
.who-card h3 { font-size: 34px; line-height: 1.12; margin: 12px 0 24px; max-width: 16ch; }
.who-card ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.who-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.who-card li svg.ic { margin-top: 3px; color: var(--sage-deep); stroke-width: 2.2; width: 17px; height: 17px; }
.who-card .btn { margin-top: auto; }

/* ---------- Closing ---------- */
.closing { margin: 0 20px 20px; padding: 130px 0 150px; border-radius: 36px; background: #47543e; color: #f5f1e8; text-align: center; overflow: hidden; }
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { font-size: clamp(40px, 5.6vw, 76px); margin: 22px 0 14px; }
.closing h2 em { color: #e9b79f; }
.closing p { color: #d5d9c9; font-size: 18px; margin-bottom: 34px; }
.mark.big { width: 56px; height: 56px; margin: 0 auto; background: rgba(245, 241, 232, .12); color: #f5f1e8; border-radius: 50%; display: grid; place-items: center; }
.mark.big svg.ic { width: 26px; height: 26px; }
.closing-arches { position: absolute; inset: auto 0 0 0; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 4%; }
.closing-arches i { width: 15%; border-radius: 999px 999px 0 0; background: rgba(245, 241, 232, .05); }
.closing-arches i:nth-child(1) { height: 46%; } .closing-arches i:nth-child(2) { height: 72%; } .closing-arches i:nth-child(3) { height: 30%; background: transparent; }
.closing-arches i:nth-child(4) { height: 66%; } .closing-arches i:nth-child(5) { height: 50%; }

/* ---------- Footer ---------- */
.foot { padding: 34px 0 44px; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a, .foot small { font-size: 14px; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.foot .brand { font-size: 22px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal="left"] { transform: translateX(-44px); }
.js [data-reveal="right"] { transform: translateX(44px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .topnav nav { display: none; }
  .float { display: none; }
  .scrolly-grid { grid-template-columns: 1fr; gap: 22px; }
  .scrolly-copy h2 { margin-bottom: 16px; font-size: 30px; }
  .scrolly-copy .eyebrow { display: none; }
  .type-steps { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .type-step { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 10px 6px; }
  .type-step b { font-size: 17px; line-height: 1.2; text-align: center; }
  .type-step .txt > span { display: none; }
  .scrolly-stage { height: 490px; }
  .plist { margin-bottom: 16px; }
  .scrolly-stage::before { display: none; }
  .panel { inset: 0; padding: 22px; }
  .panel h3 { font-size: 26px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feat.wide { grid-column: 1 / -1; }
  .how-grid { grid-template-columns: 1fr; gap: 56px; }
  .how .sec-head { position: static; }
  .features, .how, .who { padding: 90px 0; }
}
@media (max-width: 700px) {
  .hero { padding: 128px 0 60px; }
  .hero .lede { font-size: 17px; }
  .hero-arches i:nth-child(1) { width: 130px; height: 300px; left: -50px; top: 90px; }
  .hero-arches i:nth-child(2) { width: 110px; height: 260px; right: 20px; top: 70px; }
  .hero-arches i:nth-child(3) { width: 120px; height: 260px; right: -60px; top: 200px; }
  .stage { margin-top: 48px; padding: 0 16px; }
  .mock { grid-template-columns: 1fr; }
  .mock-side, .mock-list, .mock-head .btn { display: none; }
  .mock-main { padding: 18px; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-cols { grid-template-columns: 1fr; }
  .mock-count b { font-size: 40px; }
  .lp .wrap { padding: 0 18px; }
  .signin { display: none; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .facts { padding: 60px 0; }
  .bento, .who-grid { grid-template-columns: 1fr; }
  .feat.wide, .feat.full { grid-template-columns: 1fr; gap: 22px; }
  .feat { padding: 24px; }
  .demo-season { gap: 22px; }
  .demo-ring { width: 84px; height: 84px; }
  .who-card { padding: 30px 26px; }
  .who-card h3 { font-size: 28px; }
  .step h3 { font-size: 25px; }
  .closing { margin: 0 10px 10px; padding: 90px 0 110px; border-radius: 26px; }
  .marquee span { font-size: 21px; }
  .tags span:nth-child(n+5) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; }
  .mock { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Logo ---------- */
.topnav .brand .logo { height: 38px; }
.foot .brand .logo { height: 34px; }
.mock-logo { width: 30px; height: 30px; margin-bottom: 8px; }
.cta-logo { width: 64px; height: 64px; display: block; margin: 0 auto; }
.share-top .brand .logo { height: 44px; }
@media (max-width: 560px) { .topnav .brand .logo { height: 30px; } }
