/* ==========================================================================
   Veenworks LLC — public website design system
   Dependency-free CSS. Dark base with light tone sections for rhythm.
   ========================================================================== */

:root {
  color-scheme: dark;

  --max: 1200px;

  /* Dark tone (default) */
  --bg: #07080d;
  --bg-elev: #0b0d15;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --ink: #f3f5fa;
  --ink-soft: #d3d9e7;
  --muted: #99a2b8;
  --accent: #7c5cff;
  --accent-ink: #b7a6ff;
  --accent-2: #5b8cff;
  --btn-from: #6f4ae8;
  --btn-to: #3f6fe0;
  --focus: #b7a6ff;
  --ok: #43d6a0;
  --ok-bg: rgba(67, 214, 160, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

/* Light tone: applied to a whole section or page region */
.tone-light {
  color-scheme: light;
  --bg: #f7f6f3;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1efea;
  --line: #e4e1da;
  --line-2: #d2cec4;
  --ink: #12141b;
  --ink-soft: #2b303b;
  --muted: #565d6c;
  --accent: #5b3fd6;
  --accent-ink: #5432c9;
  --accent-2: #2f5fd0;
  --focus: #5432c9;
  --ok: #157a55;
  --ok-bg: #e6f5ee;
  --shadow: 0 24px 60px rgba(20, 22, 30, 0.10);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #07080d;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text",
    "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 650; }

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: #ffffff;
  color: #12141b;
  font-weight: 650;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Typography scale
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  margin: 0;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink);
}

h1 {
  font-size: clamp(42px, 6.4vw, 78px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h2 { font-size: clamp(30px, 3.7vw, 46px); }
h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }

p { margin: 0; }

.grad {
  background: linear-gradient(100deg, #c6b6ff 0%, #93b7ff 55%, #7fe3d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 13, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 13, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: #f3f5fa;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #7c5cff, #3f6fe0);
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}
.brand-mark svg { width: 19px; height: 19px; }

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

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #a8b0c4;
  padding: 9px 13px;
  border-radius: 9px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: #f3f5fa; background: rgba(255, 255, 255, 0.06); }

.nav-cta {
  margin-left: 8px;
  color: #fff !important;
  background: linear-gradient(120deg, var(--btn-from), var(--btn-to));
  font-weight: 600 !important;
  box-shadow: 0 8px 22px rgba(111, 74, 232, 0.3);
}
.nav-cta:hover { filter: brightness(1.08); background: linear-gradient(120deg, var(--btn-from), var(--btn-to)) !important; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3f5fa;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  min-height: 44px;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.nav-toggle .bars { display: grid; gap: 4px; }
.nav-toggle .bars span {
  display: block;
  width: 16px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--btn-from), var(--btn-to));
  box-shadow: 0 12px 30px rgba(111, 74, 232, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(111, 74, 232, 0.42);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--line-2);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent-ink);
  background: var(--surface-2);
}

.btn:active { transform: translateY(0); }

.text-link {
  color: var(--accent-ink);
  font-weight: 550;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding: clamp(72px, 9vw, 116px) 0;
}

.section-head { max-width: 900px; }
.section-head h2 { margin-top: 14px; }

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.45), transparent);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(64px, 8vw, 118px) 0 clamp(72px, 8vw, 110px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(48% 46% at 22% 8%, rgba(124, 92, 255, 0.30), transparent 70%),
    radial-gradient(42% 40% at 82% 22%, rgba(63, 111, 224, 0.24), transparent 70%),
    radial-gradient(38% 34% at 60% 88%, rgba(80, 200, 190, 0.10), transparent 70%);
  filter: blur(6px);
  animation: drift 26s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 32%, #000 20%, transparent 78%);
  mask-image: radial-gradient(72% 62% at 50% 32%, #000 20%, transparent 78%);
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.07); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d3d9e7;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.005em;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(67, 214, 160, 0.16);
}

.hero h1 { margin: 26px 0 24px; max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-foot {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 60ch;
}

/* Hero panel — conceptual workflow */

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.panel-title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.015em; }
.panel-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.status {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ok);
  background: var(--ok-bg);
  border: 1px solid rgba(67, 214, 160, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
}

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

.workflow-card {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.workflow-card:hover {
  transform: translateX(3px);
  border-color: rgba(183, 166, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.step-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
}
.workflow-card b { display: block; font-size: 14px; font-weight: 600; }
.workflow-card span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.workflow-card .mark { color: #7f8aa3; font-size: 15px; }

.panel-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.55;
  color: #8b93a8;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

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

.card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 166, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent-ink);
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.26);
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.card li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-ink);
}

.tone-light .card-icon {
  color: var(--accent);
  background: rgba(91, 63, 214, 0.09);
  border-color: rgba(91, 63, 214, 0.2);
}
.tone-light .card { background: var(--surface); }
.tone-light .card li::before { background: var(--accent); }

/* --------------------------------------------------------------------------
   Workflow visualization section
   -------------------------------------------------------------------------- */

.flow-section {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(124, 92, 255, 0.14), transparent 70%),
    #05060a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 40px;
  margin-top: 48px;
}

.flow-node {
  position: relative;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.flow-node:hover { transform: translateY(-3px); border-color: rgba(183, 166, 255, 0.38); }

.flow-node .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.flow-node h3 { font-size: 16.5px; margin-bottom: 7px; }
.flow-node p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* Connector between nodes in a row */
.flow-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 166, 255, 0.55), rgba(183, 166, 255, 0.08));
  animation: pulse-line 3.2s ease-in-out infinite;
}
.flow-node:nth-child(3n)::after,
.flow-node:last-child::after { display: none; }
.flow-node:nth-child(2)::after { animation-delay: 0.4s; }
.flow-node:nth-child(4)::after { animation-delay: 0.8s; }
.flow-node:nth-child(5)::after { animation-delay: 1.2s; }

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

.flow-note {
  margin-top: 28px;
  font-size: 13px;
  color: #8b93a8;
  max-width: 70ch;
}

/* --------------------------------------------------------------------------
   Trust band
   -------------------------------------------------------------------------- */

.band {
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(124, 92, 255, 0.18), transparent 60%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}
.band h3 { font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 14px; }
.band p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.band li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.band li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(67, 214, 160, 0.16);
  border: 1px solid rgba(67, 214, 160, 0.35);
}
.band li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 5px;
  height: 9px;
  border: solid var(--ok);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Use cases
   -------------------------------------------------------------------------- */

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.use-card {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.use-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.use-card h3 { font-size: 17px; margin-bottom: 8px; }
.use-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.use-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 16px;
  color: var(--accent);
  background: rgba(91, 63, 214, 0.09);
  border: 1px solid rgba(91, 63, 214, 0.2);
}
.use-icon svg { width: 19px; height: 19px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}
.chip {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.note-line {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 74ch;
}

/* --------------------------------------------------------------------------
   Communications / consent
   -------------------------------------------------------------------------- */

.comms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
}

.comms-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.comms-card h3 { margin-bottom: 12px; font-size: 18px; }
.comms-card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.comms-card p + p { margin-top: 12px; }
.comms-card strong { color: var(--ink); }

.consent-example {
  margin-top: 16px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}
.consent-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.checkbox-row { display: flex; gap: 11px; align-items: flex-start; }
.fake-checkbox {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border: 1.5px solid var(--line-2);
  border-radius: 5px;
  background: transparent;
}
.checkbox-row span:last-child {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(30px, 4.4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(80% 130% at 100% 0%, rgba(63, 111, 224, 0.22), transparent 62%),
    radial-gradient(70% 120% at 0% 100%, rgba(124, 92, 255, 0.2), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}
.contact-panel h2 { margin: 14px 0 16px; }
.contact-panel p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

.contact-list {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.contact-item { padding: 20px 22px; }
.contact-item + .contact-item { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.contact-item .label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-item .value { font-size: 17px; font-weight: 550; letter-spacing: -0.015em; }
.contact-item a.value { color: var(--accent-ink); text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #05060a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 40px;
  color: #99a2b8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-copy { font-size: 14px; line-height: 1.7; max-width: 46ch; margin-top: 18px; }
.footer-email { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--accent-ink); font-weight: 550; }
.footer-nav h3 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7f8aa3;
  margin-bottom: 16px;
}
.footer-links { display: grid; gap: 12px; }
.footer-links a {
  text-decoration: none;
  font-size: 14.5px;
  color: #c3cad9;
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer-base {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 13px;
  color: #7f8aa3;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(52px, 6vw, 84px) 0 clamp(64px, 7vw, 96px);
}
.legal-wrap { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 14px 0 10px; }
.legal-meta { color: var(--muted); font-size: 14px; }

.legal-intro {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal article { margin-top: 12px; }
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal article > p:first-child { margin-top: 26px; }
.legal h3 {
  font-size: 17.5px;
  letter-spacing: -0.015em;
  margin: 30px 0 10px;
  color: var(--ink);
}
.legal p, .legal li {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0;
}
.legal p + p { margin-top: 16px; }
.legal ul { margin: 16px 0 0; padding-left: 24px; }
.legal li + li { margin-top: 11px; }
.legal li::marker { color: var(--accent-ink); }
.legal a { color: var(--accent-ink); text-underline-offset: 3px; }

.callout {
  margin: 22px 0;
  padding: 20px 22px;
  border: 1px solid rgba(124, 92, 255, 0.32);
  border-left: 3px solid var(--accent-ink);
  border-radius: var(--radius);
  background: rgba(124, 92, 255, 0.10);
}
.callout p { margin: 0; color: var(--ink); }
.callout strong { font-weight: 700; color: var(--ink); }

.tone-light .callout {
  border-color: rgba(91, 63, 214, 0.25);
  border-left-color: var(--accent);
  background: rgba(91, 63, 214, 0.06);
}

.legal-links {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

/* Entrance runs on load, never on a scroll trigger, so content is never
   left hidden while it waits for an animation. */
[data-reveal] {
  animation: rise 0.7s var(--ease) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-node:nth-child(3n)::after { display: block; }
  .flow-node:nth-child(2n)::after { display: none; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    background: #06070c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
    z-index: 60;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 16px; min-height: 48px; display: flex; align-items: center; }
  .nav-cta { margin-left: 0; margin-top: 8px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .nav { position: static; }
  .container.nav { position: relative; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .comms-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 680px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow-node::after { display: none !important; }
  .use-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-actions .btn { width: 100%; }
  .workflow-card { grid-template-columns: 34px 1fr; }
  .workflow-card .mark { display: none; }
  .step-num { width: 34px; height: 34px; }
  .contact-item { padding: 17px 18px; }
  .contact-item .value { font-size: 15.5px; word-break: break-word; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-bg::before { animation: none; }
}

@media print {
  .site-header, .site-footer, .hero-bg { display: none; }
  body { background: #fff; color: #000; }
}
