/* ═══════════════════════════════════════════════════════════════════════
   AIREVIN — Glacier design system
   Extracted from index.html (Phase 1 multipage rewrite).
   Tokens, layout primitives, and all component styles are defined here.
   See bottom of file for multipage-only additions.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --blue-deep:    #020b18;
  --blue-dark:    #041428;
  --blue-mid:     #0a2340;
  --blue-rich:    #0d3060;
  --blue-accent:  #1a5fa8;
  --blue-bright:  #2e7fd4;
  --blue-light:   #5ba3e8;
  --blue-pale:    #a8cdf5;
  --cyan:         #38bdf8;
  --white:        #f0f4ff;
  --white-95:     rgba(240,244,255,0.95);
  --white-80:     rgba(240,244,255,0.8);
  --white-65:     rgba(240,244,255,0.65);
  --white-50:     rgba(240,244,255,0.5);
  --white-25:     rgba(240,244,255,0.25);
  --white-10:     rgba(240,244,255,0.1);
  --white-05:     rgba(240,244,255,0.05);
  --glass-bg:     rgba(10,35,64,0.55);
  --glass-bg-light: rgba(30,80,140,0.3);
  --glass-border: rgba(255,255,255,0.12);
  --glass-border-bright: rgba(255,255,255,0.28);
  --glow:         rgba(46,127,212,0.4);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--blue-deep);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ═══ GLOBAL BACKGROUND ═══ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 45% at 8% 5%, rgba(26,95,168,0.30) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 88% 35%, rgba(46,127,212,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 40% 85%, rgba(56,189,248,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 15% 20%, #0a3060 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 85% 10%, #0d2850 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 90%, #061a38 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #020b18 40%, #041428 100%);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ═══ CURSOR — desktop only ═══ */
@media (pointer: fine) {
  body { cursor: none; }
  .cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    transition: width 0.2s, height 0.2s;
    box-shadow: 0 0 12px var(--cyan);
    will-change: transform;
  }
  .cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid rgba(56,189,248,0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%,-50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    will-change: transform;
  }
}
@media (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ═══ WORDMARK ═══ */
.wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
}
.wordmark .ai  { color: var(--white); }
.wordmark .rev { color: var(--blue-light); }
.wordmark .in  { color: var(--white); }

/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1100px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.75rem;
  background: rgba(5,20,45,0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
  will-change: transform;
}

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

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-80);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep) !important;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-light));
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(46,127,212,0.4);
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10rem 3rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100,180,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,180,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, black 10%, transparent 80%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 2rem; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.7), rgba(56,189,248,0.8));
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 12vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  max-width: 14ch;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
  text-shadow: 0 0 80px rgba(46,127,212,0.3);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-bottom {
  margin-top: 3.5rem;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-sub {
  font-size: 1rem;
  color: var(--white-80);
  max-width: 380px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-bright) 100%);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(46,127,212,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(46,127,212,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-ghost {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white-80);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

/* ═══ STATS BAR ═══ */
.stats-bar {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem 4rem;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 24px rgba(0,0,0,0.3);
}

.stat-item {
  padding: 2rem 2.5rem;
  background: rgba(10,35,64,0.85);
  transition: background 0.3s;
}
.stat-item:hover { background: rgba(20,55,100,0.85); }

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-65);
}

/* ═══ SECTIONS ═══ */
.page-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255,255,255,0.7), 0 0 16px rgba(255,255,255,0.3);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), transparent);
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--white-80);
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ═══ PROBLEM CARDS ═══ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.problem-card {
  background: rgba(8,28,56,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.35s;
}
.problem-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 16px 40px rgba(0,0,0,0.3); }
.problem-card:hover::before { opacity: 1; }

.problem-card::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.problem-card:hover::after { opacity: 1; }

.problem-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  margin-bottom: -1.5rem;
}

.problem-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--white);
  position: relative;
}

.problem-card p {
  font-size: 1rem;
  color: var(--white-80);
  line-height: 1.65;
  position: relative;
}

/* ═══ BEFORE / AFTER ═══ */
.ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ba-col {
  border-radius: 16px;
  padding: 2.5rem;
}

.ba-col.before {
  background: rgba(8,20,45,0.88);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.ba-col.after {
  background: rgba(15,48,95,0.80);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 40px rgba(46,127,212,0.1);
}

.ba-head {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ba-col.before .ba-head { color: var(--white-65); }
.ba-col.after .ba-head  { color: var(--white-95); }

.ba-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 1.0rem;
  line-height: 1.5;
  align-items: flex-start;
}
.ba-item:last-child { border-bottom: none; }
.ba-col.before .ba-item { color: var(--white-65); }
.ba-col.after .ba-item  { color: var(--white-95); }

.ba-icon { flex-shrink: 0; font-style: normal; font-size: 0.8rem; margin-top: 0.15rem; }
.ba-col.before .ba-icon { color: rgba(255,255,255,0.3); }
.ba-col.after .ba-icon  { color: var(--cyan); }

/* ═══ TEAM ═══ */
.team-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0 auto;
}

.team-card {
  position: relative;
  background: rgba(8,28,56,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.team-portrait {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 40px rgba(46,127,212,0.2);
  position: relative;
}

.team-portrait--ai {
  box-shadow: 0 0 50px rgba(56,189,248,0.35), inset 0 0 20px rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.35);
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.team-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--white-65);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.team-bio {
  color: var(--white-80);
  font-size: 0.93rem;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 1rem;
}

.team-bio:last-of-type { margin-bottom: 0; }

.team-tags {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--white-50);
  text-transform: uppercase;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ═══ RESULTS ═══ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
}

.result-card {
  position: relative;
  background: rgba(8,28,56,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.result-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}

.result-card.featured-result {
  background: rgba(15,48,95,0.88);
  border-color: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 40px rgba(46,127,212,0.1);
}

.result-industry {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.result-period {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.result-kpis {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.result-kpi { display: flex; flex-direction: column; gap: 0.2rem; }

.kpi-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.kpi-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-65);
}

.kpi-vs {
  font-family: 'DM Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  color: rgba(56,189,248,0.7);
  margin-top: 0.2rem;
}

.result-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.results-note {
  text-align: center;
  margin-top: 2.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--white-50);
  text-transform: uppercase;
}

/* ─── Comparison bars ─── */
.kpi-bars {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.kpi-bar-row { display: flex; align-items: center; gap: 0.5rem; }
.bar-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-50);
  width: 22px;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
}
.bar-ours { background: linear-gradient(90deg, var(--cyan), var(--blue-bright)); }
.bar-avg  { background: rgba(255,255,255,0.22); }

/* ─── Sub-sections ─── */
.result-sub {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.result-sub:first-of-type { padding-top: 0.75rem; }
.result-sub:last-of-type  { border-bottom: none; padding-bottom: 0; }

.sub-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sub-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(56,189,248,0.3), transparent);
}

.sub-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  align-items: start;
}
.sub-stat { display: flex; flex-direction: column; gap: 0.15rem; }
.result-sub .kpi-value { font-size: 1.5rem; }
.result-sub .kpi-label { font-size: 0.62rem; }

.sub-headline {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(56,189,248,0.18);
}
.result-sub .sub-headline .kpi-value { font-size: 2.4rem; }
.result-sub .sub-headline .kpi-label { font-size: 0.68rem; }

.result-combined {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-65);
}

.result-combined strong { color: var(--white); font-weight: 500; }

/* ─── Sparkline ─── */
.sparkline-wrap {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sparkline-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 0.5rem;
}
.sparkline { width: 100%; height: 28px; display: block; overflow: visible; }

/* ═══ TIERS ═══ */
.tiers-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tier-card {
  background: rgba(8,28,56,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.tier-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
}

.tier-card.featured {
  background: rgba(15,48,95,0.88);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 60px rgba(46,127,212,0.15), inset 0 1px 0 rgba(255,255,255,0.25);
}

.tier-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), var(--cyan), rgba(255,255,255,0.7), transparent);
}

.tier-card:not(.featured)::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  border-radius: 1px;
}

.tier-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 1.25rem;
}

.tier-card.featured .tier-badge::after {
  content: '✦';
  margin-left: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.45rem;
}

.tier-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.tier-name::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.tier-price {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--white-65);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tier-price strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-desc {
  font-size: 1rem;
  color: var(--white-80);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex: 1;
}

.tier-list {
  list-style: none;
  margin-bottom: 2rem;
}

.tier-list li {
  font-size: 0.95rem;
  color: var(--white-80);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.45;
}
.tier-list li:last-child { border-bottom: none; }
.tier-list li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 0.05rem;
}

.tier-btn {
  display: block;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.875rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white-80);
}
.tier-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.tier-card.featured .tier-btn {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-bright));
  border-color: transparent;
  color: var(--white);
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(46,127,212,0.5);
}
.tier-card.featured .tier-btn:hover {
  box-shadow: 0 8px 30px rgba(46,127,212,0.7);
  transform: translateY(-1px);
}

/* ═══ WHO WE SERVE ═══ */
.icp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.icp-list {
  list-style: none;
  margin-top: 2rem;
}

.icp-list li {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem;
  color: var(--white-80);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  line-height: 1.5;
  transition: color 0.2s;
}
.icp-list li:hover { color: var(--white); }
.icp-list li:last-child { border-bottom: none; }
.icp-list li span {
  color: var(--white-95);
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  margin-top: 0.2rem;
}

.icp-right {
  background: rgba(5,15,35,0.88);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.icp-right h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white-65);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.not-list { list-style: none; }
.not-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
  color: var(--white-50);
  display: flex;
  gap: 0.75rem;
  line-height: 1.45;
}
.not-list li:last-child { border-bottom: none; }
.not-list li::before { content: '✗'; color: rgba(255,255,255,0.25); flex-shrink: 0; }

/* ═══ PROCESS ═══ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.step {
  background: rgba(8,28,56,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.step:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.18);
}

.step-glow {
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  position: absolute;
  top: 0.5rem; right: 1rem;
}

.step-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  position: relative;
}

.step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  position: relative;
  color: var(--white);
}

.step p {
  font-size: 1rem;
  color: var(--white-80);
  line-height: 1.6;
  position: relative;
}

/* ═══ MARQUEE ═══ */
.marquee-wrap {
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(5,18,40,0.7);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 24s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-65);
  flex-shrink: 0;
}
.marquee-item span { color: var(--blue-bright); margin: 0 1rem; }

/* ═══ CTA ═══ */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(46,127,212,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-glass {
  display: inline-block;
  background: rgba(10,35,70,0.75);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 4rem 5rem;
  position: relative;
  box-shadow: 0 0 50px rgba(46,127,212,0.12), inset 0 1px 0 rgba(255,255,255,0.25);
  max-width: 700px;
  margin: 0 auto;
}

.cta-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), var(--cyan), rgba(255,255,255,0.8), transparent);
}

.cta-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 1.5rem;
}

.cta-glass h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-glass p {
  color: var(--white-80);
  font-size: 0.95rem;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ AUDIT FORM ═══ */
.audit-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.audit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.audit-form input,
.audit-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(4,16,32,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.audit-form input::placeholder,
.audit-form textarea::placeholder {
  color: var(--white-50);
}

.audit-form input:focus,
.audit-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(4,16,32,0.7);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

.audit-form textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}

.audit-form button {
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.form-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--white-50);
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.75rem;
}

.form-alt {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  color: var(--white-65);
}

.form-alt a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.form-alt a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

@media (max-width: 600px) {
  .audit-form .form-row {
    grid-template-columns: 1fr;
  }
}

.cta-note {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--white-65);
  text-transform: uppercase;
}

/* ═══ FOOTER ═══ */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(4,12,28,0.9);
}

.footer-left { display: flex; align-items: center; gap: 2rem; }

.footer-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-50);
}

.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-50);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white-80); }

/* ═══ WHITE GLOVE ACCENTS ═══ */
.page-section::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 10%,
    rgba(255,255,255,0.3) 35%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0.3) 65%,
    rgba(255,255,255,0.06) 90%,
    transparent 100%
  );
  margin-bottom: 0;
}

.problem-card .corner-mark,
.step .corner-mark {
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-top: 2px solid rgba(255,255,255,0.75);
  border-left: 2px solid rgba(255,255,255,0.75);
  border-radius: 14px 0 0 0;
  pointer-events: none;
}

.problem-card .corner-mark-br,
.step .corner-mark-br {
  position: absolute;
  bottom: 0; right: 0;
  width: 20px; height: 20px;
  border-bottom: 2px solid rgba(255,255,255,0.75);
  border-right: 2px solid rgba(255,255,255,0.75);
  border-radius: 0 0 14px 0;
  pointer-events: none;
}

.tier-card .corner-mark,
.tier-card .corner-mark-br { display: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ MOBILE NAV ═══ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white-80);
  border-radius: 2px;
  transition: opacity 0.2s;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5, 20, 45, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--white-65);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.15s;
}
.nav-overlay-close:hover { color: var(--white-95); }

.nav-overlay-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.nav-overlay-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-80);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-overlay-link:hover { color: var(--cyan); }
.nav-overlay-link--cta { color: var(--cyan); }
.nav-overlay-link--cta:hover { color: var(--white); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  nav { width: calc(100% - 2rem); padding: 0.875rem 1.25rem; justify-content: center; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-img { height: 28px !important; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .section-inner { padding: 0 1.5rem; }
  .problem-grid, .ba-wrap, .tiers-wrap, .icp-layout, .team-wrap, .results-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-bottom { flex-direction: column; gap: 2rem; }
  .cta-glass { padding: 3rem 2rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-left { flex-direction: column; gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MULTIPAGE ADDITIONS — Phase 1 skeleton only.
   These styles support generic page layout, active-link state, and
   placeholder section blocks. Will be revisited in copy phase.
   ═══════════════════════════════════════════════════════════════════════ */

main.page {
  position: relative;
  z-index: 1;
  padding: 9rem 0 5rem;
  min-height: calc(100vh - 5rem);
}

main.page .section-inner { padding: 0 3rem; }

main.page h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 60px rgba(46,127,212,0.25);
}
main.page h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

main.page .page-lead {
  color: var(--white-80);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 3rem;
}

.placeholder-block {
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  background: rgba(8,28,56,0.4);
  margin-bottom: 1.25rem;
}
.placeholder-block .placeholder-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
  display: block;
}
.placeholder-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.placeholder-block p {
  color: var(--white-65);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.65;
}

/* Active page indicator in nav */
.nav-links a[aria-current="page"]:not(.nav-cta) {
  color: var(--white);
  position: relative;
}
.nav-links a[aria-current="page"]:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.nav-overlay-link[aria-current="page"] { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════════
   GOOGLE ADS PAGE — Phase 2 additions.
   Small set of classes used only by /google-ads.html. Scoped to new
   selectors — no overrides of existing component styles.
   ═══════════════════════════════════════════════════════════════════════ */

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

.dual-text {
  color: var(--white-80);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.intro-para {
  color: var(--white-80);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service-card {
  background: rgba(8,28,56,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem 2rem 1.75rem;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 16px 40px rgba(0,0,0,0.3);
}
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Stats bar variant — used inside a page-section instead of standalone */
.stats-bar--inline {
  padding: 0;
  max-width: none;
  margin-top: 1rem;
}

.stat-vs {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(56,189,248,0.7);
  margin-top: 0.4rem;
  text-transform: uppercase;
  line-height: 1.4;
}

.section-caveat {
  font-style: italic;
  color: var(--white-65);
  font-size: 0.92rem;
  text-align: center;
  margin: 2rem auto 0;
  max-width: 720px;
  line-height: 1.7;
}

.fit-h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white-65);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* Scope-list variant of tier-list — wider container, no bottom margin */
.scope-list {
  margin-bottom: 0;
  max-width: 880px;
}
.scope-list li { font-size: 1rem; }
.scope-list strong { color: var(--white); font-weight: 500; }

.mcc-block {
  background: rgba(8,28,56,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  max-width: 880px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  margin-top: 1rem;
}
.mcc-block p {
  color: var(--white-80);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

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

/* ═══════════════════════════════════════════════════════════════════════
   META ADS PAGE — Phase 3 additions.
   Counties-served grid for /meta-ads.html. New selectors only — no
   overrides of existing components.
   ═══════════════════════════════════════════════════════════════════════ */

.counties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.5rem;
  margin: 2rem 0;
  max-width: 880px;
  list-style: none;
  padding: 0;
}

.county-item {
  font-size: 1rem;
  color: var(--white-80);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  line-height: 1.5;
}

.county-item::before {
  content: '✦';
  color: var(--cyan);
  font-size: 0.7rem;
  flex-shrink: 0;
  line-height: 1;
  transform: translateY(-0.05em);
}

.county-item strong {
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  min-width: 5.5rem;
}

.county-item span {
  color: var(--white-65);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .counties-grid { grid-template-columns: 1fr; gap: 0; }
}

/* 3-up variant of the service grid — used on /meta-ads.html. Desktop
   shows three cards across; collapses to 2 then 1 on narrower viewports. */
.service-grid--3up {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .service-grid--3up { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .service-grid--3up { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PROCESS PAGE — Phase 4 additions.
   Embedded Clarity Intelligence Report sample (Section 4 of /process.html).
   All selectors are new — no overrides of existing components.
   ═══════════════════════════════════════════════════════════════════════ */

/* Report wrapper — frames the sample as a distinct artifact */
.clarity-report-sample {
  position: relative;
  margin-top: 1rem;
  padding: 2.75rem 2.25rem;
  background: rgba(4,14,34,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 40px rgba(0,0,0,0.25);
}
.clarity-report-sample::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.7), transparent);
}

/* Sample disclaimer callout — cyan-bordered with SAMPLE badge */
.sample-callout {
  background: rgba(15,48,95,0.55);
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.sample-callout::before {
  content: 'SAMPLE';
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  background: var(--cyan);
  color: var(--blue-deep);
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  flex-shrink: 0;
  font-weight: 600;
  align-self: flex-start;
  line-height: 1;
}
.sample-callout p {
  color: var(--white-80);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Tab subsection within the report */
.report-tab {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.report-tab:first-of-type { border-top: none; padding-top: 0.5rem; }
.report-tab:last-of-type { padding-bottom: 0.5rem; }

.tab-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 4px;
}

.report-tab h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.report-tab > h3:first-of-type { margin-top: 0; }
.report-tab p {
  color: var(--white-80);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Risk / opportunity list — numbered, with title + body */
.report-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}
.report-list > li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.report-list > li:last-child { border-bottom: none; padding-bottom: 0; }
.report-list .item-title {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}
.report-list .item-body {
  display: block;
  color: var(--white-80);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Clarity table (Tab 3 keyword data) */
.clarity-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
  font-size: 0.93rem;
}
.clarity-table th {
  text-align: left;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-65);
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  font-weight: 500;
}
.clarity-table td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--white-80);
  vertical-align: top;
}
.clarity-table tr:last-child td { border-bottom: none; }
.clarity-table td:first-child {
  color: var(--white);
  font-weight: 400;
}

/* Architecture blocks (Google Ads / Meta Ads grouped lists) */
.architecture-block {
  margin-bottom: 1.5rem;
}
.architecture-block-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(56,189,248,0.2);
}

/* Revenue scenarios — 3-column comparison */
.revenue-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.scenario-card {
  background: rgba(8,28,56,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.scenario-card.featured {
  background: rgba(15,48,95,0.85);
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 0 30px rgba(46,127,212,0.12), inset 0 1px 0 rgba(255,255,255,0.18);
}
.scenario-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-65);
  margin-bottom: 0.65rem;
}
.scenario-card.featured .scenario-label { color: var(--cyan); }
.scenario-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.scenario-period {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  color: var(--white-50);
  margin-top: 0.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Investment summary — small data block */
.investment-summary {
  background: rgba(5,15,35,0.78);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  max-width: 560px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.investment-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.investment-row:last-child { border-bottom: none; }
.investment-row--total {
  border-top: 1px solid rgba(56,189,248,0.35);
  margin-top: 0.4rem;
  padding-top: 1rem;
}
.investment-label {
  color: var(--white-80);
  font-size: 0.95rem;
}
.investment-row--total .investment-label { color: var(--white); }
.investment-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
  text-align: right;
}
.investment-row--roi .investment-value { color: var(--cyan); }

/* Report-end caveat */
.report-caveat {
  color: var(--white-65);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.report-caveat em { font-style: italic; }

@media (max-width: 700px) {
  .clarity-report-sample { padding: 1.75rem 1.25rem; }
  .sample-callout { flex-direction: column; align-items: flex-start; }
  .revenue-scenarios { grid-template-columns: 1fr; }
  .clarity-table { font-size: 0.86rem; }
  .clarity-table th, .clarity-table td { padding: 0.55rem 0.5rem 0.55rem 0; }
  .investment-row { flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRICING PAGE — Phase 5 additions.
   Two-tier pricing cards (with featured Tier 2 treatment) + accessible
   FAQ accordion built on native <details>/<summary>. All selectors are
   new — no overrides of existing components.
   ═══════════════════════════════════════════════════════════════════════ */

/* One-line card descriptor used in Section 3 (service-card with h3+p) */
.card-line {
  color: var(--white-80);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* Pricing grid — 2 columns desktop, 1 column mobile */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1100px;
}

/* Pricing card — mirrors the tier-card visual language but with a
   different content structure (header / price / tagline / availability) */
.pricing-card {
  position: relative;
  background: rgba(8,28,56,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* Subtle top shimmer on non-featured */
.pricing-card:not(.pricing-card--featured)::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.pricing-card--featured {
  background: rgba(15,48,95,0.88);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 60px rgba(46,127,212,0.18), inset 0 1px 0 rgba(255,255,255,0.25);
}
.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), var(--cyan), rgba(255,255,255,0.7), transparent);
}

.pricing-card-header {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 1rem;
}
.pricing-card--featured .pricing-card-header { color: var(--cyan); }
.pricing-card--featured .pricing-card-header::after {
  content: '✦';
  margin-left: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.5rem;
}

.pricing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 3.25rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}
.pricing-price span {
  -webkit-text-fill-color: var(--white-65);
  background: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pricing-tagline {
  color: var(--white-80);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pricing-availability {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.35);
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.75rem;
  align-self: flex-start;
}
.pricing-availability--local {
  background: rgba(46,127,212,0.18);
  border-color: rgba(46,127,212,0.5);
  color: var(--white);
}

/* Reuse .tier-list inside; just give it a top divider */
.pricing-card .tier-list {
  margin-bottom: 1.5rem;
  flex: 1;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pricing-card .tier-list li:first-child { padding-top: 0.65rem; }
.pricing-card .tier-list strong {
  color: var(--white);
  font-weight: 500;
}

.pricing-min {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-65);
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  line-height: 1.5;
}

.pricing-card-btn {
  display: block;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white-80);
  font-weight: 500;
}
.pricing-card-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.pricing-card-btn--featured {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-bright));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(46,127,212,0.5);
}
.pricing-card-btn--featured:hover {
  box-shadow: 0 8px 30px rgba(46,127,212,0.7);
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-bright));
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
}

/* ─── FAQ accordion ─── */
.faq-list {
  margin-top: 1.5rem;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(8,28,56,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.faq-item[open] {
  border-color: rgba(56,189,248,0.35);
  background: rgba(10,35,70,0.78);
}

/* Hide the default disclosure arrow across browsers */
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.45;
  transition: color 0.2s;
  position: relative;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }
.faq-question:hover { color: var(--cyan); }

/* Custom chevron — rotates when open */
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--white-65);
  border-bottom: 2px solid var(--white-65);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--cyan);
}

/* Keyboard focus state for accessibility */
.faq-question:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
  border-radius: 12px;
}

.faq-answer {
  padding: 0 1.5rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: -0.25rem;
}
.faq-answer p {
  color: var(--white-80);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 1rem 0 0;
}
.faq-answer a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56,189,248,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.faq-answer a:hover { border-bottom-color: var(--cyan); }

@media (max-width: 700px) {
  .pricing-card { padding: 1.75rem 1.5rem 1.75rem; }
  .pricing-price { font-size: 2.75rem; }
  .faq-question { padding: 1rem 1.15rem; font-size: 0.98rem; }
  .faq-answer { padding: 0 1.15rem 1.15rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT PAGE — Phase 6 additions.
   Application form (2-col grid with full-width spanners), accessible
   inputs/selects/textarea matching the Glacier visual language, plus a
   3-up modifier for .process-steps and an .email-link helper. New
   selectors only — no overrides of existing components.
   ═══════════════════════════════════════════════════════════════════════ */

/* 3-up variant of the process steps grid — used on /contact.html for
   the "What Happens Next" 3-step block. Collapses to 1 on mobile. */
.process-steps--3up {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .process-steps--3up { grid-template-columns: 1fr; }
}

/* Application form — 2-col grid with full-width spanners */
.application-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  max-width: 820px;
  margin: 1.75rem 0 0;
  position: relative;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}
.form-field--full { grid-column: span 2; }

.form-field label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-65);
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.form-field label .required {
  color: var(--cyan);
  font-size: 0.55rem;
  line-height: 1;
}
.form-field label .hint {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--white-50);
  text-transform: none;
  letter-spacing: 0.02em;
  font-style: italic;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(4,16,32,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--white-50); }

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(255,255,255,0.28);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(4,16,32,0.78);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* Custom dropdown chevron, dark-mode-aware option background */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-field select option {
  background: var(--blue-mid);
  color: var(--white);
}

/* Submit row */
.form-actions {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.form-submit {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-bright) 100%);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 24px rgba(46,127,212,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(46,127,212,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}
.form-submit:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.form-reassurance {
  color: var(--white-65);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

/* Inline email link (Section 4 — Direct Contact) */
.email-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56,189,248,0.45);
  padding-bottom: 1px;
  font-weight: 500;
  transition: color 0.2s, border-bottom-color 0.2s;
}
.email-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

@media (max-width: 700px) {
  .application-form { grid-template-columns: 1fr; gap: 1.1rem; }
  .form-field--full { grid-column: span 1; }
  .form-actions { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HOME PAGE — Phase 7 additions.
   Bigger hero treatment for /index.html plus two small helpers
   (.card-body / .card-link) for the home-page service cards. New
   selectors only — no overrides of existing components.
   ═══════════════════════════════════════════════════════════════════════ */

/* Home hero — larger, bolder treatment than the inner-page default.
   Reuses the legacy .hero-grid mask effect by including it inside
   the section (page-section is already position: relative). */
.home-hero {
  padding-top: 3rem;
  padding-bottom: 1rem;
  min-height: 100vh;
}
.home-hero h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.012em;
  max-width: 19ch;
  text-shadow: 0 0 80px rgba(46,127,212,0.3);
  margin-bottom: 1.75rem;
}
.home-hero .page-lead {
  font-size: 1.1rem;
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* Service-card body paragraph (used on home) */
.card-body {
  color: var(--white-80);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* Service-card cyan arrow link (DM Mono micro-CTA, slides on hover) */
.card-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56,189,248,0.45);
  padding-bottom: 0.3rem;
  transition: color 0.2s, border-bottom-color 0.2s, transform 0.2s;
}
.card-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
  transform: translateX(2px);
}

@media (max-width: 700px) {
  .home-hero h1 { font-size: clamp(2.75rem, 11vw, 4.5rem); }
  .home-hero .page-lead { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   OPERATOR SECTION — Home page Section 5.
   Single centering wrapper for the lone operator .team-card. Reuses the
   legacy .team-card / .team-portrait / .team-name / .team-title /
   .team-bio / .team-tags rules already in this stylesheet. New selector
   only — no overrides of existing components.
   ═══════════════════════════════════════════════════════════════════════ */

.operator-wrap {
  max-width: 640px;
  margin: 2rem auto 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   AIREVIN OS CARD — companion to the operator card (Section 5 of /index.html).
   aos-system.jpg is a 941x175 banner (~5.4:1), so it can't go in the
   circular .team-portrait. We give it a horizontal logo panel instead
   that preserves the lockup's natural aspect ratio. The .team-wrap 2-col
   grid + .team-card styles from the legacy CSS handle the rest. New
   selectors only — no overrides of existing components.
   ═══════════════════════════════════════════════════════════════════════ */

.system-logo-panel {
  width: 100%;
  margin: 0 auto 1.5rem;
  padding: 1.1rem 1.4rem;
  background: rgba(4, 14, 34, 0.85);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 30px rgba(56,189,248,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-logo-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* System card gets a subtle cyan inner glow to echo the panel — pairs
   visually with the operator card's portrait glow without competing. */
.team-card--system {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 50px rgba(56,189,248,0.08);
}

/* ═══════════════════════════════════════════════════════════════════════
   PARTICLE BACKGROUND — site-wide.
   Fixed layer attached to body::before, rendered above .site-bg (z-index 0)
   gradient but below all content (page-section is z-index 1, later in DOM).
   Dark linear-gradient overlay keeps text contrast intact on every page;
   particles read as soft texture rather than scenic backdrop.

   Desktop: bg-particles.jpg (1672x941, fixed). Mobile (<=768px): portrait
   crop bg-particles-portrait.jpg (941x1672, scroll attachment for perf —
   iOS Safari has known issues with background-attachment: fixed).

   body::after is already used for the noise grain at z-index 1000.
   This adds body::before — no existing selector is modified.
   ═══════════════════════════════════════════════════════════════════════ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(2,11,24,0.72), rgba(2,11,24,0.8)),
    url(/bg-particles.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  body::before {
    background-image:
      linear-gradient(rgba(2,11,24,0.72), rgba(2,11,24,0.8)),
      url(/bg-particles-portrait.jpg);
    background-attachment: scroll;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   HOME HERO FULL-BLEED — bold background, copy on top.
   Banner image fills the full hero section edge-to-edge via cover sizing.
   Lighter left-to-right gradient (75% → 45% → 25%) than the original
   90%→20% — image stays bold while the left-side H1 / page-lead remain
   readable. No background-attachment: fixed (caused desktop dropouts
   on the previous attempt).

   Stacking inside .home-hero:
   - .home-hero::before (banner + gradient) at z-index 0
   - .home-hero .section-inner content (H1 / lead / btn-row) at z-index 1
   - .home-hero .hero-grid hidden so the legacy grid pattern doesn't
     compete with the banner
   ═══════════════════════════════════════════════════════════════════════ */

.home-hero {
  position: relative;
}

.home-hero::after {
  content: '';
  position: absolute;
  top: -9rem;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(2,11,24,0.55) 0%, rgba(2,11,24,0.15) 35%, rgba(2,11,24,0) 60%),
    url(/hero-banner.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-hero .section-inner {
  position: relative;
  z-index: 1;
}

.home-hero .hero-grid {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   THESIS VISUAL — Section 2 of /index.html.
   Copy left, concept graphic right on desktop. Stacks vertically on
   mobile (<=768px) with copy first, image full-width below. Scoped to
   .thesis-layout / .thesis-visual — no other section or page affected.
   ═══════════════════════════════════════════════════════════════════════ */

.thesis-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.thesis-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .thesis-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

