/* =========================================================
   SBON — SaaS marketing site
   Design system: "読めるSBOM" — ledger × approval-stamp
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700;900&family=Noto+Sans+JP:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  color-scheme: light;

  /* --- Surfaces / neutrals (warm) --- */
  --paper: #f6f4ee;          /* page background */
  --paper-2: #efece3;        /* alt section */
  --surface: #ffffff;
  --ink: #1b1a17;            /* near-black, warm */
  --ink-soft: #3c3a34;
  --muted: #6f6b62;
  --muted-2: #908b80;
  --line: #e4dfd3;           /* warm hairline */
  --line-strong: #d4cdbd;

  /* --- Brand: deep green = verified / approved / safe --- */
  --brand: #1d6b4d;
  --brand-deep: #14523a;
  --brand-bright: #2f8a64;
  --brand-tint: #e9f1eb;
  --brand-tint-2: #dceadf;

  /* --- Warm clay accent (sparingly) --- */
  --clay: #b5683a;
  --clay-tint: #f6e9df;

  /* --- Risk palette (continuity w/ the app) --- */
  --high: #b23a2e;
  --high-bg: #fbeae6;
  --medium: #9a6b16;
  --medium-bg: #f8eed5;
  --low: #1f7a4d;
  --low-bg: #e6f2e9;

  --focus: #2f8a64;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(27, 26, 23, 0.05);
  --shadow: 0 8px 30px -12px rgba(27, 26, 23, 0.18);
  --shadow-lg: 0 30px 70px -28px rgba(20, 60, 42, 0.35);

  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

/* --- Layout primitives --- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--ink);
  color: #f3f1ea;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

/* --- Eyebrow (mono label) --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--brand);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--brand-bright); }
.section--ink .eyebrow::before { background: var(--brand-bright); }

/* --- Headings scale --- */
.display {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.18;
  letter-spacing: 0.005em;
}
.h-sec {
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.24;
}
.h-card { font-size: clamp(19px, 1.5vw, 22px); }

.lede {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 60ch;
}
.muted { color: var(--muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    box-shadow 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(20, 82, 58, 0.7);
}
.btn--primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(20, 82, 58, 0.65);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(27,26,23,0.03); }

.btn--on-ink {
  background: #fff;
  color: var(--ink);
}
.btn--on-ink:hover { background: var(--brand-bright); color: #fff; transform: translateY(-2px); }

.btn--ghost-ink {
  background: transparent;
  color: #f3f1ea;
  border-color: rgba(255,255,255,0.32);
}
.btn--ghost-ink:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-weight: 700;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.textlink:hover { border-color: var(--brand); gap: 11px; }
.textlink .arr { transition: transform 0.2s var(--ease); }
.textlink:hover .arr { transform: translateX(3px); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- Stamp mark (logo + decorative) --- */
.stamp {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: var(--brand);
  flex-shrink: 0;
}
.stamp svg { width: 20px; height: 20px; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 238, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.brand .stamp { width: 34px; height: 34px; }
.brand .stamp svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover { background: rgba(27,26,23,0.05); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--brand); font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  position: relative;
  transition: transform 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #c8c4b9;
  padding-block: clamp(48px, 6vw, 76px) 32px;
}
.site-footer a { color: #c8c4b9; transition: color 0.18s; }
.site-footer a:hover { color: #fff; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px 28px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .stamp { border-color: var(--brand-bright); color: var(--brand-bright); }
.footer-brand p { color: #9d988c; font-size: 14.5px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b867a;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 15px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8b867a;
}
.footer-bottom .privacy {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-bright); font-weight: 700;
}

/* =========================================================
   Reusable building blocks
   ========================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  border: 1px solid var(--brand-tint-2);
  font-size: 13.5px;
  font-weight: 700;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pill--soon { background: var(--clay-tint); color: #8a4a23; border-color: #ecd4c2; }
.pill--soon .dot { background: var(--clay); }

.badge {
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
.badge.high { background: var(--high-bg); color: var(--high); }
.badge.medium { background: var(--medium-bg); color: var(--medium); }
.badge.low { background: var(--low-bg); color: var(--low); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section-head { max-width: 64ch; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* Feature/icon tile */
.tile-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-tint);
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.tile-icon svg { width: 25px; height: 25px; stroke-width: 1.8; }

/* Ledger / mono code block */
.ledger {
  font-family: var(--font-mono);
  font-size: 13px;
  background: #1f1e1a;
  color: #d7d3c7;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  line-height: 1.7;
  overflow: auto;
}
.ledger .k { color: #8fb9a3; }
.ledger .s { color: #d8b48a; }
.ledger .c { color: #7c776a; }

/* Striped image placeholder */
.ph {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: #f2efe6;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 9px,
    rgba(27,26,23,0.045) 9px, rgba(27,26,23,0.045) 18px
  );
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 24px;
  min-height: 180px;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.page-header {
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 85% -20%, var(--brand-tint) 0%, transparent 55%),
    var(--paper);
}
.page-header .lede { margin-top: 18px; }

/* Diff mock rows */
.diff-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.diff-row .tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; letter-spacing: 0.04em;
}
.diff-row.added { background: var(--low-bg); }
.diff-row.added .tag { background: var(--low); color: #fff; }
.diff-row.removed .tag { background: var(--line-strong); color: var(--ink); }
.diff-row.changed .tag { background: var(--medium); color: #fff; }
.diff-row .nm { font-weight: 700; font-family: var(--font-display); }
.diff-row .ver { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* =========================================================
   Pricing
   ========================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.price-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-inline: auto;
}
.ribbon--soon { background: var(--clay) !important; }
.price-card--soon { background: var(--paper-2); border-style: dashed; border-color: var(--line-strong); }
.price-card--soon .pname { color: var(--clay); }
.amount--soon { color: var(--muted-2); font-size: 30px; }
.feat-note { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.plan-planned {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--clay); background: var(--clay-tint);
  border: 1px solid #ecd4c2; border-radius: 999px; padding: 2px 9px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint), var(--shadow);
  position: relative;
}
.price-card .ribbon {
  position: absolute; top: -13px; left: 30px;
  background: var(--brand); color: #fff;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; padding: 5px 14px; border-radius: 999px;
}
.price-card .pname {
  font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 14px; color: var(--ink);
}
.price-card.featured .pname { color: var(--brand); }
.price-card .pdesc { color: var(--muted); font-size: 14.5px; min-height: 3em; }
.price-card .amount {
  font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1;
  margin: 6px 0; display: flex; align-items: baseline; gap: 6px;
}
.price-card .amount .unit { font-size: 16px; font-weight: 700; color: var(--muted); }
.price-card .btn { width: 100%; margin: 14px 0 6px; }
.price-feats { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.price-feats li {
  position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
}
.price-feats li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6b4d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.price-feats li.muted-feat { color: var(--muted-2); }
.price-feats li.muted-feat::before {
  background: var(--paper-2) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23908b80' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Compare table */
.compare {
  width: 100%; border-collapse: collapse; font-size: 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 15px; background: var(--paper-2); }
.compare .th-sub { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); margin-top: 3px; }
.compare thead th:not(:first-child) { text-align: center; }
.compare td:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 500; color: var(--ink-soft); }
.compare .yes { color: var(--brand); font-weight: 700; }
.compare .no { color: var(--muted-2); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .col-feat { background: rgba(29,107,77,0.035); }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--brand-tint-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  display: flex; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex-shrink: 0;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6b4d' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6b4d' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq summary .q { color: var(--brand); font-family: var(--font-mono); font-size: 14px; }
.faq .answer { padding: 0 0 20px; color: var(--muted); line-height: 1.85; }

/* =========================================================
   Forms (contact)
   ========================================================= */
.form-grid { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field label {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
}
.form-field label .req { color: var(--high); font-size: 13px; margin-left: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit; font-size: 16px;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.form-field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.form-hint { font-size: 13px; color: var(--muted); }
.form-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
  border-radius: var(--radius-sm); padding: 16px 18px; color: var(--brand-deep); font-size: 14px;
}
.form-success {
  display: none; text-align: center; padding: 40px 24px;
}
.form-success.show { display: block; }
.checkbox-row { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.checkbox-row input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }

@media (max-width: 820px) {
  .price-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 620px; }
}

/* =========================================================
   Split layout (text + visual)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split-visual { order: -1; }
.split-wide { grid-template-columns: 1fr 1.15fr; }

/* =========================================================
   Product mock — "browser/app window"
   ========================================================= */
.mock {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); display: block; }
.mock-bar .url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
}
.mock-body { padding: 18px; display: grid; gap: 12px; }

.row-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.row-item.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.row-item .nm { font-weight: 700; font-family: var(--font-display); }
.row-item .ver { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.row-item .use { font-size: 13px; color: var(--muted); }

.explain {
  border: 1px solid var(--brand-tint-2);
  background: linear-gradient(180deg, var(--brand-tint), #fff 60%);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.explain h5 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  display: flex; align-items: center; gap: 9px;
}
.explain p { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.explain .status {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--brand-tint-2);
  display: grid; gap: 7px;
}
.explain .status span { font-size: 13.5px; display: flex; gap: 8px; align-items: baseline; }
.explain .status b { color: var(--high); font-weight: 700; }

/* =========================================================
   Steps
   ========================================================= */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; }
.step .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.step .num::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-tint-2);
  background: var(--brand-tint);
  display: grid; place-items: center;
  font-size: 14px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* =========================================================
   Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 28px 24px; text-align: center; }
.stat .figure {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--brand);
  line-height: 1;
}
.stat .label { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* =========================================================
   Logos / continuity strip
   ========================================================= */
.format-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 28px; justify-content: center;
}
.format-strip .fmt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
}
.format-strip .fmt .stamp { width: 30px; height: 30px; }
.format-strip .fmt .stamp svg { width: 15px; height: 15px; }

@media (max-width: 820px) {
  .split, .split-wide { grid-template-columns: 1fr; }
  .split--reverse .split-visual { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .row-item { grid-template-columns: 1fr auto; }
  .row-item .use { display: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-links,
  .nav .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 72px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px clamp(20px, 5vw, 44px) 24px;
    gap: 2px;
    margin: 0;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 13px 14px; font-size: 17px; }
  .nav.open .nav-cta {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: calc(72px + 240px);
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
}
