:root {
  --deep-navy: #112d51;
  --brand-blue: #2867c6;
  --charcoal: #383c44;
  --slate: #5a607a;
  --soft-periwinkle: #c5cbe8;
  --pale-blue: #e9eff9;
  --mist-blue: #e8eff3;
  --cloud-blue: #f0f5f8;
  --light-gray: #ececec;
  --off-white: #f8f8f8;
  --accent-magenta: #da1266;
  --white: #ffffff;

  --font: 'Open Sans', Inter, sans-serif;
  --radius-card: 10px;
  --radius-large: 15px;
  --radius-button: 50px;
  --shadow-card: 0 12px 30px rgba(17, 45, 81, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

a:hover {
  color: var(--deep-navy);
}

p,
li {
  max-width: 72ch;
}

h1,
h2,
h3 {
  color: var(--deep-navy);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 5.8vw, 64px);
}

h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

h3 {
  font-size: 22px;
}

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  left: -999px;
  top: 20px;
  z-index: 100;
  background: var(--deep-navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-button);
}

.skip-link:focus {
  left: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--light-gray);
  backdrop-filter: blur(12px);
}

.nav-wrap,
main > section,
.site-footer {
  width: min(1170px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link img {
  width: clamp(190px, 17vw, 220px);
  min-width: 180px;
  max-height: 76px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 14px;
}

.nav-actions a {
  color: var(--deep-navy);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-actions a:hover {
  color: var(--brand-blue);
}

.contact-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--mist-blue);
  border-radius: var(--radius-button);
  background: var(--off-white);
}

.contact-tab:hover {
  border-color: var(--brand-blue);
  background: var(--pale-blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: var(--radius-button);
  background: var(--brand-blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  background: var(--deep-navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 45, 81, 0.16);
}

.button-small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.button-secondary {
  background: var(--deep-navy);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  margin-top: clamp(22px, 3vw, 38px);
  padding: clamp(42px, 5vw, 72px);
  border: 1px solid var(--mist-blue);
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--white) 0 58%, rgba(240, 245, 248, 0.9) 58% 100%),
    var(--white);
}

.kicker {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-line {
  margin-top: 10px;
  color: var(--brand-blue);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-text {
  margin-top: 24px;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-card {
  padding: 30px;
  border-radius: var(--radius-large);
  background: var(--deep-navy);
  color: var(--soft-periwinkle);
  box-shadow: var(--shadow-card);
}

.hero-card p {
  color: var(--soft-periwinkle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-top: 14px;
  color: var(--white);
  font-size: 26px;
}

.hero-card span {
  display: block;
  margin-top: 20px;
  color: var(--soft-periwinkle);
  line-height: 1.7;
}

.stats-band {
  padding-block: 64px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p:not(.kicker) {
  margin-top: 14px;
  color: var(--slate);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stats-grid article {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
}

.stats-grid strong {
  display: block;
  color: var(--deep-navy);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
}

.stats-grid p {
  margin-top: 18px;
  color: var(--charcoal);
}

.source-note {
  margin-top: 18px;
  color: var(--slate);
  font-size: 12px;
  font-style: italic;
}

.content-section,
.blue-section,
.example-section,
.plan-section,
.sources-section {
  padding-block: 66px;
}

.blue-section,
.plan-section {
  width: 100%;
  max-width: none;
  background: var(--cloud-blue);
}

.blue-section > *,
.plan-section > * {
  width: min(1170px, calc(100% - 40px));
  margin-inline: auto;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.info-card span,
.plan-list span {
  display: inline-block;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.info-card p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 14px;
}

.prompt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-large);
  background: var(--white);
  border: 1px solid var(--mist-blue);
  box-shadow: var(--shadow-card);
}

.prompt-example {
  margin-top: 16px;
  padding-left: 20px;
  border-left: 4px solid var(--brand-blue);
  color: var(--charcoal);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.prompt-card ul,
.list-panel ul,
.sources-section ul {
  list-style: none;
}

.prompt-card li,
.list-panel li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.prompt-card li::before,
.list-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-blue);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.list-panel {
  padding: 30px;
  border-radius: var(--radius-card);
  border: 1px solid var(--light-gray);
  background: var(--off-white);
}

.list-panel-strong {
  background: var(--deep-navy);
}

.list-panel-strong h3,
.list-panel-strong li {
  color: var(--white);
}

.list-panel-strong li::before {
  background: var(--soft-periwinkle);
}

.list-panel ul {
  margin-top: 20px;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.before-after article {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-card);
}

.before-after h3 {
  padding: 16px 24px;
  background: var(--deep-navy);
  color: var(--white);
}

.before-after article:last-child h3 {
  background: var(--brand-blue);
}

.before-after p {
  padding: 28px;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
}

.legal-note {
  margin-top: 20px;
  padding: 22px 26px;
  border-radius: var(--radius-card);
  background: var(--pale-blue);
  color: var(--deep-navy);
  font-weight: 700;
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.plan-list article {
  padding: 26px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--mist-blue);
}

.plan-list p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 14px;
}

.sources-section ul {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-card);
  background: var(--off-white);
}

.sources-section a {
  color: var(--brand-blue);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--light-gray);
}

.site-footer img {
  width: 210px;
  max-height: 74px;
  object-fit: contain;
}

.site-footer p {
  margin-top: 12px;
  color: var(--deep-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.button-footer {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .stats-grid,
  .simple-grid,
  .prompt-card,
  .two-column,
  .before-after,
  .plan-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background: var(--white);
  }

  .hero-copy {
    grid-column: auto;
  }

  .hero-card {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .nav-wrap,
  main > section,
  .blue-section > *,
  .plan-section > *,
  .site-footer {
    width: min(100% - 28px, 1170px);
  }

  .nav-wrap {
    min-height: 72px;
  }

  .logo-link img {
    width: 190px;
  }

  .nav-actions > a:not(.button) {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding: 9px 18px;
    font-size: 12px;
  }

  .hero,
  .stats-grid,
  .simple-grid,
  .prompt-card,
  .two-column,
  .before-after,
  .plan-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 44px 56px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .content-section,
  .blue-section,
  .example-section,
  .plan-section,
  .sources-section,
  .stats-band {
    padding-block: 54px;
  }

  .hero-card,
  .prompt-card,
  .list-panel,
  .info-card,
  .plan-list article,
  .sources-section ul {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ---- v8 additions: October 2026 update ---- */
.update-pill {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-button);
  background: var(--pale-blue);
  color: var(--deep-navy);
  letter-spacing: 0.06em;
}

.new-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  border-radius: var(--radius-button);
  background: var(--accent-magenta);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.simple-grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.simple-grid.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.info-card h3 { font-size: 18px; }
.info-card-dark { background: var(--deep-navy); border-color: var(--deep-navy); }
.info-card-dark h3 { color: var(--white); }
.info-card-dark p { color: var(--soft-periwinkle); }

.prompt-card li strong { color: var(--deep-navy); }

.copy-button {
  margin-top: 22px;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
}

.step-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.step-list li {
  counter-increment: step;
  position: relative;
  max-width: none;
  padding: 18px 22px 18px 74px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-card);
  background: var(--off-white);
  color: var(--charcoal);
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-blue);
  color: var(--white);
  font-weight: 700;
}

.step-list strong { color: var(--deep-navy); }

.rules-list {
  display: grid;
  gap: 12px;
}

.rules-list article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rules-list h3 { font-size: 18px; }
.rules-list p { color: var(--charcoal); max-width: none; }
.rules-highlight { background: var(--pale-blue) !important; }

@media (max-width: 1100px) {
  .simple-grid.grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .simple-grid.grid-3,
  .simple-grid.grid-5 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .simple-grid.grid-3,
  .simple-grid.grid-5 { grid-template-columns: 1fr; }
  .rules-list article { grid-template-columns: 1fr; gap: 6px; }
  .update-pill { display: table; margin: 8px 0 0; }
}

/* ---- contact band: visible email address ---- */
.contact-band {
  width: min(1170px, calc(100% - 40px));
  margin: 0 auto 48px;
  padding: clamp(32px, 4vw, 48px);
  border-radius: 18px;
  background: var(--deep-navy);
  text-align: center;
}

.contact-band .kicker { color: var(--soft-periwinkle); }
.contact-band h2 { color: var(--white); }

.contact-email {
  max-width: none;
  margin-top: 18px;
}

.contact-email a {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-button);
  background: var(--white);
  color: var(--deep-navy);
  font-size: clamp(17px, 2.4vw, 26px);
  font-weight: 700;
  word-break: break-all;
}

.contact-email a:hover { color: var(--brand-blue); }

.contact-band .copy-button {
  margin-top: 18px;
  background: var(--brand-blue);
}

@media (max-width: 720px) {
  .contact-band { width: min(100% - 28px, 1170px); }
}

.contact-band p { margin-inline: auto; }

/* ---- header: EMAIL US + address as one pill ---- */
.nav-actions { gap: 18px; }

.nav-actions a.email-pill {
  display: inline-flex;
  align-items: stretch;
  min-height: 42px;
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-button);
  overflow: hidden;
  background: var(--white);
  text-transform: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.nav-actions a.email-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 45, 81, 0.12);
}

.email-pill-label {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.email-pill-address {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--deep-navy);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .nav-actions a.nav-link { display: none; }
}

@media (max-width: 860px) {
  .nav-wrap { flex-wrap: wrap; padding-block: 10px; row-gap: 10px; }
  .nav-actions { flex: 1 1 auto; justify-content: flex-end; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .nav-actions { width: 100%; justify-content: space-between; gap: 10px; }
  .nav-actions a.email-pill { display: inline-flex; width: 100%; }
  .email-pill-address { flex: 1; justify-content: center; font-size: 13px; padding: 0 10px; }
  .nav-actions .button-small { display: none; }
  html { scroll-padding-top: 140px; }
}
