/* ==========================================================================
   UR Data — design system
   Dark-anchored, hairline-separated, single cyan accent.
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (labels)
   ========================================================================== */

:root {
  /* Colour tokens */
  --bg: #0A0F1E;
  --bg-raised: #0E1528;
  --surface: #131B30;
  --surface-hover: #182238;
  --text-1: #F4F6FB;
  --text-2: #A8B3CC;
  --text-3: #6B7797;
  --accent: #2DD4F5;
  --accent-hover: #5EE2FF;
  --accent-deep: #0EA5C9;
  --cta: #2563EB;
  --cta-hover: #1D4ED8;
  --border: rgba(168, 179, 204, 0.14);
  --border-strong: rgba(168, 179, 204, 0.28);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(3, 7, 18, 0.35);
  --shadow-cta: 0 4px 14px rgba(37, 99, 235, 0.35);

  /* Light sections (long-form / case studies) */
  --light-bg: #F7F9FC;
  --light-surface: #FFFFFF;
  --light-text: #0A0F1E;
  --light-text-2: #46526B;
  --light-text-3: #6B7797;
  --light-border: #E3E8F1;
  --light-accent: #0B7E98;

  /* Typography */
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
    Consolas, monospace;

  --fs-h1: clamp(2.5rem, 2rem + 3.5vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-small: 0.8125rem;

  --radius: 8px;
  --radius-lg: 12px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 80em) {
  body {
    font-size: 1.0625rem;
  }
}

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

::selection {
  background: rgba(45, 212, 245, 0.25);
  color: var(--text-1);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-1);
  margin: 0 0 1rem;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--text-1);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.12s ease-out;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  color: var(--text-1);
}

.lede {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 42rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.meta {
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(70rem + 3rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--narrow {
  width: 100%;
  max-width: calc(45rem + 3rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (max-width: 35.9375em) {
  .container,
  .container--narrow {
    padding-inline: 1rem;
  }
}

.section {
  padding-block: clamp(4rem, 5vw + 2.5rem, 7rem);
}

.section--raised {
  background: var(--bg-raised);
}

.section--light {
  background: var(--light-bg);
  color: var(--light-text-2);
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light strong {
  color: var(--light-text);
}

.section--light .eyebrow {
  color: var(--light-accent);
}

.section--light a {
  color: var(--light-accent);
}

.section--light a:hover {
  color: var(--accent-deep);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head .lede {
  margin: 1rem 0 0;
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--cta);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  font-size: 0.9375rem;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.72);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease-out;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

/* Brand lockup: mark + wordmark */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-1);
  transform: translateY(-1px);
}

.brand:hover .brand-word {
  color: var(--text-1);
}

.brand--footer .brand-mark {
  width: 20px;
  height: 20px;
  color: var(--text-2);
}

.brand--footer .brand-word {
  font-size: 1.0625rem;
  color: var(--text-2);
}

/* Nav */

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  position: relative;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-2);
  transition: color 0.12s ease-out;
}

.site-nav a:hover {
  color: var(--text-1);
}

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

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}

.site-nav .nav-cta a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  margin-left: 0.5rem;
  border-radius: var(--radius);
  background: var(--cta);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
}

.site-nav .nav-cta a:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-1px);
}

.site-nav .nav-cta a[aria-current="page"]::after {
  display: none;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  color: var(--text-1);
}

.nav-toggle svg {
  display: block;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 47.9375em) {
  :root {
    --header-h: 56px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 90;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav a {
    padding: 1.1rem 0.25rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-h3);
    letter-spacing: -0.01em;
    color: var(--text-1);
  }

  .site-nav a[aria-current="page"]::after {
    left: 0.25rem;
    right: auto;
    width: 2rem;
  }

  .site-nav .nav-cta {
    border-bottom: none;
    margin-top: 1.5rem;
  }

  .site-nav .nav-cta a {
    justify-content: center;
    height: 48px;
    margin-left: 0;
    font-size: 1rem;
    font-family: var(--font-body);
  }

  body.nav-open {
    overflow: hidden;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease-out, color 0.15s ease-out,
    border-color 0.15s ease-out, transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.btn--md {
  height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-1);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-note {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(5rem, 8vw, 8rem) 0 6rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 50% at 50% 0%,
    rgba(45, 212, 245, 0.1),
    transparent 70%
  );
  pointer-events: none;
}

.hero > .container {
  position: relative;
}

.hero .eyebrow {
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 48.75rem;
  margin-inline: auto;
}

.hero .lede {
  max-width: 35rem;
  margin: 1.25rem auto 0;
}

.hero .btn-row {
  justify-content: center;
  margin-top: 2.5rem;
}

@media (max-width: 47.9375em) {
  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Page hero (sub-pages) */

.page-hero {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 50% at 50% 0%,
    rgba(45, 212, 245, 0.07),
    transparent 70%
  );
  pointer-events: none;
}

.page-hero > .container,
.page-hero > .container--narrow {
  position: relative;
}

.page-hero h1 {
  margin-bottom: 0;
  max-width: 44rem;
}

.page-hero .lede {
  margin: 1.25rem 0 0;
}

/* --------------------------------------------------------------------------
   Framed dashboard mockup
   -------------------------------------------------------------------------- */

.mockup-wrap {
  max-width: 56rem;
  margin: 3rem auto 0;
  text-align: left;
}

.mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.45;
}

.mockup-url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.mockup-body {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
}

.mock-stats {
  display: grid;
  gap: 1.25rem;
  align-content: stretch;
}

.mock-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: var(--bg-raised);
}

.mock-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mock-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-1);
}

.mock-delta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
}

.mock-chart {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem 1.25rem;
  background: var(--bg-raised);
  min-height: 15rem;
}

.mock-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex: 1;
  min-height: 9rem;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
}

.mock-bars span {
  flex: 1;
  min-width: 0;
  background: rgba(168, 179, 204, 0.22);
  border-radius: 3px 3px 0 0;
}

.mock-bars .is-accent {
  background: linear-gradient(
    180deg,
    rgba(45, 212, 245, 0.85),
    rgba(45, 212, 245, 0.35)
  );
}

@media (max-width: 47.9375em) {
  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mock-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .mock-value {
    font-size: 1.125rem;
  }

  .mock-chart {
    min-height: 11rem;
  }
}

@media (max-width: 35.9375em) {
  .mock-stats {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

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

@media (max-width: 63.9375em) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 47.9375em) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.18s ease-out, border-color 0.18s ease-out,
    background-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-2);
  margin-bottom: 0;
}

.card .card-link {
  margin-top: auto;
  padding-top: 1.25rem;
  font-weight: 500;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Feature list (why us)
   -------------------------------------------------------------------------- */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}

@media (max-width: 47.9375em) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.feature-list h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 63.9375em) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 35.9375em) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.steps h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.steps p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--bg-raised);
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 60% at 50% 100%,
    rgba(45, 212, 245, 0.07),
    transparent 70%
  );
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  padding-block: clamp(4rem, 5vw + 2.5rem, 7rem);
}

.cta-band h2 {
  max-width: 40rem;
  margin-inline: auto;
}

.cta-band p {
  max-width: 38rem;
  margin: 1rem auto 0;
}

.cta-band .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Service detail sections
   -------------------------------------------------------------------------- */

.service {
  padding-block: clamp(3.5rem, 4vw + 2rem, 5.5rem);
  border-bottom: 1px solid var(--border);
}

.service:last-of-type {
  border-bottom: none;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 63.9375em) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.service h2 {
  margin-bottom: 1rem;
}

.service h3 {
  font-size: 1.0625rem;
  margin: 2rem 0 0.85rem;
}

.service-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.service-panel h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin: 0 0 1rem;
}

.service-panel h3 + p,
.service-panel ul {
  margin: 0 0 1.75rem;
}

.service-panel ul {
  padding-left: 1.2rem;
  font-size: 0.9375rem;
}

.service-panel ul:last-child,
.service-panel p:last-child {
  margin-bottom: 0;
}

.service-panel li {
  margin-bottom: 0.5rem;
}

.service-panel li::marker {
  color: var(--text-3);
}

.timeline-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(45, 212, 245, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Check list with cyan ticks */

.check-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.6rem;
  font-size: 0.9875rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="%232DD4F5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M2.5 8.5l3.5 3.5 7.5-8"/></svg>')
    center / 16px no-repeat;
}

/* --------------------------------------------------------------------------
   Scenario (work) cards — used inside a light section
   -------------------------------------------------------------------------- */

.scenario {
  position: relative;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.scenario:last-child {
  margin-bottom: 0;
}

.scenario::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(14, 165, 201, 0.5),
    transparent
  );
}

.scenario-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-accent);
  background: rgba(14, 165, 201, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 1.25rem;
}

.scenario h2 {
  font-size: clamp(1.375rem, 1.2rem + 1vw, 1.75rem);
  margin-bottom: 0.85rem;
}

.scenario > p {
  max-width: 46rem;
}

.scenario-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--light-border);
}

@media (max-width: 63.9375em) {
  .scenario-cols {
    grid-template-columns: 1fr;
  }
}

.scenario-cols h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--light-text-3);
  margin-bottom: 0.75rem;
}

.scenario-cols p,
.scenario-cols ul {
  font-size: 0.9375rem;
  margin: 0;
}

.scenario-cols ul {
  padding-left: 1.2rem;
}

.scenario-cols li {
  margin-bottom: 0.35rem;
}

.scenario-cols li::marker {
  color: var(--light-text-3);
}

/* Notice */

.notice {
  background: rgba(45, 212, 245, 0.06);
  border: 1px solid rgba(45, 212, 245, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  max-width: 46rem;
}

.notice p {
  margin: 0;
}

.section--light .notice {
  background: rgba(14, 165, 201, 0.06);
  border-color: rgba(14, 165, 201, 0.3);
  color: var(--light-text-2);
}

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

.contact-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 212, 245, 0.5),
    transparent
  );
}

.contact-email {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin: 0.5rem 0 1rem;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--accent);
}

.contact-card .btn-row {
  justify-content: center;
}

.contact-aux {
  margin-top: 2rem;
}

.next-steps {
  margin: 0;
  padding-left: 1.3rem;
}

.next-steps li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.next-steps li:last-child {
  margin-bottom: 0;
}

.next-steps li::marker {
  font-family: var(--font-mono);
  color: var(--accent);
}

.card-note {
  margin: 1rem 0 0;
  font-size: var(--fs-small);
  color: var(--text-3);
}

.detail-list {
  margin: 0;
}

.detail-list dt {
  font-weight: 600;
  color: var(--text-1);
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.detail-list dt:first-child {
  margin-top: 0;
}

.detail-list dd {
  margin: 0.15rem 0 0;
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Prose (legal pages, about)
   -------------------------------------------------------------------------- */

.prose h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
}

.prose h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.prose > h2:first-of-type {
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: none;
}

.prose h3 {
  font-size: 1.0625rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose li::marker {
  color: var(--text-3);
}

.prose .lede {
  margin-bottom: 2rem;
}

.effective-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: 1.5rem;
}

/* Tables */

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.table-wrap table {
  margin: 0;
  min-width: 40rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}

.prose tbody tr:last-child td {
  border-bottom: none;
}

.prose th {
  background: var(--surface);
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* Table of contents */

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0 1rem;
}

.toc h2 {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.toc ol {
  margin: 0;
  padding-left: 1.4rem;
  columns: 2;
  column-gap: 2.5rem;
  font-size: 0.9375rem;
}

@media (max-width: 47.9375em) {
  .toc ol {
    columns: 1;
  }
}

.toc li {
  margin-bottom: 0.4rem;
  break-inside: avoid;
}

.toc li::marker {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.toc a {
  color: var(--text-2);
}

.toc a:hover {
  color: var(--accent);
}

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

.site-footer {
  background: #070B16;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

.site-footer .container {
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 63.9375em) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-col p {
  margin: 1rem 0 0;
  max-width: 22rem;
  color: var(--text-3);
  font-size: 0.9375rem;
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 1rem;
}

.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer nav li {
  margin-bottom: 0.75rem;
}

.site-footer nav a {
  color: var(--text-2);
  font-weight: 400;
  font-size: 0.9375rem;
}

.site-footer nav a:hover {
  color: var(--text-1);
}

.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  color: var(--text-3);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-legal p {
  margin: 0 0 0.5rem;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-legal a {
  color: var(--text-2);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* No-JS and reduced-motion safety: content must never stay hidden */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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