/* ==========================================================================
   KEM Marketing — Global Stylesheet
   Navy / Sand / Coral premium, modern, trustworthy
   ========================================================================== */

:root {
  /* Brand colors */
  --navy: #0E1A2B;
  --navy-light: #16263d;
  --coral: #FF5A36;
  --coral-dark: #e0431f;
  --teal: #0FB5A6;
  --teal-dark: #0c9387;
  --sand: #F7F3EC;
  --sand-dark: #ece4d4;
  --slate: #475569;
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--sand);
  --bg-dark: var(--navy);
  --text: var(--navy);
  --text-muted: var(--slate);
  --text-on-dark: #E8ECF1;
  --text-on-dark-muted: #AEB9C8;
  --border: #E3DECF;
  --border-dark: #27384f;
  --focus-ring: #0FB5A6;

  /* Status */
  --red: #D14343;
  --amber: #C98A1B;
  --green: #1C9A6C;

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.06), 0 1px 1px rgba(14, 26, 43, 0.04);
  --shadow-md: 0 8px 24px rgba(14, 26, 43, 0.10);
  --shadow-lg: 0 20px 48px rgba(14, 26, 43, 0.16);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; width: 100%; }

/* The [hidden] attribute must always win, even over classes like .btn or
   .header-phone that set their own `display`. Without !important here,
   an author rule such as `.btn { display: inline-flex }` beats the
   user-agent's `[hidden] { display: none }` (same specificity, author
   origin wins), so a hidden button/link would still render. */
[hidden] { display: none !important; }

@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;
    scroll-behavior: auto !important;
  }
}

html, body { background: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 1.4rem + 1.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { color: var(--text-muted); }
.lede { font-size: 1.15rem; color: var(--text-muted); }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: #FF8A6B; }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(255, 90, 54, 0.32);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,90,54,0.38); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.section-dark .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.5); }
.section-dark .btn-secondary:hover { background: var(--white); color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding-inline: 10px;
}
.btn-ghost:hover { color: var(--coral); }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-desktop a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] { color: var(--coral); border-color: var(--coral); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--navy);
  border-radius: 10px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 490;
  overflow-y: auto;
  padding: 24px 20px 40px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}
.mobile-menu .btn { margin-top: 20px; }
.mobile-menu .header-phone { margin-top: 18px; font-size: 1.05rem; }

@media (max-width: 920px) {
  .nav-desktop, .header-cta .btn, .header-cta .header-phone { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14,26,43,0.94) 0%, rgba(14,26,43,0.84) 42%, rgba(14,26,43,0.55) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(70px, 12vw, 128px);
  max-width: 680px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: var(--text-on-dark); margin-top: 18px; font-size: 1.2rem; max-width: 560px; }
.hero .btn-group { margin-top: 32px; }
/* .hero sits on a dark photo background but isn't a .section-dark block,
   so btn-secondary needs its own light-on-dark treatment here too —
   otherwise its default navy text/border is unreadable against the photo. */
.hero .btn-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.hero .btn-secondary:hover { background: var(--white); color: var(--navy); }
.hero-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(56px, 8vw, 88px);
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--text-on-dark); max-width: 680px; margin-top: 14px; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-on-dark-muted); border-bottom: 1px solid rgba(255,255,255,0.25); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.icon-chip {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(15, 181, 166, 0.12);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.icon-chip svg { width: 24px; height: 24px; }

/* Problem/solution */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list .mark {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.check-list.bad .mark { background: rgba(209,67,67,0.12); color: var(--red); }
.check-list.good .mark { background: rgba(15,181,166,0.14); color: var(--teal-dark); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card.featured {
  border-color: var(--coral);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
@media (max-width: 980px) { .price-card.featured { transform: none; } }
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .plan-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.price-card .plan-tag { color: var(--coral); font-weight: 700; font-size: 0.9rem; margin-top: 2px; }
.price-card .plan-price {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--navy);
}
.price-card .plan-price span { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.price-card .plan-setup { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.price-card ul { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.price-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--teal-dark); }
.price-card .btn { margin-top: 26px; }
.price-card .includes-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }

.onetime-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 16px; }
@media (max-width: 700px) { .onetime-grid { grid-template-columns: 1fr; } }

.compare-table-wrap { overflow-x: auto; margin-top: 16px; }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.compare-table th { font-family: var(--font-head); color: var(--navy); }
.compare-table td.yes { color: var(--teal-dark); font-weight: 700; }
.compare-table td.no { color: var(--text-muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--coral);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Founding client ---------- */
.founding-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 820px) { .founding-box { grid-template-columns: 1fr; } }
.founding-box h2 { color: var(--white); }
.spots-track { display: flex; gap: 10px; margin-top: 18px; }
.spot {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.spot.open { background: var(--coral); }
.founding-box .spots-label { margin-top: 10px; font-size: 0.88rem; color: var(--text-on-dark-muted); }
.founding-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 24px;
}
.founding-panel ul { display: flex; flex-direction: column; gap: 12px; }
.founding-panel li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--text-on-dark); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  color: var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
#testimonials.is-empty { display: none; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { display: flex; flex-direction: column; gap: 14px; }
.testimonial-stars { color: var(--coral); letter-spacing: 2px; }
.testimonial-quote { color: var(--text); font-size: 1.02rem; }
.testimonial-meta { font-size: 0.86rem; color: var(--text-muted); }
.testimonial-disclosure { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }

.placeholder-box {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-alt);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--text-on-dark); max-width: 560px; margin: 14px auto 0; }
.final-cta .btn-group { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-on-dark-muted); padding-block: 56px 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: var(--text-on-dark-muted); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.field .hint { font-size: 0.82rem; color: var(--text-muted); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-field input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.checkbox-field label { font-weight: 500; font-size: 0.88rem; color: var(--text-muted); font-family: var(--font-body); }
.form-status { font-size: 0.9rem; margin-top: 10px; }
.form-status.error { color: var(--red); }
.form-status.success { color: var(--teal-dark); }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Quiz ---------- */
.quiz-wrap {
  max-width: 680px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 5vw, 44px);
}
.quiz-progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.quiz-progress-bar { height: 100%; background: var(--coral); border-radius: 999px; transition: width 0.3s ease; width: 4%; }
.quiz-progress-label { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 26px; }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.quiz-step h2 { font-size: 1.4rem; margin-bottom: 8px; }
.quiz-step .quiz-sub { color: var(--text-muted); margin-bottom: 24px; }

.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.option-card:hover { border-color: var(--teal); }
.option-card input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--coral); }
.option-card.is-checked { border-color: var(--coral); background: rgba(255,90,54,0.05); }
.option-card span { font-weight: 600; color: var(--navy); font-size: 0.97rem; }

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 12px;
}
.quiz-error {
  color: var(--red);
  font-size: 0.86rem;
  margin-top: 12px;
  display: none;
}
.quiz-error.is-visible { display: block; }

.quiz-result-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .post-cat { color: var(--coral); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-card p { font-size: 0.95rem; }
.post-card .read-more { margin-top: 16px; font-family: var(--font-head); font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.post-card .read-more:hover { color: var(--coral); }

.article { max-width: 760px; margin-inline: auto; }
.article h2 { margin-top: 2.2em; margin-bottom: 0.6em; }
.article h3 { margin-top: 1.8em; margin-bottom: 0.5em; }
.article p { margin-bottom: 1.2em; font-size: 1.05rem; color: var(--text); }
.article ul, .article ol { margin: 0 0 1.2em 1.4em; color: var(--text); }
.article li { margin-bottom: 0.5em; }
.article li::marker { color: var(--coral); }
.article blockquote {
  border-left: 4px solid var(--coral);
  padding: 4px 0 4px 20px;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2em 0;
}
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.article-cta {
  margin-top: 3em;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

/* ---------- Misc content pages ---------- */
.legal h2 { margin-top: 2em; margin-bottom: 0.5em; }
.legal p, .legal li { color: var(--text); }
.legal ul { margin: 0 0 1em 1.3em; }
.legal { max-width: 800px; }

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 80px;
}
.error-page .code { font-family: var(--font-head); font-weight: 800; font-size: 5rem; color: var(--coral); line-height: 1; }

.team-photo-box {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
  flex-shrink: 0;
}

.edit-flag {
  display: inline-block;
  background: rgba(255, 90, 54, 0.12);
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.center-text { text-align: center; }
.mt-0 { margin-top: 0; }
.muted-link { color: var(--text-muted); font-size: 0.88rem; }
