/* ==========================================================================
   Vigilis — design system
   Brand tokens live in :root. Change them here to re-skin the whole site.
   ========================================================================== */

:root {
  /* --- Brand palette (Norns family: dark instrument panel + signal amber) --- */
  --void:        #06080B;
  --bg:          #080B10;
  --bg-2:        #0A0E14;
  --panel:       #0D131A;
  --panel-2:     #121A24;
  --line:        #1C2735;
  --line-soft:   rgba(255, 255, 255, .07);

  --ink:         #E9EEF6;
  --ink-2:       #A3AEC0;
  --ink-3:       #6B7686;

  --signal:      #FFB224;   /* primary accent — vigilance / safety */
  --signal-2:    #FF8A3D;
  --signal-ink:  #1A1000;
  --cool:        #4FD1C5;   /* data / tracking accent */
  --ok:          #46D07E;
  --warn:        #FFC85C;
  --danger:      #FF6060;

  /* --- Type --- */
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono",
          "Roboto Mono", Menlo, Consolas, monospace;

  /* --- Geometry --- */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 40px);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  --sp-section: clamp(72px, 10vw, 132px);

  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
  --shadow-lift: 0 32px 80px -36px rgba(0, 0, 0, 1);

  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient field: fine grid + two soft light sources. Purely decorative. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -8%,  rgba(255, 178, 36, .10), transparent 62%),
    radial-gradient(760px 520px at 4% 12%,   rgba(79, 209, 197, .07), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%, var(--void));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 600;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--sp-section); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 84px); }
.section--edge { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: 18px; }

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

@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--signal), transparent);
}

.h1 { font-size: clamp(2.4rem, 6.2vw, 4.05rem); }
.h2 { font-size: clamp(1.85rem, 3.9vw, 2.75rem); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

.lede {
  font-size: clamp(1.03rem, 1.6vw, 1.19rem);
  color: var(--ink-2);
  line-height: 1.68;
  max-width: 62ch;
}

.muted { color: var(--ink-2); }
.dim   { color: var(--ink-3); }
.amber { color: var(--signal); }
.mono  { font-family: var(--mono); }

.section-head { max-width: 66ch; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head .lede { margin-top: 18px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 14.5px/1 var(--sans);
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; }

.btn--primary {
  --btn-bg: linear-gradient(180deg, var(--signal), var(--signal-2));
  --btn-fg: var(--signal-ink);
  --btn-bd: transparent;
  box-shadow: 0 10px 30px -12px rgba(255, 178, 36, .55);
}
.btn--primary:hover { box-shadow: 0 18px 44px -14px rgba(255, 178, 36, .7); }

.btn--ghost { --btn-bg: rgba(255, 255, 255, .03); }
.btn--ghost:hover { --btn-bd: #2C3B4E; --btn-bg: rgba(255, 255, 255, .06); }

.btn--sm { padding: 10px 17px; font-size: 13.5px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--signal);
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-stuck {
  background: rgba(8, 11, 16, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 17.5px;
  letter-spacing: -.03em;
  margin-right: auto;
}
.brand .mark { width: 27px; height: 27px; color: var(--signal); flex: none; }
.brand b { font-weight: 650; }
.brand .tld { color: var(--ink-3); font-weight: 500; }

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

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--signal);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 17px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-5.5px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn--ghost { display: none; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gut) 26px;
    background: rgba(8, 11, 16, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .28s var(--ease);
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 4px; font-size: 16px; border-radius: var(--r-sm); }
  .nav-links a[aria-current="page"]::after { width: 26px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding-block: clamp(56px, 8vw, 104px) clamp(60px, 8vw, 110px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--signal), var(--signal-2) 55%, var(--cool));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .btn-row { margin-top: 34px; }

.hero-note {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}

/* --- Hero instrument panel --- */

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 36, .55), transparent);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.panel-bar .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 9px var(--ok);
  animation: pulse 2.6s var(--ease) infinite;
}
.panel-bar .spacer { margin-left: auto; }

@keyframes pulse { 50% { opacity: .35; } }

.panel-body { padding: 18px; display: grid; gap: 10px; }

.rowitem {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .015);
  transition: border-color .25s, transform .25s var(--ease);
}
.rowitem:hover { border-color: #2A3A4C; transform: translateX(3px); }

.rowitem .ic {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 178, 36, .1);
  color: var(--signal);
}
.rowitem .ic svg { width: 15px; height: 15px; }
.rowitem .t { font-size: 14px; font-weight: 550; line-height: 1.35; }
.rowitem .s { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }

.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.tag--ok    { color: var(--ok); }
.tag--warn  { color: var(--warn); }
.tag--due   { color: var(--danger); }
.tag--info  { color: var(--cool); }

.panel-foot {
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.meter {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: var(--v, 70%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--signal-2));
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, 0));
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.card:hover {
  border-color: #2B3B4E;
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
}
.card h3 { margin-bottom: 10px; font-size: 1.14rem; }
.card p { color: var(--ink-2); font-size: 14.8px; }

.card-ic {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 178, 36, .08);
  color: var(--signal);
}
.card-ic svg { width: 20px; height: 20px; }
.card--cool .card-ic { background: rgba(79, 209, 197, .09); color: var(--cool); }

.card-num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .1em;
  margin-bottom: 16px;
  display: block;
}

.card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--signal);
  opacity: .8;
}

/* Feature card that spans wide */
.card--feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
}
@media (max-width: 860px) { .card--feature { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Split / feature rows
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--rev > *:first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--rev > *:first-child { order: 0; }
}

.checks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
  font-size: 15px;
}
.checks li strong { color: var(--ink); font-weight: 600; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(70, 208, 126, .12);
  border: 1px solid rgba(70, 208, 126, .35);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: .52em;
  width: 6px; height: 3px;
  border-left: 1.7px solid var(--ok);
  border-bottom: 1.7px solid var(--ok);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Chat / companion mock
   ========================================================================== */

.chat { display: grid; gap: 12px; padding: 20px; }

.bubble {
  max-width: 86%;
  padding: 13px 16px;
  border-radius: 16px;
  font-size: 14.4px;
  line-height: 1.55;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.bubble--me {
  margin-left: auto;
  border-color: rgba(255, 178, 36, .3);
  background: rgba(255, 178, 36, .09);
  border-bottom-right-radius: 5px;
}
.bubble--bot { border-bottom-left-radius: 5px; }
.bubble--bot .who {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 8px;
}
.bubble .src {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ==========================================================================
   Stats / legal strip
   ========================================================================== */

.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .018);
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--signal);
  margin-bottom: 8px;
}
.stat span { font-size: 13.6px; color: var(--ink-2); line-height: 1.5; display: block; }

/* ==========================================================================
   Steps
   ========================================================================== */

.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line);
         border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.steps.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) { .steps.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.grid-4 { grid-template-columns: minmax(0, 1fr); } }

.step {
  counter-increment: s;
  background: var(--bg);
  padding: 28px 24px;
  transition: background .3s;
}
.step:hover { background: var(--panel); }
.step::before {
  content: "0" counter(s);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--signal);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ==========================================================================
   Tables
   ========================================================================== */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.4px;
}
th, td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  background: rgba(255, 255, 255, .022);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .018); }
td strong { font-weight: 600; }
td.c { text-align: center; }
.yes { color: var(--ok); font-weight: 700; }
.no  { color: var(--ink-3); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent);
}
.price-card--hero {
  border-color: rgba(255, 178, 36, .4);
  background: linear-gradient(180deg, rgba(255, 178, 36, .07), rgba(255, 178, 36, .01));
  box-shadow: var(--shadow-lift);
}
.price-card h3 { font-size: 1.2rem; }
.price-card .who { font-size: 13.4px; color: var(--ink-3); margin-top: 6px; min-height: 40px; }
.price-card .amount {
  margin: 22px 0 4px;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.03em;
}
.price-card .per { font-size: 12.6px; color: var(--ink-3); font-family: var(--mono); }
.price-card .btn { margin-top: 24px; width: 100%; }
.price-card ul { margin: 24px 0 0; }
.price-card .flex-fill { flex: 1; }

.badge-top {
  align-self: flex-start;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--signal);
  border: 1px solid rgba(255, 178, 36, .4);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */

.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 550;
  font-size: 15.6px;
  transition: background .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, .022); }
.faq summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 9px; height: 9px;
  border-right: 1.7px solid var(--ink-3);
  border-bottom: 1.7px solid var(--ink-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); font-size: 14.8px; max-width: 76ch; }
.faq .answer p + p { margin-top: 12px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 550; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--ink-3); }

input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .025);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(255, 255, 255, .045);
}
textarea { resize: vertical; min-height: 128px; }
select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.consent input { width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: var(--signal); }
.consent a { color: var(--signal); text-decoration: underline; text-underline-offset: 2px; }

.form-msg {
  display: none;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  border: 1px solid;
}
.form-msg.is-on { display: block; }
.form-msg--ok  { color: var(--ok); border-color: rgba(70, 208, 126, .4); background: rgba(70, 208, 126, .08); }
.form-msg--err { color: var(--danger); border-color: rgba(255, 96, 96, .4); background: rgba(255, 96, 96, .08); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  position: relative;
  padding: clamp(40px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 82% 0%, rgba(255, 178, 36, .14), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  text-align: center;
}
.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: var(--sp-section);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .25);
  padding-block: 56px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.site-footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { font-size: 14.4px; color: var(--ink-2); transition: color .18s; }
.site-footer ul a:hover { color: var(--signal); }
.site-footer .about { font-size: 14px; color: var(--ink-2); max-width: 34ch; margin-top: 16px; }

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  font-size: 12.8px;
  color: var(--ink-3);
}
.footer-bottom .spacer { margin-left: auto; }
.footer-bottom a:hover { color: var(--signal); }

/* ==========================================================================
   Misc
   ========================================================================== */

.note {
  padding: 18px 22px;
  border-left: 2px solid var(--signal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(255, 178, 36, .05);
  font-size: 14px;
  color: var(--ink-2);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .02);
}

.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

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

@media print {
  body::before, body::after, .site-header, .site-footer, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
