/* TrueScore website. Built from the Figma pages: desktop 1440, tablet 768, phone 390, dark and light. */
:root {
  --font: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --container: 1160px;
  --pad: 40px;
  --bg: #0E0E10; --bg-alt: #0E0E10; --bg-close: #0E0E10;
  --surface: #151517; --surface2: #1B1B1E;
  --ink: #ECECEC; --text: #A6A6A6; --muted: #7A7A82; --faint: #55555C;
  --accent: #5CE0A1; --accent-soft: rgba(92,224,161,.14);
  --border: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.14);
  --glass: rgba(255,255,255,.05); --glass-strong: rgba(255,255,255,.08);
  --btn: #FFFFFF; --btn-text: #0E0E10;
  --tab-strip: rgba(255,255,255,.05); --tab-on: #FFFFFF; --tab-on-text: #1C2024;
  --h-grad-a: #FFFFFF; --h-grad-b: #878789;
  --dot: rgba(255,255,255,.28);
  --shadow: 0 30px 80px rgba(0,0,0,.6);
  --stroke: rgba(255,255,255,.22);
  --card-hi: #1B1B1F; --grad-stroke: linear-gradient(135deg, #B0DAF8, #ADE3AF, #DEFB82);
  --plan-ghost: rgba(255,255,255,.06); --plan-ghost-border: rgba(255,255,255,.14); --plan-disc: rgba(255,255,255,.10); --tile: rgba(255,255,255,.06); --tile-border: rgba(255,255,255,.10);
  --plan-shadow: none; --plan-shadow-mid: 0 16px 40px rgba(0,0,0,.35); --plan-shadow-hi: 0 30px 70px rgba(0,0,0,.55); --plan-shadow-pop: 0 36px 80px rgba(0,0,0,.6);
  --mark: url('../assets/ts_mark_white.png');
  --mark-big: url('../assets/ts_mark_grey.png');
  --star: #F5A623;
}
[data-theme="light"] {
  --bg: #FFFFFF; --bg-alt: #F7F6F3; --bg-close: #F2F0EB;
  --surface: #FFFFFF; --surface2: #F6F5F2;
  --ink: #0E0E10; --text: #4B4B53; --muted: #80808A; --faint: #B5B5BD;
  --accent: #15803D; --accent-soft: #E8F5EC;
  --border: #E6E4DF; --border-strong: #D9D7D1;
  --glass: rgba(255,255,255,.74); --glass-strong: rgba(255,255,255,.9);
  --btn: #0E0E10; --btn-text: #FFFFFF;
  --tab-strip: #F3F1EC; --tab-on: #FFFFFF; --tab-on-text: #0E0E10;
  --h-grad-a: #0E0E10; --h-grad-b: #6B6B70;
  --dot: rgba(14,14,16,.22);
  --shadow: 0 30px 80px rgba(14,14,16,.12);
  --stroke: #C9C9CC;
  --card-hi: #FFFFFF; --grad-stroke: linear-gradient(135deg, #2F6FB5, #15803D, #7A9A00);
  --plan-ghost: #FFFFFF; --plan-ghost-border: #E6E4DF; --plan-disc: #F3F1EC; --tile: rgba(0,0,0,.04); --tile-border: rgba(0,0,0,.06);
  --plan-shadow: 0 10px 24px rgba(14,14,16,.06); --plan-shadow-mid: 0 16px 40px rgba(14,14,16,.10); --plan-shadow-hi: 0 30px 70px rgba(14,14,16,.22); --plan-shadow-pop: 0 36px 80px rgba(14,14,16,.26);
  --mark: url('../assets/ts_mark_ink.png');
  --mark-big: url('../assets/ts_mark_light.png');
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .35s ease, color .35s ease; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.container { width: min(var(--container), 100% - var(--pad) * 2); margin: 0 auto; }
.section { padding: 120px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.h2 { font-size: 44px; line-height: 52px; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.lead { font-size: 18px; line-height: 28px; color: var(--text); margin-top: 16px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.theme-only-dark { display: block; } .theme-only-light { display: none; }
[data-theme="light"] .theme-only-dark { display: none; } [data-theme="light"] .theme-only-light { display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .22s cubic-bezier(.22,.8,.36,1), box-shadow .22s ease, background .2s ease, color .2s ease; will-change: transform; }
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--btn); color: var(--btn-text); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.btn-ghost { background: var(--glass); color: var(--ink); border: 1px solid var(--border-strong); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.btn-ghost:hover { background: var(--glass-strong); }
.btn-grad { position: relative; height: 56px; padding: 0 8px 0 24px; color: #1C2024; background: linear-gradient(90deg, #B0DAF8 0%, #ADE3AF 50%, #DEFB82 100%); box-shadow: 0 10px 30px rgba(173,227,175,.22); }
.btn-grad:hover { box-shadow: 0 16px 40px rgba(173,227,175,.34); }
.btn-grad .disc { width: 36px; height: 36px; border-radius: 50%; background: #1F2123; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; transition: transform .25s cubic-bezier(.22,.8,.36,1); }
.btn-grad:hover .disc { transform: translateX(3px); }
.btn .arr { transition: transform .25s cubic-bezier(.22,.8,.36,1); }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 26px; }
.icon-btn { width: 36px; height: 36px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border-strong); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease; }
.icon-btn:hover { transform: scale(1.08); background: var(--glass-strong); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.22,.8,.36,1), transform .9s cubic-bezier(.22,.8,.36,1); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- top: announcement + nav ---------- */
.top { position: relative; background: var(--bg); }
.announce { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; height: 38px; margin: 14px auto 0; padding: 0 44px 0 16px; border-radius: 10px; background: var(--glass); border: 1px solid var(--border); font-size: 12px; color: var(--ink); }
.announce.hide { display: none; }
.announce .tag { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.announce .sep { color: var(--muted); }
.announce a { font-weight: 500; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce .close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); display: inline-flex; }
.announce .close:hover { color: var(--ink); }
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lockup .mark { width: 26px; height: 26px; background: var(--mark) center/contain no-repeat; }
.links { display: flex; gap: 30px; }
.links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s ease; }
.links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-right .login { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-right .login:hover { text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; }
.mnav { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 24px var(--pad); flex-direction: column; gap: 6px; display: none; }
.mnav.open { display: flex; animation: fadeIn .2s ease; }
.mnav .head { display: flex; align-items: center; justify-content: space-between; height: 52px; margin-bottom: 20px; }
.mnav a.item { font-size: 24px; font-weight: 500; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mnav .acts { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.mnav .acts .btn { width: 100%; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 56px 0 0; }
.proof { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border-strong); font-size: 14px; color: var(--ink); }
.proof b { font-weight: 600; }
.balls { display: inline-flex; }
.balls span { width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF center/19px auto no-repeat; border: 2px solid var(--bg); margin-left: -9px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.balls span:first-child { margin-left: 0; }
.balls .tu { background-image: url('../assets/transunion.png'); }
.balls .eq { background-image: url('../assets/equifax.png'); background-size: 18px auto; }
.balls .ex { background-image: url('../assets/experian.png'); }
.h1 { margin: 24px auto 0; max-width: 640px; font-size: 60px; line-height: 66px; letter-spacing: -.03em; font-weight: 500; background: linear-gradient(180deg, var(--h-grad-a) 20%, var(--h-grad-b) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { max-width: 600px; margin: 20px auto 0; font-size: 16px; line-height: 22px; color: var(--text); }
.hero .ctas { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.stars { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.stars i { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 13px; height: 13px; }

/* ---------- explore: tabs + preview ---------- */
.explore { padding: 72px 0 0; text-align: center; }
.explore .h2 { font-size: 40px; line-height: 48px; }
.explore .lead { margin-top: 10px; font-size: 16px; line-height: 22px; }
.tabs { display: inline-flex; gap: 4px; padding: 6px; margin-top: 26px; border-radius: 999px; background: var(--tab-strip); border: 1px solid var(--border); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background .25s ease, color .25s ease, transform .2s ease; }
.tab svg { width: 16px; height: 16px; opacity: .8; }
.tab:hover { background: var(--glass-strong); }
.tab.on { background: var(--tab-on); color: var(--tab-on-text); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.preview { position: relative; width: 1200px; max-width: 100%; margin: 22px auto 0; aspect-ratio: 1200 / 640; border-radius: 14px; overflow: hidden; border: 1px solid var(--stroke); box-shadow: var(--shadow); background: var(--surface); transform-origin: top center; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.preview img.on { opacity: 1; }
.preview.phone { display: none; width: 350px; aspect-ratio: 393 / 720; border-radius: 32px; }
.bureaus { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 26px auto 0; padding-bottom: 48px; font-size: 13px; color: var(--muted); }
.bureaus .tiles { display: inline-flex; gap: 10px; }
.bureaus .tile { display: inline-flex; align-items: center; justify-content: center; height: 29px; padding: 0 10px; border-radius: 8px; background: #FFFFFF; border: 1px solid rgba(0,0,0,.08); }
.bureaus .tile img { height: 14px; width: auto; }
.bureaus .tile img.eq { height: 11px; } .bureaus .tile img.ex { height: 15px; }

/* ---------- app fold (video) ---------- */
.app .row { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 40px; align-items: center; }
.app .copy .h2 { font-size: 44px; }
.app .copy p { margin-top: 20px; font-size: 16px; line-height: 24px; max-width: 460px; }
.app .list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.app .list div { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.app .list svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.stage { position: relative; width: 100%; max-width: 573px; margin-left: auto; aspect-ratio: 573 / 720; }
.stage video { width: 100%; height: 100%; object-fit: cover; }
[data-theme="light"] .app.section { background: #F9F7F5; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; overflow: hidden; border-radius: 22px; background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); transition: transform .3s cubic-bezier(.22,.8,.36,1), box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.card .dots { position: absolute; top: 0; right: 0; width: 160px; height: 120px; pointer-events: none; background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px); background-size: 10px 10px; -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, rgba(0,0,0,.5) 38%, transparent 72%); mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, rgba(0,0,0,.5) 38%, transparent 72%); }
.card .spot { position: absolute; left: -200px; top: -170px; width: 560px; height: 320px; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(92,224,161,.18) 0%, transparent 70%); filter: blur(40px); }
[data-theme="light"] .card .spot { background: radial-gradient(50% 50% at 50% 50%, rgba(92,224,161,.30) 0%, transparent 70%); }
.card > * { position: relative; }
.step { padding: 0; }
.step .shot { padding: 20px 20px 0; }
.step .shot img { width: 100%; height: auto; }
.step .body { padding: 18px 24px 26px; }
.step .n { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.step h3 { margin-top: 8px; font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink); }
.step p { margin-top: 8px; font-size: 14px; line-height: 21px; color: var(--text); }
.cta-center { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 64px; font-size: 13px; color: var(--muted); }

/* ---------- pricing deck ---------- */
.pricing .lead { white-space: pre-line; }
.deck { position: relative; height: 760px; --cw: 380px; }
.plan { position: absolute; top: 0; left: 50%; width: var(--cw); margin-left: calc(var(--cw) * -.5); padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--plan-shadow); overflow: hidden; color: var(--text); transform-origin: 50% 50%; will-change: transform; cursor: default; transition: transform .6s cubic-bezier(.22,.8,.36,1), opacity .45s ease, padding .5s cubic-bezier(.22,.8,.36,1), box-shadow .45s ease, background-color .35s ease, border-color .35s ease; }
.plan::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-stroke); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s ease; pointer-events: none; z-index: 2; }
.plan > * { position: relative; }
.plan.is-front { background: var(--card-hi); border-color: transparent; box-shadow: var(--plan-shadow-hi); }
.plan.is-front::before { opacity: .4; }
.deck.is-hover .plan.is-front::before { opacity: .85; }
.deck.is-hover .plan.is-front.is-popular { box-shadow: var(--plan-shadow-pop); }
.plan.is-mid { box-shadow: var(--plan-shadow-mid); }
.plan .spot { position: absolute; left: -200px; top: -170px; width: 560px; height: 300px; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(92,224,161,.22) 0%, transparent 70%); transform: rotate(-18deg); }
[data-theme="light"] .plan .spot { background: radial-gradient(50% 50% at 50% 50%, rgba(21,128,61,.16) 0%, transparent 70%); }
.plan .dots { position: absolute; top: 0; right: 0; width: 300px; height: 220px; pointer-events: none; opacity: .55; background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px); background-size: 10px 10px; -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, rgba(0,0,0,.5) 38%, transparent 72%); mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, rgba(0,0,0,.5) 38%, transparent 72%); }
.plan-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; }
.tile { width: 44px; height: 44px; border-radius: 14px; background: var(--tile); border: 1px solid var(--tile-border); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }
.tile svg { width: 20px; height: 20px; }
.plan .tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #B0DAF8, #ADE3AF, #DEFB82); color: #1C2024; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .01em; }
.plan h3 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.plan .tagline { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: var(--text); }
.plan .price { display: flex; align-items: flex-end; gap: 6px; margin-top: 22px; }
.plan .price b { font-size: 52px; line-height: 56px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.plan .price span { font-size: 15px; line-height: 24px; color: var(--muted); padding-bottom: 3px; }
.plan-btn { position: relative; display: flex; align-items: center; justify-content: space-between; height: 50px; margin-top: 22px; padding: 0 7px 0 22px; border-radius: 999px; background: var(--plan-ghost); border: 1px solid var(--plan-ghost-border); color: var(--ink); font-size: 15px; font-weight: 500; overflow: hidden; transition: color .3s ease, border-color .3s ease, box-shadow .35s ease; }
.plan-btn::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(90deg, #B0DAF8, #ADE3AF, #DEFB82); opacity: 0; transition: opacity .35s ease; }
.plan-btn > * { position: relative; }
.plan-btn .disc { width: 36px; height: 36px; border-radius: 50%; background: var(--plan-disc); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s ease, color .3s ease, transform .25s cubic-bezier(.22,.8,.36,1); }
.plan-btn .disc svg { width: 14px; height: 14px; }
.plan-btn:hover .disc { transform: translateX(3px); }
.plan.is-front .plan-btn { color: #1C2024; border-color: transparent; box-shadow: 0 10px 30px rgba(173,227,175,.22); }
.plan.is-front .plan-btn::before { opacity: 1; }
.plan.is-front .plan-btn .disc { background: #1F2123; color: #FFFFFF; }
.plan hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.plan .inc .label { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.plan ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--text); }
.plan li b { color: var(--ink); font-weight: 600; }
.chk { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.chk svg { width: 11px; height: 11px; }
.plan .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--surface) 78%); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.plan.is-back .fade { opacity: 1; }
.deck.is-phone .plan.is-back > :not(.fade):not(.spot):not(.dots) { opacity: .35; }
.plan > * { transition: opacity .35s ease; }
.deck.is-peek .plan.is-back[data-plan="complete"] { text-align: right; }
.deck.is-peek .plan.is-back[data-plan="complete"] .plan-top, .deck.is-peek .plan.is-back[data-plan="complete"] .price, .deck.is-peek .plan.is-back[data-plan="complete"] li, .deck.is-peek .plan.is-back[data-plan="complete"] .plan-btn { flex-direction: row-reverse; }
.deck.is-peek .plan.is-back[data-plan="complete"] .plan-btn { padding: 0 22px 0 7px; }
.deck-nav { display: none; justify-content: center; gap: 6px; width: max-content; margin: 28px auto 0; padding: 5px; border-radius: 999px; background: var(--tab-strip); border: 1px solid var(--border); }
.deck-nav button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color .25s ease, color .25s ease, transform .2s ease; }
.deck-nav button:hover { color: var(--ink); }
.deck-nav button[aria-selected="true"] { background: var(--tab-on); color: var(--tab-on-text); box-shadow: 0 2px 6px rgba(14,14,16,.08); }
.pnote { text-align: center; margin-top: 40px; font-size: 13px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 24px 0; text-align: left; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-item button svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; transition: transform .3s ease; }
.faq-item.open button svg { transform: rotate(180deg); }
.faq-item .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22,.8,.36,1); }
.faq-item .a > * { overflow: hidden; min-height: 0; }
.faq-item.open .a { grid-template-rows: 1fr; }
.faq-item .a p { padding: 0 40px 24px 0; font-size: 15px; line-height: 24px; color: var(--text); }

/* ---------- closing ---------- */
.closing { position: relative; overflow: hidden; background: var(--bg-close); padding: 120px 0; }
.closing .copy { max-width: 600px; position: relative; z-index: 1; }
.closing .h2 { font-size: 48px; line-height: 56px; }
.closing p { margin-top: 20px; font-size: 18px; line-height: 28px; max-width: 520px; }
.closing .ctas { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.closing .mark-big { position: absolute; right: 120px; top: 30px; width: 500px; height: 500px; background: var(--mark-big) center/contain no-repeat; opacity: .9; pointer-events: none; }

/* ---------- footer ---------- */
.footer { padding: 72px 0 40px; background: var(--bg); border-top: 1px solid var(--border); }
.footer .top-row { display: flex; justify-content: space-between; gap: 40px; }
.footer .brand { max-width: 380px; }
.footer .brand p { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--muted); }
.footer .social { display: flex; gap: 12px; margin-top: 16px; }
.footer .social a { color: var(--muted); display: inline-flex; transition: color .2s ease; }
.footer .social a:hover { color: var(--ink); }
.footer .social svg { width: 18px; height: 18px; }
.footer .cols { display: flex; gap: 80px; }
.footer .col b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer .col a { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; transition: color .2s ease; }
.footer .col a:hover { color: var(--ink); }
.footer .bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 12px; line-height: 19px; color: var(--muted); display: flex; flex-direction: column; gap: 14px; }
.footer .bottom .copy { font-size: 13px; }
.footer .bottom p { max-width: 900px; }

/* ---------- tablet (768 design) ---------- */
@media (max-width: 1023px) {
  :root { --pad: 40px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .h2, .app .copy .h2 { font-size: 36px; line-height: 42px; }
  .lead { font-size: 16px; line-height: 24px; }
  .links { display: none; }
  .burger { display: inline-flex; }
  .h1 { font-size: 44px; line-height: 50px; max-width: 560px; }
  .explore .h2 { font-size: 32px; line-height: 40px; }
  .tabs { transform: scale(.9); transform-origin: center; margin-top: 18px; }
  .app .row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stage { margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .deck-nav { display: flex; }
  .plan { border-radius: 22px; }
  .plan h3 { font-size: 22px; line-height: 28px; }
  .plan .tagline { font-size: 14px; line-height: 20px; }
  .plan .price b { font-size: 44px; line-height: 48px; }
  .plan-btn { height: 48px; margin-top: 18px; }
  .plan hr { margin: 20px 0; }
  .pnote { margin-top: 32px; }
  .closing .h2 { font-size: 36px; line-height: 44px; }
  .closing .mark-big { width: 310px; height: 310px; right: -60px; top: auto; bottom: -40px; opacity: .8; }
  .footer .top-row { flex-direction: column; gap: 32px; }
  .footer .cols { gap: 56px; }
}
/* ---------- phone (390 design) ---------- */
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .section { padding: 64px 0; }
  .h2, .app .copy .h2 { font-size: 28px; line-height: 34px; }
  .announce { margin-top: 10px; padding: 0 40px 0 12px; gap: 8px; }
  .announce .long, .announce .sep { display: none; }
  .nav .bar { height: 64px; }
  .nav-right { gap: 10px; }
  .nav-right .login, .nav-right [data-theme-toggle] { display: none; }
  .nav-right { gap: 8px; }
  .nav-right .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: 40px; }
  .proof { font-size: 13px; padding: 5px 14px 5px 6px; }
  .proof .long { display: none; }
  .balls span { width: 24px; height: 24px; background-size: 16px auto; }
  .h1 { font-size: 34px; line-height: 40px; margin-top: 20px; }
  .hero .sub { font-size: 15px; line-height: 22px; margin-top: 16px; }
  .hero .ctas { flex-wrap: wrap; gap: 10px; }
  .btn-grad { height: 52px; }
  .stars { flex-wrap: wrap; justify-content: center; }
  .explore { padding-top: 56px; }
  .explore .h2 { font-size: 28px; line-height: 34px; }
  .tabs { transform: none; width: 100%; justify-content: flex-start; margin-top: 20px; }
  .tab { height: 40px; padding: 0 12px; font-size: 14px; }
  .tab span { display: none; }
  .tab.on span { display: inline; }
  .preview.desk { display: none; }
  .preview.phone { display: block; margin-top: 22px; }
  .bureaus { gap: 14px; flex-wrap: wrap; padding-bottom: 40px; }
  .bureaus .lead-text { display: none; }
  .app .copy p { font-size: 15px; }
  .app .list div { font-size: 14px; align-items: flex-start; }
  .plan .price b { font-size: 40px; line-height: 44px; }
  .deck-nav button { height: 36px; padding: 0 14px; font-size: 13px; }
  .faq-item button { font-size: 16px; padding: 18px 0; }
  .closing { padding: 64px 0; }
  .closing .h2 { font-size: 30px; line-height: 36px; }
  .closing .ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .closing .mark-big { width: 250px; height: 250px; right: -70px; bottom: -60px; opacity: .55; }
  .footer .cols { gap: 28px; flex-wrap: wrap; }
}
