/* Wholesale Analyzer marketing site. No external fonts, scripts or images: everything is served from this site (see the CSP in Program.cs). */
:root {
  --ink: #0b1220;
  --text: #24324a;
  --muted: #5b6b82;
  --line: #e3e9f3;
  --bg: #f6f8fc;
  --white: #fff;
  --navy: #0b1b3a;
  --navy-2: #13294f;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --indigo: #4f46e5;
  --sky: #38bdf8;
  --amber: #f59e0b;
  --amber-l: #fff4d6;
  --green: #15803d;
  --green-l: #e6f4ea;
  --red: #c62828;
  --red-l: #fde8e8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 24px 60px rgba(15, 23, 42, .16);
  --max: 1180px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 2px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg); }
.section--dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #cfdaf0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #e8f0ff; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.section--dark .eyebrow { background: rgba(255, 255, 255, .1); color: #9cc3ff; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; padding: 14px 24px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; border-radius: 14px; }
.btn-sm { padding: 10px 18px; font-size: .92rem; border-radius: 10px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%); box-shadow: 0 8px 22px rgba(79, 70, 229, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(79, 70, 229, .45); }
.btn-ghost { color: var(--ink); background: #fff; border-color: #cdd7e8; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { color: var(--navy); background: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-block { width: 100%; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 36px; height: 36px; }
.logo img { height: 40px; width: auto; display: block; }
.logo span em { font-style: normal; color: var(--blue); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; flex: 1; }
.nav a { color: var(--text); font-weight: 600; font-size: .98rem; padding: 8px 14px; border-radius: 10px; }
.nav a:hover { background: var(--bg); text-decoration: none; color: var(--ink); }
.nav a.active { color: var(--blue); background: #eaf1ff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .signin { font-weight: 600; color: var(--text); padding: 8px 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; background:
  radial-gradient(900px 480px at 85% -10%, rgba(79, 70, 229, .16), transparent 60%),
  radial-gradient(700px 420px at -5% 10%, rgba(56, 189, 248, .18), transparent 60%),
  linear-gradient(180deg, #f4f8ff 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .95fr; gap: 56px; align-items: center; }
.hero h1 .grad { background: linear-gradient(135deg, var(--blue), var(--indigo) 60%, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .icon { width: 18px; height: 18px; color: var(--green); }

/* product mock-up (pure HTML / CSS) */
.mock { position: relative; padding: 30px 0 34px; }
.mock-window { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f1f5fb; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dbe9; display: block; }
.mock-bar b { margin-left: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 18px; }
.mock-sum { display: flex; gap: 10px; margin-bottom: 14px; }
.mock-sum div { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.mock-sum small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.mock-sum strong { font-size: 1.22rem; color: var(--ink); }
.mock-sum .buy strong { color: var(--green); }
.mock-sum .avoid strong { color: var(--red); }
.mock-row { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-row:first-of-type { border-top: 0; }
.mock-thumb { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #dbe7ff, #eef2ff); }
.mock-row .t { font-weight: 700; font-size: .88rem; color: var(--ink); line-height: 1.25; }
.mock-row .s { font-size: .74rem; color: var(--muted); }
.mock-row .n { text-align: right; font-weight: 700; font-size: .9rem; color: var(--ink); }
.mock-row .n small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.chip { display: inline-block; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.chip-buy { background: var(--green-l); color: var(--green); }
.chip-review { background: var(--amber-l); color: #8a5a00; }
.chip-avoid { background: var(--red-l); color: var(--red); }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: .8rem; }
.float-card strong { display: block; font-size: 1.3rem; color: var(--ink); line-height: 1.15; }
.float-card small { color: var(--muted); font-weight: 600; }
.float-a { left: -34px; bottom: -34px; }
.float-b { right: -14px; top: -30px; }

/* ---- trust strip ---- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-top: 26px; padding-bottom: 26px; }
.strip div { text-align: center; padding: 0 8px; }
.strip strong { display: block; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; }
.strip span { font-size: .86rem; color: var(--muted); }

/* ---- cards / grids ---- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfdcf3; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--blue); background: linear-gradient(135deg, #e6efff, #eeeaff); margin-bottom: 18px; }
.ico .icon { width: 26px; height: 26px; }
.step-no { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--indigo)); margin-bottom: 16px; box-shadow: 0 6px 16px rgba(79, 70, 229, .35); }

/* feature detail */
.feature-group { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature-group:first-of-type { border-top: 0; padding-top: 0; }
.feature-group.flip .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.feature-copy p { color: var(--muted); }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.ticks .icon { width: 20px; height: 20px; color: var(--green); margin-top: 3px; stroke-width: 2.4; }
.panel { background: linear-gradient(160deg, #f3f7ff, #fff); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.panel h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.kv { display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.kv div:first-child { border-top: 0; }
.kv b { color: var(--ink); }
.bar { height: 9px; border-radius: 999px; background: #e6ecf7; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--indigo)); }
.w-95 { width: 95%; } .w-90 { width: 90%; } .w-85 { width: 85%; } .w-80 { width: 80%; } .w-70 { width: 70%; } .w-60 { width: 60%; } .w-40 { width: 40%; } .w-30 { width: 30%; } .w-100 { width: 100%; }
.factor { display: grid; grid-template-columns: 150px 1fr 56px; gap: 12px; align-items: center; padding: 7px 0; font-size: .9rem; }
.factor b { color: var(--ink); font-weight: 600; }
.factor span { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.03em; color: #fff; font-weight: 800; line-height: 1.1; }
.stat span { color: #aebfdc; font-size: .95rem; }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px 30px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.plan h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan .tag { color: var(--muted); font-size: .94rem; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; color: var(--ink); }
.price .cur { font-size: 1.5rem; font-weight: 800; align-self: flex-start; margin-top: 8px; }
.price .amt { font-size: 3.7rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; }
.was { color: var(--muted); font-size: .95rem; min-height: 1.6em; }
.was s { color: #8a99b0; }
.save { display: inline-block; background: var(--amber-l); color: #8a5a00; font-weight: 800; font-size: .78rem; padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.plan .ticks { margin: 0 0 28px; gap: 12px; font-size: .97rem; }
.plan .btn { margin-top: auto; }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 24px 60px rgba(37, 99, 235, .22); transform: translateY(-10px); background: linear-gradient(180deg, #f5f8ff, #fff 38%); }
.ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--amber), #f97316); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(245, 158, 11, .45); white-space: nowrap; }
.pay-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; color: var(--muted); font-size: .93rem; }
.pay-note span { display: inline-flex; align-items: center; gap: 8px; }
.pay-note .icon { width: 19px; height: 19px; color: var(--green); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); font-size: .96rem; }
table.compare thead th { border-top: 0; background: var(--bg); color: var(--ink); font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
table.compare .yes { color: var(--green); font-weight: 800; }

/* ---- testimonials / case study ---- */
.quote { display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; color: var(--text); font-size: 1.04rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--indigo)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.who b { display: block; color: var(--ink); line-height: 1.2; }
.who small { color: var(--muted); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }
.sample-note { margin-top: 22px; text-align: center; font-size: .86rem; color: #8a5a00; background: var(--amber-l); border-radius: 10px; padding: 10px 14px; }
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.case-copy { padding: 40px; }
.case-side { padding: 40px; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cfdaf0; }
.case-side h4 { color: #fff; }
.case-side .kv div { border-color: rgba(255, 255, 255, .14); }
.case-side .kv b { color: #fff; }
.callout { background: var(--amber-l); border-left: 4px solid var(--amber); border-radius: 10px; padding: 12px 16px; color: #6b4600; font-size: .92rem; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 12px; margin: 0; }

/* ---- CTA band ---- */
.cta { text-align: center; padding: 84px 0; background: radial-gradient(700px 300px at 80% 0, rgba(124, 58, 237, .35), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cfdaf0; }
.cta h2 { color: #fff; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta p { max-width: 560px; margin: 0 auto 30px; font-size: 1.12rem; }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- page header (inner pages) ---- */
.page-head { padding: 72px 0 56px; background: radial-gradient(800px 320px at 85% -20%, rgba(79, 70, 229, .15), transparent 60%), linear-gradient(180deg, #f4f8ff, #fff); text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-head .lead { margin: 0 auto; }

/* ---- forms ---- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; color: var(--ink); font-size: .93rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #cdd7e8; border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: .94rem; margin-bottom: 16px; }
.alert-error { background: var(--red-l); color: var(--red); }
.alert-ok { background: var(--green-l); color: var(--green); }
.alert[hidden] { display: none; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.contact-card .ico { margin: 0; flex-shrink: 0; }
.contact-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- subscribe dialog ---- */
dialog { border: 0; border-radius: 22px; padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); color: var(--text); }
dialog::backdrop { background: rgba(11, 18, 32, .6); backdrop-filter: blur(3px); }
.dlg-head { padding: 26px 28px 8px; display: flex; justify-content: space-between; gap: 16px; }
.dlg-head h2 { font-size: 1.5rem; margin: 0; }
.dlg-x { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 10px; height: fit-content; }
.dlg-x:hover { background: var(--bg); color: var(--ink); }
.dlg-body { padding: 8px 28px 28px; }
.plan-pick { display: grid; gap: 10px; margin: 14px 0 20px; }
.plan-pick label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid #cdd7e8; border-radius: 14px; cursor: pointer; }
.plan-pick label:hover { border-color: var(--blue); }
.plan-pick input { accent-color: var(--blue); width: 18px; height: 18px; }
.plan-pick .nm { flex: 1; font-weight: 700; color: var(--ink); }
.plan-pick .nm small { display: block; color: var(--muted); font-weight: 500; }
.plan-pick .pr { font-weight: 800; color: var(--ink); }
.plan-pick label:has(input:checked) { border-color: var(--blue); background: #f2f6ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }

/* ---- legal text ---- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose li { margin-bottom: .5em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: #aebfdc; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo span em { color: #7fb0ff; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #aebfdc; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.site-footer .small { max-width: 340px; margin-top: 14px; }

/* ---- status pages ---- */
.status-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 48px 36px; }
.status-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--green-l); color: var(--green); }
.status-ico .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.status-ico.warn { background: var(--amber-l); color: #8a5a00; }

/* ---- responsive ---- */
@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .mock { max-width: 560px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan--featured { transform: none; order: -1; }
  .feature-group, .feature-group.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature-group.flip .feature-copy { order: 0; }
  .case, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .strip .container { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav, .header-actions .signin { display: none; }
  .site-header[data-open="true"] .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
  .site-header[data-open="true"] .nav a { padding: 14px; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .float-a, .float-b { display: none; }
  .mock-row { grid-template-columns: 34px 1fr auto; }
  .mock-row .n.hide-sm { display: none; }
  .strip .container { grid-template-columns: repeat(2, 1fr); }
  .case-copy, .case-side { padding: 28px; }
  .factor { grid-template-columns: 110px 1fr 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn { padding: 10px 14px; font-size: .9rem; }
  .btn-lg { padding: 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .container > div { animation: rise .7s ease both; }
.hero .container > .mock { animation-delay: .12s; }

/* layout helpers (used instead of inline styles) */
.split { align-items: center; gap: 56px; }
.more { margin: 36px 0 0; }
.panel-note { margin: 14px 0 0; }
.section--dark .ticks li { color: #dbe6fa; }
.section--dark .ticks .icon { color: #5eead4; }
.section--dark p { color: #cbd8f0; }
.section--dark .panel { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section--dark .panel h4 { color: #9db4d9; }
.section--dark .factor b { color: #fff; }
.section--dark .factor span, .section--dark .panel .muted { color: #b3c4e2; }
.section--dark .bar { background: rgba(255, 255, 255, .14); }
@media (max-width: 1020px) { .split { gap: 36px; } }

/* ---- footer: social, tools, blog ---- */
.icon-fill { fill: currentColor; stroke: none; }
.site-footer .find-us { margin: 26px 0 12px; }
.site-footer .gap-top { margin-top: 28px; }
.site-footer .social { display: flex; gap: 10px; }
.site-footer .social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #cfdaf0; transition: background-color .15s, color .15s, transform .15s; }
.site-footer .social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.site-footer .social .icon { width: 19px; height: 19px; }
.site-footer .footer-blog li a { display: block; line-height: 1.4; }
.site-footer .all-link { color: #9cc3ff; font-weight: 700; }
.footer-bottom a { color: #cfdaf0; }

/* ---- blog and tools ---- */
.crumb { display: inline-block; margin-bottom: 14px; font-weight: 700; font-size: .92rem; }
.post-meta { color: var(--muted); font-size: .88rem; font-weight: 600; }
.post-card { display: flex; flex-direction: column; gap: 10px; color: inherit; }
.post-card:hover { text-decoration: none; }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card p { flex: 1; }
.read-more { color: var(--blue); font-weight: 700; font-size: .95rem; }
.prose .lead-in { font-size: 1.2rem; color: var(--muted); border-left: 4px solid var(--blue); padding-left: 16px; margin-bottom: 1.5em; }
.prose p { margin: 0 0 1.1em; }
.post-more { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line); }
.post-more h3 { font-size: 1.1rem; }
.tool { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.tool .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.tool-out h2 { font-size: 1.25rem; }
.tool-out .res { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.tool-out .res small { color: var(--muted); font-weight: 600; font-size: .9rem; }
.tool-out .res strong { color: var(--ink); font-size: 1.25rem; text-align: right; }
.tool-out .res strong.good { color: var(--green); }
.tool-out .res strong.bad { color: var(--red); }
.field small.muted { font-size: .82rem; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- sandbox test console (dev only) ---- */
.dev-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dev-table th, .dev-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dev-table td:last-child { white-space: normal; min-width: 260px; }
.dev-table .btn { margin: 0 6px 6px 0; }
