/* ============================================================
   SimplifyLicense — site styles
   Editorial, warm, vendor-neutral. Inspired by modern
   consulting-site layouts, built from scratch.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #FBF9F4;
  --bg-alt: #F4F0E7;
  --surface: #FFFFFF;
  --surface-2: #F8F5EE;
  --ink: #262521;
  --ink-2: #48453E;
  --muted: #6C675D;
  --line: rgba(38, 37, 33, 0.12);
  --line-strong: rgba(38, 37, 33, 0.22);
  --accent: #B45231;
  --accent-hover: #9C4427;
  --accent-rgb: 180, 82, 49;
  --accent-soft: rgba(180, 82, 49, 0.09);
  --accent-ink: #FBF9F4;
  --success: #2F6648;
  --success-soft: rgba(62, 124, 89, 0.12);
  --contrast-bg: #23221E;
  --contrast-bg-2: #2C2A25;
  --contrast-ink: #F7F3E9;
  --contrast-muted: rgba(247, 243, 233, 0.62);
  --contrast-line: rgba(247, 243, 233, 0.14);
  --shadow-sm: 0 2px 6px rgba(38, 37, 33, 0.05);
  --shadow-md: 0 26px 60px -34px rgba(38, 37, 33, 0.32);
  --shadow-lg: 0 44px 90px -46px rgba(38, 37, 33, 0.38);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #1B1A17;
  --bg-alt: #211F1B;
  --surface: #24231F;
  --surface-2: #2A2824;
  --ink: #F3EFE5;
  --ink-2: #D6D0C2;
  --muted: #A49D8E;
  --line: rgba(243, 239, 229, 0.12);
  --line-strong: rgba(243, 239, 229, 0.24);
  --accent: #E18963;
  --accent-hover: #EDA17F;
  --accent-rgb: 225, 137, 99;
  --accent-soft: rgba(225, 137, 99, 0.13);
  --accent-ink: #1B1A17;
  --success: #7FBF97;
  --success-soft: rgba(127, 191, 151, 0.14);
  --contrast-bg: #121210;
  --contrast-bg-2: #1C1B18;
  --contrast-ink: #F7F3E9;
  --contrast-muted: rgba(247, 243, 233, 0.6);
  --contrast-line: rgba(247, 243, 233, 0.13);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 26px 60px -34px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 44px 90px -46px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }

ul, ol { list-style: none; }

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

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

button { cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

[hidden] { display: none !important; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 112px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow-light { color: #E8A284; }
[data-theme="dark"] .eyebrow-light { color: var(--accent); }

.section-head { margin-bottom: 56px; }

.section-head-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}

.section-head h2 { font-size: clamp(2.35rem, 4.3vw, 3.65rem); }

.section-intro {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 430px;
  padding-bottom: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
.btn-primary:hover { background: var(--ink-2); }

[data-theme="dark"] .btn-primary { background: var(--ink); color: #1B1A17; }
[data-theme="dark"] .btn-primary:hover { background: #FFFFFF; }

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

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover { background: var(--accent-hover); }

.btn-dark-ghost {
  background: transparent;
  color: var(--contrast-ink);
  border-color: var(--contrast-line);
}
.btn-dark-ghost:hover { border-color: var(--contrast-muted); }

.btn-lg { min-height: 50px; padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 10px 0;
  background: rgba(251, 249, 244, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

[data-theme="dark"] header.scrolled { background: rgba(27, 26, 23, 0.86); }

.header-inner {
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1005;
}
.brand:hover { opacity: 0.86; }

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  flex-shrink: 0;
}

.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }

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

.nav-extra { display: none; }

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.68;
  position: relative;
  padding: 4px 0;
}
.nav a:hover, .nav a.is-active { opacity: 1; color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; position: relative; z-index: 1005; }

/* Theme switch */
.theme-toggle {
  background: transparent;
  border: 0;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
}

.theme-toggle-track {
  width: 42px;
  height: 23px;
  border-radius: 99px;
  background: var(--line-strong);
  display: flex;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease;
}

[data-theme="dark"] .theme-toggle-track { background: var(--accent); }

.theme-toggle-thumb {
  position: absolute;
  left: 2.5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #6C675D;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}

[data-theme="dark"] .theme-toggle-thumb { transform: translateX(19px); color: var(--accent); }

.theme-toggle-thumb svg { width: 11px; height: 11px; }
.theme-toggle-thumb .icon-moon { display: block; }
.theme-toggle-thumb .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle-thumb .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle-thumb .icon-sun { display: block; }

/* Mobile menu button */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

body.menu-open .menu-toggle span:first-child { transform: translateY(3.3px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  margin: 18px 18px 0;
  border: 1px solid var(--line);
  border-radius: 42px;
  overflow: hidden;
  padding-top: 148px;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(var(--accent-rgb), 0.09), transparent 65%),
    radial-gradient(700px 420px at -5% 105%, rgba(var(--accent-rgb), 0.055), transparent 60%),
    var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 20%, #000 20%, transparent 78%);
  mask-image: radial-gradient(90% 80% at 50% 20%, #000 20%, transparent 78%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 74%) var(--my, 22%), rgba(var(--accent-rgb), 0.14), transparent 68%);
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
  padding-bottom: 54px;
}

.hero-copy { max-width: 690px; }

.hero h1 {
  font-size: clamp(2.9rem, 5.2vw, 4.85rem);
  line-height: 1.02;
  margin-bottom: 26px;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 590px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.hero-points svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* Hero dashboard */
.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 10px;
}

.dash-card {
  width: 100%;
  max-width: 432px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.1deg);
  transition: transform 0.6s var(--ease);
  position: relative;
  z-index: 2;
}

.hero-visual:hover .dash-card { transform: rotate(0deg) translateY(-3px); }

.dash-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
}

.dash-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}

.dash-title { font-size: 22px; line-height: 1.1; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--success);
  background: var(--success-soft);
  white-space: nowrap;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px var(--success-soft);
  animation: pulse 2.4s ease-in-out infinite;
}

.dash-main {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
}

.gauge {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}

.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.gauge-track { fill: none; stroke: var(--line); stroke-width: 7; }

.gauge-value {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: var(--dash);
  animation: gaugeIn 1.7s var(--ease) 0.2s both;
}

.gauge-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gauge-label strong {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}

.gauge-label span {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin-top: 4px;
}

.dash-metrics {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.dash-metrics > div:last-child { border-bottom: 0; }

.dash-metrics span { font-size: 11.5px; color: var(--muted); }
.dash-metrics strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.dash-metrics .accent { color: var(--accent); }

.dash-list { padding: 16px 0 14px; display: flex; flex-direction: column; gap: 11px; }

.dash-row {
  display: grid;
  grid-template-columns: 92px 1fr 34px;
  align-items: center;
  gap: 10px;
}

.publisher { font-size: 11px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }

.bar {
  height: 5px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--accent);
  opacity: 0.82;
  animation: barIn 1.4s var(--ease) 0.35s both;
  transform-origin: left;
}

.pct { font-size: 10.5px; color: var(--muted); text-align: right; }

.dash-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 11px;
}

.dash-status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.dash-status svg { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }
.dash-link { color: var(--accent); font-weight: 500; }

.dash-note {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  margin-top: 12px;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  animation: floaty 7s ease-in-out infinite alternate;
}

.float-card .float-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card .float-icon svg { width: 15px; height: 15px; }

.float-card strong { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.float-card small { display: block; font-size: 10px; color: var(--muted); }

.float-a { top: 2px; right: 18px; }
.float-b { bottom: 2px; left: 2px; animation-delay: -3.2s; }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
}

.hero-foot-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.hero-foot-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink-2);
}

.hero-foot-items .sep { color: var(--accent); font-family: var(--font-sans); font-size: 9px; }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band {
  background: var(--contrast-bg);
  color: var(--contrast-ink);
  padding: 54px 0;
  margin-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.stat-item {
  padding: 2px 26px;
  border-left: 1px solid var(--contrast-line);
}
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-item:last-child { padding-right: 0; }

.stat-item h3 {
  font-size: clamp(1.9rem, 2.5vw, 2.65rem);
  line-height: 1.04;
  margin-bottom: 10px;
  color: var(--contrast-ink);
}

.stat-item p {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  line-height: 1.7;
  color: var(--contrast-muted);
}

/* ============================================================
   Services
   ============================================================ */
.services { background: var(--bg); }

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.38);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background-color 0.35s ease;
}

.service-card:hover .service-icon { background: rgba(var(--accent-rgb), 0.15); }
.service-icon svg { width: 21px; height: 21px; }

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}

.service-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
}

.card-link span { transition: transform 0.3s var(--ease); }
.card-link:hover span { transform: translateX(3px); }

.capabilities {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.capabilities-label {
  flex-shrink: 0;
  min-width: 138px;
  padding-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-chips li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ============================================================
   Approach
   ============================================================ */
.approach {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1), transparent 70%);
  pointer-events: none;
}

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 35px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.9;
  display: block;
  margin-bottom: 16px;
}

.step h3 { font-size: 27px; margin-bottom: 10px; }

.step p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 470px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.chip-list li {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 99px;
  padding: 4px 10px;
}

/* ELP card */
.elp-card {
  position: relative;
  margin-top: 22px;
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  background: var(--contrast-bg);
  color: var(--contrast-ink);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-areas:
    "copy formula"
    "copy actions";
  gap: 26px 48px;
  align-items: center;
  overflow: hidden;
}

.elp-card::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 162, 132, 0.16), transparent 68%);
  pointer-events: none;
}

.elp-copy { grid-area: copy; position: relative; z-index: 1; }

.elp-copy h3 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.04;
  margin-bottom: 12px;
  color: var(--contrast-ink);
}

.elp-copy p:not(.eyebrow) {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--contrast-muted);
  max-width: 380px;
}

.elp-formula {
  grid-area: formula;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.token {
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 13px;
  border: 1px solid var(--contrast-line);
  border-radius: 9px;
  background: rgba(247, 243, 233, 0.06);
  white-space: nowrap;
}

.token-result {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.op {
  font-family: var(--font-serif);
  font-size: 19px;
  color: #E8A284;
  padding: 0 1px;
}

.elp-actions {
  grid-area: actions;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   Audit risk
   ============================================================ */
.risk {
  background: var(--contrast-bg-2);
  color: var(--contrast-ink);
  padding: 100px 0;
}

.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 70px;
  align-items: center;
}

.risk-copy h2 {
  font-size: clamp(2.4rem, 4.1vw, 3.5rem);
  color: var(--contrast-ink);
  margin-bottom: 22px;
}
.risk-copy h2 em { color: #E8A284; }

.risk-copy > p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--contrast-muted);
  max-width: 490px;
  margin-bottom: 32px;
}

.risk-panel {
  background: rgba(247, 243, 233, 0.045);
  border: 1px solid var(--contrast-line);
  border-radius: var(--radius-lg);
  padding: 30px 32px 26px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.panel-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #E8A284;
  margin-bottom: 12px;
}

.risk-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--contrast-line);
}

.risk-list li:last-child { border-bottom: 0; }

.risk-name { font-size: 13px; color: var(--contrast-ink); }
.risk-fix {
  font-size: 10.5px;
  color: #E8A284;
  text-align: right;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.risk-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--contrast-line);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--contrast-muted);
}
.risk-foot span { color: #E8A284; }

/* ============================================================
   Licence health check
   ============================================================ */
.health { background: var(--bg); }

.check-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.check-aside {
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}

.check-aside h3 {
  font-size: 31px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.check-aside > p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.check-points {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 24px;
}

.check-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.check-points svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.check-disclaimer {
  margin-top: auto;
  padding-top: 22px;
  font-size: 11px !important;
  line-height: 1.65 !important;
  color: var(--muted);
}

.check-body { padding: 36px 38px 32px; }

.check-progress {
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.check-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.check-count {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 10px 0 25px;
}

.q { border: 0; min-width: 0; }
.q + .q { margin-top: 22px; }

.q legend {
  display: block;
  width: 100%;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 9px;
}

.q-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  margin-right: 6px;
}

.opts { display: flex; gap: 8px; flex-wrap: wrap; }

.opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.opt span {
  display: inline-block;
  padding: 7px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg);
}

.opt span:hover { border-color: var(--line-strong); color: var(--ink); }

.opt input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.opt input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.check-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.check-actions p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.check-result { padding-top: 2px; }

.result-top {
  display: flex;
  align-items: center;
  gap: 26px;
}

.result-gauge {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}

.result-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.result-track { fill: none; stroke: var(--line); stroke-width: 7; }

.result-value {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.1s var(--ease);
}

.result-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 41px;
}

.result-score strong {
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.result-score span { font-size: 10px; color: var(--muted); margin-left: 3px; }

.result-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.result-heading h3 {
  font-size: 32px;
  line-height: 1.08;
  margin-bottom: 8px;
}

.result-heading > p:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
}

.result-next {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.result-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

#resultActions { display: flex; flex-direction: column; gap: 8px; }

#resultActions li {
  position: relative;
  padding-left: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

#resultActions li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 12px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.result-note {
  margin-top: 16px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================================
   Why us
   ============================================================ */
.why {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 70px;
  align-items: center;
}

.why-copy h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  margin-bottom: 24px;
}

.why-copy > p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 14px;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.principle h3 {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 5px;
  color: var(--ink);
}

.principle p {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

.why-visual { position: relative; }

.why-visual::before {
  content: "";
  position: absolute;
  inset: 12% -8% -6% 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 50%, rgba(var(--accent-rgb), 0.16), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.model-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.model-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.model-layer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.model-index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  padding-top: 5px;
  min-width: 18px;
}

.model-layer h3 { font-size: 23px; line-height: 1.1; margin-bottom: 4px; }
.model-layer p { font-size: 11.5px; color: var(--muted); line-height: 1.55; }

.model-foot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.3;
}
.model-foot em { font-style: italic; color: var(--accent); }

.model-chip {
  position: absolute;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: var(--surface);
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.model-chip-a { top: -14px; right: 26px; transform: rotate(2deg); }
.model-chip-b { bottom: 32px; left: -16px; transform: rotate(-2deg); }

/* ============================================================
   Publishers marquee
   ============================================================ */
.publishers {
  padding: 88px 0 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.publisher-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.publisher-top h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }

.publisher-top > p {
  max-width: 330px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
  text-align: right;
  padding-bottom: 4px;
}

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

.marquee-row {
  display: flex;
  align-items: center;
  padding: 24px 0;
  white-space: nowrap;
}

.pname {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: var(--muted);
  padding: 0 42px;
  transition: color 0.4s ease;
}

.pname:hover { color: var(--accent); }

.psep { font-size: 8px; color: var(--accent); opacity: 0.55; }

.trademark-note {
  margin-top: 18px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================================
   Industries
   ============================================================ */
.industries { background: var(--bg); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry {
  padding: 28px 26px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}

.industry:hover { background: var(--surface); }

.industry h3 { font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.industry p { font-size: 12.5px; line-height: 1.65; color: var(--muted); max-width: 270px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-grid-wrap {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
}

.faq-head { position: sticky; top: 118px; }
.faq-head h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); margin-bottom: 18px; }
.faq-head > p { font-size: 14.5px; line-height: 1.75; color: var(--muted); max-width: 340px; margin-bottom: 24px; }

.faq-list { display: flex; flex-direction: column; gap: 9px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover { border-color: rgba(var(--accent-rgb), 0.35); }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.4px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--accent-ink); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
  padding: 0 50px 20px 22px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 680px;
}
.faq-answer p + p { margin-top: 10px; }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--bg); }

.contact-box {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 52px;
  padding: 52px 52px 50px;
  border-radius: 30px;
  background: var(--contrast-bg);
  color: var(--contrast-ink);
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 30%;
  width: 560px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 162, 132, 0.13), transparent 68%);
  pointer-events: none;
}

.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { font-size: clamp(2.35rem, 4.1vw, 3.4rem); margin-bottom: 18px; color: var(--contrast-ink); }
.contact-copy h2 em { color: #E8A284; }

.contact-copy > p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--contrast-muted);
  max-width: 430px;
}

.contact-details {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-line { display: flex; align-items: center; gap: 13px; }
a.contact-line:hover strong { color: #E8A284; }

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--contrast-line);
  background: rgba(247, 243, 233, 0.05);
  color: #E8A284;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-line small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--contrast-muted);
  margin-bottom: 1px;
}
.contact-line strong { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.4; }

.contact-hint {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--contrast-line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--contrast-muted);
  max-width: 430px;
}
.contact-hint strong { color: var(--contrast-ink); font-weight: 500; }

.contact-form-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.45);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field + .field, .form-row + .field { margin-top: 14px; }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field label span { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.65; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236C675D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.field textarea { resize: vertical; min-height: 100px; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #B34545; box-shadow: 0 0 0 3px rgba(179, 69, 69, 0.1); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.consent.has-error { color: #B34545; }
.consent.has-error input { outline: 2px solid rgba(179, 69, 69, 0.5); outline-offset: 2px; }
.consent.has-error a { color: #B34545; }

.contact-form .btn-block { margin-top: 18px; }

.form-status {
  min-height: 18px;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--accent);
}
.form-status.is-success { color: var(--success); }

.form-note {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
}
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--contrast-bg);
  color: var(--contrast-ink);
  padding: 68px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 48px;
}

.brand-footer .brand-logo { height: 40px; }

.footer-brand > p {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--contrast-muted);
  max-width: 300px;
  margin-top: 18px;
}

.footer-mail {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: #E8A284;
  border-bottom: 1px solid rgba(232, 162, 132, 0.35);
  padding-bottom: 2px;
}
.footer-mail:hover { border-color: #E8A284; }

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--contrast-ink);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }

.footer-col a {
  font-size: 12.5px;
  color: var(--contrast-muted);
}
.footer-col a:hover { color: var(--contrast-ink); }

.footer-small {
  margin-top: 18px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--contrast-muted);
  opacity: 0.85;
}

.ext { font-size: 9px; margin-left: 4px; opacity: 0.7; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--contrast-line);
  font-size: 10.5px;
  color: var(--contrast-muted);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--contrast-ink); }

.footer-trademarks {
  margin-top: 16px;
  font-size: 9.5px;
  line-height: 1.65;
  color: var(--contrast-muted);
  max-width: 920px;
}

/* ============================================================
   Legal pages & 404
   ============================================================ */
.legal-page {
  padding: 150px 0 90px;
  background: var(--bg);
}

.legal-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 120px;
  font-size: 12.5px;
  color: var(--muted);
}

.legal-nav a { display: block; padding: 5px 0; color: var(--muted); }
.legal-nav a:hover { color: var(--accent); }
.legal-nav .back { margin-top: 18px; color: var(--accent); font-weight: 500; }

.legal-body { max-width: 780px; }

.legal-body h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 34px;
}

.legal-body h2 {
  font-size: 26px;
  margin: 36px 0 10px;
}

.legal-body h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  margin: 22px 0 6px;
}

.legal-body p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-body ul {
  list-style: none;
  margin: 10px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legal-body ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.legal-note {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-alt);
}
.legal-note p { margin: 0; font-size: 12.5px; }

.legal-footer-links {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
}

.simple-footer {
  background: var(--contrast-bg);
  color: var(--contrast-muted);
  padding: 26px 0;
  font-size: 11.5px;
}

.simple-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.simple-footer a { color: var(--contrast-muted); }
.simple-footer a:hover { color: var(--contrast-ink); }

.simple-footer .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.notfound-code {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 0.85;
  color: var(--accent);
  opacity: 0.9;
}

.notfound .notfound-code {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 0.85;
  color: var(--accent);
  opacity: 0.9;
  margin: 0;
}

.notfound h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 24px 0 12px; }
.notfound p { font-size: 14px; color: var(--muted); max-width: 430px; margin: 0 auto 28px; }

/* ============================================================
   Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes gaugeIn {
  from { stroke-dashoffset: 326.7; }
  to { stroke-dashoffset: var(--dash); }
}

@keyframes barIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .container { padding: 0 26px; }
  .hero-inner { gap: 30px; }
  .hero h1 { font-size: clamp(2.7rem, 5vw, 4.1rem); }
  .dash-card { max-width: 400px; padding: 21px; }
  .float-card { display: none; }
  .nav { gap: 20px; }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .stat-item { padding: 2px 18px; }
  .why-grid, .risk-grid { gap: 46px; }
  .faq-grid-wrap { gap: 44px; }
}

@media (max-width: 1024px) {
  header { padding: 13px 0; }
  .nav { display: none; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 108px 28px 40px;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }

  .nav.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1.2;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .nav a:hover { color: var(--accent); }

  .nav-extra {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }

  .nav-extra .btn { width: 100%; min-height: 48px; font-size: 15px; }

  .nav .nav-extra .btn {
    padding: 12px 20px;
    font-family: var(--font-sans);
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--bg);
  }

  .nav .nav-extra .btn:hover { color: var(--bg); }

  .nav .nav-extra .nav-mail {
    display: block;
    width: auto;
    border: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    text-align: center;
  }

  .nav-extra .nav-mail:hover { color: var(--accent); }

  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .header-inner { position: relative; z-index: 1002; }
  body.menu-open { overflow: hidden; }
  body.menu-open header { background: var(--bg); }

  .hero {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding-top: 126px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 34px;
  }

  .hero-copy { max-width: 760px; }
  .hero .lede { max-width: 640px; }
  .hero-points { max-width: 640px; }
  .hero-visual {
    min-height: 0;
    justify-content: center;
    padding: 24px 0 40px;
  }
  .dash-card { max-width: 520px; transform: none; }
  .hero-visual:hover .dash-card { transform: translateY(-2px); }
  .float-card { display: none; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .stat-item:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat-item:nth-child(3) { border-left: 1px solid var(--contrast-line); }

  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .section-head-row { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { max-width: 620px; }

  .elp-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "formula"
      "actions";
    gap: 22px;
    padding: 32px;
  }

  .risk-grid { grid-template-columns: 1fr; gap: 40px; }

  .check-card { grid-template-columns: 1fr; }
  .check-aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .check-aside h3 { font-size: 28px; }
  .check-disclaimer { margin-top: 20px; }

  .why-grid { grid-template-columns: 1fr; gap: 46px; }
  .why-visual { max-width: 560px; }

  .publisher-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .publisher-top > p { text-align: left; max-width: 540px; }

  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-grid-wrap { grid-template-columns: 1fr; gap: 34px; }
  .faq-head { position: static; }

  .contact-box { grid-template-columns: 1fr; padding: 38px; gap: 34px; }
  .contact-copy > p { max-width: 620px; }
  .contact-details { flex-direction: row; flex-wrap: wrap; gap: 20px 34px; }
  .contact-hint { max-width: 620px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }

  .legal-shell { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .legal-nav a { padding: 0; }
  .legal-nav .back { margin-top: 0; width: 100%; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .container { padding: 0 20px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .hero .lede { font-size: 15.5px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 16px; margin-top: 24px; padding-top: 18px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 0; }
  .hero-foot-items { font-size: 13.5px; gap: 7px; }

  .dash-card { padding: 19px; border-radius: 20px; }
  .dash-main { gap: 16px; }
  .gauge { width: 96px; height: 96px; }
  .gauge-label strong { font-size: 25px; }
  .dash-row { grid-template-columns: 82px 1fr 30px; gap: 8px; }
  .float-a { top: -10px; left: -4px; padding: 8px 11px; }
  .float-b { bottom: 0; right: -4px; padding: 8px 11px; }
  .float-card strong { font-size: 10.5px; }
  .float-card small { font-size: 9px; }
  .float-card .float-icon { width: 26px; height: 26px; }

  .stats-band { padding: 42px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .stat-item { padding: 2px 18px; }
  .stat-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat-item:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--contrast-line); padding-top: 22px; }
  .stat-item h3 { font-size: 29px; }
  .stat-item p { font-size: 9.5px; }

  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 24px 22px; }
  .service-icon { margin-bottom: 16px; }

  .capabilities { flex-direction: column; gap: 14px; }
  .capabilities-label { padding-top: 0; min-width: 0; }

  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 24px 22px; }
  .step h3 { font-size: 25px; }

  .elp-card { padding: 26px 22px; border-radius: 20px; }
  .elp-formula { gap: 6px; }
  .token { font-size: 10.5px; padding: 7px 9px; }
  .op { font-size: 16px; }
  .elp-actions .btn { width: 100%; }

  .risk { padding: 76px 0; }
  .risk-panel { padding: 22px 20px; }
  .risk-list li { flex-direction: column; gap: 3px; }
  .risk-fix { text-align: left; }

  .check-aside { padding: 26px 22px; }
  .check-body { padding: 26px 22px; }
  .check-result { padding: 0; }
  .result-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .result-heading h3 { font-size: 28px; }
  .check-actions .btn { width: 100%; }
  .result-actions .btn { width: 100%; }

  .why-grid { gap: 36px; }
  .principles { grid-template-columns: 1fr; gap: 18px; }
  .model-card { padding: 24px 20px; }
  .model-chip-b { left: -4px; bottom: 16px; }

  .publishers { padding: 66px 0 40px; }
  .pname { padding: 0 22px; }
  .marquee-row { padding: 18px 0; }
  .trademark-note { padding: 0 20px; }

  .industry-grid { grid-template-columns: 1fr; }
  .industry { padding: 22px 20px; }

  .faq-item summary { padding: 16px 18px; font-size: 13.5px; gap: 14px; }
  .faq-answer { padding: 0 18px 18px; font-size: 12.5px; }

  .contact-box { padding: 28px 20px; border-radius: 22px; }
  .contact-details { flex-direction: column; gap: 14px; }
  .contact-form-card { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .field + .field { margin-top: 14px; }

  .footer { padding-top: 54px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-bottom: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { gap: 16px; }

  .legal-page { padding: 120px 0 70px; }
  .legal-body h2 { font-size: 23px; }
}

@media (max-width: 480px) {
  .header-actions { gap: 8px; }
  .brand-logo { height: 29px; }
  .theme-toggle-track { width: 38px; height: 21px; }
  .theme-toggle-thumb { width: 16px; height: 16px; }
  [data-theme="dark"] .theme-toggle-thumb { transform: translateX(17px); }
  .menu-toggle { width: 38px; height: 38px; }

  .nav a { font-size: 29px; }

  .hero { padding-top: 104px; }
  .hero h1 { font-size: 2.45rem; }
  .hero .lede { font-size: 14.5px; }
  .hero-visual { padding-top: 16px; }
  .dash-card { padding: 16px; }
  .dash-title { font-size: 19px; }
  .dash-metrics strong { font-size: 13.5px; }
  .dash-row { grid-template-columns: 74px 1fr 28px; }
  .publisher { font-size: 10px; }
  .float-card { display: none; }
  .dash-note { display: none; }

  .hero-foot-items { font-size: 12.5px; }

  .stat-item h3 { font-size: 26px; }
  .check-aside h3 { font-size: 25px; }
  .contact-line strong { font-size: 12.5px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .gauge-value { animation: none; }
  .bar i { animation: none; }
  .marquee-track { animation: none; }
  .float-card { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  header, .hero-visual, .float-card, .marquee-wrap, .contact-form-card, .footer-legal { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .hero, .contact-box, .risk, .stats-band, .footer { background: #fff !important; color: #000 !important; }
  .section { padding: 24px 0; }
  a { text-decoration: underline; }
}
