/* Betora — main stylesheet
   Palette: navy #01052D · red #BC002D · paper #F6F6F9 */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #01052D;
  --red: #BC002D;
  --red-hover: #d40f3d;
  --paper: #F6F6F9;
  --ink-50: rgba(1, 5, 45, 0.5);
  --ink-65: rgba(1, 5, 45, 0.65);
  --white-70: rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #FFFFFF;
  font-family: 'Archivo', sans-serif;
  color: var(--navy);
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
::selection { background: var(--red); color: #fff; }

input, textarea { font-family: 'Archivo', sans-serif; }
input:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  padding: 12px 24px;
}
.btn-primary:hover { background: var(--red-hover); color: #FFFFFF; }
.btn-primary.btn-lg { font-size: 17px; padding: 16px 34px; }
.btn-primary.btn-xl { font-size: 18px; padding: 18px 40px; white-space: nowrap; }
.btn-outline-light {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 4px;
}
.btn-outline-light:hover { border-color: #FFFFFF; color: #FFFFFF; }

/* ── Eyebrow labels ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  flex: none;
}
.eyebrow span:last-child {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.eyebrow.on-dark span:last-child { color: rgba(255, 255, 255, 0.6); font-weight: 600; }

/* ── Navigation ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}
.brand { display: block; }
.brand img { display: block; height: 36px; width: auto; }
.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  flex-wrap: wrap;
}
.site-nav .nav-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-weight: 500;
}
.site-nav .nav-links a:hover { color: #FFFFFF; }
.site-nav .nav-links a.active { color: #FFFFFF; font-weight: 600; }
.site-nav .nav-links a.active:hover { color: var(--red); }
.site-nav .nav-links a.btn-primary { color: #FFFFFF; }

/* Mobile navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .site-nav .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 18px;
  }
  .site-nav .nav-links.open { display: flex; }
  .site-nav .nav-links a { padding: 12px 0; font-size: 17px; }
  .site-nav .nav-links a.btn-primary {
    text-align: center;
    margin-top: 10px;
    padding: 14px 24px;
  }
}

/* ── Dark sections ── */
.bg-navy { background: var(--navy); }
.bg-paper { background: var(--paper); }
.dotted-navy {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* ── Home hero ── */
.hero-wrap {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.hero-art {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 28% 55%, rgba(1,5,45,0.88) 0%, rgba(1,5,45,0.35) 60%, rgba(1,5,45,0) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
  pointer-events: none;
}
.hero-content .eyebrow { margin-bottom: 28px; }
.hero-content h1 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 900px;
  text-wrap: pretty;
}
.hero-content .lede {
  margin: 28px 0 0;
  color: var(--white-70);
  font-size: 20px;
  line-height: 1.55;
  max-width: 620px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
.hero-ctas a { pointer-events: auto; }

.hero-stats { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stats .stats-grid {
  padding-top: 36px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.stat-value { color: #FFFFFF; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { color: rgba(255, 255, 255, 0.55); font-size: 14px; margin-top: 4px; }

/* ── Page hero (Services / Contact / legal) ── */
.page-hero-dotted {
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.page-hero {
  padding-top: 80px;
  padding-bottom: 70px;
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 800px;
}
.page-hero .lede {
  margin: 24px 0 0;
  color: var(--white-70);
  font-size: 19px;
  line-height: 1.55;
  max-width: 600px;
  text-wrap: pretty;
}

/* ── Section headings ── */
.section-h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* ── Beyond technology / two-column feature ── */
.feature-split {
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: center;
}
.feature-split .eyebrow { margin-bottom: 20px; }
.feature-split h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.feature-split p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(1, 5, 45, 0.7);
  text-wrap: pretty;
}
.feature-split p:last-child { margin-bottom: 0; }
.numbered-cards { display: flex; flex-direction: column; gap: 16px; }
.numbered-card {
  background: #FFFFFF;
  border: 1px solid rgba(1, 5, 45, 0.08);
  border-radius: 6px;
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.numbered-card .num { color: var(--red); font-size: 14px; font-weight: 800; }
.numbered-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.numbered-card p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(1, 5, 45, 0.6); }

/* ── Ambassadors ── */
.ambassadors { padding-bottom: 90px; }
.ambassadors .eyebrow { margin-bottom: 18px; }
.ambassadors-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ambassadors-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(1, 5, 45, 0.55);
  max-width: 360px;
}
.ambassador-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.ambassador-card {
  background: #FFFFFF;
  border: 1px solid rgba(1, 5, 45, 0.08);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ambassador-photo {
  height: 240px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ambassador-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ambassador-photo .monogram {
  color: rgba(255, 255, 255, 0.85);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ambassador-meta { padding: 18px 20px; }
.ambassador-meta .name { font-size: 18px; font-weight: 700; }
.ambassador-meta .role {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
}
.ambassador-meta .role .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ambassador-meta .role span:last-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.ambassador-soon {
  border: 1px dashed rgba(1, 5, 45, 0.25);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 20px;
  min-height: 300px;
  text-align: center;
}
.ambassador-soon .plus {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(1, 5, 45, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: rgba(1, 5, 45, 0.4);
}
.ambassador-soon .title { font-size: 16px; font-weight: 700; color: rgba(1, 5, 45, 0.7); }
.ambassador-soon .sub { font-size: 13px; color: rgba(1, 5, 45, 0.45); margin-top: 4px; }
.ambassador-cta {
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  text-align: center;
  min-height: 300px;
}
.ambassador-cta .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.ambassador-cta .title { color: #FFFFFF; font-size: 18px; font-weight: 700; line-height: 1.3; }
.ambassador-cta p { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.5; }
.ambassador-cta .btn-primary { margin-top: 8px; font-size: 14px; }

/* ── Club sponsorships ── */
.sponsors { padding-top: 0; padding-bottom: 90px; }
.sponsors .eyebrow { margin-bottom: 18px; }
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.sponsor-card {
  background: #FFFFFF;
  border: 1px solid rgba(1, 5, 45, 0.08);
  border-radius: 6px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.sponsor-card:hover { border-color: var(--red); }
.sponsor-crest {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-crest img { max-height: 110px; max-width: 160px; object-fit: contain; }
.sponsor-crest .crest-mark {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sponsor-card .name { font-size: 18px; font-weight: 700; }
.sponsor-card .meta { font-size: 13px; color: rgba(1, 5, 45, 0.5); margin-top: -12px; }
.sponsor-card .role {
  display: flex;
  align-items: center;
  gap: 7px;
}
.sponsor-card .role .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.sponsor-card .role span:last-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── Events (rendered from data/events.json) ── */
#events { display: none; }
#events.has-events { display: block; }
.events-inner { padding-top: 80px; padding-bottom: 80px; }
.events-inner .eyebrow { margin-bottom: 36px; }
.event-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 8px 0;
}
.event-row + .event-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding-top: 56px;
}
.event-badge {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event-row h2 {
  margin: 14px 0 16px;
  color: #FFFFFF;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.event-row .blurb {
  margin: 0 0 22px;
  color: var(--white-70);
  font-size: 16px;
  line-height: 1.65;
  max-width: 560px;
  text-wrap: pretty;
}
.event-points { display: flex; flex-wrap: wrap; gap: 10px; }
.event-points .pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 600;
}
.event-meet {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 36px 32px;
}
.event-meet .meet-title { color: #FFFFFF; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.event-meet .meet-lines { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.event-meet .meet-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}
.event-meet .meet-line .dash { color: var(--red); font-weight: 800; }
.event-meet .btn-primary { margin-top: 26px; padding: 14px 30px; }

/* ── Engines (One platform. Three engines.) ── */
.engines { padding-top: 100px; padding-bottom: 90px; }
.engines-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.engines-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 520px;
}
.engines-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-65);
  max-width: 440px;
  text-wrap: pretty;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.engine-card {
  border: 1px solid rgba(1, 5, 45, 0.1);
  border-radius: 6px;
  padding: 36px 32px;
}
.engine-card:hover { border-color: var(--red); }
.engine-card .num { color: var(--red); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; }
.engine-card h3 { margin: 18px 0 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.engine-card > p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--ink-65); }
.dash-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(1, 5, 45, 0.75); }
.dash-list div { display: flex; gap: 8px; align-items: baseline; }
.dash-list .dash { color: var(--red); }

/* ── About section ── */
.about-split {
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: center;
}
.about-split .eyebrow { margin-bottom: 20px; }
.about-split h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.about-split p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(1, 5, 45, 0.7);
  text-wrap: pretty;
}
.about-split p:last-of-type { margin-bottom: 0; }
.about-split .btn-primary { margin-top: 28px; }

/* ── Pricing ── */
.pricing { padding-top: 90px; padding-bottom: 90px; }
.pricing .eyebrow { margin-bottom: 18px; }
.pricing-head { max-width: 720px; margin-bottom: 48px; }
.pricing-head p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-65);
  text-wrap: pretty;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: #FFFFFF;
  border: 1px solid rgba(1, 5, 45, 0.1);
  border-radius: 6px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { border-color: var(--red); }
.pricing-card h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.pricing-card .audience {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-65);
  min-height: 44px;
}
.pricing-card .dash-list { flex: 1; }
.pricing-card .summary {
  margin: 24px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(1, 5, 45, 0.75);
}
.pricing-card .btn-primary { margin-top: 24px; text-align: center; }
.pricing-bespoke {
  margin-top: 56px;
  text-align: center;
}
.pricing-bespoke p {
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-65);
  max-width: 560px;
  text-wrap: pretty;
}

/* ── Logo strips (JSON-driven, hidden until populated) ──
   Navy background: provider brand kits ship light-on-dark variants. */
.logo-strip { display: none; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.logo-strip.has-logos { display: block; }
.logo-strip-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-strip-inner .strip-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.logo-strip-inner .logos {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* fade the marquee in and out at the edges */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
  padding-right: clamp(32px, 4vw, 56px);
}
@keyframes logo-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.logo-strip-inner .logos img {
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.75;
  flex: none;
}
.logo-strip-inner .logos img:hover { filter: none; opacity: 1; }
@media (max-width: 700px) {
  /* Title above the marquee on small screens */
  .logo-strip-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .logo-strip-inner .logos { width: 100%; }
}
.logo-strip-inner .logos img.inv { filter: invert(1) grayscale(1) brightness(1.2); }
.logo-strip-inner .logos img.inv:hover { filter: invert(1); }
.logo-strip-inner .logos .logo-text {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── GLI certification badge ── */
.gli-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gli-badge img { height: 44px; width: auto; display: block; opacity: 0.85; }
.gli-badge span { color: rgba(255, 255, 255, 0.6); font-size: 15px; }

/* ── Feature detail blocks (solutions / payments pages) ── */
.detail-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(1, 5, 45, 0.1);
  align-items: center;
}
.detail-section:last-of-type { border-bottom: none; }
.detail-section .eyebrow { margin-bottom: 16px; }
.detail-section h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.detail-section > div > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(1, 5, 45, 0.7);
  text-wrap: pretty;
}
.detail-section .btn-primary { margin-top: 12px; }
.detail-features { display: flex; flex-direction: column; gap: 16px; }
.detail-feature {
  border: 1px solid rgba(1, 5, 45, 0.08);
  background: #FFFFFF;
  border-radius: 6px;
  padding: 22px 26px;
}
.detail-feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.detail-feature p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(1, 5, 45, 0.65); }

/* ── Services teaser rows ── */
.services-teaser {
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
}
.services-teaser h2 { margin: 0 0 16px; }
.services-teaser .intro p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-65);
  text-wrap: pretty;
}
.services-teaser .all-link { color: var(--red); font-weight: 700; font-size: 16px; }
.services-teaser .all-link:hover { color: var(--navy); }
.teaser-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid rgba(1, 5, 45, 0.12);
}
.teaser-row:last-child { border-bottom: 1px solid rgba(1, 5, 45, 0.12); }
.teaser-row .label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.teaser-row .desc { font-size: 17px; line-height: 1.6; color: rgba(1, 5, 45, 0.85); }

/* ── Value props ── */
.value-props { padding-top: 100px; padding-bottom: 100px; }
.value-props .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}
.value-props h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-props h3 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.value-props p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-65); }

/* ── CTA band ── */
.cta-band {
  padding-top: 90px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 560px;
}

/* ── Services page groups ── */
.service-groups { padding-top: 80px; padding-bottom: 80px; }
.service-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(1, 5, 45, 0.1);
}
.service-group:first-child { padding-top: 0; }
.service-group .num { color: var(--red); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; }
.service-group h2 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service-group .blurb {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(1, 5, 45, 0.6);
  text-wrap: pretty;
}
.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-content: start;
}
.service-item {
  border: 1px solid rgba(1, 5, 45, 0.1);
  border-radius: 6px;
  padding: 26px 24px;
}
.service-item:hover { border-color: var(--red); }
.service-item h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.service-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-65); }

/* ── Contact page ── */
.contact-layout {
  flex: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-content: start;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; }
.form-field input,
.form-field textarea {
  border: 1px solid rgba(1, 5, 45, 0.2);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
}
.form-field textarea { resize: vertical; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-actions .btn-primary { font-size: 16px; padding: 16px 36px; }
.recaptcha-notice { font-size: 13px; color: rgba(1, 5, 45, 0.45); }
.recaptcha-notice a { color: rgba(1, 5, 45, 0.6); text-decoration: underline; }
.form-status { display: none; font-size: 15px; }
.form-status.visible { display: block; }
.form-status.error { color: var(--red); }
.form-sent {
  display: none;
  border: 1px solid rgba(1, 5, 45, 0.1);
  border-radius: 6px;
  padding: 48px;
  text-align: center;
}
.form-sent.visible { display: block; }
.form-sent .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); margin: 0 auto 20px; }
.form-sent h2 { margin: 0 0 10px; font-size: 28px; font-weight: 800; }
.form-sent p { margin: 0; font-size: 16px; color: var(--ink-65); }

.contact-aside { display: flex; flex-direction: column; gap: 32px; }
.contact-block { border-left: 2px solid var(--red); padding-left: 20px; }
.contact-block .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(1, 5, 45, 0.45);
  margin-bottom: 6px;
}
.contact-block .value, .contact-block a.value { font-size: 17px; font-weight: 600; }
.contact-block .social-links { display: flex; flex-direction: column; gap: 6px; }
.contact-block .social-links a { font-size: 15px; font-weight: 500; }
.contact-map {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(1, 5, 45, 0.1);
}
.contact-map iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ── Legal pages (privacy / terms) ── */
.legal-content { padding-top: 64px; padding-bottom: 90px; max-width: 860px; }
.legal-content h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.legal-content h6 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
}
.legal-content p, .legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(1, 5, 45, 0.75);
}
.legal-content a { color: var(--red); }
.legal-content a:hover { text-decoration: underline; }

/* ── Footer ── */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-grid {
  padding-top: 56px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-brand img { display: block; height: 26px; width: auto; }
.footer-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}
.footer-col a, .footer-col div.plain { color: var(--white-70); font-size: 14px; }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.35); }
.footer-bottom a:hover { color: #FFFFFF; }

/* Slim footer (inner pages) */
.footer-slim {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-slim .footer-brand img { height: 22px; }
.footer-slim .links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-slim .links a { color: var(--white-70); font-size: 14px; }
.footer-slim .links a:hover { color: #FFFFFF; }
.footer-slim .copyright { color: rgba(255, 255, 255, 0.35); font-size: 13px; }
