/* NPanel website. One page, no external requests: system fonts, local images. */

/* Colours: light by default, dark from the system setting or the visitor's choice. */
:root {
  --accent: #fc5e02;          /* the logo's orange */
  --accent-strong: #c24400;   /* button backgrounds (white text, AA) */
  --accent-hover: #a83a00;
  --accent-text: #c24400;     /* orange text and icons on the page background */
  --accent-soft: #fff1e8;
  --accent-h1: #eb5700;
  --ink: #2c3138;
  --muted: #5b6270;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --surface: #ffffff;
  --surface-2: #fcfcfd;
  --line: #e5e7eb;
  --field: #d3d7de;
  --chrome: #f1f2f4;
  --track: #eef0f3;
  --dot: #d5d8de;
  --band: #1b1e24;
  --header-bg: rgba(255, 255, 255, 0.9);
  --hero-glow: rgba(252, 94, 2, 0.12);
  --hero-glow-2: rgba(44, 49, 56, 0.06);
  --ok: #1f9d55;
  --ok-bg: #e8f6ee;
  --ok-ink: #14532d;
  --err: #b3261e;
  --err-bg: #fdecea;
  --placeholder: #6f7581;
  --shadow: 0 1px 2px rgba(17, 20, 26, 0.04), 0 12px 32px -12px rgba(17, 20, 26, 0.16);
  --shadow-lg: 0 2px 4px rgba(17, 20, 26, 0.04), 0 30px 70px -24px rgba(17, 20, 26, 0.32);
  --show-light: block;
  --show-dark: none;
  --radius: 16px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent-text: #ff8f52;
    --accent-soft: rgba(252, 94, 2, 0.14);
    --accent-h1: #ff6a1a;
    --ink: #e7e9ee;
    --muted: #a4abb6;
    --bg: #0e1014;
    --bg-soft: #13161b;
    --surface: #181b21;
    --surface-2: #15181d;
    --line: #272c34;
    --field: #3a414c;
    --chrome: #1d2128;
    --track: #2a3039;
    --dot: #3a414c;
    --band: #171a20;
    --header-bg: rgba(14, 16, 20, 0.85);
    --hero-glow: rgba(252, 94, 2, 0.14);
    --hero-glow-2: rgba(255, 255, 255, 0.03);
    --ok-bg: rgba(31, 157, 85, 0.16);
    --ok-ink: #7fe0a7;
    --err: #ff8a80;
    --err-bg: rgba(179, 38, 30, 0.2);
    --placeholder: #8a919c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 70px -24px rgba(0, 0, 0, 0.75);
    --show-light: none;
    --show-dark: block;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --accent-text: #ff8f52;
  --accent-soft: rgba(252, 94, 2, 0.14);
  --accent-h1: #ff6a1a;
  --ink: #e7e9ee;
  --muted: #a4abb6;
  --bg: #0e1014;
  --bg-soft: #13161b;
  --surface: #181b21;
  --surface-2: #15181d;
  --line: #272c34;
  --field: #3a414c;
  --chrome: #1d2128;
  --track: #2a3039;
  --dot: #3a414c;
  --band: #171a20;
  --header-bg: rgba(14, 16, 20, 0.85);
  --hero-glow: rgba(252, 94, 2, 0.14);
  --hero-glow-2: rgba(255, 255, 255, 0.03);
  --ok-bg: rgba(31, 157, 85, 0.16);
  --ok-ink: #7fe0a7;
  --err: #ff8a80;
  --err-bg: rgba(179, 38, 30, 0.2);
  --placeholder: #8a919c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 70px -24px rgba(0, 0, 0, 0.75);
  --show-light: none;
  --show-dark: block;
  color-scheme: dark;
}

.for-light { display: var(--show-light); }
.for-dark { display: var(--show-dark); }

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }

p { margin: 0; }

a { color: var(--accent-text); }

:focus-visible {
  outline: 3px solid rgba(252, 94, 2, 0.6);
  outline-offset: 2px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 20px -8px rgba(194, 68, 0, 0.55);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--field);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-sm { padding: 9px 16px; font-size: 0.9375rem; border-radius: 10px; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--field); }

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.brand img { height: 30px; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav.is-open { display: flex; }

.nav a:not(.btn) {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-cta { margin-top: 16px; }

.menu-btn .when-open { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: block; }
.menu-btn[aria-expanded="true"] .when-closed { display: none; }

@media (max-width: 559px) {
  .header-cta { display: none; }
}

@media (min-width: 1120px) {
  .nav {
    display: flex;
    flex-direction: row;
    position: static;
    gap: 24px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav a:not(.btn) {
    padding: 0;
    border: 0;
    font-size: 0.9375rem;
  }
  .nav a:not(.btn):hover { color: var(--accent-text); }
  .nav-cta, .menu-btn { display: none; }
  .header-actions { margin-left: 8px; }
}

@media (max-width: 480px) {
  .brand img { height: 26px; }
  .header-inner { height: 62px; }
}

/* Hero */

.hero {
  padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(720px 420px at 85% 0%, var(--hero-glow), transparent 70%),
    radial-gradient(560px 380px at 5% 30%, var(--hero-glow-2), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.25rem, 1.35rem + 3.8vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

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

.lead {
  margin: 20px auto 0;
  max-width: 40em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
}

.ticks li { display: inline-flex; align-items: center; gap: 8px; }

.ticks li::before {
  content: "";
  width: 6px;
  height: 11px;
  margin: -3px 2px 0;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* The customer panel picture */

.preview { max-width: 1080px; margin: clamp(40px, 6vw, 64px) auto 0; }

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tab {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.tab:hover { color: var(--ink); }

.tab[aria-selected="true"] {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.shot svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--chrome);
  border-bottom: 1px solid var(--line);
}

.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }

.shot-bar span {
  flex: 1;
  max-width: 280px;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app { display: flex; min-width: 0; }

.app-side {
  display: none;
  flex: none;
  width: 210px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
}

@media (min-width: 900px) { .app-side { display: block; } }

.app-logo { height: 20px; width: auto; margin: 0 8px 18px; }

.app-nav { margin: 0; padding: 0; list-style: none; }

.app-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
}

.app-nav li.on { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }

.app-nav li.grp {
  margin-top: 10px;
  padding-bottom: 2px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.app-main {
  flex: 1;
  min-width: 0;
  padding: clamp(14px, 2.4vw, 24px);
  background: var(--bg-soft);
}

.pane[hidden] { display: none; }

.app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.app-heading b { display: block; font-size: 1.375rem; letter-spacing: -0.02em; }
.app-heading span { color: var(--muted); }

.app-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 600;
  white-space: nowrap;
}

.chip svg { width: 14px; height: 14px; color: var(--muted); }
.chip-primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.chip-primary svg { color: #fff; }

.app-grid { display: grid; gap: 14px; }

@media (min-width: 640px) {
  .app-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}

.app-col { display: grid; gap: 14px; align-content: start; }

.pcard {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.pcard-title { display: block; margin-bottom: 10px; font-size: 0.875rem; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.steps li { display: flex; align-items: center; gap: 10px; }

.steps li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--field);
  border-radius: 50%;
}

.steps li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--field); }

.steps li.done::before {
  border-color: var(--ok);
  background: var(--ok);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.tiles { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.tile svg { grid-row: span 2; color: var(--accent-text); width: 18px; height: 18px; }
.tile b { font-size: 0.8125rem; }
.tile span { color: var(--muted); font-size: 0.75rem; }

@media (max-width: 520px) {
  .tile { padding: 9px; }
  .tile span { display: none; }
  .tile svg { grid-row: auto; }
}

.meter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  margin-bottom: 12px;
}

.meter span { color: var(--muted); }
.meter b { font-weight: 600; }

.bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}

.bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.bar .w7 { width: 7%; }
.bar .w9 { width: 9%; }
.bar .w12 { width: 12%; }
.bar .w18 { width: 18%; }
.bar .w19 { width: 19%; }
.bar .w20 { width: 20%; }
.bar .w30 { width: 30%; }
.bar .w46 { width: 46%; }

.kv {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.kv span { color: var(--muted); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat {
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.stat span { display: block; color: var(--muted); font-size: 0.75rem; }
.stat b { font-size: 1.125rem; letter-spacing: -0.01em; }

.chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 128px;
  padding-top: 6px;
  border-bottom: 1px solid var(--line);
}

.chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--accent); opacity: 0.9; }
.chart i:nth-child(1) { height: 38%; }
.chart i:nth-child(2) { height: 52%; }
.chart i:nth-child(3) { height: 45%; }
.chart i:nth-child(4) { height: 61%; }
.chart i:nth-child(5) { height: 58%; }
.chart i:nth-child(6) { height: 34%; }
.chart i:nth-child(7) { height: 30%; }
.chart i:nth-child(8) { height: 55%; }
.chart i:nth-child(9) { height: 68%; }
.chart i:nth-child(10) { height: 72%; }
.chart i:nth-child(11) { height: 64%; }
.chart i:nth-child(12) { height: 80%; }
.chart i:nth-child(13) { height: 49%; }
.chart i:nth-child(14) { height: 42%; }
.chart i:nth-child(15) { height: 88%; }

.pcard-table { padding: 4px 12px; overflow: hidden; }

.mtable { width: 100%; border-collapse: collapse; }

.mtable th {
  padding: 10px 8px 8px 0;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mtable td {
  padding: 9px 8px 9px 0;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.mtable td:last-child, .mtable th:last-child { text-align: right; padding-right: 0; }
.mtable .chip { padding: 4px 8px; }

@media (max-width: 639px) { .hide-sm { display: none; } }
@media (max-width: 479px) { .hide-xs { display: none; } }

.shot-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Sections */

.section { padding-block: clamp(64px, 9vw, 112px); }

.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center { margin-inline: auto; text-align: center; }

h2 {
  font-size: clamp(1.875rem, 1.25rem + 2.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.sub {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.split { display: grid; gap: 8px 64px; }

@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .split-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
}

.svg-icon,
.icon,
.layers svg,
.group h3 svg,
.pillar svg,
.steps-row svg,
.choice-box svg,
.captcha svg,
.wp-card svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature cards */

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

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards > :last-child:nth-child(odd) { grid-column: auto; }
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(252, 94, 2, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.card h3 { margin: 18px 0 8px; font-size: 1.125rem; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.975rem; }

/* Security layers */

.layers { margin: 0; padding: 0; list-style: none; }

.layers li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.layers li:last-child { border-bottom: 1px solid var(--line); }

.layers svg {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.layers h3 { font-size: 1.0625rem; font-weight: 700; }
.layers p { margin-top: 4px; color: var(--muted); }

/* Customer panel groups */

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

@media (min-width: 640px) {
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 980px) {
  .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.group {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; }
.group h3 svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); }

.group ul, .checklist {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.group li { position: relative; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }

.group li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* WordPress */

.checklist { gap: 14px; margin-top: 0; }

.checklist li { position: relative; padding-left: 32px; color: var(--muted); }
.checklist b { color: var(--ink); }

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.2em + 4px);
  width: 5px;
  height: 9px;
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wp-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
}

.wp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.wp-head div { flex: 1; min-width: 0; }
.wp-head b { display: block; }
.wp-head div span { color: var(--muted); font-size: 0.875rem; }

.wp-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.wp-badge svg { width: 22px; height: 22px; }

.wp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.wp-row > span:first-child { flex: 1; color: var(--muted); }
.wp-row b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.wp-row b svg { width: 16px; height: 16px; }
.wp-row .ok { color: var(--ok); }
.wp-row .warn { color: var(--accent-text); }
.wp-row .chip { padding: 4px 10px; }

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--track);
  border: 1px solid var(--line);
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.wp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Migration */

.steps-row {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.steps-row li {
  position: relative;
  padding: 32px 24px 28px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

.steps-row svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.steps-row h3 { margin-top: 16px; font-size: 1.125rem; }
.steps-row p { margin-top: 6px; color: var(--muted); }

/* Providers (dark band in both themes) */

.section-dark {
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(252, 94, 2, 0.16), transparent 70%),
    var(--band);
  border-block: 1px solid var(--line);
  color: #fff;
}

.section-dark .eyebrow { color: var(--accent); }
.section-dark .sub { color: #aab0bb; }

.pillars { display: grid; gap: 32px; }

@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (min-width: 1024px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pillar { padding-top: 20px; border-top: 2px solid var(--accent); }
.pillar svg { width: 28px; height: 28px; margin-bottom: 12px; color: var(--accent); }
.pillar h3 { font-size: 1.125rem; font-weight: 700; }
.pillar p { margin-top: 10px; color: #b7bdc7; font-size: 0.975rem; }

/* Roadmap */

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

@media (min-width: 900px) {
  .roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
}

.lane {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lane-head { margin-bottom: 6px; }

.lane ul { margin: 0; padding: 0; list-style: none; }

.lane li { padding: 14px 0; border-top: 1px solid var(--line); }
.lane li:first-child { border-top: 0; }
.lane li b { display: block; }
.lane li span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.95rem; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-done { background: var(--ok-bg); color: var(--ok-ink); }
.pill-now { background: var(--accent-soft); color: var(--accent-text); }
.pill-next { background: var(--track); color: var(--muted); }

/* FAQ */

.faq-grid { display: grid; gap: 8px; }

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
}

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--accent-text);
  transition: transform 0.2s ease;
}

.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { padding: 0 40px 20px 0; color: var(--muted); }

/* Partners */

.partner-intro {
  display: grid;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

@media (min-width: 900px) {
  .partner-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
}

.partner-types { margin: 28px 0 0; padding: 0; list-style: none; }

.partner-types li {
  position: relative;
  padding: 16px 0 16px 22px;
  border-top: 1px solid var(--line);
}

.partner-types li:last-child { border-bottom: 1px solid var(--line); }

.partner-types li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.partner-types h3 { font-size: 1.0625rem; font-weight: 700; }
.partner-types p { margin-top: 4px; color: var(--muted); }

.how {
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.how-title { font-size: 1.125rem; margin-bottom: 16px; }

.how-steps { margin: 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 18px; }

.how-steps li { position: relative; padding-left: 46px; counter-increment: how; }

.how-steps li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
}

.how-steps b { display: block; }
.how-steps span { color: var(--muted); }

/* Contact form */

.contact {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  container-type: inline-size;
}

.contact-title { font-size: 1.375rem; font-weight: 700; }

.row-2 { display: grid; gap: 22px 16px; }

@media (min-width: 560px) {
  .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact label:not(.choice):not(.captcha-box) {
  display: grid;
  gap: 6px;
  align-content: start;
  font-size: 0.9rem;
  font-weight: 600;
}

.opt { font-weight: 400; color: var(--muted); }
.hint { font-size: 0.8rem; font-weight: 400; color: var(--muted); }

.contact input:not([type="radio"]):not([type="checkbox"]),
.contact textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--surface);
  border: 1px solid var(--field);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact textarea { resize: vertical; min-height: 128px; }
.contact ::placeholder { color: var(--placeholder); }

.contact input:not([type="radio"]):not([type="checkbox"]):focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(252, 94, 2, 0.2);
}

.contact [aria-invalid="true"] { border-color: var(--err) !important; }

.field-group { margin: 0; padding: 0; border: 0; min-width: 0; }

.field-group legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.choices { display: grid; gap: 10px; }

.choices-square { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@container (min-width: 600px) {
  .choices-square { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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

.choice { position: relative; display: block; cursor: pointer; }

.choice input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.choice-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--field);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.choice:hover .choice-box { border-color: var(--muted); }

.choices-square .choice-box {
  flex-direction: column;
  gap: 6px;
  aspect-ratio: 1 / 1;
  padding: 12px;
  text-align: center;
  border-radius: 16px;
}

.choices-square .choice-box svg { width: 30px; height: 30px; color: var(--muted); margin-bottom: 4px; }
.choices-square .choice-box b { font-size: 0.9375rem; line-height: 1.25; }
.choices-square .choice-box small { font-weight: 400; font-size: 0.8rem; color: var(--muted); line-height: 1.3; }

.choices-chips .choice-box { padding: 9px 16px; border-radius: 999px; font-size: 0.9375rem; }

.choice input:checked + .choice-box {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.choice input:checked + .choice-box svg { color: var(--accent-text); }

.choices-square .choice input:checked + .choice-box::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.choices-square .choice input:checked + .choice-box::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 17px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.choice input:focus-visible + .choice-box {
  outline: 3px solid rgba(252, 94, 2, 0.6);
  outline-offset: 2px;
}

.field-group.has-error .choice-box { border-color: var(--err); }

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--err);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The robot check */

.captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--field);
  border-radius: 12px;
}

.captcha.has-error { border-color: var(--err); }

.captcha-box { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }

.captcha-box input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.captcha-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--field);
  border-radius: 7px;
  background: var(--surface);
}

.captcha-mark svg { width: 18px; height: 18px; color: #fff; stroke-width: 2.6; opacity: 0; }

.captcha-box input:focus-visible + .captcha-mark {
  outline: 3px solid rgba(252, 94, 2, 0.6);
  outline-offset: 2px;
}

.captcha.is-busy .captcha-mark {
  border-color: var(--accent);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.captcha.is-done .captcha-mark { background: var(--ok); border-color: var(--ok); }
.captcha.is-done .captcha-mark svg { opacity: 1; }
.captcha.is-done .captcha-box { cursor: default; }

@keyframes spin { to { transform: rotate(360deg); } }

.captcha-status { font-size: 0.875rem; color: var(--muted); }
.captcha.is-done .captcha-status { color: var(--ok); font-weight: 600; }

.captcha-brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 6px;
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.captcha-brand svg { width: 18px; height: 18px; grid-row: span 2; color: var(--accent-text); }
.captcha-brand small { font-weight: 400; }

.form-note { font-size: 0.875rem; color: var(--muted); }

.form-status:empty { display: none; }

.form-status {
  padding: 12px 14px;
  font-size: 0.9375rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--ink);
}

.form-status.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.form-status.is-error { background: var(--err-bg); color: var(--err); }

/* The short page contact.php shows when the form was posted without JavaScript */

.notice-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg-soft);
}

.notice-page .contact { width: 100%; max-width: 520px; }
.notice-page p { color: var(--muted); }
.notice-page ul { margin: 0; padding-left: 20px; color: var(--err); }
.notice-page .btn { justify-self: start; }

/* Footer */

.site-footer {
  padding-block: 40px;
  background: var(--band);
  border-top: 1px solid var(--line);
  color: #c5cad3;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-logo { display: block; height: 26px; width: auto; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: #c5cad3; text-decoration: none; font-size: 0.9375rem; }
.footer-nav a:hover { color: #fff; }

.copy {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: #8e95a1;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .captcha.is-busy .captcha-mark { border-top-color: var(--accent); }
}

/* ---- Motion and hover --------------------------------------------------------------------
 * Light on purpose: transforms and opacity only, and everything stops for visitors who ask
 * their system to reduce motion (see the block above, and the no-preference guards below).
 */

:root {
  --glow-1: rgba(252, 94, 2, 0.17);
  --glow-2: rgba(255, 150, 80, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --glow-1: rgba(252, 94, 2, 0.22);
    --glow-2: rgba(252, 94, 2, 0.1);
  }
}

:root[data-theme="dark"] {
  --glow-1: rgba(252, 94, 2, 0.22);
  --glow-2: rgba(252, 94, 2, 0.1);
}

/* The hero's orange light drifts slowly behind the content. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-soft);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(860px, 95vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero::before {
  top: -30%;
  right: -20%;
  background: radial-gradient(circle at center, var(--glow-1) 0%, transparent 62%);
}

.hero::after {
  top: 18%;
  left: -28%;
  background: radial-gradient(circle at center, var(--glow-2) 0%, transparent 60%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift-a 26s ease-in-out infinite alternate; }
  .hero::after { animation: drift-b 34s ease-in-out infinite alternate; }
}

@keyframes drift-a {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10%, 12%, 0) scale(1.12); }
  100% { transform: translate3d(-18%, 2%, 0) scale(0.94); }
}

@keyframes drift-b {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14%, -10%, 0) scale(1.1); }
  100% { transform: translate3d(24%, 4%, 0) scale(0.92); }
}

/* Header: a shadow once the page moves, and a thin reading-progress line. */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.35); }

@supports (animation-timeline: scroll()) {
  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-strong), var(--accent));
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: progress linear both;
    animation-timeline: scroll(root);
  }

  @keyframes progress { to { transform: scaleX(1); } }
}

/* Small orange line before every eyebrow. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Links and buttons take the orange on hover. */
@media (min-width: 1120px) {
  .nav a:not(.btn) { position: relative; transition: color 0.2s ease; }
  .nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }
  .nav a:not(.btn):hover::after,
  .nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
}

.btn { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }

.btn-primary { position: relative; overflow: hidden; isolation: isolate; }

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 14px 28px -12px rgba(194, 68, 0, 0.75);
}

.btn-primary:hover::after { transform: translateX(110%); }

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.icon-btn { transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.icon-btn svg { transition: transform 0.35s ease; }
#theme-toggle:hover svg { transform: rotate(25deg); }

.tab { transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease; }
.tab:hover { border-color: var(--accent); color: var(--accent-text); }
.tab[aria-selected="true"]:hover { color: #fff; }

/* Cards lift a little and their icons fill with orange. */
.card .icon,
.layers svg,
.steps-row svg,
.group h3 svg { transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease; }

.card:hover .icon { background: var(--accent-strong); color: #fff; transform: rotate(-4deg) scale(1.06); }

.group,
.lane,
.steps-row li,
.wp-card,
.how { transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }

.group:hover,
.lane:hover,
.steps-row li:hover {
  border-color: rgba(252, 94, 2, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.wp-card:hover { transform: translateY(-3px); }
.group:hover h3 svg { transform: scale(1.12); }
.steps-row li:hover svg,
.layers li:hover svg { background: var(--accent-strong); color: #fff; }
.layers li h3,
.partner-types h3 { transition: color 0.2s ease; }
.layers li:hover h3,
.partner-types li:hover h3 { color: var(--accent-text); }

.pillar { transition: transform 0.25s ease; }
.pillar h3 { transition: color 0.2s ease; }
.pillar:hover { transform: translateY(-3px); }
.pillar:hover h3 { color: var(--accent); }

.footer-nav a { transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--accent); }

/* Form choices answer the pointer, and a pick pops softly. */
.choice-box { transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.2s ease; }
.choice:hover .choice-box { border-color: rgba(252, 94, 2, 0.6); }
.choices-square .choice:hover .choice-box { transform: translateY(-2px); }
.captcha:hover:not(.is-done):not(.is-busy) .captcha-mark { border-color: var(--accent); }

/* Section titles of the long two-column parts stay in view while their list scrolls. */
@media (min-width: 960px) {
  #security .section-head,
  #faq .section-head { position: sticky; top: 104px; }
}

/* On phones the two hero buttons share one width. */
@media (max-width: 479px) {
  .cta-row .btn { flex: 1 1 100%; max-width: 360px; }
}

/* The hint under the email gives way to the error. */
.contact label:has(.field-error) .hint { display: none; }

@media (prefers-reduced-motion: no-preference) {
  /* The panel picture comes alive: bars fill, the chart rises, panes fade in. */
  .bar i { transform-origin: 0 50%; animation: grow 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
  .chart i { transform-origin: 50% 100%; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .chart i:nth-child(odd) { animation-delay: 0.08s; }
  .chart i:nth-child(3n) { animation-delay: 0.16s; }
  .pane:not([hidden]) { animation: fade-in 0.35s ease-out; }
  .faq details[open] p { animation: fade-in 0.3s ease-out; }
  .choice input:checked + .choice-box { animation: pick 0.28s ease-out; }
  .captcha.is-done .captcha-mark { animation: pop 0.35s ease-out; }
}

@keyframes grow { from { transform: scaleX(0); } }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes fade-in { from { opacity: 0; translate: 0 6px; } }
@keyframes pick { 0% { scale: 0.96; } 60% { scale: 1.02; } 100% { scale: 1; } }
@keyframes pop { 0% { scale: 0.6; } 70% { scale: 1.12; } 100% { scale: 1; } }

/* Parts of the page rise in gently as they scroll into view (browsers that support it). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head,
    .card,
    .group,
    .layers li,
    .steps-row li,
    .pillar,
    .lane,
    .wp-card,
    .how,
    .checklist li,
    .faq details,
    .cta-inner {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 45%;
    }
  }
}

@keyframes reveal {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

/* Call to action band */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(48px, 7vw, 84px);
  background: linear-gradient(120deg, #9e3700 0%, #c24400 50%, #a83a00 100%);
  background-size: 200% 200%;
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60%;
  right: -10%;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 65%);
}

@media (prefers-reduced-motion: no-preference) {
  .cta-band { animation: band-shift 16s ease-in-out infinite alternate; }
  .cta-band::before { animation: drift-a 22s ease-in-out infinite alternate; }
}

@keyframes band-shift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.cta-inner h2 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.cta-inner p { margin-top: 10px; font-size: 1.0625rem; color: #fff; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-light { background: #fff; color: #a83a00; }
.btn-light:hover { background: #fff1e8; transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.45); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-1px); }

/* Back to top */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(194, 68, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 480px) {
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* Footer brand line */

.footer-brand p { margin-top: 10px; max-width: 30em; font-size: 0.9rem; color: #8e95a1; }

/* ---- Multi-page parts -------------------------------------------------------------------- */

/* Inner pages: a shorter hero; the menu marks the page you are on. */
.hero-page { padding-block: clamp(48px, 7vw, 92px) clamp(44px, 6vw, 76px); }
.hero-page h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); }
.hero-404 { min-height: 62vh; display: grid; align-items: center; }

.nav a[aria-current="page"] { color: var(--accent-text); }

@media (min-width: 1120px) {
  .nav a[aria-current="page"]::after { transform: scaleX(1); }
}

.header-cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(252, 94, 2, 0.28); }

.section-tight { padding-block: clamp(40px, 6vw, 64px); }

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}

.section-head-row > div { max-width: 680px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-arrow:hover { gap: 12px; }
.link-arrow-light { color: var(--accent); }

.card-link { display: block; color: inherit; text-decoration: none; }
.card-link h3 { color: var(--ink); }

.faq-single { max-width: 860px; }
.faq-more { margin-top: 28px; color: var(--muted); }

.h3-like { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.partner-intro .partner-types { margin-top: 16px; }

/* Privacy and other text pages */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-size: 1.375rem; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose-note { margin-top: 40px; font-size: 0.875rem; }

/* Footer with columns */
.footer-grid { display: grid; gap: 32px; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
}

.footer-col h2 {
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: #c5cad3;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}

.footer-col a:hover { color: var(--accent); }
.footer-col a[aria-current="page"] { color: #fff; }
.site-footer .copy { margin-top: 32px; }

/* Brand assets page */
/* The kit card overlaps the hero's lower edge a little. */
.kit-band { position: relative; z-index: 1; margin-top: calc(-1 * clamp(20px, 3vw, 36px)); }
.kit-band + .section { padding-top: clamp(48px, 6vw, 80px); }

.kit-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kit-text p { margin-top: 6px; color: var(--muted); }
.kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.kit-meta { color: var(--muted); font-size: 0.875rem; }

.kit-actions svg,
.name-list svg,
.dont p svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kit-actions svg { width: 18px; height: 18px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.jump a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.jump a:hover { color: var(--accent-text); border-color: var(--accent); }

.asset-group { margin: 48px 0 6px; font-size: 1.25rem; font-weight: 700; }
.section-head + .asset-group { margin-top: 0; }
.asset-group-note { max-width: 680px; color: var(--muted); }

.asset-grid,
.dont-grid,
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.asset,
.badge-card,
.usage-card,
.dont {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.asset { display: flex; flex-direction: column; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.asset:hover { border-color: rgba(252, 94, 2, 0.4); box-shadow: var(--shadow); }

.asset-preview {
  display: grid;
  place-items: center;
  height: 168px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.asset-preview img { display: block; max-width: 100%; height: auto; }
.asset-logo img { width: 86%; }
.asset-stacked img { width: auto; height: 104px; }
.asset-icon img { width: 96px; }
.asset-app img { width: 112px; border-radius: 22%; box-shadow: 0 1px 2px rgba(17, 20, 26, 0.08), 0 8px 20px -8px rgba(17, 20, 26, 0.3); }
.asset-badge img { width: 215px; }

/* Previews keep their own backgrounds in both themes: they show the file as it is. */
.bg-light { background: #ffffff; }
.bg-soft { background: #f1f2f4; }
.bg-dark { background: #1b1e24; }
.bg-graphite { background: #2c3138; }
.bg-orange { background: #fc5e02; }

.asset-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.asset-body h4 { margin: 0; font-size: 1rem; font-weight: 700; }
.asset-body p { color: var(--muted); font-size: 0.9375rem; }

.asset-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }

.asset-links a {
  padding: 5px 10px;
  border: 1px solid var(--field);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.asset-links a:hover { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }

.badge-grid { display: grid; gap: 16px; }

@media (min-width: 860px) {
  .badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.badge-body { padding: 18px; }
.h4-like { font-size: 1rem; font-weight: 700; letter-spacing: 0; }

.code {
  margin: 12px 0 0;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: 0.8125rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.badge-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.badge-actions .asset-links { margin: 0; padding: 0; }
.badge-note { margin-top: 16px; color: var(--muted); font-size: 0.9375rem; }

.swatch {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.swatch:hover { border-color: rgba(252, 94, 2, 0.4); box-shadow: var(--shadow); transform: translateY(-2px); }

.swatch-chip { position: relative; display: block; height: 112px; border-bottom: 1px solid var(--line); }
.sw-orange { background: #fc5e02; }
.sw-deep { background: #c24400; }
.sw-graphite { background: #2c3138; }
.sw-white { background: #ffffff; }

.swatch-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.sw-white .swatch-hint { background: rgba(0, 0, 0, 0.62); }

.swatch-info { display: grid; gap: 2px; padding: 14px 16px 16px; }
.swatch-info b { font-size: 1rem; }
.swatch-code { color: var(--ink); font: 600 0.9375rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.swatch-rgb,
.swatch-use { color: var(--muted); font-size: 0.875rem; }
.swatch-use { margin-top: 6px; }

.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.usage-card { padding: 20px; }
.usage-card h3 { margin: 18px 0 6px; font-size: 1.0625rem; font-weight: 700; }
.usage-card p { color: var(--muted); font-size: 0.9375rem; }

.usage-demo {
  display: grid;
  place-items: center;
  height: 176px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: 12px;
}

/* The striped margin is the clear space: half the logo's height on every side. */
.clearspace {
  display: block;
  padding: 16px;
  outline: 1.5px dashed var(--accent);
  background: repeating-linear-gradient(135deg, var(--accent-soft) 0 6px, transparent 6px 12px);
}

.clearspace img { width: 200px; height: auto; background: var(--bg-soft); }

.min-sizes { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 28px; }
.min-sizes figure { display: grid; justify-items: center; gap: 10px; margin: 0; }
.min-sizes img { width: 100px; height: auto; }
.min-sizes figure:last-child img { width: 16px; }
.min-sizes figcaption { color: var(--muted); font-size: 0.8125rem; font-weight: 600; }

.name-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 1.125rem; font-weight: 700; }
.name-list li { display: flex; align-items: center; gap: 10px; }
.name-list svg { width: 18px; height: 18px; }
.name-list .yes svg { color: var(--ok); }
.name-list .no { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.name-list .no svg { color: var(--err); }

.dont-grid { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 440px) {
  .dont-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .dont-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.dont-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 120px;
  padding: 16px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.dont-preview img { width: 150px; height: auto; }
.dont p { display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px 14px; font-size: 0.9375rem; font-weight: 600; }
.dont p svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--err); }

.dont-stretch img { width: 110px; transform: scale(1.5, 0.7); }
.dont-recolor img { filter: hue-rotate(170deg) saturate(1.4); }
.dont-rotate img { transform: rotate(-14deg); }
.dont-effects img { filter: drop-shadow(0 0 1px #2c3138) drop-shadow(3px 4px 2px rgba(17, 20, 26, 0.45)); }
.dont-busy .dont-preview { background: repeating-linear-gradient(135deg, #fc5e02 0 12px, #ff8a3d 12px 24px); }
.dont-font .dont-preview img { width: 36px; }
.dont-font .dont-preview span { color: #2c3138; font: italic 400 1.75rem Georgia, "Times New Roman", serif; letter-spacing: 0.04em; }

.brand-contact,
.partner-brand { margin-top: 32px; color: var(--muted); }
.partner-brand { margin-top: 18px; font-size: 0.9375rem; }
.brand-contact a,
.partner-brand a { font-weight: 600; }
