/* CaseOnGo landing + documentation design.
   Palette from whitelabels/WL1 (classic): primary #7C3AED violet, dark #5B21B6,
   second accent #DB2777 magenta, cool neutral ramp. Headings are set in the
   body sans at weight 700 — the classic preset carries no display serif.
   (Look swapped 2026-08-24: the warm azure/Fraunces treatment moved to
   frontend/landing/rangeen/styles.css. Structure and copy did not move.) */

:root {
  --lp-accent: #7c3aed;
  --lp-accent-strong: #5b21b6;
  --lp-accent-soft: #f5f3ff;
  --lp-pink: #db2777;
  --lp-pink-soft: #fdf2f8;
  --ink: #1e1b2e;
  --ink-soft: #3f3b52;
  --muted: #6f6b85;
  --line: #e7e5f0;
  --bg-alt: #faf9fd;
  --radius: 12px;
  --shadow-card: 0 1px 2px rgba(30, 27, 46, 0.05);
  --shadow-lift: 0 10px 30px rgba(124, 58, 237, 0.10);
  --wrap: 1120px;
  --topbar-h: 60px;
}

body { color: var(--ink); background: #fff; font-size: 15.5px; line-height: 1.65; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.015em; margin: 0; }

p { margin: 0; }

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__in {
  display: flex; align-items: center; gap: 28px;
  height: var(--topbar-h);
}

.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 28px; width: auto; }

.site-nav { display: flex; gap: 22px; margin-left: 8px; flex-wrap: wrap; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { color: var(--lp-accent); }
.site-nav a.is-active { color: var(--lp-accent-strong); font-weight: 650; }

.site-header__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.btn--primary { background: var(--lp-accent); color: #fff; }
.btn--primary:hover { background: var(--lp-accent-strong); }
.btn--ghost { border-color: #d6d3e4; color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--lp-accent); color: var(--lp-accent); }
.btn--big { padding: 12px 24px; font-size: 15px; border-radius: 10px; }
.btn--onblue { background: #fff; color: var(--lp-accent-strong); }
.btn--onblue:hover { background: var(--lp-accent-soft); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(167, 139, 250, 0.20), transparent 60%),
    radial-gradient(800px 420px at -10% 20%, rgba(219, 39, 119, 0.10), transparent 55%),
    linear-gradient(#fff, var(--bg-alt));
  border-bottom: 1px solid var(--line);
}

.hero__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px; align-items: center;
  padding: 72px 0 76px;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 18px;
}
.hero__eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--lp-pink); border-radius: 2px;
}

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--lp-accent); }

.hero__sub {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.6vw, 1.17rem); line-height: 1.65;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.hero__art { min-width: 0; }
.hero__art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(124, 58, 237, 0.14)); }

/* ── Stat strip ──────────────────────────────────────────────────────── */

.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 26px 0;
}
.strip__item { text-align: center; }
.strip__item b { display: block; font-size: 17px; color: var(--ink); }
.strip__item span { font-size: 13.5px; color: var(--muted); }

/* ── Sections ────────────────────────────────────────────────────────── */

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--blue {
  background: linear-gradient(140deg, #2e1065, var(--lp-accent-strong) 55%, var(--lp-accent));
  color: #fff;
}

.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--lp-accent); margin-bottom: 10px;
}
.section--blue .section__eyebrow { color: #c7b9f2; }
.section__head h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; }
.section__head p { margin-top: 14px; font-size: 1.05rem; color: var(--ink-soft); }
.section--blue .section__head p { color: #ddd6fe; }

/* ── Module grid ─────────────────────────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
  display: flex; flex-direction: column; gap: 9px;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #c7b9f2; }

.card__icon {
  width: 40px; height: 40px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lp-accent-soft); color: var(--lp-accent);
  margin-bottom: 4px;
}
.card__icon svg { width: 22px; height: 22px; }

.card h3 { font-size: 16.5px; font-weight: 650; }
.card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.card a { font-size: 13.5px; font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 6px; }
.card a:hover { text-decoration: underline; }

.badge {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--lp-pink-soft); color: var(--lp-pink); border: 1px solid #fbcfe8;
  vertical-align: 3px; margin-left: 8px;
}

/* ── Alternating feature rows ────────────────────────────────────────── */

.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
  padding: 40px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__art { order: 2; }

.feature__art svg {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
}

.feature__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; margin-bottom: 14px; }
.feature__body > p { font-size: 15.5px; color: var(--ink-soft); }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  position: relative; padding-left: 30px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink-soft);
}
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--lp-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

/* ── Steps ───────────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--lp-pink); margin-bottom: 12px;
}
.step h3 { font-size: 15.5px; font-weight: 650; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

/* ── Add-ons ─────────────────────────────────────────────────────────── */

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.addon {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.addon__tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lp-pink); background: var(--lp-pink-soft); border: 1px solid #fbcfe8;
  padding: 3px 10px; border-radius: 999px;
}
.addon h3 { font-size: 17px; font-weight: 700; }
.addon p { font-size: 14px; line-height: 1.62; color: var(--ink-soft); }
.addon ul { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 5px; }

/* ── Trust / security ────────────────────────────────────────────────── */

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust__item {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px 22px;
}
.trust__item h3 { font-size: 15.5px; font-weight: 650; margin-bottom: 8px; color: #fff; }
.trust__item p { font-size: 13.8px; line-height: 1.62; color: #ddd6fe; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 0; font-size: 15px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* ── Contact ─────────────────────────────────────────────────────────── */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }

.contact__pitch h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; }
.contact__pitch > p { margin-top: 14px; font-size: 15.5px; color: var(--ink-soft); }
.contact__alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.contact__alt a { font-weight: 600; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field textarea {
  width: 100%; border: 1.5px solid #d6d3e4; border-radius: 9px;
  padding: 10px 12px; font: inherit; font-size: 14.5px; color: var(--ink);
  background: #fff; transition: border-color 0.15s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--lp-accent); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; margin-top: 16px; }
.form-msg { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.form-msg--ok { color: #15803d; }
.form-msg--err { color: #b91c1c; }
.form-msg[hidden] { display: none; }

/* ── Final CTA band ──────────────────────────────────────────────────── */

.cta-band { text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; color: #fff; }
.cta-band p { margin: 14px auto 0; max-width: 34em; font-size: 15.5px; color: #ddd6fe; }
.cta-band .btn { margin-top: 28px; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer { background: #1e1b2e; color: #9a94b5; }
.site-footer__in {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  padding: 30px 0;
  font-size: 13.5px;
}
.site-footer a { color: #d6d3e4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Contact form done state ─────────────────────────────────────────── */

.form-done { text-align: center; padding: 26px 8px; }
.form-done h3 { font-size: 18px; font-weight: 700; color: #15803d; margin-bottom: 8px; }
.form-done p { font-size: 14.5px; color: var(--ink-soft); }

/* ── Documentation hub cards (index + guides) ────────────────────────── */

.hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.hub__card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; background: #fff; text-decoration: none; color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.hub__card:hover {
  border-color: var(--lp-accent);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.hub__kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--lp-accent-strong);
}
.hub__card h3 { font-size: 1.35rem; font-weight: 700; margin: 8px 0; color: var(--ink); }
.hub__card > p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; }
.hub__card ul { margin: 0 0 20px; padding-left: 18px; display: grid; gap: 6px; }
.hub__card li { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.hub__go { margin-top: auto; font-size: 14px; font-weight: 650; color: var(--lp-accent-strong); }
.hub__card:hover .hub__go { color: var(--lp-accent); }

/* ── Guide / handbook pages — intro band ─────────────────────────────── */

.intro {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 90% -20%, rgba(167, 139, 250, 0.18), transparent 60%),
    linear-gradient(#fff, var(--bg-alt));
}
.intro__in { max-width: var(--wrap); margin: 0 auto; padding: 52px 24px 44px; }
.intro h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; max-width: 24em; }
.intro p { margin-top: 14px; max-width: 46em; font-size: 1.03rem; color: var(--ink-soft); }
.intro__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.intro__chip {
  font-size: 12.5px; font-weight: 600;
  color: var(--lp-accent-strong); background: var(--lp-accent-soft);
  border: 1px solid #ddd6fe;
  padding: 5px 12px; border-radius: 999px;
}

/* ── Docs layout (guide + handbook) ──────────────────────────────────── */

.docs {
  max-width: 1240px; margin: 0 auto; padding: 0 24px 90px;
  display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px;
}

.side {
  position: sticky; top: calc(var(--topbar-h) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--topbar-h) - 40px);
  overflow-y: auto;
  padding: 26px 10px 26px 0;
}
.side h2 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 8px;
}
.side h2:first-child { margin-top: 0; }
.side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side a {
  display: block; padding: 5px 10px;
  border-radius: 7px; border-left: 2px solid transparent;
  font-size: 13.5px; color: var(--ink-soft); text-decoration: none;
}
.side a:hover { background: var(--lp-accent-soft); color: var(--lp-accent-strong); }

.docs .body { padding-top: 34px; max-width: 820px; }

.doc-sec { padding: 26px 0 10px; scroll-margin-top: calc(var(--topbar-h) + 16px); }
.doc-sec + .doc-sec { border-top: 1px solid var(--line); margin-top: 22px; }

.doc-sec h2 { font-size: 1.42rem; font-weight: 700; margin-bottom: 4px; }
.doc-sec .lede { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.doc-sec h3 { font-size: 1.02rem; font-weight: 650; margin: 24px 0 8px; }
.doc-sec p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 12px; }
.doc-sec p b, .doc-sec li b { color: var(--ink); }
.doc-sec ul, .doc-sec ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 7px; }
.doc-sec li { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* "Where to find it" breadcrumb chip */
.where {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12.8px; font-weight: 600; color: var(--lp-accent-strong);
  background: var(--lp-accent-soft); border: 1px solid #ddd6fe;
  border-radius: 8px; padding: 5px 12px;
  margin: 0 0 14px;
}
.where::before { content: '📍'; font-size: 12px; }

/* "How you use it" walkthrough callout */
.howto {
  border: 1px solid #ddd6fe; border-left: 3px solid var(--lp-accent);
  background: var(--lp-accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px 6px;
  margin: 16px 0 18px;
}
.howto > h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lp-accent-strong);
  margin: 0 0 10px;
}
.howto ol { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
.howto li { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.howto p { font-size: 13.5px; }

/* Plain informational note — magenta keyline */
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--lp-pink);
  background: #fdf8fb;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 13.8px; line-height: 1.6; color: var(--ink-soft);
}

/* Worked example — a third callout voice, distinct from .howto (procedure,
   accent keyline) and .note (caveat, magenta keyline). Green = "here is the
   same idea told as a story". */
.eg {
  border: 1px solid #cfe6da; border-left: 3px solid #2f8a62;
  background: #f5faf7;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px 6px;
  margin: 16px 0 18px;
}
.eg > h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #1f6a49;
  margin: 0 0 10px;
}
.eg p { font-size: 13.8px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 10px; }

/* Tables */
.tbl-wrap { overflow-x: auto; margin: 12px 0 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 13.6px; }
.tbl th {
  text-align: left; padding: 9px 14px;
  background: var(--bg-alt); color: var(--ink);
  font-weight: 650; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td { padding: 8px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

kbd {
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  background: #fff; color: var(--ink);
  border: 1px solid #d6d3e4; border-bottom-width: 2px; border-radius: 6px;
  padding: 1px 7px;
}

/* Inline code & code blocks */
code {
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: #f3f1fb;
  color: #4c2c86;
  border: 1px solid #ece8fa;
  border-radius: 5px;
  padding: 1px 5px;
  white-space: nowrap;
}

.doc-sec pre {
  margin: 12px 0 18px;
  padding: 14px 16px;
  background: #fbfaff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lp-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow-x: auto;
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 12.8px; line-height: 1.62; color: var(--ink);
  tab-size: 2;
}
.doc-sec pre code {
  font: inherit; background: none; border: 0; padding: 0;
  color: inherit; white-space: pre;
}

/* Small eyebrow that labels an example / code block */
.ex {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 6px;
}

/* Definition-style list (token / verb glosses in the handbook) */
.deflist { display: grid; gap: 10px; margin: 12px 0 18px; }
.deflist > div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 14px; align-items: baseline; }
.deflist .dt { font-weight: 600; color: var(--ink); }
.deflist .dd { margin: 0; font-size: 14.2px; color: var(--ink-soft); }
@media (max-width: 620px) {
  .deflist > div { grid-template-columns: 1fr; gap: 3px; }
  /* long verb signatures must wrap on phones or they drag the page sideways */
  code { white-space: normal; overflow-wrap: anywhere; }
}

/* ── Illustration shared classes (inline SVG mockups) ────────────────── */

.art .frame { fill: #fff; stroke: #e3e0ee; }
.art .chrome { fill: #f3f1fb; }
.art .dot { fill: #d6d3e4; }
.art .line { fill: #e7e5f0; }
.art .line-soft { fill: #f3f1fb; }
.art .panel { fill: #faf9fd; stroke: #e7e5f0; }
.art .accent { fill: var(--lp-accent); }
.art .accent-soft { fill: #e9e4f7; }
.art .accent-line { stroke: var(--lp-accent); }
.art .sky { fill: var(--lp-pink); }
.art .ok { fill: #16a34a; }
.art .ok-soft { fill: #dcfce7; }
.art .warn { fill: #f59e0b; }
.art .warn-soft { fill: #fef3c7; }
.art .txt { fill: #a09ab8; }

/* ── Responsive + print ──────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 56px; }
  .grid, .addons, .trust { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 26px; }
  .feature--flip .feature__art { order: 0; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .strip__in { grid-template-columns: 1fr 1fr; gap: 14px; }
  .site-nav { display: none; }
}

@media (max-width: 900px) {
  /* minmax(0,1fr), not 1fr — a bare 1fr can't shrink below the widest <pre>'s
     min-content and the whole page scrolls sideways on phones. */
  .docs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .side { position: static; max-height: none; padding-bottom: 0; }
  .docs .body { padding-top: 10px; }
}

@media (max-width: 560px) {
  .grid, .addons, .trust, .steps, .form-grid, .hub { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero__actions .btn { width: 100%; }
}

@media print {
  .site-header, .side, .site-footer { display: none; }
  .docs { display: block; }
  .doc-sec pre { white-space: pre-wrap; }
}
