/* Home page only (index.html), loaded after style.css and hero-chat.css, so nothing here can reach another page.
   Rules that belong to the shared frame (header, closing band, footer, phone frame, the motion switch) are in
   style.css instead. */

/* ---------- 1. type scale: 12, 14, 16, 18, 21, 28, 36, 60, and one display size for big numbers.
   The h1, the section headings and the display size move between two steps with the viewport; all else is fixed. ---------- */
:root{--display:clamp(44px,6vw,72px)}
body{font-size:16px}
.qtab{font-size:12px}
.sec-head h2,.proof .sec-head h2,.band h2{font-size:clamp(28px,3.4vw,36px)}
.lede{font-size:21px}
.fine{font-size:14px}
.pill{font-size:12px}
.hero h1{font-size:clamp(36px,4.7vw,60px)}
.hero .sub{font-size:21px}
.proofs li{font-size:14px}
.price-line,.band .price-line{font-size:16px}
.platform{font-size:14px}
.hero-chat-caption{font-size:14px!important;margin-top:12px}
.bignum{font-size:var(--display)}
.bignum small{font-size:36px}
.bignum-u{font-size:18px}
.stage h3{font-size:21px}
.stage h3::before{font-size:14px}
.ways span,.ways i{font-size:12px}
.stage .more{font-size:16px}
.stage-tabs button{font-size:16px}
.walk-nav button{font-size:16px}
.walk-status{font-size:14px}
.tier-price .amt{font-size:60px}
.tier-desc{font-size:16px}
.lane-h h3{font-size:28px}
.lane-sub{font-size:16px}
.kinds li,.kinds-tile{font-size:14px}
.kinds-cap{font-size:14px}
.rows3 li{font-size:16px}
.rows3 span{font-size:14px}
.lane-foot,.never{font-size:18px}
.net li{font-size:16px}
.sc-tag{font-size:14px}
.sc-copy h3{font-size:clamp(28px,3.3vw,36px)}
.sc-line{font-size:18px}
.sc-screen{font-size:16px}
.sc-meta,.sc-credit{font-size:12px}
.sc-src li{font-size:14px}
.faq .q,.faq .a{font-size:16px}
.faq .v{font-size:21px}
.faq .v.big{font-size:60px}

/* ---------- 2. section rhythm: 72px, and 48px with no rule inside the two pairs (03 + 04, 05 + 06) ---------- */
main>section{padding:72px 0}
.hero{padding:40px 0 64px}
.proof{padding:64px 0}
.closing{padding:64px 0 84px}
#use,#pricing{padding-bottom:24px;border-bottom:0}
#walkthrough,#private{padding-top:24px}
.sec-note{margin-top:26px;font-size:14px;line-height:1.5;color:var(--ink-2);text-align:center}

/* ---------- 3. green is for things you can press. Information sits on the neutral surface with a green icon. ---------- */
.qtab b{background:transparent;color:var(--accent);box-shadow:inset 0 0 0 1.5px var(--accent)}
.band .qtab b{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px #fff}
.hero .proofs li,.ways span,.sc-tag,#proof .pill:not(.lap){background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
.hero .proofs .ico,.ways .ico,.sc-tag .ico,#proof .pill .ico{color:var(--accent)}
.stage h3::before{background:transparent;color:var(--accent);box-shadow:inset 0 0 0 1.5px var(--accent)}
.ptile.edge,.lane-a{background:var(--surface);color:var(--ink);border:1.5px solid var(--accent)}
.lane-a .lane-sub,.kinds-cap,.rows3 span{color:var(--ink-2)}
.lane-a .ib{background:var(--surface-2);color:var(--accent)}
.kinds li,.kinds-tile{background:var(--surface-2);color:var(--ink)}
.kinds .ico,.kinds-tile .ico,.rows3 .ico,.lane-foot .ico,.never .ico{color:var(--accent)}
.rows3{border-top-color:var(--line-2)}
.lane-foot,.never{background:var(--surface-2);color:var(--ink)}
.p-lib .lib-rows{border-top-color:var(--line-2)}
.p-lib .lib-rows li{border-bottom-color:var(--line-2);color:var(--ink-2);font-size:14px}
.p-lib .lib-rows b{color:var(--ink);font-size:21px}
.faq .v.big{color:var(--ink)}
.faq .v.good{color:var(--accent)}   /* green only where the short answer is the good news */

/* ---------- 4. one pause control for every moving block: the round icon button, top right ---------- */
.pause-btn .i-play,.pause-btn[aria-pressed="true"] .i-pause{display:none}
.pause-btn[aria-pressed="true"] .i-play{display:block}
.pause-btn .ico{width:18px;height:18px}


/* ---------- 6. hero ---------- */
.hero-grid{gap:48px;align-items:start}   /* the copy starts at the top instead of floating in the middle */
.hero .hero-copy{padding-top:12px}
.hero .qtab{margin-bottom:16px}
.hero .sub{margin-top:20px}
/* three badges stay on one row: when the column is too narrow for the longer wording, it wraps inside a badge */
.hero .proofs{gap:6px}
.hero .proofs li{flex:0 1 auto;min-width:0;padding:6px 12px 6px 10px;white-space:normal;line-height:1.2;border-radius:14px}
.cta-row{margin-top:26px;gap:14px 16px}
.btn.cta{min-height:52px;padding:10px 26px;border-radius:14px;font-size:18px;font-weight:740;box-shadow:0 10px 28px var(--glow)}
.hero .price-line{margin-top:18px}
.price-line a{font-weight:680;white-space:nowrap}
.trust{display:flex;align-items:flex-start;gap:10px;margin-top:12px;font-size:16px;font-weight:650;line-height:1.4;color:var(--ink)}
.trust .ico{width:18px;height:18px;margin-top:2px;color:var(--accent)}
.hero .platform{margin-top:10px;padding-top:0;border-top:0}   /* no divider, so it reads as part of the action */
.hero-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px;margin-bottom:14px}
.hero-bar[hidden]{display:none}
.hero-tabs{display:flex;gap:2px;padding:3px;border-radius:99px;background:var(--surface);border:1px solid var(--line-2)}
.hero-tabs button{min-height:44px;padding:0 13px;border:0;border-radius:99px;background:transparent;color:var(--ink-2);font:inherit;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}
.hero-tabs button:hover{color:var(--ink)}
.hero-tabs button[aria-pressed="true"]{background:var(--surface-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
@media (min-width:881px) and (max-height:860px){   /* on a laptop the whole phone and its controls sit above the fold */
  .hero .hero-chat .device{max-width:262px}
}
@media (min-width:700px) and (max-width:880px){   /* tablets keep two columns instead of a phone alone in a wide row */
  .hero-grid{grid-template-columns:minmax(0,56fr) minmax(0,44fr);gap:24px}
  .hero .hero-chat .device{max-width:240px}
  .hero-bar{gap:8px 6px}
  .hero-tabs button{padding:0 10px}
}
@media (max-width:1199px){
  .hero .sub{font-size:18px}
  .bignum small{font-size:28px}
}

/* ---------- 7. proof strip ---------- */
a.own{background:var(--surface);color:var(--ink);border:1px solid var(--line-2);font-size:16px;text-decoration:none;min-height:48px}
a.own:hover{border-color:var(--accent)}
.own .ico{color:var(--accent)}
.own .go{width:18px;height:18px;margin-left:4px}
.proof-note{margin-top:16px;font-size:16px;line-height:1.5;color:var(--ink-2)}
.ptile.edge .fine{margin-top:0}
.half .fine{margin-top:0}   /* both results read downwards from the number, so their small print starts level */

/* ---------- 8. import / ask / check ---------- */
#use .sec-head{margin-bottom:6px}
.stage{margin-top:26px}
.stage .device{transition:transform .35s ease,box-shadow .35s ease,opacity .45s ease}
/* the phones take turns; the two that wait are dimmed so the eye follows the one that moves */
.stage.is-seq>li:not(.is-playing) .device{opacity:.6}
.stage.is-seq>li:hover .device{opacity:1}
.imp-before{position:absolute!important;inset:0;width:540px!important;height:1143px!important;max-width:none!important;opacity:0}
.imp-tap{left:270px;top:381px}   /* the Import button in private-import-ready.png */
/* the explanation is always there; pointing at a phone lifts it (style.css) and brightens its words */
.stage .more{opacity:1!important;transform:none!important;transition:color .3s ease}
@media (hover:hover) and (min-width:761px){
  .stage li:hover .more{color:var(--ink)}
}

/* ---------- 9. six steps: why every answer can be checked ---------- */
.walk-panel{position:relative;padding:36px 40px}
.walk-vis{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;min-width:0}
.walk-vis .device{width:100%;max-width:230px}
/* a close-up: --cw and --ch are the width and height of the part shown, --cy how far down the picture it starts */
.walk-crop{position:relative;width:100%;overflow:hidden;aspect-ratio:var(--cw)/var(--ch);border-radius:18px;border:1px solid #3a3a3a;background:#111;box-shadow:var(--shadow)}
.walk-crop>img,.walk-crop>.walk-shot{display:block;width:100%;height:auto;margin-top:calc(var(--cy) / var(--cw) * -100%)}
.walk-crop .walk-shot img{display:block;width:100%;height:auto}
.walk-vis>.walk-crop,.crop-fig{max-width:380px}   /* wider than this and a close-up outgrows the room a phone takes */
.crop-fig{display:flex;flex-direction:column;gap:8px;width:100%;margin:0}
.crop-fig figcaption{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-2)}
.crop-mark{position:absolute;border:2px solid #b7e4c7;border-radius:10px;box-shadow:0 0 18px #74c69d55;pointer-events:none}
#walkthrough .walk-step .walk-text::before,#walkthrough .walk.on .walk-step .walk-text::before{background:var(--surface-2);color:var(--ink-2)}
#walkthrough .walk.on .walk-step h3{font-size:28px}
#walkthrough .walk.on .walk-step p{font-size:18px}
/* the panel never changes size as it plays. The picture cell has one height for all six steps (a phone's), and
   the six texts share one cell: the five that are not showing still take up their room, so the cell is always as
   tall as the longest of them at any width. walkthrough.js sets [hidden] on those steps; display:contents overrides it,
   and visibility:hidden keeps them away from the eye, the keyboard and screen readers. */
#walkthrough .walk.on{--vis-h:580px;grid-template-columns:220px minmax(0,380px) minmax(0,1fr);grid-template-rows:auto;column-gap:44px;row-gap:0;align-items:center}
#walkthrough .walk.on .walk-nav{grid-column:1;grid-row:1}
#walkthrough .walk.on .walk-step{display:contents}
#walkthrough .walk.on .walk-step:not(.is-active) .walk-vis{display:none}
#walkthrough .walk.on .walk-step:not(.is-active) .walk-text{visibility:hidden}
#walkthrough .walk.on .walk-step.is-active .walk-vis{grid-column:2;grid-row:1;height:var(--vis-h);justify-content:center}
#walkthrough .walk.on .walk-step .walk-text{grid-column:3;grid-row:1;align-self:center;min-height:0}
#walkthrough .walk.on .walk-vis .device{max-width:270px}
#walkthrough .walk-controls{position:absolute;top:14px;right:14px;margin:0;flex-direction:row-reverse}
@media (max-width:980px){
  #walkthrough .walk.on{grid-template-columns:200px minmax(0,1fr);grid-template-rows:auto auto;column-gap:32px;row-gap:22px}
  #walkthrough .walk.on .walk-step .walk-text{grid-column:1 / -1;grid-row:1;align-self:start;padding-right:56px}
  #walkthrough .walk.on .walk-nav{grid-column:1;grid-row:2}
  #walkthrough .walk.on .walk-step.is-active .walk-vis{grid-column:2;grid-row:2}
}
@media (max-width:760px){
  .walk-panel{padding:24px 18px}
  #walkthrough .walk.on{--vis-h:496px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:16px}
  #walkthrough .walk.on .walk-step .walk-text{padding-right:0}
  #walkthrough .walk.on .walk-step p{font-size:16px}
  #walkthrough .walk.on .walk-nav{grid-column:1;grid-row:2}
  #walkthrough .walk.on .walk-step.is-active .walk-vis{grid-column:1;grid-row:3}
  #walkthrough .walk.on .walk-vis .device{max-width:230px}
  #walkthrough .walk-controls{top:10px;right:10px}
}

/* ---------- 10. pricing ---------- */
.incl{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin-bottom:22px;font-size:16px;font-weight:650;color:var(--ink)}
.incl li{display:inline-flex;align-items:center;gap:8px}
.incl .ico{width:18px;height:18px;color:var(--accent)}
.tier-desc{margin:6px 0 0}
.price-cta{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:22px}
.price-cta .btn{min-height:52px;padding:10px 26px;border-radius:14px;font-size:18px}
.price-cta p{flex:1 1 300px;font-size:16px;color:var(--ink-2)}
.price-foot{align-items:flex-start;margin-top:22px;padding-top:22px;border-top:1px solid var(--line-2)}
.price-foot p{flex:1 1 100%;font-size:16px}
.price-foot .price-usd{flex:1 1 300px}
@media (max-width:880px){
  .tier-flag{position:static;align-self:flex-start;justify-self:start;margin-bottom:4px}
}
@media (min-width:641px) and (max-width:880px){   /* tablet rows: price on the left, what it means beside it */
  .tier{grid-template-columns:minmax(0,280px) minmax(0,1fr);align-items:center;row-gap:4px}
  .tier-flag{grid-column:1 / -1}
  .tier .tier-name,.tier .tier-price{grid-column:1}
  .tier .tier-desc{grid-column:2;grid-row:2 / span 2;margin:0}
  .tier:not(.feat) .tier-desc{grid-row:1 / span 2}
}

/* ---------- 11. scenarios carousel ---------- */
.car-fine{font-size:14px}
/* the answer card is a web drawing, not a screenshot, so it follows the page theme */
:root[data-theme="light"] .sc-screen{background:#F5F5F5;border-color:#D0D0D0;color:#1A1A1A}
:root[data-theme="light"] .sc-q{background:#2D6A4F;color:#fff}
:root[data-theme="light"] .sc-a{background:#fff}
:root[data-theme="light"] .sc-meta,:root[data-theme="light"] .sc-src-h{color:#2D6A4F}
:root[data-theme="light"] .sc-sourced{background:#DDEFE4}
:root[data-theme="light"] .sc-credit{color:#5C5C5C}
:root[data-theme="light"] .sc-warn{background:#FFF1C9;color:#1A1A1A}
:root[data-theme="light"] .sc-warn .ico,:root[data-theme="light"] .sc-warn b{color:#6B4B00}
:root[data-theme="light"] .sc-src li{border-color:#8A8A8A;color:#1A1A1A}
@media (max-width:760px){   /* on a phone the dots and arrows sit above the slide, in reach while you read */
  .carousel{display:flex;flex-direction:column}
  .car-ctl{order:-1;margin:0 0 12px}
}

/* ---------- 12. small screens ---------- */
@media (max-width:880px){
  .hero h1{font-size:36px}
  .hero .proofs{gap:6px}
  .hero .proofs li{flex:1 1 0;min-width:0;min-height:44px;padding:6px;border-radius:12px;white-space:normal;text-align:center;line-height:1.2;font-size:12px}
  .hero .proofs .ico{display:none}
  main>section{padding:60px 0}
  .hero{padding:32px 0 56px}
  .proof,.closing{padding:56px 0}
  .closing{padding-bottom:72px}
}
@media (max-width:699px){
  .hero-grid{gap:36px}
}
@media (max-width:560px){
  main>section{padding:52px 0}
  .hero{padding:24px 0 48px}
  .proof{padding:48px 0}
  .closing{padding:48px 0 64px}
  .lede{font-size:18px}
  .bignum small{font-size:21px}
  .lane-h h3{font-size:21px}
  .faq .v.big{font-size:36px}
  /* price, trust and platform follow the button; the phone comes after them */
  .hero .hero-grid{gap:32px}
  .hero .hero-copy{display:block;padding-top:0}
  .hero .hero-visual{order:0;margin-top:0}
  .hero .price-line{order:0;margin-top:16px}
  .hero .platform{order:0}
  .hero .badges{margin-top:22px}
  .btn.cta{width:100%}
  .hero .hero-chat .device{max-width:230px}
  /* the two test results sit side by side */
  .duo{grid-template-columns:repeat(2,minmax(0,1fr))}
  .half{padding:0 12px 0 0;gap:10px}
  .half+.half{padding:0 0 0 12px;border-top:0;border-left:1px solid var(--line-2)}
  .ptile-h{min-height:104px}
  .ptile-h.row{min-height:0}
  .ptile-k{font-size:12px;letter-spacing:.05em}
  #proof .pill{white-space:normal;border-radius:10px}
  .bignum-u{font-size:16px}
  .own .go{display:none}
  /* fewer words on a slide */
  .sc-line{display:none}
  .car-prev,.car-next{display:none}   /* dots and a swipe do this on a phone, and the row then fits beside the pause button */
  .lane-h{flex-wrap:nowrap}
  .lane-h>div{flex:1 1 0}
  .sc{padding:18px 16px;gap:12px}
  .sc-screen,.sc-a{gap:10px}
  .sc-a{padding:14px}
  .sc-copy h3{margin-top:12px}
}
