/* Landing page only. Motion is subtle and switched off for people who prefer reduced motion. */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--proof); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
.site-head { position: sticky; top: 0; background: rgba(246, 243, 236, 0.92); backdrop-filter: blur(6px); z-index: 50; }
.eyebrow { font: 500 13px/18px var(--font-sans); color: var(--proof); letter-spacing: .02em; margin: 0 0 18px; }
.hero2 { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero2 .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero2 h1 { font: 400 64px/66px var(--font-serif); letter-spacing: -0.02em; margin: 0; }
.hero2 .lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); margin: 24px 0 32px; max-width: 540px; }
.hero2 .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.big { height: 48px; padding: 0 22px; font-size: 15px; }
.stage { position: relative; }
.sheet { background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 13px; }
.row { display: grid; grid-template-columns: 46px 1fr 96px 120px; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--rule); font-size: 13px; }
.row:last-child { border-bottom: 0; }
.row .st { justify-self: start; }
.row { position: relative; transition: background .25s; }
.row .st span { opacity: 0; transform: scale(.9); display: inline-flex; }
.row.done .st span { animation: stamp .35s ease-out forwards; }
.row.scan { background: var(--proof-tint); }
.row.flag { cursor: pointer; }
.row.flag:hover { background: #FBFAF6; }
.row.sel { background: var(--amber-tint); box-shadow: inset 3px 0 0 var(--amber); }
.flow { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 12px; flex-wrap: wrap; }
.flow li { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-sans); background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px 6px 6px; }
.flow li span { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 11px; }
.flow li:last-child span { background: var(--proof); }
.hero-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
#heroCount.hit { color: var(--red); font-weight: 500; }
.float.show { animation: rise .5s ease-out forwards; }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.25); } 70% { opacity: 1; transform: scale(.96); } 100% { opacity: 1; transform: scale(1); } }
.float { position: absolute; background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 14px 16px; width: 290px; opacity: 0; z-index: 2; }
.f1 { position: relative; width: auto; margin-top: 12px; border-color: var(--amber); }
.f2 { left: -36px; top: 8px; width: 230px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.numbers .n { font: 400 64px/1 var(--font-serif); letter-spacing: -0.02em; }
.numbers .n.red { color: var(--red); }
.numbers p { margin: 12px 0 6px; font-size: 16px; line-height: 24px; }
.band { padding: 104px 0; border-top: 1px solid var(--rule); }
.band h2 { font: 400 44px/50px var(--font-serif); letter-spacing: -0.015em; margin: 0 0 16px; max-width: 760px; }
.band .intro { font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 680px; margin: 0 0 48px; }
.band.dark { background: var(--ink); color: #F6F3EC; border-top: 0; }
.band.dark .intro, .band.dark .muted { color: #B9C0CC; }
.band.dark h2 { color: #fff; }
/* sticky scrollytelling */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.story .steps2 > div { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s; }
.story .steps2 > div.active { opacity: 1; }
.story .steps2 .k { font: 400 13px/1 var(--font-mono); color: var(--proof); }
.story .steps2 h3 { font: 400 32px/38px var(--font-serif); margin: 12px 0 12px; }
.story .steps2 p { font-size: 17px; line-height: 27px; color: var(--ink-muted); margin: 0; max-width: 460px; }
.story .screen { position: sticky; top: 120px; height: 520px; }
.screen .shot { position: absolute; inset: 0; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .5s ease, transform .5s ease; }
.screen .shot.on { opacity: 1; transform: none; }
.mini { background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 20px; height: 100%; overflow: hidden; }
.mini .ttl { font: 500 18px/24px var(--font-serif); margin: 0 0 12px; }
.mini .ln { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 13px; align-items: center; }
.bubble { display: inline-block; padding: 8px 12px; border-radius: var(--radius-md); font-size: 13px; line-height: 19px; max-width: 85%; }
.bubble.me { background: var(--ink); color: #fff; float: right; }
.bubble.ai { background: var(--paper); border: 1px solid var(--rule); }
.clear { clear: both; }
/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.ba > div { padding: 32px; }
.ba .before { background: #EFEBE2; }
.ba .after { background: var(--paper-raised); border-left: 1px solid var(--rule); }
.ba ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.ba li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 23px; }
/* product showcase */
.showcase { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.sc-tabs { display: grid; gap: 6px; }
.sc-tabs button { text-align: left; background: transparent; border: 0; border-left: 2px solid var(--rule); padding: 12px 16px; cursor: pointer; font: inherit; color: var(--ink-muted); transition: border-color .2s, color .2s, background .2s; }
.sc-tabs button b { display: block; font: 500 17px/24px var(--font-serif); color: var(--ink); }
.sc-tabs button span { font-size: 14px; line-height: 20px; }
.sc-tabs button.on { border-left-color: var(--proof); background: var(--paper-raised); }
.sc-frame { position: relative; border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-raised); aspect-ratio: 16 / 10; }
.sc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity .45s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.sc-frame img.on { opacity: 1; transform: none; }
/* statement with scroll-driven fill */
.statement { padding: 96px 0; border-top: 1px solid var(--rule); }
.fill-text { font: 400 40px/50px var(--font-serif); letter-spacing: -0.01em; max-width: 920px; margin: 0; color: var(--ink); }
@supports (animation-timeline: view()) {
  .fill-text { color: transparent; background: linear-gradient(90deg, var(--ink) 0 50%, #CFC7B5 50% 100%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: fill linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
  @keyframes fill { to { background-position: 0 0; } }
}
/* headings rise line by line */
h2.reveal { transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
h2.reveal.in { transform: none; }
/* teams */
.teams { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.tcol { background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px; }
.tcol h3 { font: 500 19px/25px var(--font-serif); margin: 0 0 14px; display: flex; gap: 8px; align-items: center; }
.tcol h3 i { color: var(--proof); }
.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.roles li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 14px; line-height: 20px; align-items: start; }
.roles .chip { justify-content: center; }
.tl { list-style: none; padding: 0 0 0 18px; margin: 0; border-left: 2px solid var(--rule); display: grid; gap: 14px; }
.tl li { position: relative; font-size: 14px; line-height: 20px; }
.tl li::before { content: ''; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 2px solid var(--paper-raised); }
.tl li.ai::before { background: var(--proof); }
.tl li span { display: block; color: var(--ink-muted); font-size: 13px; }
.acts { display: grid; gap: 10px; }
.acts div { font-size: 13px; }
.acts i { display: block; height: 6px; margin-top: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; position: relative; overflow: hidden; }
.acts i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--proof); }
/* roadmap */
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.road > div { padding: 20px 20px 0 0; position: relative; }
.road > div::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.road > div:first-child::before { background: var(--proof); border-color: var(--proof); }
.road .when { font: 400 13px/1 var(--font-mono); color: var(--proof); }
.road h3 { font: 500 21px/27px var(--font-serif); margin: 8px 0 8px; }
.road ul { margin: 0; padding-left: 18px; color: var(--ink-muted); font-size: 15px; line-height: 23px; }
/* partner phone */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.iphone { position: relative; width: 300px; height: 570px; margin: 0 auto; border-radius: 48px; background: #0F1622; padding: 11px; box-shadow: 0 0 0 1px #2A3445 inset, 0 30px 60px -30px rgba(27,36,51,.45); transform: rotate(-2deg); }
.iphone::before { content: ''; position: absolute; right: -3px; top: 130px; width: 3px; height: 70px; border-radius: 0 2px 2px 0; background: #0F1622; }
.iphone .island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #000; z-index: 3; }
.iphone .statusbar { position: absolute; top: 11px; left: 11px; right: 11px; height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 0 26px 0 30px; font: 600 13px/1 var(--font-sans); color: var(--ink); z-index: 2; border-radius: 37px 37px 0 0; background: var(--paper); }
.iphone .statusbar i { font-size: 14px; margin-left: 3px; }
.pscreen { height: 100%; border-radius: 37px; background: var(--paper); padding: 54px 18px 18px; overflow: hidden; font-size: 13px; }
.pbar { height: 6px; background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--proof); }
.psteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 10px; }
.psteps span { height: 3px; border-radius: 2px; background: var(--rule); transition: background .3s; }
.psteps span.on { background: var(--proof); }
.receipt { position: relative; height: 104px; border-radius: var(--radius-md); background: #E7E2D6; overflow: hidden; display: grid; place-items: center; margin-bottom: 10px; }
.receipt .paper { width: 128px; background: #fff; padding: 8px 10px; font: 400 8px/12px var(--font-mono); color: #333; transform: rotate(-3deg); box-shadow: 0 2px 6px rgba(0,0,0,.12); display: grid; }
.receipt .paper .t { border-top: 1px dashed #999; margin-top: 3px; padding-top: 2px; font-weight: 500; }
.receipt .scanline { position: absolute; left: 0; right: 0; height: 2px; background: var(--proof); box-shadow: 0 0 12px var(--proof); top: 0; opacity: 0; }
.iphone.go .scanline { animation: scan 1.2s ease-in-out 2 forwards; }
@keyframes scan { 0% { top: 4%; opacity: 1; } 100% { top: 94%; opacity: 1; } }
.ptag { position: absolute; bottom: 6px; left: 6px; font: 500 11px/1 var(--font-sans); background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 8px; }
.ptag.ok { background: var(--proof); }
.pf { margin-bottom: 8px; }
.pf.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf label { display: block; font: 500 11px/14px var(--font-sans); color: var(--ink-muted); margin-bottom: 3px; }
.pin { min-height: 30px; border: 1px solid var(--ink-muted); border-radius: var(--radius-md); background: var(--paper-raised); padding: 6px 9px; font-size: 13px; line-height: 17px; transition: background .3s; }
.pin.filled { background: var(--proof-tint); border-color: var(--proof); }
.pin.amber { background: var(--amber-tint); border-color: var(--amber); color: var(--amber); }
.psend { margin-top: 10px; height: 38px; border-radius: var(--radius-md); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font: 500 13px/1 var(--font-sans); transition: background .3s; }
.psend.sent { background: var(--proof); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 25px; }
.checks i { color: var(--proof); font-size: 19px; }
.band.dark .checks i { color: #7FD1B9; }
/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); overflow: hidden; }
.calc > div { padding: 32px; }
.calc .out { background: rgba(255,255,255,.05); border-left: 1px solid rgba(255,255,255,.15); }
.calc label { color: #DDE2EA; font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 8px; }
.calc input[type=range] { width: 100%; accent-color: #7FD1B9; background: transparent; border: 0; padding: 0; margin-bottom: 24px; }
.calc .big { font: 400 56px/1 var(--font-serif); color: #fff; margin: 6px 0 4px; }
.calc .small { color: #B9C0CC; font-size: 14px; line-height: 21px; }
/* grids */
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px; }
.tile h3 { font: 500 19px/25px var(--font-serif); margin: 10px 0 6px; }
.tile p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 23px; }
.tile i.ic { font-size: 24px; color: var(--proof); }
.planned { display: inline-block; font: 500 11px/1 var(--font-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); padding: 4px 6px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { cursor: pointer; font: 500 18px/26px var(--font-serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-family: var(--font-mono); color: var(--proof); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--ink-muted); margin: 10px 0 0; font-size: 16px; line-height: 25px; max-width: 760px; }
.final { text-align: center; }
.final h2 { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .hero2 .wrap, .story, .split, .ba, .calc, .numbers, .g4, .g3, .teams, .road, .showcase { grid-template-columns: 1fr; }
  .fill-text { font-size: 28px; line-height: 36px; }
  .statement { padding: 64px 0; }
  .road { border-top: 0; border-left: 2px solid var(--ink); padding-left: 18px; gap: 20px; }
  .road > div { padding: 0; }
  .road > div::before { top: 2px; left: -26px; }
  .f1 { position: static; display: block; width: auto; margin-top: 12px; }
  .hero-foot { margin-top: 12px; }
  .iphone { transform: none; }
  .hero2 h1 { font-size: 44px; line-height: 48px; }
  .story .screen { position: relative; top: 0; height: 460px; order: -1; }
  .story .steps2 > div { min-height: auto; padding: 32px 0; opacity: 1; }
  .f2 { display: none; }
  .site-head .nav a:not(.btn), .site-head .nav a.btn.small { display: none; }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .row .num { display: none; }
  .sheet-head { flex-wrap: wrap; gap: 4px; }
  .band { padding: 72px 0; }
  .band h2 { font-size: 34px; line-height: 40px; }
  .ba .after, .calc .out { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .screen .shot, .story .steps2 > div { transition: none; }
  .reveal { opacity: 1; transform: none; }
  .fill-text { animation: none !important; color: var(--ink) !important; background: none !important; }
  .row .st span, .float { opacity: 1; transform: none; animation: none !important; }
  .iphone.go .scanline { animation: none; }
  .progress { display: none; }
}
