/* hellolang.co — landing page styles
   Built on top of design/colors_and_type.css (design-system tokens).
   Everything here is page-specific layout; tokens come from the system. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* =============== Layout shell =============== */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

section { padding: 96px 0; }
section.tight { padding: 64px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
  section.tight { padding: 40px 0; }
}

/* =============== Type helpers (inherit from design system) =============== */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--teal);
}
.eyebrow.amber .dot { background: var(--amber); animation: pulse-amber 1.6s infinite; }
@keyframes pulse-amber {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 55%, transparent); }
  70%  { box-shadow: 0 0 0 6px color-mix(in oklab, var(--amber) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 0%, transparent); }
}

h1, h2, h3, h4, p { margin: 0; }
.t-display, .t-h1, .t-h2, .t-h3 { color: var(--ink2); text-wrap: balance; }
.t-display { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.025em; }
.t-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.022em; }
.t-h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.27; letter-spacing: -.015em; }
.t-h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.t-body { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--ink-dim); text-wrap: pretty; }
.t-body strong { color: var(--ink); font-weight: 500; }
.t-small { font-size: 12.5px; color: var(--ink-dim); }
.t-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-dim); }

/* =============== Buttons (mirror kit.css conventions) =============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .14s, color .14s, border-color .14s, transform .14s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.btn-sm { padding: 6px 10px; font-size: 12.5px; }
.btn-md { padding: 9px 14px; font-size: 13.5px; }
.btn-lg { padding: 12px 18px; font-size: 14.5px; }
.btn-primary   { background: var(--teal); color: var(--user-bubble-text); }
.btn-primary:hover   { background: color-mix(in oklab, var(--teal) 90%, black 10%); }
.btn-secondary { background: var(--bg-card); color: var(--ink); border-color: var(--rule); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--bg-popover); }
.btn-ghost     { background: transparent; color: var(--ink-dim); }
.btn-ghost:hover { color: var(--ink); background: color-mix(in oklab, var(--rule) 50%, transparent); }
.btn .arrow { display: inline-block; transform: translateY(-1px); }

.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  background: color-mix(in oklab, var(--rule) 60%, transparent);
  border: 1px solid var(--rule);
  color: var(--ink-dim);
}

/* =============== Top nav =============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-row {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.nav-mark img { height: 22px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: 16px;
}
.nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--ink-dim);
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}
.nav-link:hover { color: var(--ink); background: color-mix(in oklab, var(--rule) 50%, transparent); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* =============== Hero =============== */
.hero {
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 720px; }
.hero-headline { max-width: 18ch; }
.hero-sub { max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--ink-dim); }
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.hero-cta-row { display: flex; gap: 8px; }
.hero-cta-row .hl-input { flex: 1; }
.hero-cta-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-muted); }
.hero-cta-meta .glyph { color: var(--teal); }

/* The hero showcase: a faithful, miniature recreation of the product UI. */
.hero-showcase {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 24px;
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(
    480px 320px at 100% 0%,
    color-mix(in oklab, var(--teal) 16%, transparent) 0%,
    transparent 70%
  );
  z-index: 0;
}
.hero-showcase > * { position: relative; z-index: 1; }

/* =============== Input (form) =============== */
.field-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color .14s, box-shadow .14s;
}
.field-input::placeholder { color: var(--ink-muted); }
.field-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal) 22%, transparent); }

/* =============== Section heading block =============== */
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head p { color: var(--ink-dim); font-size: 16px; line-height: 1.55; }

/* =============== Problem section (warm rail panel) =============== */
.problem {
  background: var(--bg-rail);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.pain-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink2);
}
.pain-meta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-muted);
}
.pain-meta .role { color: var(--ink-dim); }
.pain-meta .glyph { color: var(--teal); }

/* =============== Features (4) =============== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.feature-head { display: flex; flex-direction: column; gap: 10px; }
.feature-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-muted);
}
.feature-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink2);
}
.feature-desc { font-size: 14.5px; line-height: 1.6; color: var(--ink-dim); }

/* =============== Mini product mockups inside feature cards =============== */
.mock {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px;
  min-height: 220px;
}
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mock-bubble {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 9px 12px;
  border-radius: 12px;
  max-width: 92%;
}
.mock-bubble-user {
  align-self: flex-end;
  background: var(--user-bubble);
  color: var(--user-bubble-text);
  border-bottom-right-radius: 4px;
}
.mock-bubble-bot {
  align-self: flex-start;
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-bottom-left-radius: 4px;
}
.mock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500;
  padding: 2px 10px;
  border-radius: 999px;
}
.mock-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.mock-badge.ok    { background: var(--teal-soft);  color: var(--teal-deep); }
.mock-badge.warn  { background: var(--amber-soft); color: #9A6700; }
.mock-badge.err   { background: var(--rose-soft);  color: var(--rose); }
.mock-badge.mute  { background: color-mix(in oklab, var(--rule) 60%, transparent); color: var(--ink-dim); }

.mock-divider { height: 1px; background: var(--rule); margin: 2px 0; }

/* Dependency map */
.depmap { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 4px; }
.depnode {
  display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 12.5px;
}
.depnode .pip { width: 8px; height: 8px; border-radius: 999px; background: var(--ink-muted); }
.depnode.touched .pip { background: var(--amber); }
.depnode.break .pip { background: var(--rose); }
.depnode .name { color: var(--ink); }
.depnode .meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: .04em; }

/* Verification answer rows */
.verify { display: flex; flex-direction: column; gap: 6px; }
.verify-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 12.5px; line-height: 1.5; }
.verify-row .glyph { font-family: var(--font-mono); color: var(--teal); padding-top: 2px; }
.verify-row .glyph.dim { color: var(--ink-muted); }
.verify-row .text { color: var(--ink); }
.verify-row .text .sub { display: block; color: var(--ink-dim); font-size: 12px; margin-top: 2px; }

/* =============== Audiences =============== */
.audience-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 880px) { .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .audience-grid { grid-template-columns: 1fr; } }
.aud {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.aud-tile {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
}
.aud-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-muted); text-transform: uppercase; }
.aud-line { color: var(--ink); font-size: 14px; line-height: 1.5; }

/* =============== How it works =============== */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px 26px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
}
.step:last-child { border-right: 0; }
@media (max-width: 880px) {
  .step { border-right: 0; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: 0; }
}
.step-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 10px;
}
.step-num .ix {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-deep);
  font-size: 11px;
}
.step-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink2); }
.step-desc { font-size: 14px; line-height: 1.55; color: var(--ink-dim); }

/* =============== Pricing =============== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
}
.plan.featured { border-color: var(--teal); box-shadow: 0 0 0 1px color-mix(in oklab, var(--teal) 30%, transparent), var(--shadow-md); }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink2); letter-spacing: -.015em; }
.plan-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 2px 8px; border-radius: 999px;
}
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.plan-price .amount { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -.02em; color: var(--ink2); }
.plan-price .unit { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-muted); }
.plan-desc { color: var(--ink-dim); font-size: 14px; line-height: 1.55; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin: 4px 0; }
.plan-features li { list-style: none; display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.plan-features li .check { color: var(--teal); padding-top: 1px; }
.plan-features { padding: 0; margin-top: 4px; }

/* =============== FAQ =============== */
.faq-grid {
  display: grid; grid-template-columns: minmax(280px, 320px) 1fr;
  gap: 56px;
}
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  background: transparent; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  color: var(--ink2);
  text-align: left;
}
.faq-q:hover { color: var(--teal-deep); }
.faq-q .plus {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-dim);
  font-size: 12px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] .faq-q .plus { transform: rotate(45deg); color: var(--teal); border-color: var(--teal); }
.faq-a { padding: 0 4px 20px; font-size: 14px; line-height: 1.6; color: var(--ink-dim); max-width: 60ch; }
.faq-a strong { color: var(--ink); font-weight: 500; }

/* =============== Beta closing CTA =============== */
.cta {
  background: var(--bg-rail);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-md);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(560px 360px at 100% 0%, color-mix(in oklab, var(--teal) 14%, transparent) 0%, transparent 70%);
}
.cta-card > * { position: relative; }
@media (max-width: 880px) {
  .cta-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
}
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.cta-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Confirmation state after submission */
.cta-success {
  background: var(--teal-soft);
  color: var(--teal-deep);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; line-height: 1.55;
}
.cta-success .glyph { font-family: var(--font-mono); font-size: 14px; }
.cta-success strong { color: var(--teal-deep); font-weight: 600; display: block; margin-bottom: 4px; }

/* =============== Footer =============== */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--rule); background: var(--bg); }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand img { height: 24px; width: auto; }
.foot-brand p { font-size: 13px; line-height: 1.55; color: var(--ink-dim); max-width: 36ch; }
.foot-col h4 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 13.5px; color: var(--ink-dim); text-decoration: none; }
.foot-col a:hover { color: var(--ink); }

.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.foot-legal-row { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-muted); }
.foot-legal-row a { color: var(--ink-muted); text-decoration: none; }
.foot-legal-row a:hover { color: var(--ink); }

/* =============== Cookie banner =============== */
.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 80;
  animation: slide-up 220ms ease-out;
}
.cookie p { font-size: 13px; line-height: 1.5; color: var(--ink-dim); margin: 0; }
.cookie-row { display: flex; gap: 8px; flex-wrap: wrap; }
@keyframes slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============== Misc =============== */
.divider-rule { height: 1px; background: var(--rule); }

/* ===================================================================
   v2 ADDITIONS — Poleris-inspired patterns in hellolang palette
   =================================================================== */

/* =============== Announcement bar (top of page) =============== */
.announce {
  background: var(--ink2);
  color: var(--brand-ink-dark);
  border-bottom: 1px solid var(--ink2);
}
/* On dark themes the bar inverts — use the warmer rail tone */
[data-variant="slate"] .announce,
[data-variant="warm"]  .announce,
[data-variant="deep"]  .announce {
  background: color-mix(in oklab, var(--bg-rail) 80%, black);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.announce-row {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 9px 24px;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.announce-pill {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  /* On the dark announce bar (light theme): brighter teal */
  color: #5EE3D5;
  background: color-mix(in oklab, var(--teal) 30%, transparent);
}
/* On dark themes the bar background is already dark — use teal-soft + deep */
[data-variant="slate"] .announce-pill,
[data-variant="warm"]  .announce-pill,
[data-variant="deep"]  .announce-pill {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.announce-pill .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--teal);
  animation: announce-pulse 1.8s infinite;
}
@keyframes announce-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--teal) 55%, transparent); }
  70%  { box-shadow: 0 0 0 6px color-mix(in oklab, var(--teal) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--teal) 0%, transparent); }
}
.announce-msg { color: color-mix(in oklab, var(--brand-ink-dark) 90%, transparent); }
.announce-msg strong { color: var(--brand-ink-dark); font-weight: 500; }
[data-variant="slate"] .announce-msg,
[data-variant="warm"]  .announce-msg,
[data-variant="deep"]  .announce-msg { color: var(--ink-dim); }
[data-variant="slate"] .announce-msg strong,
[data-variant="warm"]  .announce-msg strong,
[data-variant="deep"]  .announce-msg strong { color: var(--ink); }
.announce-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--teal) 40%, transparent);
  padding-bottom: 1px;
}
.announce-link:hover { color: #5EE3D5; border-color: #5EE3D5; }

/* =============== Scroll reveal (intersection observer) =============== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============== Stats strip =============== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: 0; }
@media (max-width: 720px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--ink2);
}
.stat-num .unit { font-size: 0.55em; color: var(--ink-dim); font-weight: 500; margin-left: 2px; }
.stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.stat-cite { font-size: 13px; color: var(--ink-dim); line-height: 1.5; margin-top: 4px; }
.stat-cite span.src { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: .04em; }

/* =============== Tabbed feature showcase =============== */
.showcase {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.showcase-tabs {
  display: flex;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--bg-rail) 50%, var(--bg-card));
  overflow-x: auto;
}
.showcase-tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 18px 24px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  text-align: left;
  transition: background .14s;
  min-width: 200px;
}
.showcase-tab:last-child { border-right: 0; }
.showcase-tab:hover { background: color-mix(in oklab, var(--bg-card) 70%, transparent); }
.showcase-tab[aria-selected="true"] {
  background: var(--bg-card);
  position: relative;
}
.showcase-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--teal);
}
.showcase-tab-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.showcase-tab[aria-selected="true"] .showcase-tab-num { color: var(--teal-deep); }
.showcase-tab-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.showcase-tab[aria-selected="false"] .showcase-tab-title { color: var(--ink-dim); }

.showcase-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  min-height: 460px;
}
@media (max-width: 880px) { .showcase-panel { grid-template-columns: 1fr; } }
.showcase-copy {
  padding: 44px 36px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
@media (max-width: 880px) {
  .showcase-copy { border-right: 0; border-bottom: 1px solid var(--rule); padding: 32px; }
}
.showcase-copy h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 28px; line-height: 1.18; letter-spacing: -.02em; color: var(--ink2);
}
.showcase-copy p { font-size: 15px; line-height: 1.6; color: var(--ink-dim); }
.showcase-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.showcase-meta .pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: color-mix(in oklab, var(--rule) 50%, transparent);
  color: var(--ink-dim);
}
.showcase-stage {
  padding: 36px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.showcase-stage::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 360px at 80% 0%, color-mix(in oklab, var(--teal) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.showcase-mock {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.showcase-panel-fade { animation: hl-fade-up 280ms ease-out; }
@keyframes hl-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* =============== Alternating feature rows ("what you get") =============== */
.row-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}
.row-feature.reverse { grid-template-columns: 1.1fr 1fr; }
.row-feature.reverse .row-copy { order: 2; }
.row-feature.reverse .row-mock { order: 1; }
@media (max-width: 880px) {
  .row-feature, .row-feature.reverse { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .row-feature.reverse .row-copy { order: initial; }
  .row-feature.reverse .row-mock { order: initial; }
}
.row-feature + .row-feature { border-top: 1px solid var(--rule); }
.row-copy { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.row-copy h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink2); }
.row-copy p { font-size: 15px; line-height: 1.6; color: var(--ink-dim); }
.row-copy .check-list { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 4px 0 0; }
.row-copy .check-list li { list-style: none; display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink); line-height: 1.5; }
.row-copy .check-list li .check { color: var(--teal); padding-top: 1px; }
.row-mock {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.row-mock::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 240px at 100% 0%, color-mix(in oklab, var(--teal) 8%, transparent), transparent 70%);
  pointer-events: none;
}
.row-mock > * { position: relative; }

/* =============== Comparison table =============== */
.compare {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  align-items: center;
}
.compare-row + .compare-row { border-top: 1px solid var(--rule); }
.compare-row.head {
  background: var(--bg-rail);
}
.compare-cell {
  padding: 18px 20px;
  font-size: 13.5px;
  border-right: 1px solid var(--rule);
  display: flex; align-items: center; gap: 10px;
  min-height: 64px;
}
.compare-cell:last-child { border-right: 0; }
.compare-cell.label { color: var(--ink); font-weight: 500; }
.compare-cell.brand {
  background: var(--bg-card);
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 18px 20px;
}
.compare-cell.brand .name {
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  color: var(--ink2);
}
.compare-cell.brand .kind {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted);
}
.compare-cell.brand.us .name { color: var(--teal-deep); }
.compare-cell.brand.us {
  background: color-mix(in oklab, var(--teal-soft) 70%, var(--bg-card));
}
.compare-cell.center { justify-content: center; }
.compare-cell.us { background: color-mix(in oklab, var(--teal-soft) 35%, var(--bg-card)); }
.cmp-yes {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
}
.cmp-no {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--rule) 60%, transparent);
  color: var(--ink-muted);
  font-family: var(--font-mono); font-weight: 600; font-size: 11px;
}
.cmp-partial {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--amber-soft); color: #9A6700;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
}
@media (max-width: 880px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: 0; border-bottom: 1px solid var(--rule); min-height: auto; }
  .compare-cell:last-child { border-bottom: 0; }
  .compare-row.head .compare-cell.label { display: none; }
  .compare-cell.center::before {
    content: attr(data-h);
    flex: 1;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
  }
}

/* =============== Pricing strikethrough / discount =============== */
.plan-strike { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.plan-strike .was {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--rose);
}
.plan-strike .now {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -.02em;
  color: var(--ink2);
}
.plan-spots {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: var(--amber-soft); color: #9A6700;
}
.plan-spots .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--amber); animation: pulse-amber 1.6s infinite;
}

/* =============== Hero badge row =============== */
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-muted);
}
.hero-trust .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .glyph { color: var(--teal); }

/* =============== Cursor-follow glow on key cards =============== */
.glow {
  position: relative;
  overflow: hidden;
}
.glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(
    240px 200px at var(--mx, 50%) var(--my, 50%),
    color-mix(in oklab, var(--teal) 14%, transparent) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity .25s ease;
  border-radius: inherit;
}
.glow:hover::after { opacity: 1; }

/* =============== Subtle feature card lift =============== */
.feature, .aud, .plan, .pain {
  transition: border-color .18s ease, box-shadow .18s ease;
}
.feature:hover, .aud:hover { border-color: color-mix(in oklab, var(--teal) 30%, var(--rule)); box-shadow: var(--shadow-md); }

/* =============== Section eyebrow centered =============== */
.section-head.center .eyebrow { justify-content: center; }

/* =============== Logo swap by theme =============== */
.logo-mark {
  display: inline-block;
  height: 22px;
  width: auto;
}
.logo-mark .light { display: block; }
.logo-mark .dark  { display: none; }
[data-variant="slate"] .logo-mark .light,
[data-variant="warm"]  .logo-mark .light,
[data-variant="deep"]  .logo-mark .light { display: none; }
[data-variant="slate"] .logo-mark .dark,
[data-variant="warm"]  .logo-mark .dark,
[data-variant="deep"]  .logo-mark .dark  { display: block; }

/* =============== Theme toggle (sun/moon button) =============== */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  background: var(--bg-card);
  color: var(--ink-dim);
  cursor: pointer;
  transition: color .14s, background .14s, border-color .14s;
  box-shadow: var(--shadow-sm);
}
.theme-toggle:hover { color: var(--ink); border-color: color-mix(in oklab, var(--teal) 30%, var(--rule)); }
.theme-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-variant="slate"] .theme-toggle .icon-sun,
[data-variant="warm"]  .theme-toggle .icon-sun,
[data-variant="deep"]  .theme-toggle .icon-sun  { display: block; }
[data-variant="slate"] .theme-toggle .icon-moon,
[data-variant="warm"]  .theme-toggle .icon-moon,
[data-variant="deep"]  .theme-toggle .icon-moon { display: none; }

/* =============== Comparison: keep hellolang-column legible on dark =============== */
[data-variant="slate"] .compare-cell.brand.us,
[data-variant="warm"]  .compare-cell.brand.us,
[data-variant="deep"]  .compare-cell.brand.us {
  background: color-mix(in oklab, var(--teal-soft) 80%, var(--bg-card));
}
[data-variant="slate"] .compare-cell.us,
[data-variant="warm"]  .compare-cell.us,
[data-variant="deep"]  .compare-cell.us {
  background: color-mix(in oklab, var(--teal-soft) 45%, var(--bg-card));
}
[data-variant="slate"] .cmp-partial,
[data-variant="warm"]  .cmp-partial,
[data-variant="deep"]  .cmp-partial { color: var(--amber); }
[data-variant="slate"] .plan-spots,
[data-variant="warm"]  .plan-spots,
[data-variant="deep"]  .plan-spots { color: var(--amber); }

/* Cookie banner: ensure visible on dark */
[data-variant="slate"] .cookie,
[data-variant="warm"]  .cookie,
[data-variant="deep"]  .cookie {
  background: var(--bg-popover);
}

/* ===================================================================
   HYBRID v3 — local dark bands + team imagery
   These bands stay slate-toned even on the light theme so the page has
   visual rhythm; when the user toggles to slate they simply merge in.
   =================================================================== */

/* A section that locks itself to slate tokens via data-variant=slate.
   We also harden borders/backgrounds with explicit slate values so the
   "always dark" behaviour is independent of the page-level toggle.    */
.dark-band {
  background: #161E2A;
  color: #E5E7EB;
  border-top: 1px solid #2D3748;
  border-bottom: 1px solid #2D3748;
  position: relative;
  overflow: hidden;
}
.dark-band .eyebrow { color: #6B7280; }
.dark-band .t-h1, .dark-band .t-h2, .dark-band .t-h3,
.dark-band .t-display { color: #F1F2F4; }
.dark-band .t-body { color: #A0AEC0; }
.dark-band .t-body strong { color: #E5E7EB; }
.dark-band .section-head p { color: #A0AEC0; }
.dark-band .eyebrow .dot { background: var(--teal); }

/* A radial ambient teal glow inside the band (subtle, single use) */
.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 12% 0%, color-mix(in oklab, var(--teal) 12%, transparent) 0%, transparent 60%),
    radial-gradient(640px 380px at 92% 110%, color-mix(in oklab, var(--teal) 8%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.dark-band > * { position: relative; z-index: 1; }

/* =============== Persona cards (image-led) =============== */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 880px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .persona-grid { grid-template-columns: 1fr; } }

.persona {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1F2A37;
  border: 1px solid #2D3748;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.persona:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--teal) 35%, #2D3748);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.persona-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1F2A37;
}
.persona-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Cool, muted, desaturated — to sit beside teal without competing */
  filter: grayscale(.55) brightness(.85) contrast(1.05);
  transition: transform .6s ease, filter .4s ease;
}
.persona:hover .persona-photo img {
  transform: scale(1.04);
  filter: grayscale(.35) brightness(.92) contrast(1.05);
}
/* Cool teal-leaning tint overlay */
.persona-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(22,30,42,.85) 100%),
    linear-gradient(180deg, color-mix(in oklab, var(--teal-deep) 12%, transparent) 0%, transparent 50%);
  pointer-events: none;
}
.persona-photo .badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in oklab, #0E1116 80%, transparent);
  color: #E5E7EB;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.persona-body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
  background: #1F2A37;
}
.persona-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  color: #F1F2F4;
}
.persona-line {
  font-size: 13.5px;
  line-height: 1.5;
  color: #A0AEC0;
}
.persona-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
}
.persona-tag .glyph { color: var(--teal); }

/* =============== Team strip — wide image collage =============== */
.team-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 8px;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 720px) {
  .team-strip { grid-template-columns: 1fr 1fr; }
  .team-strip > :first-child { grid-column: span 2; }
}
.team-strip .ts-cell {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #161E2A;
}
.team-strip .ts-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.5) brightness(.78) contrast(1.05);
}
.team-strip .ts-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(22,30,42,.65) 100%);
}
.team-strip .ts-cap {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #E5E7EB;
  z-index: 2;
}

/* =============== Dark CTA card variant =============== */
.cta.dark-band { background: #0E1116; }
.cta.dark-band .cta-card {
  background: #161E2A;
  border-color: #2D3748;
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
  overflow: hidden;
  position: relative;
}
.cta.dark-band .cta-card::before {
  background: radial-gradient(560px 360px at 100% 0%, color-mix(in oklab, var(--teal) 18%, transparent) 0%, transparent 70%);
}
.cta.dark-band .cta-card .t-h1 { color: #F1F2F4; }
.cta.dark-band .cta-card .t-body { color: #A0AEC0; }
.cta.dark-band .cta-card .t-body strong,
.cta.dark-band .cta-card strong { color: #E5E7EB; }
.cta.dark-band .field-input {
  background: color-mix(in oklab, #0E1116 70%, #161E2A);
  border-color: #2D3748;
  color: #E5E7EB;
}
.cta.dark-band .field-input::placeholder { color: #6B7280; }
.cta.dark-band .field-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal) 24%, transparent);
}
.cta.dark-band .t-small { color: #6B7280; }
.cta.dark-band .cta-success {
  background: color-mix(in oklab, var(--teal) 18%, #161E2A);
  color: #5EE3D5;
}
.cta.dark-band .cta-success strong { color: #5EE3D5; }

/* A background imagery layer for the dark CTA, sits behind the card */
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.7) brightness(.42) contrast(1.05);
  opacity: .55;
}
.cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 50% 50%, transparent 0%, rgba(14,17,22,.6) 60%, rgba(14,17,22,.95) 100%),
    linear-gradient(180deg, rgba(14,17,22,.7) 0%, rgba(14,17,22,.85) 100%);
}
.cta.dark-band .wrap { position: relative; z-index: 1; }

/* =============== Hero side accent — small team photo =============== */
.hero-accent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  margin-top: 8px;
  max-width: 480px;
  box-shadow: var(--shadow-sm);
}
.hero-accent-photo {
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: var(--bg-rail);
}
.hero-accent-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.45) brightness(.92) contrast(1.05);
}
.hero-accent-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-accent-line { font-size: 13px; color: var(--ink); line-height: 1.45; }
.hero-accent-line strong { font-weight: 500; color: var(--ink2); }
.hero-accent-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-muted); text-transform: uppercase; }

/* =============== Hero — DARK variant with soft photo backdrop =============== */
.hero.hero-dark {
  background: #0E1116;
  border-bottom: 1px solid #2D3748;
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero.hero-dark .hero-headline,
.hero.hero-dark .t-display { color: #F1F2F4; }
.hero.hero-dark .hero-sub { color: #C9D1D9; }
.hero.hero-dark .hero-sub strong { color: #F1F2F4; font-weight: 500; }
.hero.hero-dark .hero-cta-meta { color: #6B7280; }
.hero.hero-dark .field-input {
  background: color-mix(in oklab, #0E1116 60%, #1F2A37);
  border-color: #2D3748;
  color: #E5E7EB;
}
.hero.hero-dark .field-input::placeholder { color: #6B7280; }
.hero.hero-dark .field-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal) 24%, transparent);
}

/* Photo backdrop layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Soft, cool, muted — sits beside teal without competing */
  filter: grayscale(.7) brightness(.55) contrast(1.05) saturate(.7);
  opacity: .55;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Soft teal ambient — top-left */
    radial-gradient(900px 540px at 6% 0%, color-mix(in oklab, var(--teal) 16%, transparent) 0%, transparent 60%),
    /* Heavier darken on the left (copy lives there) */
    linear-gradient(100deg, rgba(14,17,22,.94) 0%, rgba(14,17,22,.7) 38%, rgba(14,17,22,.4) 62%, rgba(14,17,22,.6) 100%),
    /* Bottom fade for legibility */
    linear-gradient(180deg, transparent 55%, rgba(14,17,22,.7) 100%);
}
/* Hero content sits above the photo */
.hero.hero-dark .hero-grid { position: relative; z-index: 1; }

/* Make the showcase pop a bit more on the dark hero */
.hero.hero-dark .hero-showcase {
  border-color: #2D3748;
  box-shadow: 0 24px 56px rgba(0,0,0,.45), 0 2px 0 rgba(0,0,0,.4);
}
.hero.hero-dark .hero-showcase::before {
  background: radial-gradient(
    520px 360px at 100% 0%,
    color-mix(in oklab, var(--teal) 22%, transparent) 0%,
    transparent 70%
  );
}

/* The nav sticks at top; when scrolled over the dark hero, soften the bar.
   (We don't change colours — the existing translucent blur already adapts.) */

/* =============== About / Team =============== */
.about-intro {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .about-intro { grid-template-columns: 1fr; gap: 24px; }
}
.about-intro .lede {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink2);
  text-wrap: balance;
}

.team-subhead {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.team-subhead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

.member {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s, transform .25s ease;
}
.member:hover {
  border-color: color-mix(in oklab, var(--teal) 30%, var(--rule));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.member-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-rail);
  position: relative;
}
.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.4) brightness(.96) contrast(1.04);
  transition: filter .3s ease, transform .6s ease;
}
.member:hover .member-photo img {
  filter: grayscale(.15) brightness(1) contrast(1.04);
  transform: scale(1.03);
}
.member-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.member-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--ink2);
}
.member-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.member-bio {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 2px;
}
.member-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  text-decoration: none;
  margin-top: 6px;
  border-bottom: 1px solid color-mix(in oklab, var(--teal) 30%, transparent);
  align-self: flex-start;
  padding-bottom: 1px;
}
.member-link:hover { color: var(--teal); }
[data-variant="slate"] .member-link,
[data-variant="warm"]  .member-link,
[data-variant="deep"]  .member-link { color: var(--teal-deep); }





/* Accent stamp (small brand mark used inline) */
.stamp {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-mono); font-weight: 600;
  font-size: inherit;
  color: var(--brand-ink);
}
.stamp .a { color: var(--brand-accent); }
