/* SharpQuote website. Brand tokens (--sq-*) and fonts come from /brand.css (brand/tokens/tokens.css), loaded first;
   the short names below map onto them. Self-hosted fonts only: the site's security policy loads nothing from other servers. */
:root {
  --ink: var(--sq-navy-900);
  --ink-2: var(--sq-navy-800);
  --ink-3: var(--sq-navy-700);
  --text: var(--sq-navy-900);
  --muted: var(--sq-slate-600);
  --faint: var(--sq-slate-400);
  --line: var(--sq-slate-200);
  --soft: var(--sq-slate-100);
  --bg: var(--sq-white);
  --brand: var(--sq-teal-400);
  --brand-2: var(--sq-teal-600);
  --brand-ink: var(--sq-teal-700);
  --brand-soft: var(--sq-teal-100);
  --on-brand: var(--sq-navy-900);
  --focus: var(--sq-navy-700);
  --radius: 16px;
  --btn-radius: 10px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 12px 32px -12px rgba(13, 27, 42, .18);
  --shadow-lg: 0 30px 80px -24px rgba(5, 12, 20, .55);
  --font: var(--sq-font-sans);
  --font-display: var(--sq-font-display);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Chat illustrations: our own navy and teal, never WhatsApp's green or chrome (brand rule) */
  --wa-bg: var(--sq-slate-100);
  --wa-out: var(--sq-teal-100);
  --wa-in: #ffffff;
  --wa-head: var(--sq-navy-900);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
/* navy areas: the focus ring turns teal so it stays visible */
.site-header, .site-footer, .hero, .page-hero, .tut-hero, .cta-band, .compare .after, .calc-out, .bento-hero, .side, .mob-top, .welcome, .kpi.dark, .auth { --focus: var(--sq-teal-400); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.soft { background: var(--soft); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: var(--btn-radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -12px rgba(46, 196, 182, .7); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--sq-slate-400); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 27, 42, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 32px; width: auto; }
.logo-mark { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-login { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 9px 14px; border-radius: var(--btn-radius); border: 1px solid rgba(255, 255, 255, .16); margin-left: -12px; }
.nav-login:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-login svg { width: 16px; height: 16px; }
.nav-menu { display: none; margin-left: auto; }
.nav-menu summary { list-style: none; cursor: pointer; color: #fff; padding: 8px; border-radius: 10px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 26px; height: 26px; }
.nav-menu[open] .nav-drop { display: flex; }
.nav-drop { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 4px; padding: 12px 16px 20px; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-drop a { color: #fff; text-decoration: none; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-drop .btn { margin-top: 12px; border-bottom: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 85% 10%, rgba(46, 196, 182, .22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(29, 53, 80, .9), transparent 60%), var(--ink); padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 .hl { color: var(--sq-teal-400); }
.hero .lead { color: rgba(255, 255, 255, .74); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .88); margin-bottom: 22px; }
.pill b { background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: 2px 10px; font-size: .78rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--sq-teal-400); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.float { position: absolute; z-index: 2; background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .85rem; display: flex; align-items: center; gap: 10px; }
.float b { display: block; font-size: .95rem; }
.float small { color: var(--muted); }
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.float .ic svg { width: 18px; height: 18px; }
.float-1 { left: -6%; top: 16%; }
.float-2 { right: -4%; bottom: 14%; }

/* Phone + WhatsApp chat illustration */
.phone { width: 300px; max-width: 100%; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, var(--sq-navy-700), var(--sq-navy-900)); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone-screen { border-radius: 33px; overflow: hidden; background: var(--wa-bg); display: flex; flex-direction: column; min-height: 520px; }
.phone.short .phone-screen { min-height: 0; }
.wa-top { display: flex; align-items: center; gap: 10px; padding: 26px 14px 10px; background: var(--wa-head); color: #fff; }
.wa-top .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; }
.wa-top .av img, .wa-top .av svg { width: 32px; height: 32px; }
.wa-top b { display: block; font-size: .9rem; line-height: 1.2; }
.wa-top small { font-size: .72rem; opacity: .8; }
.chat { flex: 1; padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 6px; font-size: .8rem; line-height: 1.4; color: var(--ink); background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px); background-size: 14px 14px; }
.msg { max-width: 86%; padding: 6px 9px 4px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); position: relative; }
.msg.in { background: var(--wa-in); align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: var(--wa-out); align-self: flex-end; border-top-right-radius: 2px; }
.msg .t { display: block; text-align: right; font-size: .62rem; color: var(--sq-slate-600); margin-top: 2px; }
.msg ul { margin: 2px 0; padding-left: 14px; }
.msg strong { font-weight: 700; }
.msg em { color: var(--sq-slate-600); }
.voice { display: flex; align-items: center; gap: 8px; min-width: 200px; padding: 4px 2px; }
.voice .play { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; flex: none; }
.voice .play svg { width: 12px; height: 12px; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; flex: 1; }
.wave i { width: 3px; border-radius: 2px; background: var(--sq-slate-400); }
.voice small { font-size: .68rem; color: var(--sq-slate-600); }
.wa-btns { display: grid; gap: 4px; align-self: flex-start; width: 86%; margin-top: -2px; }
.wa-btns span { background: var(--wa-in); text-align: center; padding: 7px; border-radius: 8px; color: var(--brand-ink); font-weight: 600; font-size: .78rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-btns span.tapped { background: var(--brand-soft); }
.pdf { display: flex; gap: 10px; align-items: center; background: var(--sq-slate-100); border-radius: 8px; padding: 8px; margin-bottom: 4px; }
.pdf .ico { width: 30px; height: 36px; border-radius: 4px; background: #e74c3c; color: #fff; font-size: .55rem; font-weight: 800; display: grid; place-items: center; flex: none; }
.pdf b { display: block; font-size: .78rem; }
.pdf small { color: var(--sq-slate-600); font-size: .66rem; }
.typing { align-self: flex-start; background: var(--wa-in); padding: 9px 12px; border-radius: 10px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--sq-slate-400); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.wa-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; }
.wa-input span { flex: 1; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .75rem; color: var(--sq-slate-400); }
.wa-input b { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: var(--on-brand); }
.wa-input b svg { width: 16px; height: 16px; }

/* Trades strip */
.strip { padding: 28px 0; border-bottom: 1px solid var(--line); }
.strip p { text-align: center; color: var(--faint); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--muted); }

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .card { padding: clamp(24px, 3vw, 36px); }
.compare .before { background: #fff; }
.compare .after { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; overflow: hidden; }
.compare .after::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(46, 196, 182, .3), transparent 65%); }
.compare h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; position: relative; }
.tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 800; }
.before .tag { background: var(--sq-error-soft); color: var(--sq-error); }
.after .tag { background: rgba(46, 196, 182, .18); color: var(--sq-teal-400); }
.steps-list { list-style: none; padding: 0; margin: 18px 0 0; position: relative; }
.steps-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); }
.after .steps-list li { border-top-color: rgba(255, 255, 255, .12); }
.steps-list li span:first-child { font-family: var(--mono); font-size: .8rem; color: var(--faint); width: 64px; flex: none; padding-top: 3px; }
.after .steps-list li span:first-child { color: var(--sq-teal-400); }
.total-time { margin-top: 18px; font-weight: 800; font-size: 1.1rem; position: relative; }
.before .total-time { color: var(--sq-error); }
.after .total-time { color: var(--sq-teal-400); }

/* Cards & features */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 22px 44px -18px rgba(15, 23, 42, .28); }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 18px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature code, .kbd { font-family: var(--mono); font-size: .85em; background: var(--soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--text); }

/* 3 steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px 28px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }
.step .say { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--wa-out); font-size: .9rem; color: var(--ink); font-style: italic; }

/* Showcase (document illustration) */
.hero-grid > *, .showcase > *, .tut > *, .compare > *, .calc > *, .grid-3 > *, .grid-2 > *, .steps > *, .plans > * { min-width: 0; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--brand-ink); flex: none; margin-top: 2px; }
.doc-stage { position: relative; padding: 24px; }
.doc-stage::before { content: ""; position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(135deg, var(--brand-soft), var(--soft)); }
.doc { position: relative; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 26px 24px 22px; font-size: .72rem; color: #1f2937; transform: rotate(-1.5deg); }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--doc, #1d4ed8); padding-bottom: 12px; margin-bottom: 12px; }
.doc-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; }
.doc-logo i { width: 30px; height: 30px; border-radius: 8px; background: var(--doc, #1d4ed8); color: #fff; font-style: normal; display: grid; place-items: center; font-size: .7rem; }
.doc-title { text-align: right; }
.doc-title b { display: block; font-size: 1.15rem; letter-spacing: .08em; color: var(--doc, #1d4ed8); }
.doc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; color: #4b5563; }
.doc-meta b { color: #111827; display: block; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th { text-align: left; background: #f3f4f6; padding: 6px; font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; color: #4b5563; }
.doc td { padding: 6px; border-bottom: 1px solid #eef0f3; }
.doc .r { text-align: right; white-space: nowrap; }
.doc-tot { margin-left: auto; width: 56%; margin-top: 10px; }
.doc-tot div { display: flex; justify-content: space-between; padding: 3px 6px; }
.doc-tot .grand { background: var(--doc, #1d4ed8); color: #fff; border-radius: 6px; font-weight: 800; font-size: .82rem; padding: 7px 8px; margin-top: 4px; }
.doc-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid #eef0f3; color: #6b7280; font-size: .62rem; }
.stamp { position: absolute; right: -8px; bottom: 40px; transform: rotate(8deg); background: #fff; border: 2px solid var(--brand); color: var(--brand-ink); font-weight: 800; border-radius: 12px; padding: 8px 12px; font-size: .78rem; box-shadow: var(--shadow); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden; }
.calc-in { padding: clamp(24px, 4vw, 44px); }
.calc-out { padding: clamp(24px, 4vw, 44px); background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; bottom: -140px; background: radial-gradient(circle, rgba(46, 196, 182, .35), transparent 65%); }
.field { margin-bottom: 26px; }
.field label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; gap: 12px; }
.field output { font-variant-numeric: tabular-nums; color: var(--brand-ink); background: var(--brand-soft); padding: 2px 10px; border-radius: 8px; font-weight: 700; white-space: nowrap; }
input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; }
.calc-note { color: var(--muted); font-size: .88rem; margin: 0; }
.big { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--sq-teal-400); position: relative; font-variant-numeric: tabular-nums; }
.calc-out p { position: relative; color: rgba(255, 255, 255, .78); margin: 10px 0 0; }
.calc-out .sub { font-size: .95rem; color: rgba(255, 255, 255, .6); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--brand); position: relative; }
.plan.best::before { content: "Best value"; position: absolute; top: -13px; left: 28px; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: .75rem; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.plan .per { color: var(--muted); margin-bottom: 20px; }
.plan .btn { margin-top: auto; }
.free-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); }
.free-card .price { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.free-top { margin: 0 auto 0; max-width: 1040px; }
.free-top h3 { margin: 0 0 6px; }
.free-top .price small { font-family: var(--font); font-size: 1.05rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plans-head { text-align: center; color: var(--muted); margin: 40px auto 22px; max-width: 640px; }
.plans { max-width: 1040px; margin: 0 auto; }
.tier-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.tier-list li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }
.tier-list svg { width: 20px; height: 20px; color: var(--brand-ink); flex: none; margin-top: 2px; }
.tier-note { color: var(--muted); font-size: .88rem; margin: 0; }
.plan.best { box-shadow: 0 24px 48px -28px rgba(13, 27, 42, .35); }
.included { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.included li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }
.included svg { width: 20px; height: 20px; color: var(--brand-ink); flex: none; margin-top: 2px; }

/* FAQ */
.faq-search { position: relative; margin: 0 auto 36px; max-width: 560px; }
.faq-search input { width: 100%; padding: 16px 18px 16px 50px; border-radius: 14px; border: 1px solid var(--line); font: inherit; background: #fff; box-shadow: var(--shadow); }
.faq-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--faint); }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.faq-cats a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; background: #fff; }
.faq-cats a:hover { border-color: var(--brand); color: var(--brand-ink); }
.faq-group { margin-bottom: 44px; scroll-margin-top: 90px; }
.faq-group h2 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; transition: box-shadow .15s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 20px 18px; color: var(--muted); }
.faq .a p:last-child, .faq .a ul:last-child { margin-bottom: 0; }
.faq-empty { display: none; text-align: center; color: var(--muted); }

/* Tutorial */
.tut-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.toc a span { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.tut { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.tut:last-of-type { border-bottom: 0; }
.tut.flip .tut-text { order: 2; }
.tut-num { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brand-ink); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.tut-num span { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; letter-spacing: 0; font-size: .95rem; }
.tut-text p { color: var(--muted); }
.tut-visual { display: flex; justify-content: center; }
.tip { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); font-size: .95rem; display: flex; gap: 12px; }
.tip svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.say-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.say-list li { padding: 10px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: .95rem; }
.say-list code { font-family: var(--mono); font-weight: 700; color: var(--text); }
.browser { width: 100%; max-width: 420px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f1f3f6; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d9e1; }
.browser-bar span { margin-left: 8px; flex: 1; background: #fff; border-radius: 8px; padding: 4px 10px; font-size: .72rem; color: var(--muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { padding: 22px; font-size: .85rem; }
.browser-body .q-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0; }
.browser-body .q-total b { font-size: 1.4rem; }
.fake-input { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); margin-bottom: 10px; font-size: .85rem; }
.fake-btn { background: var(--brand); color: var(--on-brand); text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; }
.cheat { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.cheat th, .cheat td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cheat tr:last-child td { border-bottom: 0; }
.cheat th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cheat td:first-child { font-family: var(--mono); font-weight: 700; white-space: nowrap; color: var(--brand-ink); }
.cheat td { font-size: .96rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px); background: radial-gradient(600px 300px at 90% 0%, rgba(46, 196, 182, .35), transparent 60%), var(--ink); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band p { color: rgba(255, 255, 255, .74); margin: 0; font-size: 1.1rem; }
.cta-band h2 { margin-bottom: 10px; }
.qr-note { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-top: 10px; text-align: center; }

/* Legal pages */
.page-hero { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 56px); background-image: radial-gradient(700px 300px at 90% 0%, rgba(46, 196, 182, .2), transparent 60%); }
.page-hero p { color: rgba(255, 255, 255, .7); margin: 0; }
.legal { padding: clamp(40px, 6vw, 72px) 0; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2em; letter-spacing: -.01em; scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.legal p, .legal li { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--soft); }
.draft { background: var(--sq-warning-soft); border: 1px solid #f1cf9c; padding: 12px 16px; border-radius: 12px; color: var(--sq-warning); margin-bottom: 28px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.legal-nav a { color: rgba(255, 255, 255, .85); text-decoration: none; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; font-size: .88rem; font-weight: 600; }
.legal-nav a[aria-current="page"] { background: #fff; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.staging-bar { background: #facc15; color: #422006; text-align: center; font-weight: 700; font-size: .85rem; padding: 6px 12px; }

/* Reveal on scroll (only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .typing i { animation: none; }
  .btn, .feature { transition: none; }
}

@media (max-width: 980px) {
  .hero-grid, .showcase, .tut, .calc, .compare { grid-template-columns: 1fr; }
  .tut.flip .tut-text { order: 0; }
  .grid-3, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { margin-top: 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links, .nav > .btn { display: none; }
  .nav { gap: 10px; }
  .nav > .nav-login { margin-left: auto; padding: 7px 12px; font-size: .88rem; }
  .nav-menu { display: block; margin-left: 0; }
  .grid-3, .grid-2, .steps, .plans, .included { grid-template-columns: 1fr; }
  .cta-band, .free-card { grid-template-columns: 1fr; }
  .float-1 { left: 0; top: 6%; }
  .float-2 { right: 0; bottom: 6%; }
  .cheat td:first-child { white-space: normal; }
  .cheat th:nth-child(3), .cheat td:nth-child(3) { display: none; }
  .doc { transform: none; padding: 20px 14px 16px; font-size: .64rem; }
  .doc .r { white-space: normal; }
  .doc-tot { width: 70%; }
  .doc-stage { padding: 12px; }
  .stamp { right: 6px; bottom: 30px; }
  .phone { width: 100%; max-width: 320px; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .float { display: none; }
  .btn { white-space: normal; }
}

/* Benefits: bento grid */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.bento > * { min-width: 0; }
.bento-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease, box-shadow .2s ease; }
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 22px 44px -18px rgba(15, 23, 42, .28); }
.bento-card h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -.025em; margin: 10px 0 2px; }
.bento-card p { color: var(--muted); margin: 0; font-size: 1rem; }
.bento-card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.bento-card .ic svg { width: 22px; height: 22px; }
.bento-hero { grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); position: relative; overflow: hidden; justify-content: flex-start; background-image: radial-gradient(420px 300px at 100% 0%, rgba(46, 196, 182, .32), transparent 65%); }
.bento-hero h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.bento-hero p { color: rgba(255, 255, 255, .72); font-size: 1.08rem; max-width: 340px; }
.bento-hero .ic { background: rgba(46, 196, 182, .18); color: var(--sq-teal-400); }
.bento-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 18px; }
.bento-wide > div { flex: 1; }
.bento-wide h3 { margin-top: 0; }
.tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bento-wide .tags { margin: 0; justify-content: flex-end; }
.tags li { font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.flow { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-chip { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 10px 14px; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.flow-chip .play { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.flow-chip .play svg { width: 11px; height: 11px; }
.flow-chip .wave i { background: rgba(255, 255, 255, .55); }
.flow-chip .wave { height: 20px; }
.flow-arrow { color: var(--sq-teal-400); }
.flow-arrow svg { width: 22px; height: 22px; }
.pdf-chip { background: #fff; color: var(--text); border-color: #fff; }
.pdf-chip .ico { width: 28px; height: 34px; border-radius: 4px; background: #e74c3c; color: #fff; font-size: .55rem; font-weight: 800; display: grid; place-items: center; }
.pdf-chip b { display: block; font-size: .85rem; }
.pdf-chip small { color: var(--muted); }
.also { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.also li { display: flex; align-items: center; gap: 8px; }
.also svg { width: 18px; height: 18px; color: var(--brand-ink); }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-hero { grid-column: span 2; grid-row: auto; }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-hero, .bento-wide { grid-column: auto; }
  .bento-wide { flex-direction: column; align-items: flex-start; }
  .bento-wide .tags { justify-content: flex-start; }
  .also { justify-content: flex-start; flex-direction: column; gap: 10px; }
}
