/* DVSN8 static site. Values match the previous Tailwind theme. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallback so the swap to Inter does not move the headline. */
@font-face {
  font-family: InterFallback;
  src: local("Arial");
  size-adjust: 107.64%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jbmono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jbmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #080808;
  --fg: #ededed;
  --card: #0f0f0f;
  --gold: #ffc105;
  --gold-2: #ffb433;
  --gold-dim: #a38529;
  --muted: #808080;
  --muted-bg: #1f1f1f;
  --secondary: #1a1a1a;
  --border: #242424;
  --line: #292929;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --red-600: #dc2626;
  --neutral-50: #fafafa;
  --neutral-200: #e5e5e5;
  --neutral-400: #a3a3a3;
  --neutral-900: #171717;
  --container: 1200px;
  --sans: Inter, InterFallback, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.page-404 {
  background: var(--muted-bg);
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container);
  }
}

.container.w-800 { max-width: 800px; }
.container.w-4xl { max-width: 56rem; }
.container.w-5xl { max-width: 64rem; }
.container.w-6xl { max-width: 72rem; }
.container.pad-tight {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.mono {
  font-family: var(--mono);
  font-weight: 400;
}

.icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 32px; height: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--fg);
  font-weight: 500;
  background: transparent;
}

.btn-ghost:hover { background: var(--secondary); }

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}

.section {
  border-top: 1px solid var(--border);
}

.section-pad {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* Nav — hidden below 768px, same as the previous site */
.nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

@media (min-width: 768px) {
  .nav { display: block; }
}

.nav.is-scrolled {
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-logo {
  height: 48px;
  width: 48px;
  max-width: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 2rem 1rem;
}

.kicker {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 6rem;
    line-height: 1;
  }
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

/* No middle layer */
.middle {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

@media (min-width: 768px) {
  .middle {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.eyebrow {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.middle h2,
.position h2,
.cases h2,
.cta h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .middle h2,
  .position h2,
  .cases h2,
  .cta h2 {
    font-size: 3rem;
    line-height: 1;
  }
}

.middle h2 { margin-bottom: 2.5rem; }

.middle-lines {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted);
}

.middle-lines p + p { margin-top: 0.5rem; }

@media (min-width: 768px) {
  .middle-lines {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.middle-lines .gold-text { font-weight: 600; }

/* Positioning */
.position {
  padding-top: 1rem;
  padding-bottom: 8rem;
}

.position h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.15s ease;
}

.card:hover { border-color: rgba(255, 193, 5, 0.2); }

.card h3 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.15s ease;
}

.card:hover h3 { color: var(--gold); }

.card p {
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted);
}

.fit li,
.platform-note,
.cta-note,
.step p {
  font-size: 14px;
  line-height: 1.25rem;
  color: var(--muted);
}

/* Platforms */
.platform {
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: center;
}

.platform h2,
.fit h2,
.operate h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .platform h2,
  .fit h2,
  .operate h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.platform-note {
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .platform-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.platform-item {
  padding: 1.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: border-color 0.15s ease;
}

.platform-item:hover { border-color: rgba(255, 193, 5, 0.2); }

/* Fit */
.fit {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.fit h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.fit h3 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.fit h3.good { color: var(--gold); }
.fit h3.bad { color: var(--muted); }

.fit ul { list-style: none; }
.fit li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.fit li + li { margin-top: 1rem; }

.fit .good-list .icon { color: var(--gold); margin-top: 2px; }
.fit .bad-list { color: rgba(128, 128, 128, 0.6); }
.fit .bad-list .icon { color: rgba(128, 128, 128, 0.4); margin-top: 2px; }

/* Case studies */
.cases {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.cases-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cases h2 { margin-bottom: 0.75rem; }

.cases-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4rem;
}

.case-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}

.case-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  color: inherit;
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

@media (min-width: 768px) {
  .case-card { padding: 2rem; }
}

.case-card:hover,
.case-card:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.case-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .case-tag { font-size: 12px; }
}

.case-hero {
  display: block;
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .case-hero { font-size: 48px; }
}

@media (min-width: 1024px) {
  .case-hero { font-size: 56px; }
}

.case-sub {
  font-size: 1rem;
  line-height: 1.35;
  color: var(--fg);
}

@media (min-width: 768px) {
  .case-sub { font-size: 1.125rem; }
}

.case-rule {
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: 1.25rem 0;
}

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0 -0.5rem 1.5rem;
}

.case-stats div {
  padding: 0 0.5rem;
}

.case-stats div + div {
  border-left: 1px solid var(--line);
}

.case-stats dt {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.case-stats dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

@media (min-width: 768px) {
  .case-stats dd { font-size: 1rem; }
}

.case-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}

.case-link .icon { transition: transform 0.2s ease; }
.case-card:hover .case-link .icon { transform: translateX(4px); }

.case-dialog {
  width: min(920px, calc(100% - 2rem));
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
}

.case-dialog-body {
  position: relative;
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .case-dialog-body { padding: 3rem; }
}

.case-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.case-dialog .case-tag { margin-bottom: 0.75rem; }

.case-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

.case-close:hover { color: var(--gold); }

.case-shot {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.case-dialog h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .case-dialog h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.case-metrics {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .case-metrics {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.case-metrics dt {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.case-metrics dd {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .case-metrics dd {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

.case-block + .case-block { margin-top: 2rem; }

.case-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.case-block p,
.case-foot {
  font-size: 1rem;
  line-height: 1.625;
}

.case-foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

/* Operate */
.operate {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.operate-intro {
  text-align: center;
  margin-bottom: 5rem;
}

.operate-intro p {
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .operate-intro p { font-size: 1.125rem; }
}

.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.principle + .principle { margin-top: 4rem; }

@media (min-width: 768px) {
  .principle { gap: 2.5rem; }
  .principle + .principle { margin-top: 5rem; }
}

.principle-num {
  font-family: var(--mono);
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: var(--gold);
}

@media (min-width: 768px) {
  .principle-num { font-size: 4.5rem; }
}

.principle h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-top: 0.25rem;
}

@media (min-width: 768px) {
  .principle h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    padding-top: 0.5rem;
  }
}

.principle p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .principle p { font-size: 1.125rem; }
}

/* Proof */
.proof {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
}

.proof-value {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .proof-value {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.proof-label {
  font-size: 14px;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--fg);
}

/* Clients */
.clients {
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.clients h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .clients h2 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.clients-note {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--muted);
}

.clients-head { margin-bottom: 3rem; }

.marquee {
  max-width: 72rem;
  margin: 0 auto;
}

.marquee + .marquee { margin-top: 2rem; }

.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll-logos 60s linear infinite;
}

.marquee-track.reverse {
  animation-name: scroll-logos-reverse;
}

.logo-item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 80px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: brightness(0.75) grayscale(1) invert(1);
  opacity: 0.6;
  transition: filter 0.5s ease, opacity 0.5s ease;
}

@media (min-width: 768px) {
  .logo-item img { height: 128px; }
}

.logo-item:hover img {
  filter: none;
  opacity: 1;
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

@keyframes scroll-logos-reverse {
  from { transform: translateX(-33.333%); }
  to { transform: translateX(0); }
}

/* CTA */
.cta {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.cta h2 { text-align: center; margin-bottom: 1rem; }

.cta-note {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.cta-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .cta-grid { grid-template-columns: 1fr 1fr; }
}

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.lead-form {
  position: relative;
  color: var(--neutral-900);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
}

.lead-form > * + * { margin-top: 1rem; }

.field label {
  display: inline;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.req { color: var(--gold-dim); }

.field input,
.field textarea {
  display: flex;
  width: 100%;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  color: var(--neutral-900);
  font-size: 14px;
  line-height: 20px;
  padding: 0 0.75rem;
}

.field input {
  height: 44px;
}

.field textarea {
  min-height: 96px;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--neutral-400); }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--gold);
}

.field input:disabled,
.field textarea:disabled,
.lead-form button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.form-error {
  font-size: 14px;
  color: var(--red-600);
  margin: 0 0 1rem;
}

.lead-form .btn {
  height: 44px;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
}

.steps { padding-top: 1rem; }

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step + .step { margin-top: 2rem; }

.step-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.email-line {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  font-size: 14px;
  color: var(--muted);
}

.email-line a {
  color: var(--gold);
}

.email-line a:hover { text-decoration: underline; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-top { flex-direction: row; }
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  height: 128px;
  width: 128px;
  max-width: none;
}

.brand-lockup span,
.footer-mail,
.footer-meta,
.footer-legal,
.footer-brand,
.footer-legal a,
.footer-legal button {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.footer-brand {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--muted);
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.15s ease;
}

.footer-brand a:hover { color: var(--fg); }

.footer-brand img {
  height: 16px;
  width: auto;
  max-width: none;
}

.footer-legal {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-legal { flex-direction: row; }
}

.footer-legal a,
.footer-legal button {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-legal a:hover,
.footer-legal button:hover { color: var(--fg); }

.dot { display: none; }

@media (min-width: 768px) {
  .dot { display: inline; }
}

/* Thank you */
.thanks-nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
  z-index: 50;
}

@media (min-width: 768px) {
  .thanks-nav { padding-left: 2rem; padding-right: 2rem; }
}

.thanks-logo {
  height: 80px;
  width: 80px;
  max-width: none;
}

.thanks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
}

.thanks-inner {
  max-width: 56rem;
  width: 100%;
  text-align: center;
}

.thanks-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--green-400);
  margin-bottom: 1rem;
}

.thanks h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .thanks h1 {
    font-size: 3rem;
    line-height: 1;
  }
}

.thanks-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.calendar {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  height: 750px;
  margin-top: 2.5rem;
  width: 100%;
}

.calendar iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.back-home {
  display: inline-block;
  margin-top: 2rem;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.back-home:hover { color: var(--fg); }

/* Legal */
.legal {
  padding: 4rem 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 2rem;
}

.legal-back:hover { text-decoration: underline; }

.legal h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .legal h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.legal .updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-block + .legal-block { margin-top: 2rem; }

.legal h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.legal p,
.legal li {
  line-height: 1.625;
}

.legal p + p,
.legal ul { margin-top: 0.5rem; }

.legal ul {
  list-style: disc;
  list-style-position: inside;
}

.legal li { color: var(--muted); }
.legal li + li { margin-top: 0.25rem; }
.legal a { color: var(--gold); }
.legal a:hover { text-decoration: underline; }
.legal .dim { color: var(--muted); }

/* 404 */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.not-found h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.not-found a {
  color: var(--gold);
  text-decoration: underline;
}

.not-found a:hover { opacity: 0.9; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 768px) {
  .cookie-banner { padding: 1.5rem; }
}

.cookie-banner-inner { max-width: 56rem; margin: 0 auto; }

.cookie-banner h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .cookie-banner h2 { font-size: 1.125rem; }
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cookie-actions {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-banner .policy,
.cookie-panel .policy {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 12px;
  color: var(--gold);
}

.cookie-panel .policy { margin-top: 1rem; }

.cookie-banner .policy:hover,
.cookie-panel .policy:hover { text-decoration: underline; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem;
}

.cookie-panel {
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.cookie-panel h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cookie-row {
  background: rgba(31, 31, 31, 0.5);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.cookie-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.cookie-row strong { font-size: 14px; }
.always-on { font-size: 12px; color: var(--gold); }

.cookie-row p {
  font-size: 12px;
  color: var(--muted);
}

.cookie-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cookie-panel-actions { flex-direction: row; }
  .cookie-panel-actions .btn { flex: 1; }
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch-ui {
  width: 36px;
  height: 20px;
  background: rgba(128, 128, 128, 0.3);
  border-radius: 999px;
  position: relative;
  transition: background-color 0.15s ease;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--bg);
  transition: transform 0.15s ease;
}

.switch input:checked + .switch-ui { background: var(--gold); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--gold); outline-offset: 2px; }

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

.is-hidden { display: none !important; }

/* Homepage fade-up lives in the critical style in index.html so it starts at first paint. */

/* Returning visitors: set on <html> before first paint. */
html.has-consent #cookie-banner { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .hero-canvas {
    animation: none !important;
  }
}
