/* mierutech — editorial light system
   palette: professional navy + blue CTA (ui-ux-pro-max master)
   execution: hairline rules, tight radii, no gradients, no glass. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8fafc;
  --paper-2: #f1f5f9;
  --card: #ffffff;
  --ink: #020617;
  --navy: #0f172a;
  --navy-2: #334155;
  --accent: #0369a1;
  --accent-soft: #e0f2fe;
  --muted: #475569;
  --muted-2: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --high: #b91c1c;
  --high-soft: #fee2e2;
  --mid: #b45309;
  --mid-soft: #fef3c7;
  --low: #0369a1;
  --low-soft: #e0f2fe;
  --info: #475569;
  --info-soft: #f1f5f9;
  --ok: #15803d;
  --radius: 4px;
  --wrap: 1160px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { left: 16px; top: 16px; }

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand-mark {
  width: 9px;
  height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.nav a { position: relative; padding: 6px 0; transition: color 0.18s ease; }
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  overflow: hidden;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.lang-switch a,
.lang-switch span {
  padding: 5px 9px;
  color: var(--muted-2);
}

.lang-switch .is-active {
  background: var(--navy);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #1e293b; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--navy); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 76px;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--navy);
}

h1 .accent { color: var(--accent); }

.lead {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 32em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted-2);
  border-top: 1px solid var(--border);
}

.hero-meta li {
  padding: 12px 18px 0 0;
  margin-right: 18px;
  border-right: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta li:last-child { border-right: 0; margin-right: 0; }
.hero-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* report sheet */

.report-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--navy);
  color: #e2e8f0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sample-badge {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  color: #fcd34d;
  font-size: 9px;
}

.report-body { padding: 20px; }

.report-domain {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}

.report-domain span:last-child { color: var(--muted-2); font-size: 10px; }

.sev-bars { display: grid; gap: 10px; margin-bottom: 20px; }

.sev-row {
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.sev-track {
  height: 5px;
  background: var(--paper-2);
  overflow: hidden;
}

.sev-fill { height: 100%; display: block; }
.sev-fill.high { background: var(--high); }
.sev-fill.mid { background: var(--mid); }
.sev-fill.low { background: var(--low); }
.sev-fill.info { background: var(--info); }

.mini-findings {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: grid;
  gap: 9px;
}

.mini-finding {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--muted);
}

.dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; }
.dot.high { background: var(--high); }
.dot.mid { background: var(--mid); }
.dot.low { background: var(--low); }
.dot.info { background: var(--info); }

.report-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- kpi ---------- */

.kpi-strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.kpi { padding: 28px 0 28px 28px; border-left: 1px solid var(--border); }
.kpi:first-child { border-left: 0; padding-left: 0; }

.kpi-value {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 6px;
}

.kpi-value small { font-size: 0.55em; font-weight: 700; margin-left: 2px; color: var(--muted-2); }

.kpi-label { font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.02em; }

/* ---------- sections ---------- */

.section { padding: 92px 0; border-top: 1px solid var(--border); }
.section:nth-of-type(even) { background: var(--card); }
.kpi-strip + .section { border-top: 0; }

.section-head { max-width: 700px; margin-bottom: 48px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.9vw, 2.05rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--navy);
}

.section-lead { margin: 0; color: var(--muted); font-size: 15px; }

/* cards */

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.card-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* dashboard */

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.sample-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.sample-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sample-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sample-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sample-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 2px 6px;
}

.sample-scope {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.sample-card h3 { margin: 0; font-size: 14px; line-height: 1.6; color: var(--navy); }

.sev-mini {
  display: flex;
  height: 5px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-2);
}
.sev-mini-seg { display: block; height: 100%; }
.sev-mini-seg.high { background: var(--high); }
.sev-mini-seg.mid { background: var(--mid); }
.sev-mini-seg.low { background: var(--low); }
.sev-mini-seg.info { background: var(--info); }

.sev-counts { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 11px; color: var(--muted); }
.sev-count { display: inline-flex; align-items: center; gap: 5px; }

.sample-top {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.sample-top .k {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.sample-note { margin: 10px 0 20px; font-size: 11.5px; color: var(--muted-2); }

.sample-open {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.sample-more { margin: -6px 0 24px; font-size: 13px; }
.sample-more a { color: var(--accent); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--accent); }

.report-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.report-cta { margin-top: 32px; }

.dash-grid { display: grid; grid-template-columns: 300px 1fr; }

.dash-side {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.donut {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--card);
}

.donut-center { position: relative; z-index: 1; text-align: center; }
.donut-center strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1.1;
}
.donut-center span { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }

.legend { width: 100%; display: grid; gap: 9px; }

.legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legend-row:last-child { border-bottom: 0; padding-bottom: 0; }
.legend-left { display: inline-flex; align-items: center; gap: 8px; }

.dash-main { overflow-x: auto; }

.table-scroll { overflow-x: auto; }

table.checks { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }

table.checks th {
  text-align: left;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 11px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

table.checks td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}

table.checks tbody tr:last-child td { border-bottom: 0; }
table.checks td:first-child { color: var(--ink); font-weight: 600; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 2px;
}
.status.ok { color: var(--ok); background: #dcfce7; }
.status.warn { color: var(--mid); background: var(--mid-soft); }
.status.high { color: var(--high); background: var(--high-soft); }

.layer {
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 2px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--muted-2);
}

/* findings list */

.finding-list { margin-top: 24px; border-top: 1px solid var(--border-strong); }

.finding-item { border-bottom: 1px solid var(--border); }

.finding-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 2px;
  min-height: 52px;
}

.finding-item summary::-webkit-details-marker { display: none; }

.finding-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.finding-item[open] summary::after { content: "−"; }

.finding-title { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.6; }

.sev-chip {
  flex: 0 0 auto;
  min-width: 54px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.sev-chip.high { color: var(--high); background: var(--high-soft); }
.sev-chip.mid { color: var(--mid); background: var(--mid-soft); }
.sev-chip.low { color: var(--low); background: var(--low-soft); }
.sev-chip.info { color: var(--info); background: var(--info-soft); }

.finding-body { padding: 0 2px 18px 68px; display: grid; gap: 10px; }
.finding-body p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.finding-body .k {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}

/* pipeline */

.steps { border-top: 1px solid var(--border-strong); }

.step {
  display: grid;
  grid-template-columns: 72px 1fr 1.35fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
}

.step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.step h3 { margin: 0; font-size: 15px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* pricing */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: #e2e8f0;
}
.plan.featured .plan-name { color: #7dd3fc; }
.plan.featured .plan-price { color: #fff; }
.plan.featured ul { color: #cbd5e1; }
.plan.featured li::before { color: #7dd3fc; }

.plan-name {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.plan-price {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.plan-price small { font-size: 11px; font-weight: 500; color: var(--muted-2); margin-left: 4px; }

.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 13.5px; color: var(--muted); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "—"; color: var(--accent); flex: 0 0 auto; }

/* faq */

.faq { border-top: 1px solid var(--border-strong); }

details.qa { border-bottom: 1px solid var(--border); padding: 18px 2px; }

details.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
details.qa[open] summary::after { content: "−"; }

details.qa p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 52em; }

/* about */

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }

dl.facts { margin: 0; border-top: 1px solid var(--border-strong); }

dl.facts dt, dl.facts dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14px; }

dl.facts dt {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 0;
}
dl.facts dd { color: var(--ink); padding-top: 0; }

/* contact */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }

.form { display: grid; gap: 16px; }

.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 11px 12px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
  outline-offset: 0;
}

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.check input { width: auto; margin-top: 5px; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form-note { font-size: 12px; color: var(--muted-2); }
.form-status { font-size: 13px; color: var(--accent); min-height: 1.2em; margin: 0; }

.mailto-fallback { font-size: 15px; color: var(--ink); }
.mailto-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* footer */

.site-footer { background: var(--navy); color: #cbd5e1; padding: 44px 0 30px; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #7dd3fc; }

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: #94a3b8; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #64748b;
}

/* legal */

.legal { padding: 64px 0 92px; max-width: 800px; }
.legal h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.legal h2 { font-size: 1.05rem; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); font-size: 14px; }
.legal ul { padding-left: 1.2em; }
.legal .updated { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.legal dl.facts { margin-top: 28px; }

/* reveal */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .legend { max-width: 280px; }
  .grid-3, .plans { grid-template-columns: 1fr 1fr; }
  .sample-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
  }
  .site-header.is-open .nav a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .site-header.is-open .nav a:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 60px 0 48px; }
  .section { padding: 64px 0; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 22px 0 22px 20px; }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(3), .kpi:nth-child(4) { border-top: 1px solid var(--border); }
  .grid-3, .plans { grid-template-columns: 1fr; }
  .sample-grid { grid-template-columns: 1fr; }
  .finding-body { padding-left: 2px; }
  .step { grid-template-columns: 44px 1fr; gap: 12px; }
  .step p { grid-column: 2; }
  .header-actions .btn { display: none; }
  .hero-meta li { padding-right: 12px; margin-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-cta { display: none; }
  body { background: #fff; color: #000; }
}
