/* soft-ignite.com — one stylesheet. Palette from the HyperPyre portal and report
   (navy #0f172a, red #C8102E); FlashPoint's red-orange for its accents. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --navy-3: #334155;
  --red: #c8102e;
  --red-2: #a50d26;
  --orange: #f97316;
  --ember: #fdba74;
  --fp-1: #ef4444;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --pale: #f8fafc;
  --pale-2: #f1f5f9;
  --bg: #ffffff;
  --ok: #15803d;
  --ok-bg: #ecfdf3;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --on-dark: #f1f5f9;
  --on-dark-2: #a3b0c2;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --gutter: 24px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.06), 0 10px 30px rgb(15 23 42 / 0.07);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-2); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 var(--s4); color: inherit; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.25rem; }
li + li { margin-top: var(--s2); }
code, kbd { font-family: var(--mono); font-size: 0.92em; background: var(--pale-2); border-radius: 4px; padding: 0.1em 0.35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* a narrow column that still starts on the page grid's left edge */
.narrow > * { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--s4); top: var(--s4); z-index: 10; background: #fff; padding: var(--s2) var(--s3); border-radius: var(--radius-sm); }

/* ---- header ---------------------------------------------------------- */
.site-head { background: var(--navy); color: var(--on-dark); border-bottom: 1px solid rgb(255 255 255 / 0.06); position: sticky; top: 0; z-index: 5; }
.head-row { display: flex; align-items: center; gap: var(--s6); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: inherit; text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand img { display: block; }
.nav-main { display: flex; gap: var(--s5); flex: 1; }
.nav-main a { color: var(--on-dark-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: var(--s2) 0; border-bottom: 2px solid transparent; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: var(--s4); }
.link-quiet { color: var(--on-dark); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.link-quiet:hover { color: #fff; text-decoration: underline; }
.nav-menu { display: none; margin-left: auto; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; color: var(--on-dark); font-weight: 600; padding: var(--s2) var(--s3); border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--radius-sm); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu nav { position: absolute; right: 0; top: calc(100% + var(--s2)); min-width: 220px; display: grid; background: var(--navy-2); border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius-sm); padding: var(--s2); box-shadow: var(--shadow); }
.nav-menu nav a { color: var(--on-dark); text-decoration: none; padding: var(--s2) var(--s3); border-radius: 6px; }
.nav-menu nav a:hover { background: rgb(255 255 255 / 0.06); }

/* ---- buttons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s5); border-radius: 10px; background: var(--red); color: #fff; font-weight: 650; font-size: 0.98rem; text-decoration: none; border: 1px solid var(--red); transition: background 0.15s, border-color 0.15s; }
.btn:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 var(--s4); font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgb(255 255 255 / 0.32); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.5); color: #fff; }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { background: var(--pale-2); border-color: var(--line-2); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.btn-note { color: var(--on-dark-2); font-size: 0.9rem; margin-top: var(--s3); }
.btn-note.on-light { color: var(--muted); }

/* ---- hero -------------------------------------------------------------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgb(200 16 46 / 0.22), transparent 60%), var(--navy); color: var(--on-dark); padding: var(--s9) 0 var(--s8); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); color: var(--on-dark-2); max-width: 60ch; margin-bottom: var(--s6); }
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s7); align-items: center; }
.hero-art { margin: 0; }
.hero-art img { border-radius: var(--radius); box-shadow: 0 30px 60px rgb(0 0 0 / 0.35), 0 0 0 1px rgb(255 255 255 / 0.08); display: block; background: #fff; }
.hero-art figcaption { color: var(--on-dark-2); font-size: 0.85rem; margin-top: var(--s3); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember); margin-bottom: var(--s4); }
.eyebrow img { width: 28px; height: 28px; }
.eyebrow.on-light { color: var(--red); }

/* ---- sections ---------------------------------------------------------- */
.section { padding: var(--s9) 0; }
.section-pale { background: var(--pale); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-2); }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--on-dark-2); }

/* ---- cards ------------------------------------------------------------- */
.grid { display: grid; gap: var(--s5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--ink-2); }
.card .card-foot { margin-top: auto; padding-top: var(--s4); }
.card-mark { width: 52px; height: 52px; margin-bottom: var(--s4); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.02em; padding: 2px 10px; border-radius: 999px; background: var(--pale-2); color: var(--ink-2); border: 1px solid var(--line); margin-bottom: var(--s3); align-self: flex-start; }
.tag-free { background: var(--ok-bg); color: var(--ok); border-color: #bbf7d0; }
.tag-red { background: #fff1f2; color: var(--red-2); border-color: #fecdd3; }
.tag-beta { background: var(--warn-bg); color: var(--warn); border-color: #fde68a; }
.card-link { font-weight: 650; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ---- feature lists, steps ---------------------------------------------- */
.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s6); }
.features li { margin: 0; padding-left: 28px; position: relative; color: var(--ink-2); }
.features li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 4px; background: var(--red); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--red); }
.features strong { color: var(--ink); display: block; }
.section-dark .features li { color: var(--on-dark-2); }
.section-dark .features strong { color: #fff; }
.section-dark .features li::before { box-shadow: inset 0 0 0 3px var(--navy), 0 0 0 1px var(--red); }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s5); }
.steps-row { grid-template-columns: repeat(3, 1fr); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps li { counter-increment: step; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); position: relative; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: var(--s3); }
.steps h3 { font-size: 1.05rem; margin-bottom: var(--s2); }
.steps p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }
.steps .where { display: block; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin-bottom: var(--s1); }

/* ---- shots ------------------------------------------------------------- */
.shot { margin: 0; }
.shot img { display: block; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot figcaption { color: var(--muted); font-size: 0.88rem; margin-top: var(--s3); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s7); align-items: center; }
.split-rev { grid-template-columns: 1.15fr 1fr; }

/* ---- tables ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--pale); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
td.mfr { font-weight: 650; white-space: nowrap; }
.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s2) var(--s5); list-style: none; padding: 0; }
.legend li { margin: 0; display: flex; gap: var(--s3); align-items: baseline; color: var(--ink-2); }
.legend code { min-width: 3.2em; text-align: center; font-weight: 650; color: var(--ink); }

/* ---- pricing ----------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--red); }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: var(--s3) 0 var(--s2); color: var(--ink); }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-alt { color: var(--muted); margin-bottom: var(--s5); }
.price-card ul { padding-left: 1.1rem; color: var(--ink-2); }
.price-card .btn { margin-top: auto; }
.places { font-weight: 650; color: var(--red-2); }

/* ---- FAQ, prose, notices ----------------------------------------------- */
.faq details { border-bottom: 1px solid var(--line); padding: var(--s4) 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: var(--s3) 0 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s7); font-size: 1.5rem; scroll-margin-top: 90px; }
.prose h3 { margin-top: var(--s5); scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--ink-2); }
mark.todo { background: #fef3c7; color: inherit; border-bottom: 2px dashed #f59e0b; padding: 0 2px; }
.notice { border: 1px solid #fde68a; background: var(--warn-bg); color: var(--warn); border-radius: var(--radius-sm); padding: var(--s3) var(--s4); margin-bottom: var(--s5); font-size: 0.95rem; }
.callout { background: var(--pale); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: var(--s5); }
.callout p:last-child { margin-bottom: 0; }
.toc { background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); position: sticky; top: 92px; }
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 var(--s3); }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; }
.toc li + li { margin-top: var(--s1); }
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: var(--s7); align-items: start; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: 0 0 var(--s3); }

/* ---- holding page ------------------------------------------------------ */
.holding { min-height: calc(100vh - 68px - 76px); display: flex; align-items: center; }
.holding .hero { width: 100%; padding: var(--s9) 0; }
.holding-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s7); }
.holding-products div { border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius); padding: var(--s5); background: rgb(255 255 255 / 0.03); }
.holding-products h2 { font-size: 1.1rem; color: #fff; margin-bottom: var(--s2); }
.holding-products p { color: var(--on-dark-2); margin: 0; font-size: 0.97rem; }

/* ---- footer ------------------------------------------------------------ */
.site-foot { background: var(--navy); color: var(--on-dark-2); padding: var(--s7) 0 var(--s5); font-size: 0.95rem; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--s6); margin-bottom: var(--s6); }
.foot-h { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-2); margin: 0 0 var(--s3); font-weight: 650; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li + li { margin-top: var(--s2); }
.brand-foot { color: var(--on-dark); margin-bottom: var(--s3); }
.foot-note { margin: 0; }
.foot-legal { border-top: 1px solid rgb(255 255 255 / 0.08); padding-top: var(--s5); margin: 0; font-size: 0.88rem; }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav-main, .nav-actions { display: none; }
  .nav-menu { display: block; }
  .hero-split, .split, .split-rev, .doc-grid { grid-template-columns: 1fr; }
  .grid-3, .steps-row, .steps-5, .holding-products { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: var(--s8) 0; }
  .hero { padding: var(--s8) 0 var(--s7); }
  .grid-3, .grid-2, .steps-row, .steps-5, .features, .price-grid, .holding-products, .foot-grid { grid-template-columns: 1fr; }
  .card, .price-card { padding: var(--s5); }
  th, td { padding: var(--s2) var(--s3); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .site-head, .site-foot, .nav-menu, .btn { display: none; }
  .hero, .section-dark { background: #fff; color: #000; }
}
