/* site.css: design tokens, base styles and shared components of qrcodescanner.pro.
   Owner: Task 1. Page tasks do not edit this file. Page styles go in
   home.css, generator.css or a small inline <style> block. */

@font-face{font-family:"Unbounded";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/unbounded-500.woff2?v=1") format("woff2")}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/unbounded-600.woff2?v=1") format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/hanken-grotesk-400.woff2?v=1") format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/hanken-grotesk-500.woff2?v=1") format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/hanken-grotesk-600.woff2?v=1") format("woff2")}

:root{
  --deep:#252851; --indigo:#2F3466; --slate:#575D84; --peri:#CCD1EF;
  --mist:#F2F2F7; --white:#FFFFFF; --pink:#FF1C8D; --blue:#0356FF;
  --line:rgba(204,209,239,.16); --line-light:#DDE0F2;
  --display:"Unbounded","Arial Black",sans-serif;
  --text:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
  --gutter:16px; --max:1200px; --nav-h:60px;
}
@media (min-width:992px){ :root{ --gutter:40px; --nav-h:68px; } }

/* base */
*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--nav-h) + 12px); }
body{ margin:0; background:var(--indigo); color:var(--white); font:400 17px/1.55 var(--text); -webkit-font-smoothing:antialiased; }
@media (min-width:992px){ body{ font-size:18px; } }
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; }
h1,h2,h3{ font-family:var(--display); font-weight:600; margin:0; letter-spacing:-.02em; text-wrap:balance; overflow-wrap:break-word; }
h1{ font-size:clamp(30px,7.6vw,56px); line-height:1.08; }
h2{ font-size:clamp(26px,6.2vw,44px); line-height:1.1; }
h3{ font-size:clamp(20px,4.8vw,26px); line-height:1.2; }
p{ margin:0; }
.wrap{ width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--gutter); }
:focus-visible{ outline:3px solid var(--pink); outline-offset:3px; border-radius:6px; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--white); color:var(--deep); padding:8px 12px; z-index:100; }
.skip:focus{ left:8px; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* sections */
.section{ padding:64px 0 72px; }
@media (min-width:992px){ .section{ padding:104px 0 112px; } }
.on-indigo{ background:var(--indigo); color:var(--white); }
.on-deep{ background:var(--deep); color:var(--white); }
.on-mist{ background:var(--mist); color:var(--deep); }
.on-white{ background:var(--white); color:var(--deep); }
.section-head{ max-width:720px; margin-bottom:40px; }
.lede{ margin-top:16px; max-width:52ch; color:var(--peri); }
.on-mist .lede,.on-white .lede{ color:var(--slate); }

/* header */
.site-header{ position:fixed; inset:0 0 auto 0; z-index:50; height:var(--nav-h); color:var(--white);
  background:rgba(47,52,102,.94); -webkit-backdrop-filter:saturate(1.4) blur(12px); backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid transparent; transition:border-color .3s; }
.site-header.is-scrolled,.site-header.is-open{ border-bottom-color:var(--line); }
.site-header .wrap{ display:flex; align-items:center; height:100%; gap:12px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; font:600 15px/1 var(--display); letter-spacing:-.01em; white-space:nowrap; }
.brand img{ width:30px; height:30px; border-radius:8px; }
.nav-links{ display:none; gap:28px; margin-left:auto; font-weight:500; font-size:16px; }
.nav-links a{ text-decoration:none; color:var(--peri); transition:color .2s; }
.nav-links a:hover{ color:var(--white); }
.nav-toggle{ margin-left:auto; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border:0; border-radius:10px; background:transparent; color:var(--white); cursor:pointer; }
.nav-toggle[hidden]{ display:none; }
.site-header .btn{ min-height:40px; padding:0 16px; font-size:15px; }
.nav-toggle[hidden] + .btn{ margin-left:auto; }
@media (max-width:767px){
  .site-header.is-open .nav-links{ display:flex; flex-direction:column; gap:0; position:absolute; top:var(--nav-h); left:0; right:0; margin:0;
    padding:4px var(--gutter) 12px; background:var(--indigo); border-bottom:1px solid var(--line); }
  .site-header.is-open .nav-links a{ padding:14px 0; font-size:18px; border-top:1px solid var(--line); }
}
@media (min-width:768px){
  .nav-links{ display:flex; }
  .nav-toggle{ display:none; }
  .site-header .nav-toggle + .btn{ margin-left:8px; }
}

/* buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 20px; border-radius:12px; border:0;
  font:600 16px/1 var(--text); text-decoration:none; cursor:pointer; }
.btn-light{ background:var(--white); color:var(--deep); }
.btn-light:hover{ background:var(--peri); }
.btn-dark{ background:var(--indigo); color:var(--white); }
.btn-dark:hover{ background:var(--deep); }
.btn:disabled{ opacity:.45; cursor:not-allowed; }

/* store badges and rating */
.badges{ display:flex; flex-wrap:wrap; gap:12px; }
.badges a{ display:block; border-radius:9px; transition:transform .2s; }
.badges a:hover{ transform:translateY(-2px); }
.badges img{ height:48px; width:auto; }
.rating{ display:flex; align-items:center; gap:10px; font-size:15px; color:var(--peri); }
.stars{ display:flex; gap:2px; }
.stars svg{ width:14px; height:14px; fill:var(--white); }
.stars svg.is-dim{ fill:var(--slate); }
.on-mist .rating,.on-white .rating{ color:var(--slate); }
.on-mist .stars svg,.on-white .stars svg{ fill:var(--deep); }
.on-mist .stars svg.is-dim,.on-white .stars svg.is-dim{ fill:var(--line-light); }

/* inner page hero and breadcrumbs */
.page-hero{ background:var(--indigo); color:var(--white); padding:calc(var(--nav-h) + 24px) 0 56px; }
.page-hero h1{ margin-top:20px; max-width:20ch; }
.page-hero .lede{ font-size:clamp(17px,2.2vw,20px); }
.page-hero .badges,.page-hero .rating{ margin-top:22px; }
@media (min-width:992px){ .page-hero{ padding:calc(var(--nav-h) + 40px) 0 88px; } }
.crumbs ol{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px 10px; font-size:14px; color:var(--peri); }
.crumbs li{ display:flex; align-items:center; gap:10px; }
.crumbs li + li::before{ content:""; width:6px; height:6px; background:var(--peri); opacity:.6; }
.crumbs a{ color:var(--peri); text-decoration:none; }
.crumbs a:hover{ color:var(--white); text-decoration:underline; }
.crumbs [aria-current="page"]{ color:var(--white); }

/* article text */
.prose{ --bullet:var(--deep); max-width:68ch; }
.on-indigo .prose{ --bullet:var(--peri); }
.prose > * + *{ margin-top:16px; }
.prose h2{ font-size:clamp(22px,5.4vw,32px); line-height:1.15; margin-top:56px; }
.prose h3{ font-size:clamp(19px,4.4vw,22px); line-height:1.25; margin-top:32px; }
.prose > h2:first-child,.prose > h3:first-child{ margin-top:0; }
.prose a{ color:var(--blue); text-underline-offset:3px; }
.on-indigo .prose a{ color:var(--white); }
.prose ul{ list-style:none; padding:0; }
.prose ul > li{ position:relative; padding-left:28px; }
.prose ul > li + li{ margin-top:10px; }
.prose ol:not(.steps){ padding-left:22px; }
.prose table{ width:100%; border-collapse:collapse; font-size:16px; }
.prose th,.prose td{ text-align:left; vertical-align:top; padding:12px; border-bottom:1px solid var(--line-light); }
.prose th{ font-weight:600; }
.table-wrap{ overflow-x:auto; }
.answer{ padding:20px 22px; border-radius:16px; background:var(--mist); font-size:clamp(18px,2.2vw,20px); line-height:1.5; }
.on-mist .answer{ background:var(--white); }

/* finder-pattern bullets */
.ticks{ --bullet:var(--peri); list-style:none; margin:20px 0 0; padding:0; display:grid; gap:12px; max-width:42ch; }
.on-mist .ticks,.on-white .ticks{ --bullet:var(--deep); }
.ticks li{ position:relative; padding-left:28px; font-size:16px; line-height:1.45; }
.prose ul > li::before,.ticks li::before{ content:""; position:absolute; left:0; top:.36em; width:13px; height:13px;
  border:2px solid var(--bullet); background:radial-gradient(var(--bullet) 0 0) center/5px 5px no-repeat; }

/* numbered steps with square counters */
.steps{ list-style:none; margin:24px 0 0; padding:0; counter-reset:step; display:grid; gap:14px; }
.steps li{ counter-increment:step; position:relative; padding:18px 18px 18px 64px; background:var(--mist); border:1px solid var(--line-light); border-radius:16px; }
.on-mist .steps li{ background:var(--white); }
.steps li::before{ content:counter(step); position:absolute; left:18px; top:16px; width:30px; height:30px; display:grid; place-items:center;
  background:var(--indigo); color:var(--white); font:600 14px/1 var(--display); }
.steps b{ font-weight:600; }

/* signal notes and callouts */
.note{ display:inline-flex; align-items:center; gap:10px; margin-top:22px; font-size:15px; color:var(--peri); }
.on-mist .note,.on-white .note{ color:var(--slate); }
.note i{ width:10px; height:10px; display:block; background:var(--pink); flex:none; }
.note-blue i{ background:var(--blue); }
.callout{ border-left:6px solid var(--pink); background:var(--mist); padding:18px 20px; border-radius:0 14px 14px 0; }
.callout-blue{ border-left-color:var(--blue); }
.on-mist .callout{ background:var(--white); }

/* cards */
.cards{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:640px){ .cards{ grid-template-columns:1fr 1fr; } }
@media (min-width:992px){ .cards{ grid-template-columns:repeat(3,1fr); } }
.card{ display:block; padding:24px; border-radius:20px; background:var(--white); border:1px solid var(--line-light); color:var(--deep); text-decoration:none; transition:transform .2s, box-shadow .2s; }
.card:hover{ transform:translateY(-2px); box-shadow:0 20px 40px -28px rgba(37,40,81,.5); }
.card::before{ content:""; display:block; width:14px; height:14px; background:var(--indigo); margin-bottom:18px; }
.card h3{ font-size:19px; line-height:1.25; }
.card p{ margin-top:10px; color:var(--slate); font-size:16px; }
.card .more{ display:inline-block; margin-top:16px; font-weight:600; color:var(--blue); }

/* article with a sticky side column */
.split{ display:grid; gap:40px; align-items:start; }
@media (min-width:992px){
  .split{ grid-template-columns:minmax(0,1fr) 320px; gap:80px; }
  .split-aside{ position:sticky; top:calc(var(--nav-h) + 32px); }
}
.phone-figure{ margin:0; }

/* phone frame (from the concept, lines 135-151) */
.phone{ --w:260px; position:relative; width:var(--w); max-width:100%; aspect-ratio:1320/2868; margin:0 auto;
  border-radius:calc(var(--w) * .16); padding:calc(var(--w) * .035); background:#1C1F45;
  box-shadow:0 0 0 1px rgba(204,209,239,.22) inset, 0 40px 80px -30px rgba(10,12,40,.7), 0 0 0 1.5px #3A3F78; }
.phone::after{ content:""; position:absolute; left:50%; top:calc(var(--w) * .058); transform:translateX(-50%);
  width:28%; height:calc(var(--w) * .075); border-radius:99px; background:#05061a; z-index:5; }
.screen{ position:relative; width:100%; height:100%; overflow:hidden; border-radius:calc(var(--w) * .125); background:var(--mist); container-type:inline-size; }
.screen img{ width:100%; height:100%; object-fit:cover; }
.phone-cap{ margin-top:14px; text-align:center; font-size:14px; color:var(--slate); }
.on-indigo .phone-cap{ color:var(--peri); }
@media (min-width:992px){ .phone{ --w:300px; } }

/* in-screen danger overlay (from the concept, lines 235-242) */
.warn{ position:absolute; left:4cqw; right:4cqw; bottom:4cqw; padding:6cqw; border-radius:6cqw; background:#fff; color:var(--deep);
  box-shadow:0 2cqw 10cqw rgba(37,40,81,.35); border-top:1.6cqw solid var(--pink); }
.warn b{ display:flex; align-items:center; gap:2.4cqw; font:600 5.4cqw/1.1 var(--text); }
.warn b svg{ width:6cqw; height:6cqw; flex:none; }
.warn span{ display:block; margin-top:2.4cqw; font:400 3.8cqw/1.35 var(--text); color:var(--slate); }
.warn em{ display:flex; margin-top:4cqw; height:10.5cqw; border-radius:3cqw; background:var(--deep); color:#fff; font:600 3.8cqw/1 var(--text); font-style:normal; align-items:center; justify-content:center; }

/* static QR card */
.qr-card{ margin:0; background:var(--white); color:var(--deep); border-radius:24px; padding:22px 22px 18px; width:268px; max-width:100%; }
.qr-card svg{ display:block; width:100%; height:auto; }
.qr-card p,.qr-card figcaption{ margin-top:12px; font-size:14px; line-height:1.4; color:var(--slate); text-align:center; }

/* FAQ (square markers) */
.faq-list{ border-top:1px solid var(--line-light); }
.faq-list details{ border-bottom:1px solid var(--line-light); }
.faq-list summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:22px 0; font-weight:600; font-size:18px; line-height:1.35; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:""; width:12px; height:12px; flex:none; border:2px solid currentColor; transition:background .2s, border-color .2s; }
.faq-list details[open] summary::after{ background:var(--pink); border-color:var(--pink); }
.faq-a{ padding:0 0 24px; color:var(--slate); max-width:62ch; }
.faq-a > * + *{ margin-top:12px; }
.faq-a a{ color:var(--blue); }
.on-indigo .faq-list,.on-indigo .faq-list details{ border-color:var(--line); }
.on-indigo .faq-a{ color:var(--peri); }
.on-indigo .faq-a a{ color:var(--white); }
@media (min-width:992px){ .faq-list summary{ font-size:20px; } }

/* final call to action */
.cta-band{ background:var(--indigo); color:var(--white); padding:64px 0 72px; }
.cta-band h2{ font-size:clamp(28px,7vw,52px); line-height:1.06; max-width:16ch; }
.cta-band p{ margin-top:14px; color:var(--peri); max-width:44ch; }
.cta-band .badges{ margin-top:26px; }
@media (min-width:992px){ .cta-band{ padding:104px 0 112px; } }

/* module-grid dither divider (site.js draws the squares) */
.dither{ display:block; height:70px; overflow:hidden; line-height:0; }
.dither svg{ display:block; width:100%; height:100%; }
@media (min-width:640px){ .dither{ height:112px; } }

/* desktop download popover (site.js builds it) */
.dl-pop{ position:fixed; z-index:60; top:calc(var(--nav-h) + 10px); right:var(--gutter); width:300px; max-width:calc(100vw - 2 * var(--gutter));
  padding:22px; border-radius:22px; background:var(--white); color:var(--deep); outline:none;
  box-shadow:0 30px 60px -20px rgba(10,12,40,.55), 0 0 0 1px var(--line-light); }
.dl-pop[hidden]{ display:none; }
.dl-pop-title{ font:600 17px/1.2 var(--display); padding-right:40px; }
.dl-pop-qr{ margin-top:16px; padding:24px; background:#fff; border:1px solid var(--line-light); border-radius:14px; display:flex; justify-content:center; min-height:250px; }
.dl-pop-qr img{ width:200px; height:200px; }
.dl-pop-cap{ margin-top:12px; font-size:14px; line-height:1.4; color:var(--slate); text-align:center; }
.dl-pop .badges{ margin-top:16px; justify-content:center; }
.dl-pop .badges img{ height:40px; }
.dl-pop-close{ position:absolute; top:12px; right:12px; width:36px; height:36px; border:0; border-radius:10px; background:var(--mist); color:var(--deep); cursor:pointer; display:grid; place-items:center; }

/* footer */
.site-footer{ background:var(--deep); color:var(--peri); padding:48px 0 calc(40px + env(safe-area-inset-bottom)); font-size:15px; }
.foot{ display:grid; gap:36px; }
.foot-brand .brand{ color:var(--white); }
.foot-brand p{ margin-top:12px; max-width:34ch; }
.foot-brand .badges{ margin-top:20px; }
.foot-nav{ display:grid; grid-template-columns:1fr 1fr; gap:28px 24px; }
.foot-h{ font:600 13px/1 var(--display); letter-spacing:.04em; text-transform:uppercase; color:var(--white); margin-bottom:14px; }
.foot-nav ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.foot a{ text-decoration:none; color:var(--peri); overflow-wrap:anywhere; }
.foot a:hover{ color:var(--white); text-decoration:underline; }
.foot-brand a.brand{ color:var(--white); }
.legal{ font-size:13px; line-height:1.5; border-top:1px solid var(--line); padding-top:20px; }
@media (min-width:768px){ .foot-nav{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:992px){ .foot{ grid-template-columns:1fr 2fr; gap:56px; } .legal{ grid-column:1 / -1; } }

/* reveal on scroll */
.js [data-reveal]{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-in{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .js [data-reveal]{ opacity:1; transform:none; }
}
