/* ==========================================================================
   Smile So Big Dental — Design System
   Brand palette confirmed by client:
     Blue #0cc0df · Orange #ffc100 · Gray #565656 · Cream #fffdf4
   ========================================================================== */

:root {
  /* Brand */
  --ssb-blue: #0cc0df;
  --ssb-orange: #ffc100;
  --ssb-gray: #565656;
  --ssb-cream: #fffdf4;

  /* Derived tints & shades (for hovers, borders, washes) */
  --blue-dark: #0a9db7;
  --blue-deep: #08788b;
  --blue-wash: #e7f9fc;
  --orange-dark: #e0a900;
  --orange-wash: #fff6dc;
  --gray-900: #2f2f2f;
  --gray-700: #565656;
  --gray-500: #7e7e7e;
  --gray-300: #b8b8b8;
  --gray-150: #e4e2da;
  --cream-deep: #f7f3e6;
  --white: #ffffff;

  /* Type */
  --font-sans: "Poppins", "Avenir Next", "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Shape */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(47, 47, 47, 0.06);
  --shadow: 0 8px 28px rgba(47, 47, 47, 0.08);
  --shadow-lg: 0 20px 50px rgba(47, 47, 47, 0.11);

  --maxw: 1180px;
  --maxw-narrow: 760px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--ssb-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  color: var(--gray-900);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}
h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--sp-4);
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--gray-700);
}

/* Utility: content that still needs real information from the client.
   Renders with a soft dotted underline so it's obvious on the page. */
.tbd {
  border-bottom: 2px dotted var(--ssb-orange);
  background: var(--orange-wash);
  padding: 0 3px;
  border-radius: 3px;
  cursor: help;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ssb-blue);
  color: var(--white);
  padding: var(--sp-3) var(--sp-4);
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.section {
  padding-block: clamp(var(--sp-16), 9vw, var(--sp-32));
}

.section--tight {
  padding-block: clamp(var(--sp-12), 6vw, var(--sp-24));
}

.section--cream-deep {
  background: var(--cream-deep);
}

.section--white {
  background: var(--white);
}

.section--blue {
  background: var(--ssb-blue);
  color: var(--white);
}
.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section-head {
  max-width: var(--maxw-narrow);
  margin-bottom: var(--sp-12);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: var(--sp-3);
}

.section--blue .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--ssb-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: var(--shadow);
}

.btn--accent {
  background: var(--ssb-orange);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover {
  background: var(--orange-dark);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--gray-900);
}
.btn--outline:hover {
  border-color: var(--ssb-blue);
  color: var(--blue-deep);
}

.btn--on-blue {
  background: var(--white);
  color: var(--blue-deep);
}
.btn--on-blue:hover {
  background: var(--ssb-cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-150);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  min-height: 82px;
  padding-block: var(--sp-3);
}

.logo {
  flex-shrink: 0;
  line-height: 0;
}

/* Brand rule: full lockup never below 120px wide on screen.
   At 52px tall the horizontal lockup renders ~150px wide. */
.logo img {
  height: 52px;
  width: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding-block: var(--sp-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gray-900);
  border-bottom-color: var(--ssb-blue);
}

.nav .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  border-bottom: none;
}
.nav .btn:hover {
  border-bottom: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--gray-150);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ssb-cream);
    border-bottom: 1px solid var(--gray-150);
    padding: var(--sp-4) var(--sp-6) var(--sp-8);
    box-shadow: var(--shadow);
  }
  .nav[data-open="true"] {
    display: flex;
  }
  .nav a {
    padding-block: var(--sp-4);
    border-bottom: 1px solid var(--gray-150);
    font-size: 1.05rem;
  }
  .nav .btn {
    margin-top: var(--sp-4);
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-32));
  background: linear-gradient(170deg, var(--blue-wash) 0%, var(--ssb-cream) 62%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: var(--ssb-orange);
  opacity: 0.13;
  top: -90px;
  right: -60px;
}

.hero::after {
  width: 240px;
  height: 240px;
  background: var(--ssb-blue);
  opacity: 0.12;
  bottom: -110px;
  left: -70px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero h1 {
  margin-bottom: var(--sp-6);
}

.hero h1 .accent {
  color: var(--blue-deep);
}

.hero .lead {
  max-width: 640px;
  margin-bottom: var(--sp-8);
}

/* --------------------------------------------------------------------------
   Page hero (subpages — shorter than the homepage hero)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--sp-12), 7vw, var(--sp-24));
  background: linear-gradient(170deg, var(--blue-wash) 0%, var(--ssb-cream) 70%);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--ssb-orange);
  opacity: 0.12;
  top: -80px;
  right: -50px;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  margin-bottom: var(--sp-5, 1.25rem);
}

.page-hero .lead {
  margin-bottom: var(--sp-8);
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: var(--sp-6);
}

.step {
  counter-increment: step;
  display: flex;
  gap: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius);
  padding: var(--sp-8);
}

.step::before {
  content: counter(step);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ssb-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.step h3 {
  margin-bottom: var(--sp-2);
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   Perks / benefits grid
   -------------------------------------------------------------------------- */

.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.perk {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-top: 4px solid var(--ssb-blue);
  border-radius: var(--radius);
  padding: var(--sp-8);
}

.perk:nth-child(even) {
  border-top-color: var(--ssb-orange);
}

.perk h3 {
  font-size: 1.15rem;
  margin-bottom: var(--sp-3);
}

.perk p {
  margin: 0;
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   Split comparison (what we handle / what you handle)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-8);
}

.split__col {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-6), 3vw, var(--sp-10, 2.5rem));
}

.split__col h3 {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 3px solid var(--ssb-blue);
}

.split__col:last-child h3 {
  border-bottom-color: var(--ssb-orange);
}

.split__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.split__col li {
  position: relative;
  padding-left: var(--sp-8);
  margin-bottom: var(--sp-3);
  font-size: 0.98rem;
}

.split__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ssb-blue);
}

.split__col:last-child li::before {
  background: var(--ssb-orange);
}

/* --------------------------------------------------------------------------
   Full fundamentals list
   -------------------------------------------------------------------------- */

.fundamental-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: var(--sp-6);
}

.fundamental-item {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-left: 4px solid var(--ssb-blue);
  border-radius: var(--radius-sm);
  padding: var(--sp-6);
}

.fundamental-item:nth-child(even) {
  border-left-color: var(--ssb-orange);
}

.fundamental-item h3 {
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-2);
}

.fundamental-item h3 span {
  color: var(--gray-300);
  margin-right: var(--sp-2);
}

.fundamental-item p {
  margin: 0;
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--gray-150);
}

.faq details {
  border-bottom: 1px solid var(--gray-150);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-6) var(--sp-8) var(--sp-6) 0;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 1.05rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ssb-blue);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 var(--sp-6);
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   Mission band
   -------------------------------------------------------------------------- */

.mission {
  text-align: center;
}

.mission blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.015em;
}

.mission cite {
  display: block;
  margin-top: var(--sp-6);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   Two-path split
   -------------------------------------------------------------------------- */

.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-8);
}

.path-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.path-card__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-6);
}

.path-card--associates .path-card__tag {
  background: var(--blue-wash);
  color: var(--blue-deep);
}

.path-card--sellers .path-card__tag {
  background: var(--orange-wash);
  color: #8a6a00;
}

.path-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-8);
}

.path-card li {
  position: relative;
  padding-left: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.path-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.path-card--associates li::before {
  background: var(--ssb-blue);
}
.path-card--sellers li::before {
  background: var(--ssb-orange);
}

.path-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Core values
   -------------------------------------------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.value {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-8);
  border: 1px solid var(--gray-150);
  border-top: 4px solid var(--ssb-blue);
}

.value:nth-child(even) {
  border-top-color: var(--ssb-orange);
}

.value__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-wash);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--sp-4);
}

.value:nth-child(even) .value__num {
  background: var(--orange-wash);
  color: #8a6a00;
}

.value h3 {
  margin-bottom: var(--sp-3);
  font-size: 1.22rem;
}

.value p {
  margin: 0;
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   The 30 Fundamentals — title cloud
   -------------------------------------------------------------------------- */

.fundamentals-band {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  box-shadow: var(--shadow-sm);
}

.fundamentals-band .section-head {
  margin-bottom: var(--sp-8);
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-8);
  list-style: none;
  padding: 0;
}

.pill {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-2);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--cream-deep);
  border: 1px solid var(--gray-150);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

.pill span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
}

.pill--highlight {
  background: var(--blue-wash);
  border-color: rgba(12, 192, 223, 0.35);
  color: var(--gray-900);
}
.pill--highlight span {
  color: var(--blue-deep);
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--sp-8);
  text-align: center;
}

.stat__num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-3);
}

.stat__label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.section--blue .tbd {
  background: rgba(255, 255, 255, 0.18);
  border-bottom-color: var(--white);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Compensation scale
   -------------------------------------------------------------------------- */

.comp {
  background: var(--blue-wash);
  border-radius: var(--radius);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.comp__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: var(--sp-4);
}

.comp__scale {
  display: flex;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-3);
}

.comp__scale li {
  flex: 1;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-2);
}

.comp__pct {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.comp__yr {
  display: block;
  margin-top: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
}

.comp__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-700);
  text-align: center;
}

/* Spam honeypot — hidden from people, visible to bots that fill everything in.
   Kept out of the tab order and off the accessibility tree. */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Buttons that need to read as links (cookie settings triggers) */
.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover {
  color: var(--gray-900);
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: color var(--t);
}

.footer-link:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Cookie consent banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 3px solid var(--ssb-blue);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.cookie-banner[data-visible="true"] {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(var(--sp-4), 3vw, var(--sp-8)) var(--sp-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(var(--sp-6), 5vw, var(--sp-12));
  align-items: center;
}

.cookie-banner h2 {
  font-size: 1.02rem;
  margin-bottom: var(--sp-2);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 64ch;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-3);
}

/* Compact banner buttons. Reject stays exactly as prominent as Accept. */
.cookie-banner__actions .btn {
  padding: 0.5rem 1.3rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Customize drops to its own line, quieter than the two primary choices. */
.cookie-banner__link {
  flex-basis: 100%;
  text-align: right;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-deep);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  margin-top: var(--sp-1);
}

.cookie-banner__link:hover {
  color: var(--gray-900);
}

.cookie-prefs {
  margin-top: var(--sp-6);
  display: grid;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--gray-150);
}

/* `display` beats the hidden attribute, so restate it */
.cookie-prefs[hidden] {
  display: none;
}

.cookie-pref {
  display: flex;
  gap: var(--sp-4);
  align-items: start;
  cursor: pointer;
  font-size: 0.92rem;
}

.cookie-pref input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ssb-blue);
  cursor: pointer;
}

.cookie-pref input:disabled {
  cursor: default;
  opacity: 0.55;
}

.cookie-pref strong {
  display: block;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.cookie-pref span {
  color: var(--gray-700);
}

@media (max-width: 780px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    max-height: 80vh;
    overflow-y: auto;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  /* Accept and Reject share the row evenly — easy to tap, equal weight. */
  .cookie-banner__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .cookie-banner__link {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Legal / long-form prose pages
   -------------------------------------------------------------------------- */

.legal {
  max-width: 780px;
}

.legal h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-top: var(--sp-12);
}

.legal h2:first-of-type {
  margin-top: var(--sp-8);
}

.legal h3 {
  margin-top: var(--sp-8);
  font-size: 1.1rem;
}

.legal ul {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.legal li {
  margin-bottom: var(--sp-2);
}

.legal__meta {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: var(--sp-8);
}

.callout {
  background: var(--orange-wash);
  border-left: 5px solid var(--ssb-orange);
  border-radius: var(--radius-sm);
  padding: var(--sp-6);
  margin-block: var(--sp-8);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout strong {
  color: var(--gray-900);
}

/* --------------------------------------------------------------------------
   Leadership
   -------------------------------------------------------------------------- */

.leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-8);
}

.leader {
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

.leader__avatar {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  background: var(--ssb-blue);
  color: var(--white);
}

.leader:nth-child(even) .leader__avatar {
  background: var(--ssb-orange);
  color: var(--gray-900);
}

.leader h3 {
  margin-bottom: var(--sp-1);
  font-size: 1.15rem;
}

.leader__role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: var(--sp-3);
}

.leader:nth-child(even) .leader__role {
  color: #8a6a00;
}

.leader p {
  margin: 0;
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: var(--sp-6);
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--gray-700);
  background: var(--ssb-cream);
  border: 2px solid var(--gray-150);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ssb-blue);
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field__hint {
  display: block;
  margin-top: var(--sp-2);
  font-size: 0.85rem;
  color: var(--gray-500);
}

.form-card .btn {
  width: 100%;
}

.form-note {
  margin-top: var(--sp-4);
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: var(--sp-8) 0 0;
}

.contact-points li {
  position: relative;
  padding-left: var(--sp-8);
  margin-bottom: var(--sp-4);
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ssb-blue);
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */

.cta-panel {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-8), 5vw, var(--sp-16));
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-panel .btn-row {
  justify-content: center;
}

.cta-panel img {
  width: 76px;
  margin: 0 auto var(--sp-6);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--sp-16) var(--sp-8);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: var(--sp-3);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-mark {
  width: 58px;
  margin-bottom: var(--sp-4);
  background: var(--ssb-cream);
  border-radius: var(--radius-sm);
  padding: var(--sp-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer .tbd {
  background: rgba(255, 193, 0, 0.22);
  color: var(--white);
}

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