/* Quire website. Colours come from the Quire logo. */
:root {
  --indigo: #3b3aa9;
  --violet: #6a3ad8;
  --crimson: #c11c2d;
  --crimson-d: #8f1430;
  --silver: #b5b5b5;
  --ink: #16152e;
  --ink-2: #4a4968;
  --ink-3: #7a7994;
  --bg: #f7f7fc;
  --card: #ffffff;
  --line: #e6e5f2;
  --grad: linear-gradient(100deg, var(--indigo) 0%, var(--violet) 100%);
  --grad-hot: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-d) 100%);
  --shadow: 0 1px 2px rgba(22, 21, 46, .04), 0 8px 24px rgba(59, 58, 169, .08);
  --shadow-lg: 0 2px 4px rgba(22, 21, 46, .05), 0 24px 60px rgba(59, 58, 169, .18);
  --r: 18px;
  --head: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* Background mesh */
.bg-mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 560px; height: 560px; background: #8c7cf0; top: -180px; right: -120px; }
.b2 { width: 420px; height: 420px; background: #f08a96; top: 340px; left: -200px; animation-delay: -8s; opacity: .22; }
.b3 { width: 480px; height: 480px; background: #7fa0ff; top: 900px; right: 10%; animation-delay: -14s; opacity: .2; }
@keyframes drift { to { transform: translate(60px, 80px) scale(1.12); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px/1 var(--body); text-decoration: none; border-radius: 12px; padding: 13px 20px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 8px 22px rgba(90, 58, 200, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(90, 58, 200, .45); }
.btn-primary svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .7); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #c9c6ef; }
.btn-light { background: #fff; color: var(--indigo); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.btn-light svg { width: 20px; height: 20px; stroke-width: 2.2; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(247, 247, 252, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 36px; width: auto; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
.links a:hover { color: var(--ink); }
.links a:hover::after { transform: scaleX(1); }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--indigo); background: rgba(255, 255, 255, .8); border: 1px solid #dcd9f6; padding: 7px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 0 rgba(193, 28, 45, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(193, 28, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(193, 28, 45, 0); } }
h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 800; margin: 22px 0 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--ink-2); max-width: 540px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 24px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.chips li::before { content: "✓"; color: var(--violet); font-weight: 700; margin-right: 6px; }

/* Hero art: animated scan */
.hero-art { position: relative; display: flex; justify-content: center; }
.scanner { position: relative; width: min(420px, 90%); aspect-ratio: 3 / 3.6; }
.scanner::before { content: ""; position: absolute; inset: 8% -6% -4%; background: var(--grad); border-radius: 32px; transform: rotate(6deg); opacity: .9; box-shadow: var(--shadow-lg); }
.scanner::after { content: ""; position: absolute; inset: 14% 4% 2% -10%; background: var(--grad-hot); border-radius: 28px; transform: rotate(-8deg); opacity: .14; }
.paper { position: absolute; inset: 0 8% 6% 8%; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 28px 26px; overflow: hidden; z-index: 1; animation: settle 6s ease-in-out infinite; }
@keyframes settle { 0%, 12% { transform: rotate(-3.5deg); } 30%, 100% { transform: rotate(0); } }
.paper-head { display: flex; justify-content: space-between; margin-bottom: 22px; }
.ph-title { width: 44%; height: 14px; border-radius: 4px; background: var(--ink); opacity: .85; }
.ph-date { width: 22%; height: 10px; border-radius: 4px; background: var(--silver); margin-top: 2px; }
.lines { display: grid; gap: 11px; }
.lines i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: #e3e2ee; position: relative; overflow: hidden; }
.lines i::after { content: ""; position: absolute; inset: 0; background: #c9c7de; transform: scaleX(0); transform-origin: left; animation: read 6s ease-in-out infinite; }
.lines i:nth-child(2)::after { animation-delay: .1s; } .lines i:nth-child(3)::after { animation-delay: .2s; }
.lines i:nth-child(4)::after { animation-delay: .3s; } .lines i:nth-child(5)::after { animation-delay: .4s; }
.lines i:nth-child(6)::after { animation-delay: .5s; } .lines i:nth-child(7)::after { animation-delay: .6s; }
.lines i:nth-child(8)::after { animation-delay: .7s; } .lines i:nth-child(9)::after { animation-delay: .8s; }
.lines i:nth-child(10)::after { animation-delay: .9s; }
@keyframes read { 0%, 30% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
.lines i.hit::before { content: ""; position: absolute; inset: -4px -6px; border-radius: 5px; background: rgba(106, 58, 216, .28); outline: 2px solid var(--violet); opacity: 0; animation: hit 6s ease-in-out infinite; z-index: 2; }
@keyframes hit { 0%, 68% { opacity: 0; } 75%, 92% { opacity: 1; } 100% { opacity: 0; } }
.stamp { position: absolute; right: 26px; bottom: 34px; font: 800 20px var(--head); color: var(--crimson); border: 3px solid var(--crimson); padding: 4px 12px; border-radius: 8px; transform: rotate(-12deg); opacity: .75; letter-spacing: .1em; }
.beam { position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(180deg, rgba(106, 58, 216, 0), rgba(106, 58, 216, .22) 70%, rgba(140, 110, 255, .9) 96%, rgba(255, 255, 255, 1)); animation: sweep 6s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes sweep { 0% { top: -20%; opacity: 1; } 28% { top: 102%; opacity: 1; } 29%, 100% { top: 102%; opacity: 0; } }
.float { position: absolute; z-index: 2; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow); display: flex; gap: 6px; align-items: center; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float b { color: var(--ink); }
.float svg { width: 16px; height: 16px; color: var(--violet); }
.float em { font-style: normal; background: rgba(106, 58, 216, .16); color: var(--violet); padding: 1px 5px; border-radius: 4px; font-weight: 600; }
.f1 { top: 10%; left: -6%; } .f2 { top: 42%; right: -8%; animation-delay: -1.5s; }
.f3 { bottom: 14%; left: -10%; animation-delay: -3s; } .f4 { bottom: -2%; right: 4%; animation-delay: -2s; }
.f4 b { color: var(--crimson); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.stats > div { background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px; }
.stats b { display: block; font: 800 34px var(--head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 14px; color: var(--ink-3); }

/* Sections */
.section { padding: 100px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 12px 0 16px; }
.sec-head p { color: var(--ink-2); font-size: 17px; }
.kicker { display: inline-block; font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); }
.kicker.light { color: #ffb3bc; }

.grid { display: grid; gap: 20px; }
.feats { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.feat { transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(106, 58, 216, .09), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d6d2f5; }
.feat:hover::before { opacity: 1; }
.feat h3 { font-size: 19px; font-weight: 700; margin: 18px 0 8px; }
.feat p { color: var(--ink-2); font-size: 15px; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 8px 18px rgba(90, 58, 200, .3); transition: transform .4s; }
.feat:hover .ico { transform: rotate(-8deg) scale(1.08); }
.feat:nth-child(3n+2) .ico { background: var(--grad-hot); box-shadow: 0 8px 18px rgba(193, 28, 45, .28); }
.pro { position: absolute; top: 18px; right: 18px; font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); background: #fdecee; padding: 4px 9px; border-radius: 999px; }

/* How */
.how { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .7) 20%, rgba(255, 255, 255, .7) 80%, transparent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #cfcbf3 0 10px, transparent 10px 18px); animation: dash 1.2s linear infinite; background-size: 18px 2px; }
@keyframes dash { to { background-position: 18px 0; } }
.step { text-align: center; position: relative; }
.num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; font: 800 22px var(--head); color: #fff; background: var(--grad); box-shadow: 0 0 0 8px var(--bg), 0 10px 24px rgba(90, 58, 200, .35); position: relative; }
.step:nth-child(2) .num { background: var(--grad-hot); box-shadow: 0 0 0 8px var(--bg), 0 10px 24px rgba(193, 28, 45, .3); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-2); max-width: 320px; margin: 0 auto; }

.office { margin-top: 80px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: #fff; border-radius: 28px; padding: 48px; position: relative; overflow: hidden; }
.office::before { content: ""; position: absolute; width: 480px; height: 480px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(106, 58, 216, .55), transparent 65%); }
.office::after { content: ""; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -200px; background: radial-gradient(circle, rgba(193, 28, 45, .35), transparent 65%); }
.office > * { position: relative; z-index: 1; }
.office h3 { font-size: 30px; margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 32px; position: relative; color: #c9c8de; }
.ticks li b { color: #fff; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad) ; }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.office-art { display: flex; align-items: center; justify-content: center; gap: 18px; }
.stack { position: relative; width: 90px; height: 116px; }
.stack span { position: absolute; inset: 0; background: #fff; border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); animation: feed 3.2s ease-in infinite; }
.stack span:nth-child(1) { transform: translate(-6px, 6px) rotate(-4deg); animation-delay: 0s; }
.stack span:nth-child(2) { transform: translate(-3px, 3px) rotate(-2deg); animation-delay: .8s; }
.stack span:nth-child(3) { animation-delay: 1.6s; } .stack span:nth-child(4) { animation-delay: 2.4s; }
@keyframes feed { 0%, 60% { opacity: 1; translate: 0 0; } 90% { opacity: 0; translate: 70px 0; } 100% { opacity: 0; translate: 0 0; } }
.arrow { width: 44px; height: 2px; background: linear-gradient(90deg, transparent, #8f7cf5); position: relative; }
.arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: #8f7cf5; }
.files { display: grid; gap: 10px; }
.files span { font-size: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 8px 12px 8px 34px; border-radius: 10px; position: relative; animation: pop 3.2s ease-out infinite; }
.files span::before { content: "PDF"; position: absolute; left: 8px; top: 9px; font: 800 8px var(--body); background: var(--crimson); color: #fff; padding: 2px 3px; border-radius: 3px; }
.files span:nth-child(2) { animation-delay: .4s; } .files span:nth-child(3) { animation-delay: .8s; }
@keyframes pop { 0%, 50% { opacity: .5; transform: scale(.97); } 65%, 100% { opacity: 1; transform: none; } }

/* Pricing */
.plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
.plan { padding: 34px 30px; }
.plan h3 { font-size: 24px; }
.plan-sub { color: var(--ink-3); font-size: 14.5px; margin: 6px 0 22px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 24px; min-height: 76px; }
.amt { font: 800 44px var(--head); letter-spacing: -.03em; }
.per { color: var(--ink-3); font-size: 14px; }
.tbd { flex-basis: 100%; font-size: 12px; font-weight: 600; color: #9a6a00; background: #fff6dc; border: 1px dashed #e6c25a; border-radius: 6px; padding: 3px 8px; width: max-content; flex-grow: 0; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; font-size: 15px; color: var(--ink-2); }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: #ecebfb; }
.checks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 4px; height: 8px; border: solid var(--indigo); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks li:has(b)::before, .checks li:has(b)::after { display: none; }
.checks li:has(b) { padding-left: 0; color: var(--ink); }
.plan-pop { border: 0; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-hot); color: #fff; font: 700 12px var(--body); letter-spacing: .05em; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(193, 28, 45, .35); white-space: nowrap; }

.compare { margin: 56px auto 0; max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font: 700 14px var(--body); background: #f3f2fb; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 90px; }
.compare tr:last-child td { border-bottom: 0; }
.compare .y { color: var(--indigo); font-weight: 700; }
.compare .n { color: var(--silver); }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: #fafaff; }

/* Download */
.download { padding-top: 40px; }
.dl { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; background: var(--grad); color: #fff; border-radius: 32px; padding: 56px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.dl::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at 20% 30%, #000, transparent 70%); }
.dl::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(193, 28, 45, .6), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
.dl > * { position: relative; z-index: 1; }
.dl h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 12px 0 14px; }
.dl-copy p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 460px; }
.dl-main { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dl-meta { font-size: 14px; color: rgba(255, 255, 255, .75); }
.dl-side { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 28px; backdrop-filter: blur(6px); }
.dl-side h3 { font-size: 19px; margin-bottom: 14px; }
.dl-steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.dl-steps a, .dl-small a { color: #fff; }
.dl-small { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.dl-small code { font-size: 12px; background: rgba(0, 0, 0, .2); padding: 2px 6px; border-radius: 4px; word-break: break-all; }

.changelog { max-width: 760px; margin: 48px auto 0; }
.changelog h3 { font-size: 22px; margin-bottom: 14px; }
.changelog details { border-left: 2px solid #d8d4f5; padding: 4px 0 14px 22px; position: relative; }
.changelog details::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.changelog summary { cursor: pointer; color: var(--ink-2); list-style: none; }
.changelog summary b { color: var(--ink); margin-right: 8px; font-family: var(--head); font-size: 17px; }
.changelog details p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; box-shadow: var(--shadow); transition: border-color .2s; }
.faq details[open] { border-color: #cfcaf3; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker, .changelog summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--violet); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* Footer */
.foot { margin-top: 40px; background: #fff; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 28px; flex-wrap: wrap; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 8px; }
.foot-brand p { color: var(--ink-3); font-size: 14px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: var(--indigo); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; }
.nxprod { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.nxprod img { height: 18px; width: auto; }
.nx-badge { display: inline-grid; place-items: center; height: 24px; padding: 0 7px; border-radius: 6px; background: var(--ink); color: #fff; font: 800 13px var(--head); letter-spacing: .04em; }
.copy { color: var(--ink-3); font-size: 13.5px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.plan-pop.reveal.in { transform: translateY(-12px); }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .scanner { width: min(340px, 78%); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-pop, .plan-pop.reveal.in { transform: none; }
  .office, .dl { grid-template-columns: 1fr; padding: 36px 28px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .links { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; }
  .links.open { display: flex; }
  .links a { padding: 12px 14px; }
  .links a::after { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .office-art { display: none; }
  .f1 { left: -4%; } .f2 { right: -4%; } .f3 { left: -4%; }
  .float { font-size: 12px; padding: 7px 10px; }
  .compare th, .compare td { padding: 12px 12px; font-size: 14px; }
  .compare th:not(:first-child), .compare td:not(:first-child) { width: 56px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .stats > div { padding: 16px; }
  .stats b { font-size: 28px; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Currency switch, plan helper, final call to action */
.cur-switch { display: inline-flex; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; box-shadow: var(--shadow); }
.cur-switch button { border: 0; background: none; font: 600 14px var(--body); color: var(--ink-2); padding: 8px 16px; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s; }
.cur-switch button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.quiz { max-width: 760px; margin: 48px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.quiz h3 { font-size: 22px; }
.quiz-sub { color: var(--ink-3); font-size: 14.5px; margin: 4px 0 18px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opts label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.quiz-opts label:has(input:checked) { border-color: #b9b2f0; background: #f5f3ff; color: var(--ink); }
.quiz-opts input { accent-color: var(--violet); margin-top: 3px; }
.quiz-out { margin-top: 18px; font-weight: 600; color: var(--ink-2); min-height: 26px; }
.quiz-out a { margin-left: 6px; }
.final { text-align: center; padding: 40px 0 90px; }
.final h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 26px; }
@media (max-width: 760px) { .quiz-opts { grid-template-columns: 1fr; } .quiz { padding: 22px 18px; } }
