/* chat.shivan.top landing — mobile-first */

/* ============ Base (mobile-first defaults) ============ */
.promo { background: var(--bg); color: var(--ink); font-family: var(--font-text); position: relative; overflow: hidden; }
.promo-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(to right, oklch(0.88 0.008 70 / 0.5) 1px, transparent 1px), linear-gradient(to bottom, oklch(0.88 0.008 70 / 0.5) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 70%); pointer-events: none; }
.shell { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top nav */
.promo-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-radius: 999px; background: oklch(0.99 0.003 80 / 0.82); backdrop-filter: blur(18px); border: 1px solid var(--line); margin: 16px 20px 0; max-width: 1120px; position: relative; z-index: 5; }
.promo-nav .brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; min-height: 44px; }
.promo-nav .logo-mark { display: inline-block; width: 22px; height: 22px; border-radius: 7px; background: var(--ink); position: relative; flex-shrink: 0; }
.promo-nav .logo-mark::after { content: ""; position: absolute; left: 5px; top: 5px; right: 5px; bottom: 5px; border-radius: 4px; background: var(--accent); }
.promo-nav .logo-mark.sm { width: 18px; height: 18px; border-radius: 6px; }
.promo-nav .logo-mark.sm::after { left: 4px; top: 4px; right: 4px; bottom: 4px; }
.promo-nav-links { display: none; gap: 4px; }
.promo-nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.promo-nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.promo-nav-actions { display: flex; gap: 8px; align-items: center; }

/* Hero — mobile baseline */
.hero { padding: 36px 20px 32px; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; max-width: 1200px; margin: 0 auto; }
.hero h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; font-size: 40px; margin: 16px 0 0; }
.hero h1 .accent-word { position: relative; display: inline-block; }
.hero h1 .accent-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.18em; background: var(--accent); opacity: 0.32; }
.hero p.lead { max-width: 56ch; margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.cta-row { display: flex; gap: 10px; margin-top: 24px; align-items: stretch; flex-wrap: wrap; }
.cta-row > .btn { min-height: 48px; }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.meta-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); min-height: 36px; }
.meta-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px oklch(0.74 0.17 60 / 0.25); }

.hero-stage { position: relative; aspect-ratio: 4/5; max-width: 480px; margin: 0 auto; width: 100%; }
.browser-frame { position: absolute; inset: 0; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -28px oklch(0.2 0.01 60 / 0.4); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.browser-bar span.tl { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-url { margin-left: 10px; padding: 5px 12px; border-radius: 999px; background: white; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--muted); flex: 1; max-width: 280px; }
.browser-body { padding: 18px; }
.browser-body .blk { height: 12px; border-radius: 4px; background: oklch(0.94 0.008 70); margin-bottom: 10px; }
.browser-body .blk.s { width: 35%; }
.browser-body .blk.m { width: 70%; }
.browser-body .blk.big { height: 80px; margin: 14px 0; }

/* Widget mock (in hero) */
.w-widget { position: absolute; bottom: 16px; right: 16px; width: 280px; max-width: calc(100% - 32px); background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -24px oklch(0.2 0.01 60 / 0.45); display: flex; flex-direction: column; max-height: 460px; }
.w-head { padding: 12px 14px; background: var(--ink); color: var(--bg); display: flex; align-items: center; gap: 10px; }
.w-head .ava { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: white; font-family: var(--font-display); font-weight: 700; font-size: 12px; position: relative; flex-shrink: 0; }
.w-head .ava::after { content: ""; position: absolute; bottom: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: oklch(0.7 0.14 145); border: 2px solid var(--ink); }
.w-head .who { font-family: var(--font-display); font-weight: 600; font-size: 13px; line-height: 1.1; }
.w-head .status { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.w-head .close { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: oklch(0.28 0.012 60); display: grid; place-items: center; color: oklch(0.85 0.01 60); }
.w-tabs { display: flex; padding: 0 10px; gap: 12px; border-bottom: 1px solid oklch(0.28 0.012 60); background: var(--ink); color: oklch(0.7 0.01 60); }
.w-tabs button { padding: 10px 4px; font: inherit; font-size: 12px; font-family: var(--font-display); font-weight: 500; background: transparent; color: inherit; border: 0; border-bottom: 2px solid transparent; cursor: pointer; min-height: 44px; }
.w-tabs button.active { color: var(--bg); border-bottom-color: var(--accent); }
.w-body { padding: 14px; background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; flex: 1; overflow: auto; }
.bbl { padding: 9px 12px; border-radius: 13px; font-size: 13px; max-width: 86%; line-height: 1.4; }
.bbl.in { background: white; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bbl.out { background: var(--ink); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 4px; }

.quick-row { display: flex; flex-wrap: wrap; gap: 6px; }
.qr-btn { padding: 10px 14px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: 13px; cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; font-family: inherit; color: var(--ink); min-height: 44px; }
.qr-btn:hover, .qr-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.qr-btn.accent { background: var(--accent); color: white; border-color: var(--accent); }
.qr-btn:focus-visible { outline: 3px solid oklch(0.74 0.17 60 / 0.35); outline-offset: 3px; }

.w-channels { padding: 10px 14px; background: white; display: flex; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); flex-wrap: wrap; }
.w-channels .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.w-channels .ico-row { display: flex; gap: 6px; }
.w-channels .ch { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); transition: transform 0.15s ease; cursor: pointer; }
.w-channels .ch:hover { transform: translateY(-2px); }

.float-card { display: none; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 12px; box-shadow: 0 16px 40px -16px oklch(0.2 0.01 60 / 0.3); gap: 10px; align-items: center; max-width: 220px; }
.float-card .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
.float-card .lbl { font-family: var(--font-display); font-weight: 600; font-size: 12px; line-height: 1.2; }
.float-card .desc { font-size: 11px; color: var(--muted); margin-top: 2px; }

.hero-stats { margin-top: 56px; max-width: 1120px; margin-left: auto; margin-right: auto; padding: 24px 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-top: 1px solid var(--line); }
.hero-stats .v { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -0.035em; line-height: 1; }
.hero-stats .l { color: var(--muted); font-size: 12px; margin-top: 6px; max-width: 24ch; }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: var(--bg-2); margin-top: 40px; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg-2), transparent); }
.marq-track { display: flex; gap: 36px; animation: scroll 50s linear infinite; width: max-content; }
.marq-item { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.marq-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections — mobile baseline */
.section { padding: 48px 20px; position: relative; z-index: 1; }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: end; margin-bottom: 32px; max-width: 1120px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.03em; line-height: 1.04; margin: 12px 0 0; }
.section-head p.lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.section-inner { max-width: 1120px; margin: 0 auto; }

/* HIW — single column on mobile */
.hiw { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hiw-step { padding: 24px 0; border-bottom: 1px solid var(--line); }
.hiw-step:last-child { border-bottom: 0; }
.hiw-step .marker { width: 44px; height: 44px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; margin-bottom: 16px; }
.hiw-step .num-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 8px; }
.hiw-step h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.2; }
.hiw-step p { color: var(--ink-2); font-size: 14px; margin: 0 0 12px; line-height: 1.55; }
.hiw-step .duration { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Quiz showcase */
.quiz-stage { background: var(--ink); color: var(--bg); border-radius: 22px; padding: 32px 20px; position: relative; overflow: hidden; }
.quiz-stage::before { content: ""; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, oklch(0.74 0.17 60 / 0.35), transparent 70%); pointer-events: none; }
.quiz-stage::after { content: ""; position: absolute; bottom: -160px; left: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, oklch(0.62 0.14 250 / 0.18), transparent 70%); pointer-events: none; }
.quiz-stage h3 { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.025em; line-height: 1.05; margin: 0; max-width: 14ch; }
.quiz-stage .quiz-head { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.quiz-stage .quiz-head p { color: oklch(0.78 0.01 60); font-size: 15px; max-width: 42ch; margin: 12px 0 0; line-height: 1.55; }
.quiz-mocks { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 14px; position: relative; z-index: 1; }
.quiz-card { background: var(--bg); color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -20px oklch(0 0 0 / 0.4); display: flex; flex-direction: column; min-height: 280px; }
.qc-head { padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.qc-head .step { color: var(--accent-ink); }
.qc-prog { height: 3px; background: var(--line); position: relative; }
.qc-prog::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.qc-prog.p1::after { width: 25%; }
.qc-prog.p2::after { width: 50%; }
.qc-prog.p3::after { width: 75%; }
.qc-prog.p4::after { width: 100%; }
.qc-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.qc-q { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.015em; line-height: 1.3; }
.qc-opt { padding: 12px; border-radius: 10px; background: white; border: 1px solid var(--line); font-size: 13px; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.qc-opt.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.qc-opt.multi { display: flex; align-items: center; gap: 10px; }
.qc-check { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line-2); flex-shrink: 0; }
.qc-opt.sel .qc-check { background: var(--accent); border-color: var(--accent); }
.qc-cta { margin-top: auto; padding: 14px; border-radius: 10px; background: var(--accent); color: white; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.qc-input { padding: 12px; border-radius: 10px; background: white; border: 1px solid var(--line); font-size: 13px; min-height: 44px; display: flex; align-items: center; }
.qc-success { display: grid; place-items: center; text-align: center; gap: 10px; padding: 24px 8px; }
.qc-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: white; }
.qc-success h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0; letter-spacing: -0.02em; }
.qc-success p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* Delivery */
.delivery-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.del-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 24px; min-height: 240px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.del-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 8px; }
.del-card p { color: var(--ink-2); font-size: 14px; margin: 0; max-width: 38ch; line-height: 1.55; }
.del-card .visual { margin-top: 18px; }
.col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: auto; }

.tg-mock { background: linear-gradient(135deg, #1e2a37, #0b1620); color: white; border-radius: 16px; padding: 14px; font-family: var(--font-text); font-size: 13px; line-height: 1.4; max-width: 320px; box-shadow: 0 16px 36px -16px oklch(0 0 0 / 0.5); }
.tg-mock .tg-msg { background: oklch(0.28 0.05 220 / 0.6); padding: 10px 12px; border-radius: 12px; }
.tg-mock .tg-msg strong { color: #66c5ff; font-weight: 600; }
.tg-mock .tg-msg em { font-style: normal; color: var(--accent); }

.mail-mock { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.5; box-shadow: 0 14px 36px -16px oklch(0.2 0.01 60 / 0.2); }
.mail-mock .from-row { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mail-mock .from-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; }
.mail-mock .from-name { font-weight: 600; color: var(--ink); }
.mail-mock .from-meta { font-size: 11px; color: var(--muted); margin-top: 1px; }
.mail-mock .subject { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); margin: 0 0 10px; letter-spacing: -0.01em; }

.crm-mock { display: flex; gap: 8px; flex-wrap: wrap; }
.crm-pill { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: white; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; min-height: 44px; }
.crm-pill .pl { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 10px; color: white; }

/* Style cards */
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.style-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 16px; height: 220px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.style-card .label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.style-card .name { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-top: 4px; }
.mini-widget { position: absolute; bottom: 14px; right: 14px; border-radius: 12px; padding: 8px 10px; font-size: 11px; color: white; box-shadow: 0 10px 24px -10px oklch(0 0 0 / 0.3); display: flex; align-items: center; gap: 6px; }
.mini-widget .bdot { width: 8px; height: 8px; border-radius: 50%; background: white; opacity: 0.8; }

/* Analytics */
.an-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.an-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }

/* Cases */
.cases { display: grid; grid-template-columns: 1fr; gap: 14px; }
.case { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.case-cover { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(135deg, oklch(0.92 0.01 70), oklch(0.85 0.012 70)); position: relative; overflow: hidden; }
.case-cover.dark { background: var(--ink); }
.case-cover.warm { background: linear-gradient(135deg, var(--accent), oklch(0.62 0.14 30)); }
.case-cover .ovrl { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); }
.case-cover.dark .ovrl, .case-cover.warm .ovrl { color: white; }
.case-cover .qbubble { background: oklch(1 0 0 / 0.85); padding: 7px 10px; border-radius: 10px; font-size: 11px; color: var(--ink); max-width: 70%; align-self: flex-start; }
.case-cover .qbubble.r { align-self: flex-end; background: var(--ink); color: var(--bg); }
.case-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; display: flex; gap: 14px; }
.case h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.025em; line-height: 1.2; margin: 0; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.case-stats .v { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.case-stats .v .un { color: var(--accent); font-size: 15px; }
.case-stats .l { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tier { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.tier.feat { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tier-tag { position: absolute; top: 18px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: white; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.tier-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.tier-sub { color: var(--muted); font-size: 13px; max-width: 30ch; line-height: 1.5; }
.tier.feat .tier-sub { color: oklch(0.72 0.01 60); }
.tier .price { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.035em; line-height: 1; }
.tier .price .from { display: block; font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 400; }
.tier.feat .price .from { color: oklch(0.72 0.01 60); }
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.tier li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.tier.feat li { color: oklch(0.92 0.01 60); }
.tier li::before { content: "✓"; color: var(--accent); flex-shrink: 0; font-weight: 700; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr; gap: 14px; }
.review { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.review .quote { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.015em; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.review .quote::before { content: "\201C"; font-family: "Instrument Serif", serif; font-style: italic; font-size: 56px; line-height: 0.5; color: var(--accent); margin-right: 6px; vertical-align: -0.2em; }
.review .author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.review .ava { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, oklch(0.78 0.06 60), oklch(0.62 0.08 50)); display: grid; place-items: center; color: white; font-family: var(--font-display); font-weight: 600; font-size: 13px; }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); padding: 8px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); cursor: pointer; background: transparent; border: 0; min-height: 56px; }
.faq-q .icon { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.faq-q .icon::before, .faq-q .icon::after { content: ""; position: absolute; background: var(--ink); transition: background 0.2s; }
.faq-q .icon::before { width: 10px; height: 1.5px; }
.faq-q .icon::after { width: 1.5px; height: 10px; }
.faq-item.open .faq-q .icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-q .icon::before { background: white; }
.faq-item.open .faq-q .icon::after { display: none; }
.faq-a { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 70ch; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-q:focus-visible { outline: 3px solid oklch(0.74 0.17 60 / 0.35); outline-offset: 4px; }

/* CTA */
.big-cta { background: var(--ink); color: var(--bg); border-radius: 22px; padding: 28px 20px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.big-cta::before { content: ""; position: absolute; top: -160px; right: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, oklch(0.74 0.17 60 / 0.35), transparent 70%); }
.big-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -0.03em; line-height: 1.04; margin: 0; color: var(--bg); position: relative; }
.big-cta p { color: oklch(0.85 0.01 60); font-size: 15px; margin: 14px 0 0; max-width: 44ch; position: relative; line-height: 1.55; }
.big-cta .form-card { background: oklch(0.22 0.012 60); border-radius: 18px; padding: 22px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.big-cta .form-card label.field-label { font-family: var(--font-mono); color: oklch(0.72 0.01 60); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.big-cta .form-card input { background: oklch(0.16 0.012 60); border: 1px solid oklch(0.32 0.012 60); color: var(--bg); padding: 14px 16px; border-radius: 12px; font: inherit; font-size: 15px; outline: none; min-height: 48px; }
.big-cta .form-card input::placeholder { color: oklch(0.55 0.01 60); }
.big-cta .form-card input:focus { border-color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 20px 24px; margin-top: 64px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
.footer h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.footer ul a { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 8px 0; display: inline-block; min-height: 36px; }
.footer ul a:hover { color: var(--ink); }
.footer ul a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 32ch; margin: 12px 0 0; line-height: 1.55; }
.footer-mega { font-family: var(--font-display); font-weight: 700; font-size: 56px; letter-spacing: -0.05em; line-height: 0.85; color: var(--ink); white-space: nowrap; user-select: none; margin-top: 24px; overflow: hidden; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 24px; }

/* Visually-hidden (for screen-reader only labels) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ============ Tablet (≥640px) ============ */
@media (min-width: 640px) {
  .hero h1 { font-size: 56px; }
  .hero p.lead { font-size: 17px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .promo-nav { padding: 12px 18px; margin: 18px auto 0; }

  .section { padding: 64px 24px; }
  .section-head h2 { font-size: 48px; }

  .cases, .pricing, .reviews, .style-grid, .quiz-mocks { grid-template-columns: repeat(2, 1fr); }
  .hiw { grid-template-columns: repeat(2, 1fr); }
  .hiw-step { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 28px 24px; }
  .hiw-step:nth-child(2), .hiw-step:last-child { border-right: 0; }

  .quiz-stage { padding: 40px 32px; }
  .quiz-stage h3 { font-size: 38px; }

  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: auto; }

  .float-card { display: flex; }
  .float-card.fc-1 { top: 60px; left: -10px; }
  .float-card.fc-2 { top: 280px; right: -10px; }

  .big-cta { padding: 40px 32px; }
  .big-cta h2 { font-size: 40px; }

  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .footer-mega { font-size: 96px; }
}

/* ============ Desktop (≥980px) ============ */
@media (min-width: 980px) {
  .promo-nav-links { display: flex; }
  .promo-nav { padding: 14px 22px; }

  .hero { padding: 64px 40px 56px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero h1 { font-size: 78px; line-height: 0.96; }
  .hero p.lead { font-size: 19px; }
  .hero-stage { max-width: none; }
  .w-widget { width: 360px; bottom: 20px; right: 20px; max-height: 540px; }
  .w-head .ava { width: 36px; height: 36px; font-size: 13px; }
  .w-head .who { font-size: 14px; }
  .browser-body { padding: 24px; }
  .browser-body .blk { height: 14px; }
  .browser-body .blk.big { height: 110px; }
  .browser-frame { border-radius: 22px; }
  .hero-stats { margin-top: 96px; padding: 24px 40px 0; gap: 32px; }
  .hero-stats .v { font-size: 44px; }
  .hero-stats .l { font-size: 13px; }

  .marquee { margin-top: 64px; padding: 18px 0; }
  .marq-track { gap: 56px; }
  .marq-item { font-size: 22px; gap: 16px; }

  .section { padding: 88px 40px; }
  .section-head { grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: end; margin-bottom: 56px; }
  .section-head h2 { font-size: 64px; }
  .section-head p.lead { font-size: 19px; }

  .hiw { grid-template-columns: repeat(4, 1fr); }
  .hiw-step { padding: 32px 24px 32px 0; border-bottom: 0; }
  .hiw-step:not(:first-child) { padding-left: 24px; }
  .hiw-step:nth-child(2) { border-right: 1px solid var(--line); }
  .hiw-step:not(:last-child) { border-right: 1px solid var(--line); }
  .hiw-step:last-child { border-right: 0; }

  .quiz-stage { padding: 56px 48px; border-radius: 32px; }
  .quiz-stage .quiz-head { display: flex; flex-direction: row; align-items: end; justify-content: space-between; gap: 32px; }
  .quiz-stage h3 { font-size: 48px; }
  .quiz-stage .quiz-head p { font-size: 16px; }
  .quiz-mocks { margin-top: 48px; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .quiz-card { min-height: 380px; }
  .quiz-card:nth-child(2) { transform: translateY(20px); }
  .quiz-card:nth-child(3) { transform: translateY(-10px); }
  .quiz-card:nth-child(4) { transform: translateY(8px); }

  .delivery-grid { grid-template-columns: repeat(12, 1fr); }
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-12 { grid-column: span 12; }
  .del-card { padding: 32px; border-radius: 28px; min-height: 360px; }
  .del-card h3 { font-size: 28px; }

  .style-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .style-card { height: 260px; padding: 18px; border-radius: 22px; }

  .an-card { padding: 28px; border-radius: 24px; }
  .an-head { flex-direction: row; align-items: end; justify-content: space-between; }

  .cases { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .case { border-radius: 28px; padding: 28px; gap: 18px; }
  .case-cover { border-radius: 16px; }
  .case h4 { font-size: 22px; }

  .pricing { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tier { padding: 32px; border-radius: 28px; }
  .tier-name { font-size: 22px; }
  .tier .price { font-size: 52px; }

  .reviews { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .review { padding: 28px; border-radius: 24px; }
  .review .quote { font-size: 20px; }

  .faq-q { font-size: 20px; padding: 24px 0; }

  .big-cta { grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 64px 56px; border-radius: 32px; }
  .big-cta h2 { font-size: 56px; }
  .big-cta p { font-size: 17px; }
  .big-cta .form-card { padding: 28px; border-radius: 24px; }

  .footer { padding: 56px 40px 28px; margin-top: 88px; }
  .footer-top { gap: 40px; margin-bottom: 56px; }
  .footer-mega { font-size: 200px; }
}

/* ============ Animations ============ */
@media (prefers-reduced-motion: no-preference) {
  .r { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .r.in { opacity: 1; transform: none; }
  .tier, .case, .del-card, .style-card, .review { transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s var(--ease); }
  .tier:hover, .case:hover, .del-card:hover, .style-card:hover, .review:hover { transform: translateY(-4px); }
}

@media (min-width: 980px) and (prefers-reduced-motion: no-preference) {
  .browser-frame { animation: lift 8s ease-in-out infinite; will-change: transform, box-shadow; }
  @keyframes lift {
    0%, 100% { transform: translateY(0); box-shadow: 0 36px 80px -36px oklch(0.2 0.01 60 / 0.4); }
    50%      { transform: translateY(-3px); box-shadow: 0 44px 90px -36px oklch(0.2 0.01 60 / 0.45); }
  }
  .quiz-card { animation: drift 9s ease-in-out infinite; will-change: transform; }
  .quiz-card:nth-child(1) { animation-delay: 0s; }
  .quiz-card:nth-child(2) { animation-delay: -2.2s; }
  .quiz-card:nth-child(3) { animation-delay: -4.5s; }
  .quiz-card:nth-child(4) { animation-delay: -6.8s; }
  @keyframes drift {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-card, .quiz-card, .browser-frame, .meta-pill .dot, .marq-track { animation: none !important; }
  .r { opacity: 1; transform: none; }
}

/* Helpers */
.btn-block { width: 100%; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.serif { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; }
