/* MindfulAgent buy pages.
   Lato + zinc chrome with a soft teal wash, matching the app so buy -> app has no visual jump.
   Single pass: no override layers, no body-class variants. */

:root {
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --ink-muted: #71717a;
  --ink-faint: #a1a1aa;

  --page: #f9fafb;
  --surface: #ffffff;
  --surface-alt: #f4f4f5;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;

  --accent: #0d9488;
  --accent-strong: #0f766e;
  --accent-soft: #ccfbf1;
  --accent-wash: #f0fdfa;

  --primary: #18181b;
  --primary-hover: #27272a;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.05);
  --shadow-md: 0 1px 3px rgba(24, 24, 27, 0.06), 0 10px 30px -18px rgba(24, 24, 27, 0.25);
  --shadow-lg: 0 2px 6px rgba(24, 24, 27, 0.06), 0 24px 60px -28px rgba(13, 148, 136, 0.28);

  --container: 1120px;
  --font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.022em;
  line-height: 1.12;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- Eyebrows, section heads ---------- */

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 40px;
}

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

.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
}

.section-sub {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
  background: var(--surface);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header: two products only ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.wordmark-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex: none;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wordmark-text strong {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.wordmark-sub {
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

/* White pill alone is nearly invisible against the near-white header, so the active product also
   carries a teal underline. */
.site-nav a[aria-current="page"] {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent), var(--shadow-sm);
}

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

.header-login {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.header-login:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-nav {
    order: 3;
    width: 100%;
    margin-right: 0;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }
  .wordmark {
    margin-right: auto;
  }
  .wordmark-sub {
    display: none;
  }
  .header-login {
    display: none;
  }
}

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

.hero {
  position: relative;
  padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 60px);
  background: linear-gradient(170deg, var(--accent-wash) 0%, var(--page) 55%, var(--page) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  max-width: 17ch;
}

.hero-lede {
  margin-top: 18px;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.hero-note a {
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero-copy h1 {
    max-width: 20ch;
  }
}

/* ---------- Product screenshot frame ---------- */

.hero-shot {
  margin: 0;
}

.product-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.product-frame-lg {
  box-shadow: var(--shadow-lg);
}

.product-frame-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.product-frame-chrome .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.product-frame-chrome .dot:nth-child(1) {
  background: #f87171;
}
.product-frame-chrome .dot:nth-child(2) {
  background: #fbbf24;
}
.product-frame-chrome .dot:nth-child(3) {
  background: #34d399;
}

.product-frame-url {
  margin-left: 8px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--accent-wash);
}

/* Rendered only when a screenshot file fails to load. */
.product-frame.is-missing img {
  display: none;
}

.shot-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 24px;
  background: repeating-linear-gradient(
    135deg,
    var(--accent-wash),
    var(--accent-wash) 12px,
    #fff 12px,
    #fff 24px
  );
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.product-frame.is-missing .shot-placeholder {
  display: flex;
}

.shot-caption {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Pillars: the five-second payload ---------- */

.pillars {
  padding: clamp(40px, 5vw, 60px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

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

@media (max-width: 680px) {
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pillar {
  padding: 20px 18px;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pillar h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  font-weight: 900;
}

.pillar h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.pillar p {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.89rem;
  line-height: 1.5;
}

/* ---------- Connect strip: proof of "open" ---------- */

.connect {
  padding: clamp(36px, 4vw, 52px) 0;
  background: var(--page);
  border-bottom: 1px solid var(--border);
}

.connect-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}

.connect-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.connect-copy h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.connect-copy p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

.connect-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 380px;
}

.connect-list li {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.87rem;
  font-weight: 700;
}

/* ---------- Pricing ---------- */

.pricing {
  padding: clamp(56px, 7vw, 84px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.pricing-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.toggle-option {
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.89rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.toggle-option:hover {
  color: var(--ink);
}

.toggle-option.is-active {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.pricing-switch-note {
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-align: center;
}

.config-notice {
  margin: 0 auto 24px;
  max-width: 46rem;
  padding: 12px 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  color: #92400e;
  font-size: 0.88rem;
  text-align: center;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 820px;
  margin-inline: auto;
}

.plan-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

@media (max-width: 900px) {
  .plan-grid,
  .plan-grid-3 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.plan-featured {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.plan-flag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.15rem;
}

.plan-for {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
}

.plan-price .amount {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price .per {
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.plan-meta {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.plan-meta strong {
  color: var(--ink);
}

.plan-features {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.5;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plan .btn {
  margin-top: auto;
}

.plan-foot {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 0.8rem;
  text-align: center;
}

/* Featured (inverted) plan card */
.plan-featured .plan-name,
.plan-featured .plan-price .amount {
  color: #fff;
}

.plan-featured .plan-for,
.plan-featured .plan-price .per,
.plan-featured .plan-meta,
.plan-featured .plan-foot {
  color: #d4d4d8;
}

.plan-featured .plan-meta {
  border-top-color: #3f3f46;
}

.plan-featured .plan-meta strong {
  color: #fff;
}

.plan-featured .plan-features li {
  color: #e4e4e7;
}

.plan-featured .plan-features li::before {
  border-color: #5eead4;
}

.plan-featured .plan-flag {
  background: #134e4a;
  color: #99f6e4;
}

.plan-featured .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.plan-featured .btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--ink);
}

.checkout-status {
  margin-top: 20px;
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-align: center;
  min-height: 1.4em;
}

.aside-note {
  margin: 24px auto 0;
  max-width: 46rem;
  padding: 16px 18px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.aside-note strong {
  color: var(--ink);
}

/* ---------- BYOK callout ---------- */

.callout {
  max-width: 46rem;
  margin: 0 auto 32px;
  padding: 22px 24px;
  background: var(--page);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.callout h3 {
  font-size: 1.02rem;
}

.callout p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

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

/* ---------- Two paths ---------- */

.paths {
  padding: clamp(56px, 7vw, 80px) 0;
  background: var(--page);
  border-bottom: 1px solid var(--border);
}

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

@media (max-width: 800px) {
  .path-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.path-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.path-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.path-kicker {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.path-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

.path-lede {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.path-points {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
}

.path-points li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.path-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

.path-footnote {
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- Proof rows ---------- */

.proof {
  padding: clamp(56px, 7vw, 84px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.proof-rows {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
}

.proof-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.proof-row.reverse .proof-copy {
  order: 2;
}

.proof-row.reverse .proof-shot {
  order: 1;
}

@media (max-width: 860px) {
  .proof-row,
  .proof-row.reverse {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-row.reverse .proof-copy,
  .proof-row.reverse .proof-shot {
    order: initial;
  }
}

.proof-kicker {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-copy h3 {
  margin-top: 10px;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}

.proof-copy p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 0.97rem;
}

.proof-shot {
  margin: 0;
}

/* ---------- Team band ---------- */

.team {
  padding: clamp(56px, 7vw, 80px) 0;
  background: var(--page);
  border-bottom: 1px solid var(--border);
}

.team-band {
  padding: clamp(32px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.team-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 26ch;
}

.team-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 26px;
  max-width: 44rem;
}

.team-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.team-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Steps ---------- */

.steps-section {
  padding: clamp(56px, 7vw, 80px) 0;
  background: var(--page);
  border-bottom: 1px solid var(--border);
}

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

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.steps li {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 900;
}

.steps h3 {
  font-size: 1rem;
}

.steps p {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.89rem;
  line-height: 1.5;
}

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

.faq {
  padding: clamp(56px, 7vw, 80px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.faq-inner {
  max-width: 48rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  flex: none;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-body {
  padding: 0 18px 18px;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.faq-foot {
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* ---------- Footer: Why and Teams live here, never in the header ---------- */

.site-footer {
  padding: clamp(44px, 5vw, 60px) 0 28px;
  background: var(--page);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  color: var(--ink);
}

.footer-mark-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
}

.footer-line {
  margin-top: 12px;
  max-width: 28rem;
  color: var(--ink-muted);
  font-size: 0.89rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav h2 {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.footer-nav a {
  color: var(--ink-soft);
  font-size: 0.89rem;
  text-decoration: none;
}

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

.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-legal p {
  color: var(--ink-faint);
  font-size: 0.82rem;
}
