/* ==========================================================================
   Finratia — Marketing Site Stylesheet
   Palette: deep emerald · slate charcoal · clean white · muted gold/silver
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #0B1210;
  --bg-alt:        #0E1714;
  --surface:       #121C18;
  --surface-2:     #172420;
  --surface-3:     #1C2B26;

  /* Brand */
  --emerald-900:   #0A3D2E;
  --emerald-700:   #0F6B4F;
  --emerald-500:   #1A9B72;
  --emerald-300:   #2FBF8F;
  --mint:          #9FE3C4;

  /* Neutrals */
  --white:         #F4F7F5;
  --text:          #E9EFEC;
  --text-muted:    #9AA8A2;
  --text-dim:      #6F7D77;

  /* Accents */
  --gold:          #B9A46C;
  --gold-soft:     rgba(185, 164, 108, 0.32);
  --silver:        #8E9994;
  --silver-soft:   rgba(142, 153, 148, 0.22);
  --border:        rgba(185, 164, 108, 0.18);
  --border-strong: rgba(185, 164, 108, 0.38);
  --danger:        #E0776B;

  /* Type */
  --font-display:  "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:     "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container:     1160px;
  --gutter:        clamp(20px, 5vw, 48px);
  --section-y:     clamp(80px, 10vw, 136px);
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;

  /* Motion */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --dur:           0.5s;

  --header-h:      76px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
strong { font-weight: 600; color: var(--white); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--emerald-700);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
h1 { font-size: clamp(2.25rem, 5.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.eyebrow-light { color: var(--mint); }
.eyebrow-light::before { background: var(--mint); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-lead {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(26, 155, 114, 0.6);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-300), var(--emerald-500));
  box-shadow: 0 14px 34px -12px rgba(47, 191, 143, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(185, 164, 108, 0.06); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--silver-soft);
}
.btn-outline:hover { border-color: var(--emerald-300); color: var(--mint); }

.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur);
}
.site-header.is-scrolled {
  background: rgba(11, 18, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-900));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a { position: relative; transition: color 0.25s; }
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).is-active { color: var(--white); }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(72px, 11vw, 140px));
  padding-bottom: clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 164, 108, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 164, 108, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 80%);
  z-index: -2;
}
.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(26, 155, 114, 0.22), rgba(26, 155, 114, 0) 62%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title {
  max-width: 17ch;
  color: var(--white);
}
.hero-sub {
  max-width: 62ch;
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: clamp(64px, 8vw, 96px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(23, 36, 32, 0.9), rgba(18, 28, 24, 0.9));
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 26px;
  text-align: left;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--mint);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt + .section-alt { border-top: 0; }

/* --------------------------------------------------------------------------
   Problem vs Solution
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.panel {
  position: relative;
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.panel h3 {
  margin: 20px 0 24px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  color: var(--white);
  max-width: 24ch;
}
.panel-problem::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--silver), transparent);
}
.panel-solution {
  background: linear-gradient(160deg, rgba(15, 107, 79, 0.28), var(--surface) 55%);
  border-color: rgba(47, 191, 143, 0.3);
}
.panel-solution::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--emerald-300), transparent);
}

.panel-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--silver-soft);
}
.panel-tag-accent {
  color: var(--mint);
  border-color: rgba(47, 191, 143, 0.4);
  background: rgba(47, 191, 143, 0.08);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(47, 191, 143, 0.55);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FBF8F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.check-list-neg li::before {
  border-color: var(--silver-soft);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E9994' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* --------------------------------------------------------------------------
   Workstreams (tabs)
   -------------------------------------------------------------------------- */
.tabs {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.tab::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--silver);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.tab:hover { color: var(--white); background: rgba(255, 255, 255, 0.025); }
.tab[aria-selected="true"] {
  color: var(--white);
  background: var(--surface-2);
  border-color: var(--border);
}
.tab[aria-selected="true"]::before {
  background: var(--emerald-300);
  border-color: var(--emerald-300);
  box-shadow: 0 0 0 4px rgba(47, 191, 143, 0.18);
}

.tab-panels {
  position: relative;
  min-height: 100%;
}
.tab-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 70%);
}
.tab-panel[hidden] { display: none; }
.tab-panel-inner {
  padding: clamp(32px, 4.4vw, 52px);
  animation: panel-in 0.45s var(--ease);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tab-index {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.tab-panel h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--white);
}
.tab-panel p {
  margin-top: 14px;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.04rem;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.pill-list li {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mint);
  background: rgba(47, 191, 143, 0.08);
  border: 1px solid rgba(47, 191, 143, 0.28);
}

/* --------------------------------------------------------------------------
   Grids & cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 12px;
  color: var(--mint);
  background: rgba(47, 191, 143, 0.09);
  border: 1px solid rgba(47, 191, 143, 0.25);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.12rem; color: var(--white); }
.card p { margin-top: 12px; font-size: 0.95rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing-grid { align-items: stretch; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card .check-list { margin: 28px 0 32px; flex: 1; gap: 12px; }
.price-card .check-list li { font-size: 0.95rem; }

.price-card-featured {
  background: linear-gradient(170deg, rgba(15, 107, 79, 0.32), var(--surface) 60%);
  border-color: rgba(47, 191, 143, 0.42);
  box-shadow: 0 30px 60px -40px rgba(26, 155, 114, 0.7);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--mint);
}
.price-tier {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.price-currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.price-period { font-size: 0.9rem; color: var(--text-muted); }

/* Pilot banner */
.pilot-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(32px, 4.4vw, 52px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 191, 143, 0.35);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(47, 191, 143, 0.22), transparent 55%),
    linear-gradient(160deg, var(--emerald-900), var(--surface) 70%);
}
.pilot-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--white);
}
.pilot-copy p { margin-top: 14px; color: var(--text-muted); max-width: 46ch; }

.pilot-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border-strong);
}
.pilot-step {
  position: relative;
  padding: 10px 0 10px 22px;
}
.pilot-step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--surface);
}
.pilot-step-day {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.pilot-step-text { display: block; font-size: 0.95rem; color: var(--text); }

/* --------------------------------------------------------------------------
   Leadership
   -------------------------------------------------------------------------- */
.leader {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(32px, 4.4vw, 52px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.leader-avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(47, 191, 143, 0.35), transparent 60%),
    linear-gradient(160deg, var(--surface-3), var(--emerald-900));
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.leader-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--white); }
.leader-role {
  margin-top: 6px;
  font-weight: 500;
  color: var(--gold);
}
.leader-bio {
  margin-top: 18px;
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 60ch;
}
.leader-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.leader-creds li {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--silver-soft);
  background: rgba(255, 255, 255, 0.02);
}
.leader-quote {
  margin: 30px 0 0;
  padding: 20px 24px;
  border-left: 2px solid var(--emerald-300);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(47, 191, 143, 0.06);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.section-contact { border-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-intro .section-lead { margin-top: 20px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.contact-details dt {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-details dd {
  margin: 6px 0 0;
  font-size: 1.02rem;
  color: var(--text);
}
.contact-details a { color: var(--mint); border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.contact-details a:hover { border-bottom-color: var(--mint); }

.contact-card {
  position: relative;
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.8);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form[hidden] { display: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--silver-soft);
  background: var(--bg-alt);
  color: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald-300);
  box-shadow: 0 0 0 3px rgba(47, 191, 143, 0.16);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--danger); }
.field-error {
  min-height: 0;
  font-size: 0.8rem;
  color: var(--danger);
}
.field-error:empty { display: none; }

.form-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-dim);
}
.form-note a { color: var(--mint); }

.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading .btn-label::after {
  content: "…";
  display: inline-block;
  width: 1em;
  text-align: left;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 16px 0;
  animation: panel-in 0.5s var(--ease);
}
.form-success[hidden] { display: none; }
.form-success h3 { font-size: 1.5rem; color: var(--white); }
.form-success p { color: var(--text-muted); max-width: 40ch; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 50%;
  color: var(--bg);
  background: var(--mint);
  box-shadow: 0 0 0 10px rgba(47, 191, 143, 0.14);
}
.success-icon svg { width: 30px; height: 30px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 40px;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--white); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.footer-contact a { color: var(--mint); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pilot-banner { grid-template-columns: 1fr 1fr; }
  .pilot-cta { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: rgba(11, 18, 16, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links a:not(.btn) {
    padding: 16px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin: 20px 0 0; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(11, 18, 16, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }

  .split { grid-template-columns: 1fr; }

  .tabs { grid-template-columns: 1fr; gap: 18px; }
  .tab-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab {
    width: auto;
    flex: none;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-color: var(--border);
    border-radius: 999px;
    white-space: nowrap;
  }

  .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card-featured { order: -1; }

  .leader { grid-template-columns: 1fr; }
  .leader-avatar { max-width: 140px; font-size: 2.4rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 15px; }

  .hero-title { max-width: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .stat-bar { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--border); padding: 22px 22px; }
  .stat:last-child { border-bottom: 0; }

  .grid-4 { grid-template-columns: 1fr; }

  .pilot-banner { grid-template-columns: 1fr; }
  .pilot-cta { width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
