/* ==========================================================================
   Sensable — shared stylesheet
   ========================================================================== */

:root {
  --navy: #0a1f3d;
  --navy-2: #0f2a52;
  --navy-3: #14335f;
  --cyan: #00c2d1;
  --cyan-dark: #00a3b0;
  --teal-text: #006b73;      /* WCAG AA-safe text color: 5.8:1+ on white/light, replaces --cyan-dark for small/bold text */
  --brand-yellow: #ffc803;
  --brand-yellow-deep: #f2b900;
  --brand-navy: #102c55;
  --light: #f5f7fa;
  --light-2: #eef1f6;
  --gray: #57616d;           /* darkened from #6b7785 — old value was 4.25:1 on --light, below the 4.5:1 AA minimum */
  --gray-dark: #3a4351;
  --white: #ffffff;
  --border: #e2e6ed;
  --input-border: #7c8797;   /* stronger border for form fields — needs 3:1 as a UI component boundary */
  --shadow: 0 10px 30px rgba(10, 31, 61, 0.08);
  --radius: 10px;
  --max-width: 1180px;
  --space-scale: 1;
}

/* Page-level vertical rhythm: dial section/hero/footer spacing up or down per page */
body.page-home { --space-scale: 0.4; }        /* 60% less top/bottom spacing */
body.page-how-it-works,
body.page-product,
body.page-legal { --space-scale: 0.5; }       /* 50% less top/bottom spacing */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; color: var(--gray); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-text);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--cyan-dark);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 194, 209, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-dark-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-dark-outline:hover {
  background: var(--navy);
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--navy-2);
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal-text);
  background: var(--light-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}

.social-icons a:hover {
  background: var(--navy);
  color: var(--white);
}

.social-icons svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

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

.hero {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-deep) 100%);
  color: var(--brand-navy);
  position: relative;
  overflow: hidden;
}

.hero .container {
  padding-top: calc(90px * var(--space-scale));
  padding-bottom: calc(90px * var(--space-scale));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero .eyebrow { color: var(--brand-navy); }

.hero h1 { color: var(--brand-navy); }

.hero p.lead {
  color: rgba(16, 44, 85, 0.78);
  font-size: 1.1rem;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-cta .btn-outline {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}
.hero-cta .btn-outline:hover {
  background: var(--brand-navy);
  color: var(--white);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(0, 194, 209, 0.35), transparent 60%),
              linear-gradient(160deg, #123a63, #0a1f3d 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 44, 85, 0.25) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.page-hero {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-deep) 100%);
  color: var(--brand-navy);
  padding: calc(70px * var(--space-scale)) 0 calc(56px * var(--space-scale));
  text-align: center;
}
.page-hero .eyebrow { color: var(--brand-navy); }
.page-hero h1 { color: var(--brand-navy); margin-bottom: 12px; }
.page-hero p { color: rgba(16, 44, 85, 0.78); max-width: 700px; margin: 0 auto; }

/* ---------------- Sections ---------------- */

section { padding: calc(76px * var(--space-scale)) 0; }

.section-alt { background: var(--light); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto calc(48px * var(--space-scale));
}

.section-head p { margin: 0 auto; }

/* Capability grid */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); }

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(0, 194, 209, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--cyan-dark);
  overflow: hidden;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon img { width: 36px; height: 36px; object-fit: contain; }

/* "Sensable Enables" cards get a larger icon within the same-size panel */
.grid-3 .card-icon { width: 84px; height: 84px; }
.grid-3 .card-icon svg { width: 42px; height: 42px; }
.grid-3 .card-icon img { width: 66px; height: 66px; }

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* Problem section */

.problem-section { background: var(--navy); color: var(--white); }
.problem-section h2 { color: var(--white); }
.problem-section .section-head p { color: rgba(255,255,255,0.75); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
}
.problem-card h3 { color: var(--cyan); font-size: 1.1rem; }
.problem-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin-bottom: 0; }

/* Offerings list */

.offering-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.offering {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  background: var(--white);
}
.offering .card-icon { margin: 0 auto 14px; }
.offering h3 { font-size: 0.98rem; margin-bottom: 10px; }
.offering a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-text);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Use case rows (product & solutions page) */

.use-case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: calc(56px * var(--space-scale)) 0;
  border-bottom: 1px solid var(--border);
}
.use-case:last-child { border-bottom: none; }
.use-case.reverse { grid-template-columns: 1.1fr 0.9fr; }
.use-case.reverse .use-case-media { order: 2; }

.use-case-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--light-2), #dbe6f0);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-dark);
}
.use-case-media svg { width: 72px; height: 72px; }
.use-case-media img { max-width: 58%; max-height: 58%; object-fit: contain; }
.use-case-media.photo { overflow: hidden; background: var(--light-2); }
.use-case-media.photo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use-case ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.use-case li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 0.96rem;
}
.use-case li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Pricing tiers */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 16px 34px rgba(0, 194, 209, 0.18);
  transform: scale(1.02);
}
.pricing-card h3 { margin-bottom: 6px; }
.pricing-card .tagline { font-size: 0.9rem; margin-bottom: 20px; }
.pricing-card .btn { margin: 18px 0 22px; text-align: center; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 0; }
.spec-table tr { border-top: 1px solid var(--border); }
.spec-table td { padding: 10px 0; font-size: 0.85rem; vertical-align: top; }
.spec-table td:first-child {
  color: var(--navy-2);
  font-weight: 700;
  width: 42%;
  padding-right: 10px;
}
.spec-table td:last-child { color: var(--gray); }

/* Deployment / highlights (how it works page) */

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

/* Feature cards: image-top card used for deployment / highlights / capabilities */

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); }

.feature-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--light-2), #dbe6f0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-media img { display: block; }
.feature-media img.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-media img.icon {
  max-width: 42%;
  max-height: 42%;
  object-fit: contain;
}

.feature-body { padding: 22px 24px 26px; }
.feature-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-body p { font-size: 0.92rem; margin-bottom: 0; }

/* Banner row: image + supporting text (used for the "no-code technology" intro) */

.banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.banner-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.banner-media img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  text-align: center;
  padding: calc(64px * var(--space-scale)) 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 28px; }

/* Contact form */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-dark);
  background: var(--light);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--teal-text);
  outline-offset: 1px;
  border-color: var(--cyan);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
}

.form-success {
  display: none;
  background: rgba(0, 194, 209, 0.12);
  border: 1px solid var(--cyan);
  color: var(--navy);
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-success.visible { display: block; }

.form-error {
  display: none;
  background: #fdecea;
  border: 1px solid #b3261e;
  color: #7a1a14;               /* 9.2:1 on #fdecea */
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-error.visible { display: block; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;        /* 6.1:1 on --light, meets 3:1 for UI boundaries */
  border-width: 2px;
}

.contact-form button[disabled] { opacity: 0.7; cursor: progress; }

/* Honeypot spam trap: off-screen, hidden from assistive tech, skipped by Tab */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: calc(48px * var(--space-scale)) 0 calc(28px * var(--space-scale));
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
}
.footer-logo .logo-mark { width: 28px; height: 28px; }

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.82rem;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.footer-social a:hover { background: var(--cyan); color: var(--navy); }
.footer-social svg { width: 15px; height: 15px; }

.footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.legal-links a,
.legal-links .cookie-settings-trigger {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.legal-links a:hover,
.legal-links .cookie-settings-trigger:hover { color: var(--cyan); }

/* ---------------- Responsive ---------------- */

@media (max-width: 960px) {
  .hero .container,
  .contact-wrap,
  .banner-row,
  .use-case,
  .use-case.reverse { grid-template-columns: 1fr; }
  .use-case.reverse .use-case-media { order: 0; }
  .grid-3, .grid-2, .problem-grid, .deploy-grid, .capability-list { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .offering-row { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 720px) {
  .main-nav, .header-actions .social-icons { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 18px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .grid-3, .grid-2, .problem-grid, .deploy-grid, .capability-list, .highlight-grid, .offering-row, .form-row { grid-template-columns: 1fr; }
  section { padding: calc(52px * var(--space-scale)) 0; }
  .header-inner { padding: 14px 16px; }
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
}

@media (max-width: 480px) {
  .header-actions .btn { display: none; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.4rem; }
  .hero .container { padding-top: calc(56px * var(--space-scale)); padding-bottom: calc(56px * var(--space-scale)); }
  .hero-visual { aspect-ratio: 5 / 4; }
  .page-hero { padding: calc(48px * var(--space-scale)) 0 calc(40px * var(--space-scale)); }
  .card, .pricing-card, .contact-form { padding: 24px 18px; }
  .use-case { padding: calc(40px * var(--space-scale)) 0; }
  .form-row { gap: 0; }
  .spec-table td { font-size: 0.8rem; }
  .footer-inner, .footer-bottom, .footer-bottom-left { flex-direction: column; align-items: flex-start; }
}

/* ---------------- Accessibility: focus states & skip link ---------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 1000;
  background: var(--brand-navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

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

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--brand-navy);
  color: var(--white);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  padding: 20px 24px;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 0.88rem;
  max-width: 640px;
}
.cookie-banner a { color: var(--cyan); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.85rem; }
.cookie-banner .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.cookie-banner .btn-outline:hover { background: var(--white); color: var(--brand-navy); }

.cookie-settings-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.footer-links .cookie-settings-trigger {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.footer-links .cookie-settings-trigger:hover { color: var(--cyan); }

@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; text-align: center; }
}

/* ---------------- Legal page content ---------------- */

.legal-notice {
  background: #fff6e0;
  border: 1px solid var(--brand-yellow-deep);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 0.92rem;
  color: var(--gray-dark);
}
.legal-notice strong { color: var(--brand-navy); }

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--gray-dark); font-size: 0.98rem; }
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }

/* Inline text links: the global `a { color: inherit; text-decoration: none; }` reset would
   otherwise make them indistinguishable from body text (WCAG 1.4.1) */
.legal-content p a,
.legal-content li a,
.form-note a {
  color: var(--teal-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-updated { color: var(--gray); font-size: 0.88rem; margin-bottom: 40px; }
