/* ============================================================
   Stratum marketing site — shared stylesheet
   Palette pulled from StratumTheme.swift so the site matches the app.
   ============================================================ */

:root {
  /* Chart series accents (Genesis/TeeChart palette) */
  --c-red:    #FF0000;
  --c-blue:   #0000FF;
  --c-green:  #008000;
  --c-purple: #800080;
  --c-teal:   #008080;

  /* Reference / indicator colors */
  --c-brown:  #8C4407;   /* refMean */
  --c-steel:  #1A8CA6;   /* refMedian */
  --c-pareto: #1A9E33;   /* Pareto cumulative */
  --c-cream:  #FFFFCF;   /* data-label fill */

  /* Brand */
  --brand:        #1A8CA6;   /* primary brand = steel-teal */
  --brand-dark:   #14707f;
  --brand-deep:   #0e4d57;
  --accent:       #800080;   /* secondary accent */

  /* Neutrals / chrome */
  --ink:        #1c1f22;
  --ink-soft:   #41474d;
  --ink-faint:  #6b7378;
  --line:       #e2e6e9;
  --bg:         #ffffff;
  --bg-soft:    #f5f7f9;
  --bg-deep:    #0e1418;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(16,24,32,.06), 0 8px 24px rgba(16,24,32,.06);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--ink);
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }

.btn {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .05s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn:active { transform: translateY(1px); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(26,140,166,.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 700; color: var(--brand-dark); margin-bottom: 14px;
}
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--ink-faint); }
.hero-shot { margin: 44px 0 0; }
.hero-shot img {
  width: 100%; max-width: 980px; display: block; margin: 0 auto;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(16,24,32,.18);
}

/* screenshot showcase grid — all tiles identical size */
.showcase figure { margin: 0; }
.showcase img {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft);
  aspect-ratio: 16 / 10; object-fit: cover; object-position: top left;
  cursor: zoom-in;
}
.showcase figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); text-align: center; }
.hero-shot img { cursor: zoom-in; }
.hero-shot-compact { margin-top: 32px; }
.hero-shot-compact img { max-width: 680px; }

/* centered figure for use inside content sections */
.section-figure { margin: 40px auto 0; max-width: 760px; }
.section-figure img {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft);
}
.section-figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); text-align: center; }

/* click-to-zoom lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 32px;
  background: rgba(10,16,20,.86); backdrop-filter: blur(4px); cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95vw; max-height: 92vh; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff;
}
.lightbox .lb-close {
  position: absolute; top: 18px; right: 26px; color: #fff;
  font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: .85; user-select: none;
}
.lightbox .lb-close:hover { opacity: 1; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.bg-soft { background: var(--bg-soft); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.card .chip {
  display: inline-flex; width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 1.2rem; background: rgba(26,140,166,.10); color: var(--brand-dark);
}

/* ---------- Value strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-strip .stat .num { font-size: 2.2rem; font-weight: 800; color: var(--brand-dark); }
.stats-strip .stat .lbl { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Blog listing ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16,24,32,.12); text-decoration: none; }
.post-card .thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 2.4rem; font-weight: 800;
}
.post-card .thumb .thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.post-card .body { padding: 20px 22px 24px; }
.post-card .num-tag { font-size: .78rem; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { margin: 6px 0 8px; color: var(--ink); font-size: 1.12rem; }
.post-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.post-card .arc { display:inline-block; margin-top:14px; font-size:.78rem; color:var(--ink-faint); }

/* ---------- Blog post ---------- */
.post {
  padding: 56px 0 80px;
}
.post .post-meta { color: var(--ink-faint); font-size: .9rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post h1 { margin: 0 0 18px; }
.post .dek { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 36px; }
.post article { font-size: 1.05rem; }
.post article h2 { margin: 44px 0 14px; padding-top: 8px; }
.post article h3 { margin: 30px 0 10px; color: var(--brand-deep); }
.post article ul, .post article ol { padding-left: 1.3em; margin: 0 0 1rem; }
.post article li { margin-bottom: .4rem; }
.post article figure { margin: 28px 0; }
.post article figure img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: block; background: var(--bg-soft);
}
.post article figcaption { font-size: .88rem; color: var(--ink-faint); margin-top: 10px; text-align: center; }

/* image placeholder before screenshot is uploaded */
.shot {
  width: 100%; aspect-ratio: 16/9; border: 1px dashed #c4ccd1;
  border-radius: var(--radius); background: repeating-linear-gradient(45deg, #f3f6f8, #f3f6f8 12px, #eef2f5 12px, #eef2f5 24px);
  color: var(--ink-faint); display: flex; align-items: center; justify-content: center;
  font-size: .9rem; text-align: center; padding: 20px;
}

/* callout boxes */
.callout {
  border-left: 4px solid var(--brand); background: var(--bg-soft);
  padding: 16px 20px; border-radius: var(--radius-sm); margin: 24px 0;
}
.callout.tip { border-left-color: var(--c-green); }
.callout.concept { border-left-color: var(--accent); }
.callout.test { border-left-color: var(--c-brown); }
.callout strong { color: var(--ink); }

/* dataset facts box */
.dataset-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; background: var(--bg-soft); margin: 24px 0;
}
.dataset-box h4 { margin: 0 0 10px; color: var(--brand-deep); }
.dataset-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: .95rem; }
.dataset-box dt { white-space: nowrap; }
.dataset-box dt { font-weight: 600; color: var(--ink-soft); }
.dataset-box dd { margin: 0; color: var(--ink); }

/* steps / checklist */
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: "☐"; position: absolute; left: 0; color: var(--brand-dark); font-size: 1.1rem; }
.checklist code { background: var(--bg-soft); padding: 2px 7px; border-radius: 5px; font-family: var(--mono); font-size: .86em; border: 1px solid var(--line); }

code { font-family: var(--mono); font-size: .9em; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); }
pre { background: var(--bg-deep); color: #e6edf3; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; font-family: var(--mono); font-size: .88rem; line-height: 1.55; }
pre code { background: none; border: none; padding: 0; color: inherit; }

table.tbl { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .95rem; }
table.tbl th, table.tbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
table.tbl th { background: var(--bg-soft); font-weight: 700; color: var(--ink-soft); }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { font-weight: 600; }
.post-nav .next { margin-left: auto; text-align: right; }

/* ---------- Blog: categories & tags ---------- */
/* category chip row on the blog hub + category pages */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 8px; }
.cat-nav a {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line);
}
.cat-nav a:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.cat-nav a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* category pill shown on a post card (replaces the tutorial's numbered thumb tag) */
.post-card .cat {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-dark);
}
.post-card .post-date { display: block; margin-top: 12px; font-size: .8rem; color: var(--ink-faint); }
/* a card whose thumb has no number, just the gradient + optional image */
.post-card .thumb.plain { font-size: 0; }

/* tag list at the foot of a post */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.tag-list .tag {
  font-size: .82rem; color: var(--ink-soft); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.tag-list .tag::before { content: "#"; color: var(--ink-faint); }

/* post-level category + meta line on an article */
.post .post-cat { color: var(--brand-dark); font-weight: 700; }

/* "more coming" placeholder card */
.post-card.coming { border-style: dashed; box-shadow: none; cursor: default; opacity: .85; }
.post-card.coming:hover { transform: none; box-shadow: none; }
.post-card.coming .thumb { background: var(--bg-soft); color: var(--ink-faint); font-size: 1rem; font-weight: 600; }
.post-card.coming .body p { color: var(--ink-faint); }

/* RSS link on the blog hub */
.rss-link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; }

/* ---------- Companion video embed ---------- */
.video-embed {
  position: relative; margin: 0 0 36px; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-deep);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute; inset: 0; display: flex; gap: 10px;
  align-items: center; justify-content: center; text-align: center; padding: 20px;
  color: #cdd6db; font-weight: 600; font-size: .95rem;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--bg-deep) 100%);
}
a.video-poster:hover { color: #fff; text-decoration: none; }

/* lead/hero image — used on text-only posts (e.g. comparisons) that have no early figure */
.post-hero { margin: 8px 0 34px; }
.post-hero img {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft);
}

/* ---------- Pricing stub ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.price-card { text-align: center; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset, var(--shadow); }
.price-card .price { display: flex; align-items: baseline; justify-content: center; gap: 9px; font-size: 2.4rem; font-weight: 800; color: var(--ink); margin: 10px 0 3px; line-height: 1.1; white-space: nowrap; }
.price-card .price-was { font-size: 1.35rem; font-weight: 600; color: var(--ink-faint); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.price-card .price-now { color: var(--ink); }
.price-card .price-sub { font-size: .95rem; color: var(--ink-faint); margin: 0 0 6px; }
.price-card .price-code { font-size: .85rem; color: var(--ink-faint); margin: 0 0 16px; }
.price-card .students-link { margin-top: 8px; font-size: .92rem; }
.launch-badge { display: inline-block; margin: 2px 0 8px; padding: 3px 11px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.price-code code { padding: 1px 7px; border-radius: 5px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: .92em; letter-spacing: .02em; }
.stub-banner { background: #fff8e1; border: 1px solid #f0e0a8; color: #6b5a18; padding: 12px 18px; border-radius: var(--radius-sm); text-align: center; margin: 0 0 36px; font-size: .95rem; }

/* ---------- Calculators ---------- */
.calc {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 24px; margin: 28px 0;
  box-shadow: var(--shadow);
}
.calc .calc-row { margin-bottom: 16px; }
.calc label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-soft); margin-bottom: 6px; }
.calc label .hint { font-weight: 400; color: var(--ink-faint); }
.calc input[type="number"], .calc input[type="text"], .calc select {
  width: 100%; padding: 10px 12px; font-size: 1rem; font-family: var(--font);
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  -webkit-appearance: none; appearance: none;
}
.calc input:focus, .calc select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,140,166,.15); }
.calc .calc-inline { display: flex; gap: 14px; flex-wrap: wrap; }
.calc .calc-inline > .calc-row { flex: 1 1 160px; margin-bottom: 0; }
.calc .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.calc .seg label { margin: 0; }
.calc .seg input { position: absolute; opacity: 0; pointer-events: none; }
.calc .seg label span {
  display: inline-block; padding: 8px 16px; font-size: .9rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; user-select: none;
}
.calc .seg input:checked + span { background: var(--brand); color: #fff; }
.calc-result {
  margin-top: 22px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line); text-align: center;
}
.calc-result .big { font-size: 2.4rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; letter-spacing: -.01em; }
.calc-result .verdict { margin-top: 8px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.calc-result .detail { margin-top: 6px; font-size: .9rem; color: var(--ink-faint); }
.calc-result.is-error .big { font-size: 1.1rem; color: var(--c-brown); font-weight: 700; }
.calc .sig-yes { color: var(--c-green); }
.calc .sig-no  { color: var(--c-brown); }

/* maker: data input + chart output */
.calc textarea {
  width: 100%; min-height: 130px; padding: 11px 13px; font-family: var(--mono);
  font-size: .9rem; line-height: 1.5; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm); resize: vertical;
}
.calc textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,140,166,.15); }
.calc .btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.calc .linkish { background: none; border: none; padding: 0; font: inherit; font-weight: 600; color: var(--brand-dark); cursor: pointer; }
.calc .linkish:hover { text-decoration: underline; }
.calc .err { color: var(--c-brown); font-size: .9rem; font-weight: 600; margin-top: 12px; }
.chart-wrap {
  margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); padding: 10px; overflow-x: auto;
}
.chart-wrap svg { display: block; width: 100%; height: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #aeb9c0; padding: 48px 0 36px; margin-top: 0; }
.site-footer a { color: #d4dde2; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #7e8a92; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.faq-toc a { font-size: .9rem; font-weight: 600; color: var(--ink-soft); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }
.faq-toc a:hover { color: var(--brand); border-color: var(--brand); text-decoration: none; }
.faq-group { margin-top: 52px; scroll-margin-top: 90px; }
.faq-group > h2 { font-size: 1.5rem; margin: 0 0 6px; }
.faq-group > p.faq-group-sub { color: var(--ink-faint); margin: 0 0 8px; }
.faq-q { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-q h3 { font-size: 1.16rem; margin: 0 0 8px; }
.faq-q p { color: var(--ink-soft); line-height: 1.66; margin: 0; }
.faq-q p + p { margin-top: 10px; }
.faq-cta { text-align: center; margin-top: 64px; padding: 40px 0 8px; border-top: 1px solid var(--line); }
.faq-cta h2 { margin: 0 0 10px; }
.faq-cta p { color: var(--ink-soft); margin: 0 0 22px; }

/* ---------- Support form ---------- */
.support-form { max-width: 600px; }
.support-form .field { margin-bottom: 20px; }
.support-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.support-form .req { color: #c0392b; }
.support-form .opt { color: var(--ink-faint); font-weight: 500; font-size: .9rem; }
.support-form input[type="text"], .support-form input[type="email"], .support-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
.support-form textarea { resize: vertical; min-height: 150px; }
.support-form input:focus, .support-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,140,166,.15);
}
.support-form .radio-row { display: flex; gap: 22px; padding-top: 2px; }
.support-form .radio { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.support-form .err-msg { display: none; color: #c0392b; font-size: .85rem; margin-top: 6px; }
.support-form .field-error input, .support-form .field-error textarea { border-color: #c0392b; }
.support-form .field-error .err-msg { display: block; }
.support-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.form-status { font-size: .92rem; color: var(--ink-soft); }
.form-status.error { color: #c0392b; }
.form-success { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .post-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .post-grid, .price-grid, .stats-strip { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .dataset-box dl { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Hero trust line (free-trial / price reassurance) ---------- */
.hero-trust { margin-top: 18px; font-size: 1rem; color: var(--ink-soft); }
.hero-trust strong { color: var(--ink); }

/* ---------- Trust / positioning band ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: left; }
.trust-item .chip {
  display: inline-flex; width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center; margin-bottom: 14px;
  font-size: 1.2rem; background: rgba(26,140,166,.10); color: var(--brand-dark);
}
.trust-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.trust-item p { color: var(--ink-soft); margin: 0; font-size: .95rem; line-height: 1.55; }
.trust-item strong { color: var(--ink); }

/* ---------- Download page: platform buttons + first-open note ---------- */
.dl .dl-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.dl .firstopen {
  margin: 34px auto 0; max-width: 520px; text-align: left;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.dl .firstopen h2 { margin: 0 0 8px; font-size: 1.05rem; }
.dl .firstopen p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; margin: 8px 0 0; }
.dl .firstopen strong { color: var(--ink); }

@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing: per-plan feature lists ----------
   Cards are text-align:center, so the list is a LEFT-aligned block centered
   within the card (max-width + auto margins) — otherwise it hugs the left edge
   and reads as broken. list-style:none + a hanging ✓ so wrapped lines indent
   under the text, not under a bullet. */
.price-card .plan-lead { color: var(--ink); font-weight: 600; margin: 16px 0 0; }
.plan-features {
  list-style: none;
  width: fit-content; max-width: 100%;
  margin: 16px auto 0; padding: 18px 0 0;
  text-align: left; border-top: 1px solid var(--line);
}
.plan-features li {
  position: relative; padding-left: 26px; margin: 11px 0;
  color: var(--ink-soft); font-size: .93rem; line-height: 1.5;
}
.plan-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}
.plan-features strong { color: var(--ink); font-weight: 600; }
