/* ============================================================
   Blueprint Broadband — Partner Site
   Design tokens: Navy #1E486F, Navy Dark #0C1E34, Accent #0877BD
   Surface #F4F7FB, Surface Blue #E1ECF8, Orange CTA #F97316
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  min-height: 100dvh;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: #25292D;
  background: #fff;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; }
p { text-wrap: pretty; max-width: 68ch; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #0877BD; outline-offset: 3px; border-radius: 3px; }

/* ── TOKENS ── */
:root {
  --navy: #1E486F;
  --navy-dark: #0C1E34;
  --navy-med: #2655A0;
  --accent: #0877BD;
  --orange: #F97316;
  --surface: #F4F7FB;
  --surface-blue: #E1ECF8;
  --text: #25292D;
  --text-muted: #4E5255;
  --text-faint: #7A7E81;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-lg: 10px;
  --content: 1160px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── TYPOGRAPHY ── */
.section-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.section-title-light { color: var(--white); }
.section-body { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; }
.section-body-light { color: rgba(255,255,255,0.78); }
.section-body-wide { max-width: 56ch; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.eyebrow-light { color: rgba(255,255,255,0.55); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn-primary:hover { background: #ea6500; border-color: #ea6500; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION WRAPPERS ── */
.section { padding-block: var(--section-pad); }
.section-light { background: var(--white); }
.section-surface { background: var(--surface); }
.section-navy { background: var(--navy-dark); }
.section-inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.section-header-center {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 30, 52, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.32);
}
.header-inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-svg { width: 40px; height: 40px; border-radius: 50%; background: white; padding: 2px; }
.logo-text { display: flex; flex-direction: column; gap: 0.05rem; }
.logo-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.75rem);
  font-size: 0.85rem;
  font-weight: 500;
}
.main-nav a {
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: #ea6500 !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), opacity 0.28s;
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  padding: 0.85rem 1.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  min-height: auto;
  display: flex;
  flex-direction: column;
}
.hero-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 38px,
      rgba(255,255,255,0.028) 38px,
      rgba(255,255,255,0.028) 39px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(30, 72, 111, 0.18) 80px,
      rgba(30, 72, 111, 0.18) 81px
    );
}
.hero-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(8, 119, 189, 0.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 10% 80%, rgba(30, 72, 111, 0.35) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  flex: 1;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.4rem, 1rem + 5vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 1.5rem;
  max-width: 15ch;
}
.hero-body {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  max-width: 54ch;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-body-large {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.15;
  max-width: 20ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* METRICS STRIP */
.hero-metrics {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding-block: 2rem;
}
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
  text-align: center;
}
.metric-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.4rem, 0.9rem + 1.6vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.metric-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ── TAGLINE BAND ── */
.tagline-band {
  background: var(--navy);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.tagline-band p {
  max-width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ── SPLIT LAYOUT ── */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.split-text {
  padding-top: 0.5rem;
}
.split-text .btn { margin-top: 0.75rem; }
.split-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* PARTNER CARDS */
.partner-card {
  background: var(--surface);
  border: 1px solid var(--surface-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.partner-card:hover {
  border-color: #b5cee8;
  box-shadow: 0 4px 16px rgba(30,72,111,0.1);
}
.partner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--surface-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.partner-icon svg { width: 28px; height: 28px; }
.partner-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.partner-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 100%;
}

/* ── STEPS GRID ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.step-item {
  padding: 1.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}
.step-item:hover { background: rgba(255,255,255,0.09); }
.step-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.step-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.step-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 100%;
}

/* ── VALUE COMPARISON ── */
.compare-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.compare-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid transparent;
}
.compare-card-bad {
  background: var(--white);
  border-color: #dce3ea;
}
.compare-card-good {
  background: var(--navy);
  border-color: var(--navy);
}
.compare-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.compare-card-label-good { color: rgba(255,255,255,0.55); }
.compare-kpi { margin-bottom: 1.25rem; }
.kpi-value {
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.kpi-value-muted { color: var(--text-muted); }
.kpi-desc {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.compare-card-bad .kpi-desc { color: var(--text-faint); }
.compare-list {
  font-size: 0.84rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.compare-list li::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border-radius: 50%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.compare-list-neg li { color: var(--text-muted); }
.compare-list-neg li::before {
  background-color: #f0d4d4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 4l6 6M10 4l-6 6' stroke='%23c0392b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.compare-list-pos li { color: rgba(255,255,255,0.72); }
.compare-list-pos li::before {
  background-color: rgba(249,115,22,0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3.5 3L11.5 4' stroke='%23F97316' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.compare-footnote {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
  max-width: 100%;
}

/* PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--surface-blue);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.pillar {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-blue);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pillar:hover {
  border-color: #b5cee8;
  box-shadow: 0 4px 20px rgba(30,72,111,0.09);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}
.pillar-icon svg { width: 44px; height: 44px; }
.pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.pillar p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 100%;
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--surface-blue);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  border-color: #b5cee8;
  box-shadow: 0 4px 20px rgba(30,72,111,0.09);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--surface-blue);
}
.team-avatar-brand { background: transparent; }
.team-avatar svg { width: 80px; height: 80px; }
.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.team-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.team-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 100%;
  flex: 1;
  margin-bottom: 1rem;
}
.team-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.team-contact {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid rgba(8,119,189,0.3);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.team-contact:hover { color: var(--navy); border-color: var(--navy); }
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.team-linkedin::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E") no-repeat center / contain;
}
.team-card-mac-mtn { border-color: rgba(30,72,111,0.2); }

/* ── CONTACT ── */
.section-contact { padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.contact-value {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.contact-value:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}

/* FORM */
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-group select option { background: var(--navy-dark); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  max-width: 100%;
}
.form-note.success { color: #5ebd7e; }
.form-note.error { color: #f98080; }

/* ── CALCULATOR ── */
.calc-header {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.calc-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.calc-input-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.calc-input-row input[type="range"] {
  flex: 1;
  accent-color: var(--navy);
  height: 4px;
  cursor: pointer;
}
.calc-display {
  min-width: 90px;
  background: var(--white);
  border: 1.5px solid var(--surface-blue);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}
.calc-note {
  font-size: 0.72rem;
  color: var(--text-faint);
  max-width: 100%;
  margin-top: 0.15rem;
}
.calc-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.calc-output-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform var(--transition);
}
.calc-output-card:hover { transform: translateY(-2px); }
.calc-output-bad {
  background: var(--white);
  border: 1.5px solid #dce3ea;
}
.calc-output-good {
  background: var(--navy);
  border: 1.5px solid var(--navy);
}
.calc-output-accent {
  background: var(--surface-blue);
  border: 1.5px solid #b5cee8;
}
.calc-output-wide {
  grid-column: 1 / -1;
  background: var(--navy);
  border: 1.5px solid var(--navy);
}
.calc-output-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.calc-output-good .calc-output-label,
.calc-output-wide .calc-output-label { color: rgba(255,255,255,0.5); }
.calc-output-value {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  transition: color 0.15s;
}
.calc-output-bad .calc-output-value { color: var(--text-muted); }
.calc-output-good .calc-output-value,
.calc-output-wide .calc-output-value { color: var(--white); }
.calc-output-accent .calc-output-value { color: var(--navy); }
.calc-output-desc {
  font-size: 0.74rem;
  color: var(--text-faint);
  line-height: 1.4;
}
.calc-output-good .calc-output-desc,
.calc-output-wide .calc-output-desc { color: rgba(255,255,255,0.5); }
.calc-disclaimer {
  font-size: 0.72rem;
  color: var(--text-faint);
  line-height: 1.55;
  background: var(--surface);
  border: 1px solid var(--surface-blue);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  max-width: 100%;
  margin-bottom: 0.75rem;
}
.calc-footnote {
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.6;
  border-top: 1px solid var(--surface-blue);
  padding-top: 0.85rem;
  max-width: 100%;
}

/* ── FOOTER PARTNERS ── */
.footer-partners {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.25rem;
}
.footer-partner-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.footer-partner-item:hover { opacity: 1; }
.footer-partner-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  background: white;
  padding: 3px;
  box-sizing: border-box;
}
.footer-partner-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.footer-partner-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-partner-url {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-output-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .calc-output-grid { grid-template-columns: 1fr; }
  .calc-output-wide { grid-column: 1; }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: grid;
  gap: 1.75rem;
}
.footer-brand .logo-link { display: inline-flex; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: 100%;
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  max-width: 100%;
  line-height: 1.55;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .layout-split,
  .compare-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .compare-cards {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .compare-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-metrics { flex-direction: column; gap: 1.5rem; }
  .metric-divider { width: 40px; height: 1px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.25rem; }
}
