:root {
  --abyss: #070f1c;
  --abyss-2: #0b1728;
  --indigo: #24386a;
  --indigo-deep: #1a2748;
  --coral: #e86b73;
  --coral-deep: #c4455a;
  --coral-soft: #ff9aa2;
  --glow: #3ecfc0;
  --glow-dim: #1f8f86;
  --glow-soft: #7ee8dc;
  --silver: #d7e0ea;
  --silver-dim: #8b9bb0;
  --surface: #121f33;
  --surface-2: #182a44;
  --line: rgba(213, 222, 232, 0.14);
  --radius: 1.35rem;
  --radius-s: 0.85rem;
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--silver);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(62, 207, 192, 0.12), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(232, 107, 115, 0.16), transparent 50%),
    radial-gradient(700px 500px at 80% 80%, rgba(36, 56, 106, 0.55), transparent 60%),
    var(--abyss);
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(62, 207, 192, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 18%, rgba(232, 107, 115, 0.2) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 40% 70%, rgba(126, 232, 220, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 64%, rgba(255, 154, 162, 0.14) 0 1px, transparent 2px);
  background-size: 220px 220px, 280px 280px, 180px 180px, 260px 260px;
  opacity: 0.55;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--glow-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: #f3f7fb;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  margin: 0 0 0.7rem;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--coral);
  color: #14080c;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  top: 0.8rem;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.muted {
  color: var(--silver-dim);
}

.lede {
  font-size: 1.12rem;
  color: var(--silver);
  max-width: 42rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #f3f7fb;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--glow), transparent 42%),
    radial-gradient(circle at 72% 68%, var(--coral), transparent 46%),
    var(--indigo);
  box-shadow: 0 0 18px rgba(62, 207, 192, 0.45);
}

.site-nav ul {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--silver);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--glow-soft);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 2.7rem;
  height: 2.7rem;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--silver);
  border-radius: 99px;
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.4rem;
    background: var(--abyss-2);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1.2rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.7rem; }
}

/* Buttons — coral branches spreading outward */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  overflow: hidden;
}

.btn-coral {
  color: #1a0b0e;
  background: linear-gradient(135deg, var(--coral-soft), var(--coral) 45%, var(--coral-deep));
}

.btn-coral::before,
.btn-coral::after {
  content: "";
  position: absolute;
  inset: 40% 48%;
  border-radius: 999px;
  background: transparent;
  box-shadow:
    18px -12px 0 -10px rgba(255, 154, 162, 0.0),
    -20px 8px 0 -11px rgba(62, 207, 192, 0.0),
    8px 18px 0 -12px rgba(232, 107, 115, 0.0),
    -14px -16px 0 -12px rgba(126, 232, 220, 0.0);
  z-index: -1;
  transition: box-shadow 0.7s ease, inset 0.7s ease;
}

.btn-coral:hover::before,
.btn-coral:focus-visible::before {
  inset: -18% -8%;
  box-shadow:
    28px -22px 18px -8px rgba(255, 154, 162, 0.55),
    -32px 14px 20px -10px rgba(62, 207, 192, 0.4),
    16px 30px 22px -10px rgba(232, 107, 115, 0.45),
    -24px -26px 18px -12px rgba(126, 232, 220, 0.32);
}

.btn-coral:hover::after,
.btn-coral:focus-visible::after {
  inset: -8% -18%;
  box-shadow:
    40px 4px 24px -12px rgba(232, 107, 115, 0.4),
    -36px -10px 22px -12px rgba(62, 207, 192, 0.35);
}

.btn-ghost {
  color: var(--silver);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--glow);
  color: var(--glow-soft);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Surfaces */
.panel {
  background:
    linear-gradient(180deg, rgba(62, 207, 192, 0.06), transparent 28%),
    linear-gradient(135deg, rgba(232, 107, 115, 0.08), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glow);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.section {
  padding: 4.2rem 0;
}

.section-tight {
  padding: 2.6rem 0 4rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.frame {
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(7, 15, 28, 0.72);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-s);
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  color: var(--silver);
}

/* Hero — editorial, not two-button SaaS */
.hero {
  padding: 2.2rem 0 1rem;
}

.hero-ledger {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-photo {
  min-height: 420px;
}

.hero-copy {
  padding: 1.4rem 0 0.4rem 0.2rem;
}

.hero-copy h1 {
  max-width: 14ch;
}

.hero-meta {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--coral);
  background: rgba(18, 31, 51, 0.65);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.hero-meta dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.hero-meta dd {
  margin: 0 0 0.35rem;
}

@media (max-width: 860px) {
  .hero-ledger { grid-template-columns: 1fr; }
  .hero-photo { min-height: 260px; }
}

/* Primary service band */
.primary-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .primary-band { grid-template-columns: 1fr; }
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.offer-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: rgba(18, 31, 51, 0.5);
}

.offer-list a:hover {
  border-color: rgba(62, 207, 192, 0.45);
}

.offer-list strong {
  color: #f3f7fb;
  font-family: var(--font-display);
}

.offer-list span {
  grid-column: 2;
  color: var(--silver-dim);
  font-size: 0.95rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body p {
  color: var(--silver-dim);
  flex: 1;
}

.evidence {
  display: grid;
  gap: 1rem;
}

.evidence blockquote {
  margin: 0;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.evidence blockquote p {
  font-size: 1.05rem;
  color: #eef3f8;
}

.evidence figcaption {
  margin-top: 0.7rem;
  color: var(--silver-dim);
  font-size: 0.92rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; }
}

.person img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}

.person .card-body p {
  font-size: 0.95rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: rgba(18, 31, 51, 0.55);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--coral);
  font-size: 1.3rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

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

.page-hero {
  padding: 2.4rem 0 1.2rem;
}

.page-hero .frame {
  margin-top: 1.4rem;
  max-height: 360px;
}

.page-hero .frame img {
  min-height: 220px;
  max-height: 360px;
  width: 100%;
  object-fit: cover;
}

/* Forms */
form {
  display: grid;
  gap: 0.95rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(7, 15, 28, 0.55);
  color: var(--silver);
  font: inherit;
  padding: 0.7rem 0.85rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--glow);
  outline-offset: 1px;
}

.field-error {
  min-height: 1.2rem;
  color: var(--coral-soft);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.form-status {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-s);
}

.form-status.is-success {
  background: rgba(62, 207, 192, 0.15);
  color: var(--glow-soft);
}

.form-status.is-error {
  background: rgba(232, 107, 115, 0.15);
  color: var(--coral-soft);
}

.form-panel {
  padding: 1.4rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(11, 23, 40, 0.85);
  padding: 2.4rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.6rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #f3f7fb;
  font-size: 1.15rem;
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glow);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--silver);
  text-decoration: none;
}

.footer-links a:hover { color: var(--glow-soft); }

.footer-base {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--silver-dim);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(24, 42, 68, 0.96), rgba(7, 15, 28, 0.98));
  border-top: 1px solid rgba(62, 207, 192, 0.25);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.35);
}

.cookie-inner {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.cookie-inner p {
  margin: 0;
  max-width: 48rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

.js-island-error {
  position: fixed;
  right: 1rem;
  bottom: 6.5rem;
  z-index: 31;
  max-width: 22rem;
  background: var(--coral-deep);
  color: #fff;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-s);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: var(--silver-dim);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.legal .prose {
  max-width: 46rem;
}

.not-found {
  min-height: 50vh;
  display: grid;
  align-content: center;
  padding: 4rem 0;
}

.not-found h1 {
  max-width: 16ch;
}
