/* MARKEBOT public site. No framework, no external assets (CSP: self only). */
:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-2: #f0f1ee;
  --ink: #0f1728;
  --ink-2: #3a4356;
  --muted: #667085;
  --line: #e3e5e0;
  --brand: #2f54eb;
  --brand-ink: #1d3bc4;
  --brand-soft: #e9eeff;
  --grow: #0e9f6e;
  --grow-soft: #e3f6ee;
  --grow-ink: #05734d;
  --warn: #b25e09;
  --warn-soft: #fdf1e1;
  --warn-ink: #8a4500;
  --dark: #0c1220;
  --dark-2: #151d30;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 40, 0.05), 0 8px 24px rgba(15, 23, 40, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 40, 0.04), 0 24px 60px rgba(15, 23, 40, 0.12);
  --max: 1160px;
  --font: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic',
    'Noto Sans KR', system-ui, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand-ink);
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  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: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 244, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
  flex-shrink: 0;
}
.logo svg {
  width: 30px;
  height: 30px;
}
.logo small {
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.nav-links a[aria-current='page'] {
  color: var(--ink);
  font-weight: 700;
}
.nav-cta {
  display: flex;
  gap: 8px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  content: '';
}
.nav-toggle span::before {
  position: absolute;
  top: -6px;
}
.nav-toggle span::after {
  position: absolute;
  top: 6px;
}
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 12px;
  }
  .nav-links a {
    padding: 12px;
    font-size: 16px;
  }
  .nav-cta .btn {
    flex: 1;
  }
}
@media (min-width: 901px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
  }
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(47, 84, 235, 0.3), 0 6px 16px rgba(47, 84, 235, 0.22);
}
.btn-primary:hover {
  background: var(--brand-ink);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: #c9ccc5;
}
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.btn-lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 17px;
  border-radius: 12px;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover {
  background: #eef1ff;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.arrow::after {
  content: '→';
  font-weight: 400;
}

/* Sections -------------------------------------------------------------- */
.section {
  padding: 104px 0;
}
.section-sm {
  padding: 72px 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark {
  background: var(--dark);
  color: #d9deea;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-dark .eyebrow {
  color: #9db1ff;
}
.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}
.section-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-2);
}
.section-dark .section-head p {
  color: #b7c0d4;
}
.section-head .eyebrow {
  margin-top: 0;
  font-size: 14px;
  color: var(--brand-ink);
}
.section-dark .section-head .eyebrow {
  color: #9db1ff;
}

/* Hero ------------------------------------------------------------------ */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 820px;
  height: 820px;
  background: radial-gradient(closest-side, rgba(47, 84, 235, 0.13), rgba(47, 84, 235, 0));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  position: relative;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.badge-pill b {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--brand) 0%, #6f4bf2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--ink-2);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.hero-paths > span {
  font-size: 14px;
  color: var(--muted);
  margin-right: 4px;
}
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.chip-link:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 44px 0 72px;
  }
}

/* Product mock ---------------------------------------------------------- */
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfa;
}
.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e1e3de;
}
.mock-bar span {
  margin-left: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.mock-tag {
  margin-left: auto !important;
  background: var(--warn-soft);
  color: var(--warn-ink) !important;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px !important;
}
.mock-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.mock-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.mock-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-cmo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mock-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #6f4bf2);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.mock-cmo p {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.55;
}
.mock-cmo small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 2px;
  font-weight: 600;
}
.funnel-bars {
  display: grid;
  gap: 8px;
}
.funnel-row {
  display: grid;
  grid-template-columns: 92px 1fr 46px;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
}
.funnel-row span:first-child {
  color: var(--ink-2);
  font-weight: 600;
}
.funnel-row b {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.bar {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #6f86ff);
}
.bar.grow i {
  background: linear-gradient(90deg, var(--grow), #4fd1a1);
}
.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.approve-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}
.approve-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.approve-item .ch {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-2);
}
.approve-item p {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
}
.approve-item em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 3px 7px;
  border-radius: 6px;
}
.kpi {
  font-size: clamp(18px, 1.7vw, 22px);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.kpi-sub {
  font-size: 12px;
  color: var(--grow-ink);
  font-weight: 700;
}
.mock-caption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 520px) {
  .mock-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards / grids --------------------------------------------------------- */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 76px 0;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-ink);
  margin-bottom: 18px;
}
.icon svg {
  width: 22px;
  height: 22px;
}
.problem-card .icon {
  background: #fdecec;
  color: #c0362c;
}

/* Funnel diagram -------------------------------------------------------- */
.funnel-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.funnel-step {
  padding: 26px 22px;
  border-left: 1px solid var(--line);
  position: relative;
}
.funnel-step:first-child {
  border-left: 0;
}
.funnel-step .stage {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-ink);
}
.funnel-step h3 {
  font-size: 20px;
  margin: 6px 0 12px;
}
.funnel-step ul {
  list-style: none;
  display: grid;
  gap: 6px;
}
.funnel-step li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.funnel-step li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9c4f8;
}
.funnel-step.goal {
  background: var(--grow-soft);
}
.funnel-step.goal .stage {
  color: var(--grow-ink);
}
.funnel-loop {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #e3e8f4;
  font-size: 15px;
}
.funnel-loop b {
  color: #fff;
}
.loop-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
}
@media (max-width: 900px) {
  .funnel-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .funnel-step:nth-child(3) {
    border-left: 0;
  }
  .funnel-step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .funnel-flow {
    grid-template-columns: 1fr;
  }
  .funnel-step {
    border-left: 0;
  }
  .funnel-step + .funnel-step {
    border-top: 1px solid var(--line);
  }
}

/* Steps ----------------------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #9db1ff;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.steps h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.steps p {
  font-size: 14.5px;
  color: #b7c0d4;
}
.steps .who {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(157, 177, 255, 0.14);
  color: #c4d0ff;
}
.steps .who.client {
  background: rgba(79, 209, 161, 0.14);
  color: #8be5c3;
}
@media (max-width: 1060px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Industry cards -------------------------------------------------------- */
.industry {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.industry:hover {
  border-color: #b8c5fb;
  box-shadow: var(--shadow);
}
.industry .kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.industry h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 8px 0 12px;
}
.industry p {
  color: var(--ink-2);
}
.kpi-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
  list-style: none;
}
.kpi-list li {
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
}
.industry .more {
  margin-top: auto;
  font-weight: 700;
  color: var(--brand-ink);
}
.industry .examples {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* Features -------------------------------------------------------------- */
.feature {
  position: relative;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status.on {
  background: var(--grow-soft);
  color: var(--grow-ink);
}
.status.soon {
  background: var(--warn-soft);
  color: var(--warn-ink);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: -28px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.legend .status {
  margin: 0 6px 0 0;
}

/* Responsibility split -------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.split .card {
  padding: 32px;
}
.split h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 18px;
}
.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--brand-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d3bc4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E")
    center/16px no-repeat;
}
.client-card .checklist li::before {
  background-color: var(--grow-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230e9f6e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E");
}
.checklist b {
  color: var(--ink);
}
.client-card {
  background: linear-gradient(180deg, #f3fbf7, #fff);
}
.guard {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px dashed #c9d2f7;
  background: #f7f9ff;
  color: var(--ink-2);
  font-size: 15px;
}
.guard b {
  color: var(--ink);
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Trust + FAQ ----------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 72px;
}
.trust .card {
  padding: 24px;
}
.trust h3 {
  font-size: 17px;
}
@media (max-width: 860px) {
  .trust {
    grid-template-columns: 1fr;
  }
}
.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 2px;
  font-size: 17.5px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
}
.faq details[open] summary::after {
  content: '−';
}
.faq .answer {
  padding: 0 2px 24px;
  color: var(--ink-2);
}
.faq .answer p + p {
  margin-top: 10px;
}

/* Final CTA ------------------------------------------------------------- */
.final-cta {
  padding: 96px 0;
}
.cta-box {
  border-radius: 28px;
  padding: 64px 48px;
  background: radial-gradient(120% 140% at 100% 0%, #3d5cf0 0%, #1b2a6b 45%, #0c1220 100%);
  color: #dbe2f5;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}
.cta-box p {
  margin: 16px auto 0;
  max-width: 600px;
  font-size: 18px;
}
.cta-box .hero-actions {
  justify-content: center;
}
.flow-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  list-style: none;
  font-size: 13.5px;
}
.flow-mini li {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e6ebf8;
}
@media (max-width: 560px) {
  .cta-box {
    padding: 48px 22px;
    border-radius: 22px;
  }
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}
.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-meta {
  margin-top: 18px;
  font-size: 13px;
}

/* Consent banner (only when an analytics tag is configured) --------------- */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 560px;
  margin: 0 auto;
  background: var(--dark);
  color: #e3e8f4;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  font-size: 14.5px;
}
.consent p {
  margin-bottom: 14px;
}
.consent a {
  color: #b9c7ff;
}
.consent .row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Subpage hero ---------------------------------------------------------- */
.page-hero {
  padding: 64px 0 72px;
}
.page-hero .crumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.page-hero .crumb a {
  color: var(--muted);
}
.page-hero h1 {
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  max-width: 820px;
}
.page-hero .hero-sub {
  max-width: 680px;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.stat-strip div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat-strip b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.stat-strip span {
  font-size: 14px;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }
}
.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  list-style: none;
}
.channel-tags li {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
}

/* Apply form ------------------------------------------------------------ */
.apply-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 96px;
}
@media (max-width: 960px) {
  .apply-wrap {
    grid-template-columns: 1fr;
  }
}
.apply-wrap > * {
  min-width: 0;
}
.form-card {
  overflow-wrap: anywhere;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) {
  .form-card {
    padding: 24px 20px;
  }
}
.form-card h1 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
}
.form-card .lead {
  color: var(--ink-2);
  margin-top: 10px;
}
fieldset {
  border: 0;
  margin: 32px 0 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  padding: 0;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.field label,
.field .label {
  font-size: 14.5px;
  font-weight: 700;
}
.field .req {
  color: #c0362c;
  margin-left: 2px;
}
.field .hint {
  font-size: 13px;
  color: var(--muted);
}
.field input[type='text'],
.field input[type='email'],
.field input[type='password'] {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #d3d6cf;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 84, 235, 0.15);
}
.field input[aria-invalid='true'] {
  border-color: #c0362c;
}
.field .error {
  font-size: 13.5px;
  color: #c0362c;
  font-weight: 600;
}
.field .error:empty {
  display: none;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice .box {
  display: block;
  height: 100%;
  border: 1px solid #d3d6cf;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.choice .box b {
  display: block;
  font-size: 15.5px;
}
.choice .box span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}
.choice input:checked + .box {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 84, 235, 0.15);
  background: #f7f9ff;
}
.choice input:focus-visible + .box {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.consent-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 14.5px;
}
.consent-box input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand);
}
.consent-summary {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.consent-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 8px 0 0;
}
.consent-summary dt {
  font-weight: 700;
  color: var(--ink-2);
}
.consent-summary dd {
  margin: 0;
}
.form-alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fdecec;
  color: #8f2219;
  font-weight: 600;
  font-size: 14.5px;
}
.form-alert:empty {
  display: none;
}
.submit-row {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.submit-row .btn {
  width: 100%;
}
.submit-row p {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
.apply-aside .card {
  padding: 26px;
}
.apply-aside h2 {
  font-size: 17px;
  margin-bottom: 16px;
}
.timeline {
  list-style: none;
  display: grid;
  gap: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 18px 30px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #b9c4f8;
  background: #fff;
}
.timeline li::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li:last-child::after {
  display: none;
}
.timeline li b {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.timeline li.done::before {
  background: var(--grow);
  border-color: var(--grow);
}
.timeline li.current::before {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 84, 235, 0.18);
}
.success {
  text-align: center;
  padding: 20px 0 8px;
}
.success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grow-soft);
  color: var(--grow);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.success h1 {
  margin-bottom: 10px;
}
.success .timeline {
  text-align: left;
  max-width: 420px;
  margin: 32px auto;
}

/* Legal ----------------------------------------------------------------- */
.legal {
  max-width: 820px;
  padding: 56px 20px 96px;
}
.legal h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 20px;
  margin: 40px 0 12px;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14.5px;
  background: var(--surface);
}
.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal th {
  background: var(--surface-2);
}
.table-scroll {
  overflow-x: auto;
}

/* Utilities (no inline styles: CSP style-src 'self') */
.hero-figure {
  margin: 0;
}
.mock-muted {
  font-weight: 600;
  color: var(--muted);
}
.footer-brand {
  color: var(--ink);
}
.bar .w100 { width: 100%; }
.bar .w42 { width: 42%; }
.bar .w23 { width: 23%; }
.bar .w9 { width: 9%; }
.bar .w64 { width: 64%; }
.bar .w31 { width: 31%; }
.bar .w12 { width: 12%; }
.bar .w4 { width: 4%; }
fieldset > .hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
legend .hint {
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 560px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}
.funnel-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-biz {
  margin-top: 22px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.footer-biz span {
  display: inline-block;
  margin-right: 14px;
}
.footer-biz a {
  color: var(--ink-2);
}

/* Public lead forms (ADR-021): honeypot and helper text. */
.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;
}
/* Not `.consent`: that is the cookie banner (fixed to the bottom) — QA UX-134. */
.lead-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.5;
}
.lead-form input[type='tel'],
.lead-form input[type='email'],
.lead-form input[type='text'],
.lead-form input[type='url'],
.lead-form select,
.lead-form textarea {
  width: 100%;
  font-size: 16px; /* no zoom on iOS */
  padding: 12px;
  border: 1px solid var(--line, #c9c9c2);
  border-radius: 10px;
  background: #fff;
}
.lead-form input[type='checkbox'] {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
}
.lead-form [aria-invalid='true'] {
  border-color: #c0392b;
}
details.privacy {
  margin: 12px 0;
}

/* Creator pages (/r/, ADR-024): section headings and the disclosure text creators copy (QA UX-175). */
.cr-section {
  font-size: 15px;
  margin: 20px 0 6px;
}
.cr-disclosure {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #1f6f50;
  background: #eef6f1;
  font-weight: 600;
  user-select: all;
}
.cr-copy {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.cr-copy code {
  overflow-wrap: anywhere;
}
