:root {
  --yellow: #f7c741;
  --yellow-soft: #ffe08a;
  --cyan: #55d6c8;
  --cyan-soft: #9ce9df;
  --black: #141511;
  --black-deep: #080907;
  --charcoal: #242622;
  --warm-white: #fff9f1;
  --soft-grey: #e7e7e0;
  --muted: #b8bbb4;
  --danger: #ff7272;
  --success: #65d58a;
  --line: rgba(255, 249, 241, 0.14);
  --line-strong: rgba(255, 249, 241, 0.24);
  --card: rgba(255, 249, 241, 0.055);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --radius-sm: 12px;
  --font-display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1240px;
  --focus: 0 0 0 4px rgba(85, 214, 200, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black-deep); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--warm-white);
  background:
    radial-gradient(circle at 8% 6%, rgba(247, 199, 65, 0.14), transparent 26%),
    radial-gradient(circle at 94% 16%, rgba(85, 214, 200, 0.10), transparent 28%),
    linear-gradient(180deg, var(--black-deep), var(--black) 48%, var(--black-deep));
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.62; }
::selection { background: var(--yellow); color: var(--black); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }

/* Shared header/navigation styles. Program pages load base.css without style.css,
   so these rules prevent the sticky header from becoming transparent or collapsing. */
[id] { scroll-margin-top: 96px; }
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 249, 241, 0.08);
  background: rgba(8, 9, 7, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  isolation: isolate;
}
.nav__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__brand { margin-right: auto; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #dfdfd8;
  font-size: 0.91rem;
  font-weight: 750;
}
.nav__menu a { position: relative; padding: 8px 0; }
.nav__toggle { display: none; }

@media (max-width: 700px) {
  [id] { scroll-margin-top: 82px; }
  .nav__inner { min-height: 70px; gap: 9px; }
}
.hidden, [hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img { width: 46px; height: 46px; flex: 0 0 46px; object-fit: cover; border-radius: 14px; image-rendering: auto; box-shadow: 0 0 22px rgba(85,214,200,.16); }
.brand__word {
  display: block;
  line-height: 0.86;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 3.2vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--yellow);
  text-transform: uppercase;
}
.brand__word small {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.26em;
  color: var(--cyan);
}
@media (max-width: 700px) {
  .brand img { width: 40px; height: 40px; flex-basis: 40px; }
  .brand__word { font-size: 1.9rem; }
  .brand__word small { font-size: 0.54rem; }
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.btn--primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  color: var(--black-deep);
  box-shadow: 0 14px 34px rgba(247, 199, 65, 0.18);
}
.btn--secondary {
  background: rgba(85, 214, 200, 0.08);
  border-color: rgba(85, 214, 200, 0.55);
  color: var(--warm-white);
}
.btn--ghost {
  background: rgba(255, 249, 241, 0.035);
  border-color: var(--line);
  color: var(--warm-white);
}
.btn--dark { background: var(--black-deep); color: var(--yellow); }
.btn--small { min-height: 40px; padding: 9px 14px; border-radius: 999px; font-size: 0.91rem; }
.btn--wide { width: 100%; }

.eyebrow, .label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid rgba(247, 199, 65, 0.38);
  border-radius: 999px;
  background: rgba(247, 199, 65, 0.075);
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3.6rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.7rem, 6vw, 5rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.text-yellow { color: var(--yellow); }
.text-cyan { color: var(--cyan); }
.muted { color: var(--muted); }

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 249, 241, 0.072), rgba(255, 249, 241, 0.022));
  box-shadow: var(--shadow-soft);
}

.form {
  display: grid;
  gap: 16px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span, .field-label { color: #f1f0e9; font-size: 0.92rem; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 249, 241, 0.045);
  color: var(--warm-white);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); background: rgba(255, 249, 241, 0.065); }
select option { background: var(--charcoal); color: var(--warm-white); }
textarea { min-height: 112px; resize: vertical; }
.field-error { min-height: 1.15em; color: var(--danger); font-size: 0.8rem; line-height: 1.35; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.phone-row { display: grid; grid-template-columns: 145px 1fr; gap: 8px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.86rem; }
.consent-row input { width: auto; margin-top: 5px; accent-color: var(--yellow); }
.consent-row a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.form-note { color: var(--muted); font-size: 0.8rem; text-align: center; }
.form-status { min-height: 1.5em; color: var(--danger); font-size: 0.88rem; text-align: center; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5000;
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(8, 9, 7, 0.97);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
}
.cookie-banner__content { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cookie-banner h2 { margin-bottom: 6px; font-family: var(--font-body); font-size: 1.1rem; line-height: 1.25; letter-spacing: 0; }
.cookie-banner p { margin-bottom: 0; color: var(--muted); font-size: 0.87rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-settings {
  width: min(620px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--black);
  color: var(--warm-white);
  box-shadow: var(--shadow);
}
.cookie-settings::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); }
.cookie-settings__inner { padding: 24px; }
.cookie-settings__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.cookie-settings__head h2 { margin-bottom: 6px; font-size: 2rem; }
.cookie-settings__head button { border: 0; background: transparent; color: var(--warm-white); font-size: 1.6rem; }
.cookie-option { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-option:first-of-type { margin-top: 18px; }
.cookie-option p { margin-bottom: 0; color: var(--muted); font-size: 0.86rem; }
.cookie-option input { width: auto; accent-color: var(--yellow); }
.cookie-settings__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 18px; }

.footer {
  padding: 42px 0 90px;
  border-top: 1px solid var(--line);
  background: var(--black-deep);
}
.footer__grid { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: start; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: center; color: #d7d8d3; font-size: 0.91rem; font-weight: 700; }
.footer__contact { display: grid; gap: 8px; justify-items: end; color: var(--muted); font-size: 0.9rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.footer__bottom button { padding: 0; border: 0; background: transparent; color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { justify-content: center; }
  .footer__contact { justify-items: center; }
  .cookie-banner__content { grid-template-columns: 1fr; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, var(--content)); }
  .phone-row { grid-template-columns: 118px 1fr; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: calc(100% - 20px); padding: 14px; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr; }
  .cookie-settings__actions { display: grid; grid-template-columns: 1fr; }
  .footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Footer contact buttons with local social icons */
.footer__contact.footer__contact--social {
  min-width: 292px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  justify-items: stretch;
}
.footer-contact__link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(85,214,200,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: #e4e5df;
  font-size: .79rem;
  font-weight: 760;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.footer-contact__link:hover,
.footer-contact__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: rgba(247,199,65,.07);
}
.footer-contact__link img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  flex: 0 0 auto;
}
.footer-contact__link--phone { grid-column: 1 / -1; }
@media (max-width: 1050px) {
  .footer__contact.footer__contact--social {
    width: min(100%, 420px);
    min-width: 0;
    margin-inline: auto;
  }
}
@media (max-width: 460px) {
  .footer__contact.footer__contact--social { grid-template-columns: 1fr; }
  .footer-contact__link--phone { grid-column: auto; }
}

.brand__word small{display:none!important;}

/* 2026 brand-header refinement */
.brand { gap: 14px; }
.brand img {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 15px;
  box-shadow: 0 0 24px rgba(85,214,200,.17);
}
.brand__word {
  font-size: 2.35rem;
  line-height: .92;
  letter-spacing: .035em;
  font-weight: 900;
}
.nav .brand { gap: 17px; }
.nav .brand img {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-radius: 18px;
}
.nav .brand__word {
  font-size: clamp(2.6rem, 3.2vw, 3.25rem);
  letter-spacing: .045em;
}
.lead-header .brand img,
.test-header .brand img,
.legal-header .brand img {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  border-radius: 17px;
}
.lead-header .brand__word,
.test-header .brand__word,
.legal-header .brand__word {
  font-size: clamp(2.45rem, 4vw, 3rem);
  letter-spacing: .045em;
}
.footer .brand img { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; }
.footer .brand__word { font-size: 2rem; letter-spacing: .035em; }

@media (max-width: 700px) {
  .nav .brand { gap: 11px; }
  .nav .brand img { width: 44px; height: 44px; flex-basis: 44px; border-radius: 14px; }
  .nav .brand__word { font-size: 2rem; letter-spacing: .035em; }
  .lead-header .brand img,
  .test-header .brand img,
  .legal-header .brand img { width: 44px; height: 44px; flex-basis: 44px; }
  .lead-header .brand__word,
  .test-header .brand__word,
  .legal-header .brand__word { font-size: 2rem; }
}
