/* ================================================================
   AI Data Centres in Alberta
   Government of Alberta | Technology and Innovation
   ================================================================ */

/* --- Reset & Base ------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* --- CSS Variables ------------------------------------------ */
:root {
  --navy:          #0d2240;
  --navy-dark:     #091929;
  --navy-mid:      #162d4e;
  --blue-accent:   #0057a8;
  --blue-link:     #1462b5;
  --blue-cta:      #1361b1;
  --blue-light:    #6cb4f5;
  --white:         #ffffff;
  --off-white:     #f8f9fb;
  --border:        #dde0e4;
  --draft-bg:      #fdf3e3;
  --draft-border:  #e8d5b0;
  --draft-text:    #6b4220;
  --text:          #1a1a2e;
  --text-muted:    #4a4f5a;
  --radius:        4px;
  --container-max: 1160px;
  --pad:           2rem;
  --header-height: 82px;
}

/* --- Skip Link --------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.1s;
}
.skip-link:focus { top: 0; }

/* --- Container --------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
}

/* --- Utility Bar ------------------------------------------- */
.utility-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.8125rem;
  padding-block: 0.45rem;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* --- Site Header ------------------------------------------- */
#site-header {
  position: static;
  background: var(--white);
}

.site-header {
  background: var(--white);
  padding-block: 0.875rem;
  border-bottom: 1px solid #dcdcdc;
  position: static;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Alberta wordmark */
.alberta-logo {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  gap: 1px;
  flex-shrink: 0;
}
.ab-wordmark-text {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 2.75rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.ab-trademark {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.58rem;
  color: var(--navy);
  margin-top: 5px;
  line-height: 1;
}

.header-divider {
  width: 1px;
  height: 2.75rem;
  background: var(--border);
  flex-shrink: 0;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.25;
  transition: color 0.15s;
}
.site-title:hover { color: var(--blue-accent); }

/* --- Chrome wrapper (injected by chrome.js) ---------------- */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.nav-open {
  overflow: hidden;
}

/* --- Navigation Bar ---------------------------------------- */
.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-bar .container {
  display: flex;
  align-items: stretch;
  position: relative;
  min-height: 50px;
}

/* Nav list */
.nav-list {
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li { flex-shrink: 0; }
.nav-list a {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  height: 100%;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-list a:hover {
  color: var(--blue-accent);
}
.nav-list a.active,
.nav-list a[aria-current="page"] {
  color: var(--blue-accent);
  font-weight: 600;
}
.nav-cta-item { margin-left: auto; }
.nav-cta-item a {
  color: var(--blue-link) !important;
  font-weight: 600;
}
.nav-cta-item a:hover {
  color: var(--blue-accent) !important;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  margin: auto 0;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}
.hamburger:hover {
  border-color: var(--navy);
  background: var(--off-white);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Draft Banner ------------------------------------------ */
.draft-banner {
  background: var(--draft-bg);
  border-bottom: 1px solid var(--draft-border);
  padding-block: 0.55rem;
}
.draft-banner p {
  font-size: 0.8125rem;
  color: var(--draft-text);
  line-height: 1.5;
}

/* --- Hero (Home page) -------------------------------------- */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(0,44,78,0.94) 0%, rgba(0,44,78,0.82) 55%, rgba(0,44,78,0.55) 100%),
    url('/datacentres/images/industry.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-block: 4.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  display: none;
}
.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: 3.125rem;
  font-weight: 700;
  line-height: 1.12;
  max-width: 700px;
  margin-bottom: 1.5rem;
}
.hero .lead {
  font-size: 1.3125rem;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 2.25rem;
  color: rgba(255,255,255,0.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --- Hero (Sub-pages) -------------------------------------- */
.hero-sub {
  background-color: var(--navy);
  background-image: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding-block: 2.75rem;
}
.hero-sub h1 {
  font-size: 3.125rem;
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 1rem;
}
.hero-sub .lead {
  font-size: 1.3125rem;
  line-height: 1.75;
  max-width: 85ch;
  color: rgba(255,255,255,0.85);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--white); }
.breadcrumb .sep { opacity: 0.55; user-select: none; }

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue-cta);
  color: var(--white);
  border-color: var(--blue-cta);
}
.btn-primary:hover {
  background: #0a4f9e;
  border-color: #0a4f9e;
  box-shadow: 0 2px 10px rgba(20,98,181,0.35);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.62);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-outline-blue {
  background: transparent;
  color: var(--blue-cta);
  border-color: var(--blue-cta);
}
.btn-outline-blue:hover {
  background: var(--blue-cta);
  color: var(--white);
}

/* --- Content Area ------------------------------------------ */
.content-area {
  padding-block: 3rem;
  background: var(--white);
}
.content-area p a,
.content-area li a {
  color: var(--blue-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content-area p a:hover,
.content-area li a:hover {
  color: var(--blue-accent);
}
/* Interior page text width constraint */
.content-area h1,
.content-area h2,
.content-area h3,
.content-area p,
.content-area li,
.content-area blockquote {
  max-width: 85ch;
}
.section-tinted {
  background: var(--off-white);
  padding-block: 3rem;
}

/* Content placeholder for sections not yet filled */
.content-placeholder {
  background: var(--off-white);
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #8a8f9a;
  font-size: 0.9375rem;
}
.content-placeholder p { margin: 0; }

/* --- Info Card ("THE ALBERTA APPROACH" style) -------------- */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-bright);
  border-radius: 10px;
  padding: 2rem 2.25rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  max-width: 880px;
}
.info-card .card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 0.65rem;
}
.info-card h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.info-card p {
  color: var(--text);
  line-height: 1.75;
  font-size: 1.0625rem;
  max-width: 85ch;
}

/* --- Feature Boxes (3-column grid) ------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-block: 2.5rem;
}
.feature-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue-accent);
  border-radius: var(--radius);
  padding: 1.875rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.feature-box:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.box-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--blue-accent);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.feature-box h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-link);
  text-decoration: none;
}
.box-link:hover { text-decoration: underline; }
.box-link::after { content: ' →'; }

/* --- Section heading / lead -------------------------------- */
.section-heading {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 85ch;
  margin-bottom: 2rem;
}

/* --- Data Tables ------------------------------------------- */
.data-section { margin-bottom: 3.5rem; }
.data-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.3;
  scroll-margin-top: calc(var(--header-height) + 4rem);
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}
.data-table thead th {
  background: var(--off-white);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.data-table tbody td {
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.65;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #f8fafc; }
.data-table tbody tr.data-row-link { cursor: pointer; }
.data-table tbody tr.data-row-link:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 2px;
}
.data-table .fig {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  white-space: nowrap;
}
.data-table a { color: var(--blue-link); }
.data-table a:hover { text-decoration: underline; }

/* --- Form elements (Have Your Say) ------------------------- */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(0,87,168,0.18);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.3rem; }
.form-required { color: #c0392b; margin-left: 2px; }

/* --- Callout box ------------------------------------------- */
.callout {
  background: linear-gradient(90deg, #dbedf9 0%, #eef6fc 100%);
  border: 1px solid #c5e1f0;
  border-left: 4px solid var(--blue-accent);
  border-radius: 6px;
  padding: 1.125rem 1.375rem;
  margin-block: 2rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.callout-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--blue-accent);
}
.callout-body { min-width: 0; }
.callout-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.callout p {
  color: var(--navy);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

/* --- Site Footer ------------------------------------------ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
  padding-block: 3rem 1.5rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.875rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.15s;
  font-size: 0.875rem;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* --- Utility ----------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

main [id] {
  scroll-margin-top: calc(var(--header-height) + 4rem);
}

/* ================================================================
   RESPONSIVE — Tablet (≤ 1200px)  →  Hamburger menu
   ================================================================ */
@media (max-width: 1200px) {

  #site-header {
    position: sticky;
    top: 0;
    z-index: 160;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  #site-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 140;
  }

  /* Keep chrome pinned while hamburger menu is open. */
  body.nav-open #site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 260;
  }

  body.nav-open #site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 240;
  }

  .site-title {
    margin-right: auto;
  }

  .header-divider {
    width: 1px;
    min-width: 1px;
    max-width: 1px;
    background: #000;
  }

  .hamburger { display: flex; margin-left: auto; }

  .nav-bar {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }

  .nav-bar .container {
    min-height: 0;
    padding: 0;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    z-index: 200;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 0 0 6px 6px;
  }

  .nav-list.is-open { display: flex; }

  .nav-list li {
    flex-shrink: unset;
    border-bottom: 1px solid var(--border);
  }
  .nav-list li:last-child { border-bottom: none; }

  .nav-list a {
    display: block;
    height: auto;
    padding: 0.9rem 1.25rem;
    font-size: 0.9375rem;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    border-left: 3px solid transparent;
  }
  .nav-list a:hover,
  .nav-list a.active,
  .nav-list a[aria-current="page"] {
    border-bottom-color: transparent !important;
    border-left-color: var(--blue-accent);
    background: rgba(0,87,168,0.05);
    color: var(--blue-accent);
  }

  .nav-cta-item {
    margin-left: 0;
    border-top: 0 !important;
  }

  .nav-cta-item a {
    text-align: left;
  }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  /* Numbers page: disable row-wide click behavior on tablet/mobile */
  .data-section .data-table tbody tr.data-row-link {
    pointer-events: none;
    cursor: default;
  }
  .data-section .data-table tbody tr.data-row-link a {
    pointer-events: auto;
  }

  /* Numbers page: remove trailing divider under final cell on tablet */
  .data-section .data-table tbody td:last-child {
    border-bottom: none;
  }
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px)  →  Single-column layout
   ================================================================ */
@media (max-width: 768px) {

  :root { --pad: 1rem; }

  #site-header {
    box-shadow: none;
  }

  /* Feature boxes: full-width stacked */
  .feature-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding-block: 2.5rem 2.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; justify-content: center; }

  /* Header */
  .site-header {
    padding-block: 0.625rem;
    border-bottom: none;
  }
  .site-header .container {
    display: grid;
    grid-template-columns: auto 1px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
  }
  .alberta-logo svg { width: 120px; height: auto; }
  .header-divider { display: block; height: 2.1rem; }
  .site-title {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
    justify-self: start;
    text-align: left;
    max-width: 14ch;
    white-space: normal;
    text-wrap: balance;
  }
  .hamburger {
    margin-left: 0;
    padding: 0.36rem 0.48rem;
  }
  .hamburger span { width: 20px; }
  .ab-wordmark-text { font-size: 2.25rem; }

  /* Utility bar */
  .utility-bar .container {
    flex-direction: column;
    gap: 0.15rem;
    text-align: center;
    font-size: 0.75rem;
  }

  /* Info card */
  .info-card { padding: 1.5rem 1.25rem; }

  /* Hero sub */
  .hero-sub { padding-block: 2rem; }

  /* Responsive table: card layout */
  .table-responsive {
    overflow-x: visible;
  }
  .data-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed;
  }
  .data-table thead { display: none; }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td { display: block; width: 100%; }
  .data-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
  }
  .data-table td {
    border-bottom: none;
    padding: 0.3rem 0;
    font-size: 0.875rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .data-table .fig,
  .data-table td a {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .data-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
  }

  /* Numbers page: keep card border, remove only the last internal divider */
  .data-section .data-table tbody td:last-child {
    border-bottom: none;
  }
  .table-responsive { border: none; border-radius: 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Callout */
  .callout { padding: 1rem 1.125rem; }

  /* Form */
  .form-group textarea { min-height: 100px; }
}

/* ================================================================
   HOME PAGE COMPONENTS
   ================================================================ */

/* Brand-bright cyan (top borders on stat/answer cards) */
:root {
  --brand-bright: #1b9cd4;
  --surface-wash: #eaf4fb;
  --surface-subtle: #f5f6f8;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

/* Narrow content container (matches reference 1160px) */
.container-page {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 2rem;
  width: 100%;
}

/* Section eyebrow label */
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 0.625rem;
}
.section-eyebrow-white {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5e8;
  margin-bottom: 1.5rem;
}

/* Large body text */
.body-lg { font-size: 1.1875rem; line-height: 1.62; }
.body-lg + .body-lg { margin-top: 1.125rem; }
.body-bold { font-weight: 700; color: var(--navy); }

/* --- Stats bar -------------------------------------------- */
.stats-bar {
  background: var(--surface-wash);
  border-bottom: 1px solid #cce4f4;
}
.stats-grid {
  max-width: 1160px;
  margin-inline: auto;
  padding: 2.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-item {
  border-top: 4px solid var(--brand-bright);
  padding-top: 1.125rem;
}
.stat-num {
  font-size: 2.625rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* --- Sections 1–3 with floating sidebar -------------------- */
.sections-with-sidebar {
  max-width: 1160px;
  margin-inline: auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 750px) 280px;
  gap: 4rem;
  align-items: start;
}
.sections-main {
  min-width: 0;
}
.section-content {
  padding: 3rem 0;
}
.sidebar-toc {
  background: var(--surface-subtle);
  border-radius: 10px;
  border-top: 4px solid var(--brand-bright);
  padding: 1.625rem 1.5rem;
  position: sticky;
  top: 70px;
  margin-top: 3rem;
}
.toc-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}
.toc-links {
  display: flex;
  flex-direction: column;
  gap: 0.5625rem;
  font-size: 1rem;
}
.toc-links a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.4;
}
.toc-links a:hover { color: var(--blue-accent); }
.toc-link-active {
  color: var(--blue-link) !important;
  font-weight: 700 !important;
}

/* --- Back to top button ------------------------------------ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--blue-cta);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s, box-shadow 0.2s;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#back-to-top::before {
    content: '';
    width: 0.625rem;
    height: 0.625rem;
    border-top: 2.5px solid white;
    border-right: 2.5px solid white;
    transform: rotate(-45deg);
    top: 2px;
    position: relative;
}
#back-to-top:hover {
  background: #0a4f9e;
  box-shadow: 0 2px 10px rgba(20,98,181,0.35);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* --- Section containers ------------------------------------ */
.section-white { background: var(--white); }
.section-tinted-bg {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-body {
  max-width: 1160px;
  margin-inline: auto;
  padding: 3rem 2rem;
}
.section-white--feature-tail .section-body {
  padding-bottom: 0;
}
.section-body-narrow {
  max-width: 820px;
}
.section-h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.12;
  scroll-margin-top: calc(var(--header-height) + 4rem);
}
.section-h3 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

/* --- Pipeline cards (Section 3) ---------------------------- */
.pipeline-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 820px;
  margin-bottom: 2rem;
}
.pipeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.125rem;
}
.pipeline-card--1 { border-top: 4px solid #93c5e8; }
.pipeline-card--2 { border-top: 4px solid #5ba3d6; }
.pipeline-card--3 { border-top: 4px solid #2b7cc1; }
.pipeline-card--4 { border-top: 4px solid var(--blue-accent); }
.pipeline-num {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 0.375rem;
}
.pipeline-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* Value callout box */
.value-callout {
  max-width: 820px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-accent);
  border-radius: 10px;
  padding: 1.75rem 1.875rem;
  margin-bottom: 1.75rem;
}

/* --- Why cards (Section 4) --------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 1.625rem 1.625rem 1.75rem;
}
.why-card-icon {
  width: 40px;
  height: 40px;
  display: block;
  margin-bottom: 0.875rem;
  color: var(--navy);
}
.why-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.why-card p + p {
  margin-top: 1rem;
}

/* --- Featured project panel (under Section 4 cards) -------- */
.project-feature-row {
  position: relative;
  isolation: isolate;
  margin-top: 1.75rem;
  margin-left: 0;
  margin-right: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 2rem 0;
}
.project-feature-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #eef2f6;
  box-shadow: 0 0 0 100vmax #eef2f6;
  clip-path: inset(0 -100vmax);
}
.project-feature-card {
  background: #0f2d5d;
  border-top: 4px solid #00b5ea;
  border-radius: 16px;
  color: var(--white);
  max-width: 1160px;
  margin-inline: auto;
  padding: 2.5rem 2.5rem 2.25rem;
  box-shadow: 0 14px 30px rgba(7, 26, 52, 0.25);
}
.project-feature-eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00b5ea;
  margin: 0 0 0.875rem;
}
.project-feature-title {
  font-size: 2.125rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--white);
}
.project-feature-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #7fd5ff;
}
.project-feature-subtitle a {
  color: #5fd6ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.project-feature-subtitle a:hover {
  color: #9ee7ff;
}
.project-feature-lead {
  font-size: 1.1875rem;
  line-height: 1.36;
  color: rgba(255,255,255,0.95);
  margin: 0;
}
.project-feature-metrics {
  margin-top: 1.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(140, 179, 224, 0.32);
  border-bottom: 1px solid rgba(140, 179, 224, 0.32);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.project-feature-metric-value {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.project-feature-metric-label {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #8bd8ff;
}
.project-feature-details {
  margin-top: 1.625rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(140, 179, 224, 0.32);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}
.project-feature-details p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.58;
  color: rgba(255,255,255,0.94);
}
.project-feature-details p + p {
  margin-top: 1.25rem;
}
.project-feature-details strong {
  color: var(--white);
}
.project-feature-details a {
  color: #5fd6ff;
}
.project-feature-sources {
  margin: 1.375rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #8bd8ff;
}
.project-feature-sources strong {
  color: var(--white);
}
.project-feature-sources a {
  color: #5fd6ff;
  font-size: 0.875rem;
}
.project-feature-sources a:hover,
.project-feature-details a:hover {
  color: #9ee7ff;
}

/* --- Commitment section (Section 5) ----------------------- */
.commitment-section {
  background: #0d2240;
  color: var(--white);
  padding: 4.5rem 0;
}
.commitment-body {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 2rem;
}
.commitment-intro {
  max-width: 900px;
  margin-bottom: 1.5rem;
}
.commitment-blockquote {
  font-size: 2.375rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--white);
}
.commitment-attribution {
  font-size: 1.0625rem;
  color: #93c5e8;
  margin: 0 0 2.5rem;
}
.commitment-lead {
  font-size: 1.1875rem;
  line-height: 1.62;
  color: rgba(255,255,255,0.92);
  max-width: 85ch;
  margin-bottom: 0.75rem;
}
.commitment-intro-bold {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
}
.commitment-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.commitment-card {
  background: rgba(255,255,255,0.07);
  border-left: 4px solid #5ba3d6;
  border-radius: 10px;
  padding: 1.5rem 1.625rem;
}
.commitment-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.625rem;
}
.commitment-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

/* --- Family stats (Section 6) ----------------------------- */
.family-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.mini-stat {
  background: #eaf6fe;
  border-radius: 10px;
  padding: 1.375rem 1.5rem;
}
.mini-stat-num {
  font-size: 1.875rem !important;
  font-weight: 800;
  color: #002c4e !important;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mini-stat p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* --- Answer cards (Section 7) ----------------------------- */
.answers-section {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
}
.answer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.answer-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-bright);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 1.625rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
}
.answer-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.answer-card-icon {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
  color: var(--navy);
}
.answer-card h3 {
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}
.answer-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.answer-link {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue-link);
  margin-top: auto;
  text-decoration: none;
}
.answer-link:hover { text-decoration: underline; }

.cta-card-link-meta {
  display: block;
  font-size: 0.9375rem;
  color: var(--blue-link);
  margin-top: 0.25rem;
  text-decoration: none;
}

.cta-card-link:hover .cta-card-link-meta,
.cta-card-link:focus-visible .cta-card-link-meta {
  color: var(--blue-accent);
  text-decoration: underline;
}

/* --- Nearby CTA ------------------------------------------- */
.nearby-section {
  background: var(--white);
  padding: 4rem 0 4.5rem;
}
.nearby-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
  max-width: 880px;
}
.nearby-card h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.015em;
}
.nearby-card p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0;
  max-width: 85ch;
}
.nearby-text { flex: none; }
.btn-lg { padding: 0.9375rem 2rem; font-size: 1.0625rem; }

/* --- Home page footer ------------------------------------- */
.home-footer {
  background: #091929;
  color: rgba(255,255,255,0.72);
  padding-block: 3.25rem 0;
  font-size: 0.9375rem;
}
.home-footer-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding: 0 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}
.footer-brand-col { max-width: 360px; }
.footer-brand-col .ab-wordmark-text { color: var(--white); }
.footer-brand-col .ab-trademark { color: var(--white); }
.footer-brand-desc {
  font-size: 0.875rem;
  color: #ffffff;
  margin: 1.125rem 0 0;
  max-width: 44ch;
  line-height: 1.6;
}
.footer-brand-desc a { color: #6cb4f5; }
.footer-brand-desc a:hover { color: var(--white); }
.footer-nav-cols {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
.footer-nav-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5e8;
  margin: 0 0 0.875rem;
}
.footer-nav-col a {
  display: block;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
  transition: color 0.15s;
}
.footer-nav-col a:hover { color: var(--white); }
.home-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
}
.home-footer-bottom-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
}

/* ================================================================
   HOME PAGE RESPONSIVE
   ================================================================ */

@media (max-width: 1200px) {
  .sections-with-sidebar {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }
  .sidebar-toc {
    position: static;
    order: -1;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
  .sections-main .section-white:first-child .section-content { padding-top: 1rem; }
  .section-content { padding: 2rem 0; }
  .pipeline-cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .project-feature-row { padding: 1.5rem 1.5rem; }
  .project-feature-card { padding: 2rem; }
  .project-feature-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-feature-details { grid-template-columns: 1fr; }
  .answer-cards { grid-template-columns: repeat(2, 1fr); }
  .family-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-nav-cols { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; padding: 2rem 1rem; gap: 1.5rem; }
  .section-body { padding: 2rem 1rem; }
  .sections-with-sidebar { padding: 0 1rem; }
  .sections-main .section-white:first-child .section-content { padding-top: 0.75rem; }
  .section-content { padding: 1.75rem 0; }
  main div[style*="display:grid"][style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  main div[style*="display:grid"][style*="grid-template-columns"] > * {
    width: 100% !important;
    min-width: 0;
  }
  .pipeline-cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .project-feature-row { padding: 1rem; }
  .project-feature-card { padding: 1.5rem 1.25rem; }
  .project-feature-metrics { grid-template-columns: 1fr; gap: 1rem; }
  .commitment-blockquote { font-size: 1.625rem; }
  .commitment-cards { grid-template-columns: 1fr; }
  .family-stats { grid-template-columns: 1fr; }
  .answer-cards { grid-template-columns: 1fr; }
  .stats-grid > *,
  .pipeline-cards > *,
  .why-grid > *,
  .project-feature-metrics > *,
  .commitment-cards > *,
  .family-stats > *,
  .answer-cards > * { width: 100%; }
  .nearby-card { padding: 1.75rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .nearby-card .btn { width: 100%; text-align: center; justify-content: center; }
  .home-footer-inner { flex-direction: column; gap: 2rem; padding: 0 1rem 2rem; }
  .footer-nav-cols { gap: 2rem; }
  .home-footer-bottom-inner { flex-direction: column; text-align: center; }
  .section-h2 { font-size: 1.75rem; }
  .commitment-section { padding: 3rem 0; }
  .commitment-body { padding-inline: 1rem; }
}

/* --- Focus styles ------------------------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- GoA feedback widget ------------------------------------
   Markup is injected by chrome.js and driven by js/feedback.js,
   which only toggles the .active class. The show/hide rules below
   are what make the question/form states work.
   ------------------------------------------------------------ */
.goa-feedback-wrapper {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
}
.goa-feedback-wrapper .goa-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
}
.goa-feedback {
  max-width: 880px;
}

/* Question step */
.goa-feedback-question { display: none; }
.goa-feedback-question.active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.goa-feedback-question p {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.goa-feedback-question-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Form step */
.goa-feedback-form { display: none; }
.goa-feedback-form.active { display: block; }
.goa-feedback-form .goa-form { max-width: 640px; }
.goa-feedback-heading {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1rem;
  padding-right: 2.5rem;
}
.step-feedback {
  position: relative;
}
.step-feedback .form-legend--feedback {
  background: var(--surface-wash);
  border-left: 4px solid var(--blue-accent);
  border-radius: var(--radius);
  padding: 0.875rem 1.125rem;
  margin-bottom: 1.5rem;
}
.step-feedback .form-legend--feedback p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-muted);
}

/* Fields */
.goa-field {
  margin-bottom: 1.25rem;
}
.goa-field label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.goa-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  border: 1px solid #9aa2ad;
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  resize: vertical;
}
.goa-field textarea:hover { border-color: var(--navy); }

/* Buttons */
.goa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--blue-cta);
  background: var(--blue-cta);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.goa-button:hover:not(:disabled) {
  background: #0a4f9e;
  border-color: #0a4f9e;
}
.goa-button:disabled {
  background: #c3c8cf;
  border-color: #c3c8cf;
  cursor: not-allowed;
}
.goa-button--yes,
.goa-button--no,
.goa-button.goa--secondary {
  background: transparent;
  color: var(--blue-cta);
}
.goa-button--yes:hover,
.goa-button--no:hover,
.goa-button.goa--secondary:hover {
  background: var(--blue-cta);
  color: var(--white);
}
.goa-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Close (x) button */
#goa-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
#goa-close::before {
  content: "\00d7";
  font-size: 1.75rem;
  line-height: 1;
}
#goa-close:hover {
  background: var(--surface-wash);
  color: var(--navy);
}

/* Disclaimer + response messages */
.goa-disclaimer {
  margin-top: 1.25rem;
}
.goa-disclaimer p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.goa-feedback-success,
.goa-feedback-error {
  display: none;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.goa-feedback-success.active,
.goa-feedback-error.active { display: block; }
.goa-feedback-success {
  background: #e6f4ea;
  border-left: 4px solid #137333;
}
.goa-feedback-error {
  background: var(--draft-bg);
  border-left: 4px solid #b3261e;
}
.goa-feedback-success p,
.goa-feedback-error p {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

@media (max-width: 720px) {
  .goa-feedback-wrapper .goa-container { padding-inline: 1rem; }
  .goa-feedback-question.active { align-items: flex-start; flex-direction: column; }
  .goa-buttons { flex-direction: column; align-items: stretch; }
  .goa-buttons .goa-button { width: 100%; }
}
