/* Upranked "Volt", for the marketing site. The same roles as the product:
   ink on a near-white canvas, one electric volt accent used as a fill (never as text on white),
   gold only for stars. Light is the default. Dark swaps to an ink canvas and keeps the same volt.
   Shared by index.html and privacy.html. */

:root {
  color-scheme: light;

  /* Surfaces and lines */
  --bg: #F6F7F4;
  --surface: #FFFFFF;
  --surface-2: #EEF0EB;
  --surface-3: #E7EAE3;
  --line: #DFE3DA;
  --line-strong: #CBD0C4;
  --nav-bg: rgba(246, 247, 244, 0.82);

  /* Text */
  --text: #11140F;
  --text-2: #3B4037;
  --muted: #6B7166;

  /* Ink and paper never flip: stickers and the contact panel are drawn with them */
  --ink: #11140F;
  --paper: #FFFFFF;

  /* Volt: fills with ink on top. Text uses --accent-text. */
  --volt: #C6F135;
  --volt-hover: #B3DD1E;
  --volt-press: #9CC40A;
  --volt-soft: #F4FBDD;
  --volt-line: #DDF38F;
  --volt-ink: #2B5200;
  --accent-text: #2B5200;

  /* Stars are the only gold. The rest are sticker tints. */
  --star: #FFB020;
  --star-empty: #DCE0D6;
  --coral: #FF8A73;
  --sky: #CFE6F5;
  --lilac: #E5DDFB;
  --peach: #FFE1CC;

  /* The pad a sticker sits on, and the one dark panel on the page */
  --tile: #F4FBDD;
  --panel: #11140F;
  --on-panel: #F1F3EE;
  --on-panel-muted: #A3AA9B;

  /* Fields and states on the dark panel */
  --field: rgba(255, 255, 255, 0.06);
  --field-line: rgba(255, 255, 255, 0.18);
  --volt-glow: rgba(198, 241, 53, 0.3);
  --danger-on-panel: #FF8A73;

  --focus: #11140F;
  --shadow-card: 0 0 0 1px rgba(17, 20, 15, 0.06), 0 1px 2px rgba(17, 20, 15, 0.04);
  --shadow-pop: 0 28px 60px -20px rgba(17, 20, 15, 0.28), 0 6px 16px rgba(17, 20, 15, 0.06);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Archivo', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B0D0A;
  --surface: #151813;
  --surface-2: #1B1F18;
  --surface-3: #232720;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --nav-bg: rgba(11, 13, 10, 0.78);
  --text: #F1F3EE;
  --text-2: #C9CEC2;
  --muted: #9AA093;
  --accent-text: #C6F135;
  --tile: #E9EEDD;
  --panel: #151813;
  --focus: #F1F3EE;
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-pop: 0 28px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--volt); color: var(--ink); }
section[id] { scroll-margin-top: 88px; }

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

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

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--on-panel); font-weight: 600; font-size: 15px;
  transform: translateY(-200%); transition: transform 0.16s var(--ease);
}
.skip:focus-visible { transform: none; outline-color: var(--volt); }

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

/* Display type: heavy, wide Archivo for headlines and numerals */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

/* ---------- Buttons: pills, one volt primary ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--spring), background-color 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.2s var(--ease), color 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--volt); color: var(--ink); }
.btn-primary:hover { background: var(--volt-hover); transform: translateY(-1px); }
.btn-primary:active { background: var(--volt-press); transform: scale(0.97); }
/* Ink flips with the theme (a dark pill on light, a light pill on dark). Paper is for the dark contact panel. */
.btn-ink { background: var(--text); color: var(--bg); }
.btn-ink:hover { background: var(--text-2); transform: translateY(-1px); }
.btn-ink:active { transform: scale(0.97); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--volt); transform: translateY(-1px); }
.btn-paper:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-ghost:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn .arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 72px; display: flex; align-items: center;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  background: var(--nav-bg); box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand-mark .c1, .brand-mark .c2 { transition: transform 0.36s var(--ease); }
.brand:hover .brand-mark .c2 { transform: translateY(-1.5px); }
.brand:hover .brand-mark .c1 { transform: translateY(-1.5px); transition-delay: 0.07s; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 20px; line-height: 1; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* Theme toggle: a phase icon, not a sun and moon. The fill swings half a turn between themes. */
.theme {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; flex-shrink: 0;
  transition: transform 0.2s var(--spring), background-color 0.15s var(--ease);
}
.theme:hover { transform: scale(1.06); background: var(--surface-2); }
.theme:active { transform: scale(0.94); }
.phase-fill { transform-origin: center; transform-box: view-box; transition: transform 0.52s var(--spring); }
[data-theme="light"] .phase-fill { transform: rotate(180deg); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 15px; color: var(--text-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-strong); transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease); }
.footer-links a:hover { color: var(--text); text-decoration-color: var(--text); }
.footer-copy { width: 100%; font-size: 13px; color: var(--muted); }

/* ---------- Motion safety ---------- */
@media (max-width: 860px) { .nav-links { display: none; } }
/* Phones keep Sign in: a returning client should never have to hunt for it. It drops its outline so the
   row reads as a mark, a link, the theme switch and one button. */
@media (max-width: 560px) { .nav-signin { padding: 0 12px; border-color: transparent; } }
/* The wordmark steps aside so the mark, Sign in, the theme switch and the call button share one row. */
@media (max-width: 520px) { .nav .brand { min-width: 44px; } .nav .brand-word { display: none; } }
/* Small phones: everything must sit inside the gutters (360px has 320px, 320px has 280px). */
@media (max-width: 420px) {
  .nav-in { gap: 8px; }
  .nav-right { gap: 4px; }
  .nav .btn-ink, .nav .btn-primary { padding: 0 14px; }
  .nav .btn-ink .arrow, .nav .btn-primary .arrow { display: none; }
}
@media (max-width: 340px) {
  .nav-signin { padding: 0 8px; }
  .nav .btn-ink, .nav .btn-primary { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Stickers: 2px ink line, flat tints, a hard offset shadow ---------- */
.stk { stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(2.5px 2.5px 0 var(--ink)); overflow: visible; }
.f-paper { fill: var(--paper); } .f-ink { fill: var(--ink); } .f-volt { fill: var(--volt); } .f-gold { fill: var(--star); }
.f-coral { fill: var(--coral); } .f-sky { fill: var(--sky); } .f-lilac { fill: var(--lilac); } .f-peach { fill: var(--peach); }
