/* ============================================================
   PT Supermedia Digital Utama — corporate site v2
   Direction: ad-tech marketing (MonetizeMore-like energy)
   Palette: Navy #022F59 (brand, from logo S) + Teal #0FA47F + Paper
   Type: Plus Jakarta Sans (display+body) + IBM Plex Mono (serial)
   ============================================================ */

:root {
  --navy: #022f59;
  --navy-deep: #04213d;
  --navy-ink: #0b1a2b;
  --azure: #0e5aa7;
  --teal: #0fa47f;
  --teal-btn: #0c7d63;
  --teal-deep: #0b8465;
  --paper: #f7f9fb;
  --white: #ffffff;
  --ink: #0e1b2a;
  --muted: #43536b;
  --rule: #dbe3ec;
  --rule-dark: #b9c6d4;
  --sky: #e9f1f8;
  --focus: #0e5aa7;

  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Archivo", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --wrap: 1120px;
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.2rem + 1.2vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.8rem);
  --step-4: clamp(2.4rem, 1.5rem + 4vw, 3.9rem);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-float: 0 24px 60px rgba(15, 23, 42, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, p, dl, ol, ul, blockquote { margin: 0; }
a { color: var(--azure); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 100;
  background: var(--navy); color: #fff;
  padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 600; text-decoration: none;
  border-radius: 6px; transition: top 0.2s ease-out;
}
.skip-link:focus, .skip-link:hover { top: 1rem; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-grid {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.8rem;
  max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.brand-mark { flex: none; display: block; width: 42px; height: auto; filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.78rem; letter-spacing: 0.06em; color: #9db8d2; font-weight: 500; }

.site-nav ul { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.6rem); list-style: none; padding: 0; }
.site-nav a {
  color: #c6d6e6; text-decoration: none; font-size: 0.95rem; font-weight: 600;
  padding-block: 0.35rem; border-radius: 4px;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav .nav-cta {
  color: #fff; background: var(--teal-btn);
  padding: 0.5rem 1.15rem; border-radius: 999px; font-weight: 700;
}
.site-nav .nav-cta:hover { background: #096b53; color: #fff; }

.nav-toggle { display: none; }

.header-rule { border-top: 1px solid rgba(255, 255, 255, 0.08); background: var(--navy-deep); }
.reg-bar {
  font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.04em; color: #8aa6c0;
  padding-block: 0.7rem; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center; padding-block: clamp(3.2rem, 8vw, 6rem);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: #e2fbf3;
  background: rgba(6, 90, 68, 0.55);
  border: 1px solid rgba(53, 211, 171, 0.5);
  border-radius: 999px; padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-4); line-height: 1.06; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 .hl { color: #35d3ab; }
.lede {
  margin-top: 1.3rem; font-size: var(--step-1); color: #cdd9e6;
  max-width: 34em; line-height: 1.55;
}
.hero-actions { margin-top: 2.1rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-badges { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; font-weight: 600; color: #d7e4f0;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  padding: 0.42rem 0.95rem; background: rgba(255, 255, 255, 0.05);
}
.badge-pill svg { flex: none; }

/* dashboard mockup */
.hero-figure { display: grid; place-items: center; }.dash-dot:first-child { background: var(--teal); }.dash-kpi span { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-kpi strong { display: block; font-size: 0.9rem; font-weight: 800; color: var(--navy); margin-top: 0.15rem; }
.dash-kpi em { display: block; font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--teal-deep); margin-top: 0.2rem; }.dash-chart i {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--azure), var(--navy));
  opacity: 0.9; min-height: 8%;
}
.dash-chart i.up { background: linear-gradient(180deg, #2ec4a5, var(--teal-deep)); }.hero-note { margin-top: 1rem; font-size: 0.78rem; color: #a7bccf; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 0.98rem;
  padding: 0.78rem 1.6rem; border-radius: 999px;
  border: 1px solid var(--teal);
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}
.btn-primary { background: var(--teal-btn); border-color: var(--teal-btn); color: #fff; }
.btn-primary:hover { background: #096b53; border-color: #096b53; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section.band { background: var(--white); border-block: 1px solid var(--rule); }
.section.dark {
  background: var(--navy-deep);
  color: #fff;
}
.section.dark h2 { color: #fff; }
.section.dark p { color: #cdd9e6; }

.section > .wrap > h2, .band h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-3); line-height: 1.14; letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
  max-width: 22em;
}
.h-rule {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-2);
  line-height: 1.22; margin-bottom: 1.1rem; color: var(--ink);
  position: relative; padding-bottom: 0.85rem;
}
.h-rule::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 3rem; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--azure));
}

/* ---------- Ledger list ---------- */
.ledger { list-style: none; padding: 0; counter-reset: item; }
.ledger li {
  counter-increment: item;
  display: grid; grid-template-columns: 3rem 230px 1fr; gap: 1.2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.ledger li:last-child { border-bottom: none; }
.ledger li::before {
  content: counter(item);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--teal);
}
.ledger-no { font-weight: 800; font-size: 1.05rem; line-height: 1.4; }
.ledger li p { color: var(--muted); max-width: 46em; }

/* ---------- Duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.duo-col p + p { margin-top: 0.9rem; }
.duo-col p { max-width: 38em; color: var(--muted); }
.duo-col h2 { color: var(--ink); }

/* ---------- Value trio (icon circles) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.value { text-align: left; }
.value-icon {
  width: 84px; height: 84px; border-radius: 26px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--azure), var(--navy));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.2rem;
}
.value-icon.teal { background: linear-gradient(135deg, #2ec4a5, var(--teal-deep)); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }
.value-icon.navy { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.value h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.6rem; }
.value p { color: var(--muted); }
.value ul { margin: 0.8rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.value li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.95rem; }
.value li::before {
  content: ""; position: absolute; left: 0; top: 0.32em;
  width: 0.85em; height: 0.85em; border-radius: 50%;
  background: var(--teal); opacity: 0.9;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 32%, #000 34%);
  mask: radial-gradient(circle at 50% 50%, transparent 32%, #000 34%);
}

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  background: var(--navy-deep); border-radius: 16px; padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label { margin-top: 0.5rem; color: #ffffff; font-weight: 600; opacity: 0.92; }

/* ---------- Demand chips ---------- */
.demand { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.demand-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  padding: 0.7rem 1.2rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-card);
}
.demand-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.75rem; }

/* ---------- Facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule); border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-card); margin-bottom: 2.2rem;
}
.fact { padding: 1.3rem 1.4rem; border-right: 1px solid var(--rule); }
.fact:last-child { border-right: none; }
.fact-label { display: block; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 0.35rem; font-weight: 600; }
.fact-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--navy); }

/* ---------- Page head (dark) ---------- */
.page-head {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  color: #fff; padding-block: clamp(2.8rem, 6vw, 4.2rem);
}
.page-head h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.02em;
}
.page-head .lede { color: #b9cbdd; }
.legal-updated { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.78rem; color: #8aa6c0; letter-spacing: 0.04em; }

/* ---------- Services ---------- */
.service {
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  padding: 1.8rem 2rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-card);
}
.service-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.service h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); }
.service-tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--teal-deep); background: rgba(15, 164, 127, 0.1);
  border: 1px solid rgba(15, 164, 127, 0.35); border-radius: 999px; padding: 0.25rem 0.8rem;
  white-space: nowrap;
}
.service p { color: var(--muted); max-width: 52em; }
.service p + p { margin-top: 0.7rem; }

/* ---------- Approach diagram ---------- */
.diagram { margin-bottom: 2.4rem; overflow-x: auto; background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-card); }
.flow { min-width: 640px; width: 100%; height: auto; }
.diagram .lbl { font-family: "Archivo", sans-serif; }

/* ---------- Network ---------- */
.site-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.site-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  padding: 1.7rem 1.8rem; box-shadow: var(--shadow-card);
}
.site-card-empty { background: transparent; border: 1.5px dashed var(--rule-dark); box-shadow: none; }
.site-head { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; }
.site-head h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.site-status {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--teal-deep); background: rgba(15, 164, 127, 0.1);
  border: 1px solid rgba(15, 164, 127, 0.35); border-radius: 999px; padding: 0.2rem 0.7rem; white-space: nowrap;
}
.site-status-quiet { color: var(--muted); background: transparent; border-color: var(--rule-dark); }
.site-url { font-family: var(--font-mono); font-size: 0.9rem; margin-bottom: 0.6rem; }
.site-card p { color: var(--muted); }
.site-meta { margin-top: 0.9rem; font-size: 0.8rem; color: var(--rule-dark); font-weight: 600; }
.network-note { margin-top: 1.6rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 4rem); }
.contact-dl {
  display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.6rem;
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  padding: 1.6rem; box-shadow: var(--shadow-card); margin-bottom: 1.4rem;
}
.contact-dl dt { font-size: 0.82rem; letter-spacing: 0.03em; color: var(--muted); padding-top: 0.25rem; font-weight: 600; }
.contact-dl dd { margin: 0; font-weight: 700; }
.contact-note { color: var(--muted); font-size: 0.92rem; max-width: 30em; }
.contact-decl {
  background: #ffffff; border: 1px solid rgba(15, 164, 127, 0.45);
  border-radius: 12px; padding: 1rem 1.3rem; color: var(--ink);
  font-size: 0.95rem; margin-top: 1.2rem; max-width: 44em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-form-wrap {
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  padding: 1.8rem; box-shadow: var(--shadow-card);
}
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-dark); border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--azure); outline: 2px solid var(--focus); outline-offset: 1px; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-hint { font-size: 0.82rem; color: var(--muted); max-width: 24em; }

/* ---------- About extras ---------- */
.aside-col { display: flex; flex-direction: column; gap: 2rem; }
.profile { border: 1px solid var(--rule); border-radius: 16px; padding: 1.8rem; background: #fff; box-shadow: var(--shadow-card); }
.profile-photo { width: 104px; color: var(--muted); margin-bottom: 1rem; background: var(--sky, #e9f0f7); border-radius: 16px; padding: 6px; }
.profile-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.profile-role { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--teal-deep); font-weight: 700; margin-top: 0.2rem; }
.profile-bio { color: var(--muted); font-size: 0.95rem; margin-top: 0.8rem; }
.profile-monogram { background: var(--navy); color: #fff; width: 96px; padding: 0; }
.legal-dl { display: grid; gap: 0; background: #fff; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; margin-top: 1.4rem; box-shadow: var(--shadow-card); max-width: 46em; }
.legal-row { display: grid; grid-template-columns: 300px 1fr; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--rule); }
.legal-row:last-child { border-bottom: none; }
.legal-row dt { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.legal-row dd { margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: 0.9rem; }
.legal-verify { margin-top: 1.2rem; color: var(--muted); font-size: 0.92rem; }
.fact-stack { background: var(--sky, #e9f1f8); border: 1px solid var(--rule); border-radius: 12px; padding: 0.4rem 1rem 0; }
.fact-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 0.95rem; border-bottom: 1px solid var(--rule);
}
.fact-row span:first-child { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.fact-row span:last-child { font-weight: 800; }

.pull-quote {
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.45;
  font-weight: 700; max-width: 26em; color: #fff;
}
.section.dark .pull-quote {
  background: rgba(15, 164, 127, 0.12); border-radius: 12px; padding: 1.4rem 1.6rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 46em; }
.faq details {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; font-weight: 800; font-family: var(--font-display); font-size: 1.02rem;
}
.faq details[open] { border-color: var(--teal); }
.faq details[open] summary { color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; margin-left: 1rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky, #e9f0f7); color: var(--navy); font-weight: 800;
  transition: transform 0.2s ease-out;
}
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--muted); max-width: 52em; }

/* ---------- Legal body ---------- */
.legal-body { max-width: 46em; }
.legal-body p { margin-bottom: 1.1rem; color: var(--muted); }
.legal-body h2 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-1);
  margin-top: 2rem; margin-bottom: 0.7rem; color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6d6e6; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem;
  padding-block: 3rem;
}
.footer-brand p { margin-bottom: 0.4rem; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; font-weight: 800; }
.footer-meta { color: #8aa6c0; font-size: 0.92rem; }
.footer-nav { display: flex; gap: 3rem; justify-content: flex-end; flex-wrap: wrap; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-nav a { color: #dce7f1; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.3rem;
  font-size: 0.78rem; letter-spacing: 0.03em; color: #8aa6c0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.8rem; }
  .dash { transform: none; }
  .duo, .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 2.4rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: none; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .site-list { grid-template-columns: 1fr; }
  .ledger li { grid-template-columns: 2.4rem 1fr; }
  .ledger li p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; gap: 2.5rem; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 44px; height: 44px; padding: 11px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s ease-out, opacity 0.2s ease-out; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    background: var(--navy-deep); border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: none; padding: 0.5rem 0 1.2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .site-header { position: relative; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 0 1.5rem; }
  .site-nav a { display: block; padding: 0.65rem 0; font-size: 1.05rem; width: 100%; }
  .site-nav .nav-cta { margin-top: 0.6rem; display: inline-block; width: auto; padding: 0.65rem 1.3rem; }
}

@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .reg-bar { letter-spacing: 0.02em; }
  .hero-actions .btn { width: 100%; }
  .dash { width: 100%; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-kpi strong { font-size: 0.95rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker { animation: fadeUp 0.5s ease-out both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-actions, .contact-form-wrap { display: none; }
  body { background: #fff; }
}

/* ---------- Hero flow diagram (replaces dashboard mockup) ---------- */
/* ---------- Hero flow diagram (rebuilt: upright, contained, grid) ---------- */
.flow-hero {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 32px;
  transform: none;
}
.flow-stage {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.flow-end {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  min-width: 0;
}
.flow-head {
  display: flex; align-items: center; gap: 0.5rem;
  min-width: 0; flex-wrap: wrap;
}
.flow-end strong {
  font-size: 0.8rem; font-weight: 800; line-height: 1.25; color: #ffffff;
}
.flow-end small {
  font-size: 0.7rem; color: #c3d4e4; font-weight: 600; line-height: 1.35;
}
.flow-ico {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: rgba(53, 211, 171, 0.14);
  color: #35d3ab; border: 1px solid rgba(53, 211, 171, 0.35);
}
.flow-arrow {
  color: #35d3ab; font-weight: 800; font-size: 1.25rem;
  justify-self: center; align-self: center;
}
.flow-card {
  background: #fff; color: var(--ink); border-radius: 12px;
  padding: 24px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  width: 100%; min-width: 0; height: auto;
  transform: none;
}
.flow-card-title { font-weight: 800; font-size: 0.9rem; margin-bottom: 0.55rem; }
.flow-mini { display: grid; gap: 5px; }
.mini-bar { height: 7px; border-radius: 4px; background: var(--azure); opacity: 0.85; }
.mini-bar.teal { background: var(--teal); }
.flow-card small {
  display: block; margin-top: 0.55rem; font-size: 0.72rem;
  color: var(--muted); font-weight: 600; line-height: 1.35;
}
.flow-loop {
  margin-top: 1.4rem; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em;
  color: #b6cadf; text-align: left;
}
@media (max-width: 560px) {
  .flow-stage {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    justify-items: center;
    text-align: center;
  }
  .flow-end { justify-items: center; }
  .flow-head { flex-direction: column; gap: 0.45rem; }
  .flow-arrow { transform: rotate(90deg); font-size: 1.1rem; }
  .flow-card { width: 100%; }
}

/* Footer dark-bg link contrast fix (Lighthouse 4.5:1) */
.site-footer a { color: #cfe0ef; }
.site-footer a:hover { color: #fff; }
/* light-blue for links inside dark hero/dark sections */
.footer-meta a { color: #a8c6e0; }

/* Light-background lede (dark-hero lede is #b9cbdd) */
p.lede.lede-light { color: var(--muted); }
section .lede-light { color: var(--muted) !important; }
/* hero kicker text contrast on teal-tinted pill over navy: keep, but ensure hero-note readable */
