/* ─── Nexus Dijital — Site Styles (design-system v2) ─── */
:root {
  --red: #E02D1C;
  --red-hover: #FF3D2B;
  --red-muted: rgba(224,45,28,0.12);
  --red-border: rgba(224,45,28,0.30);
  --red-glow: rgba(224,45,28,0.20);
  --bg-canvas: #080808;
  --bg-base: #0F0F0F;
  --bg-surface: #161616;
  --bg-elevated: #1E1E1E;
  --bg-overlay: #272727;
  --border-subtle: #1A1A1A;
  --border-default: #252525;
  --border-strong: #333333;
  --text-primary: #FFFFFF;
  --text-secondary: #A8A8A8;
  --text-muted: #606060;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --instagram: #E1306C;
  --facebook: #1877F2;
  --linkedin: #0A66C2;
  --telegram: #26A5E4;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;        /* hard cap — nothing scrolls horizontally */
}
body {
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
  min-height: 100vh;
}
/* Belt-and-braces: page-frame + main never exceed viewport width */
.page-frame, main { max-width: 100vw; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }

/* ───── App shell / canvas grid ───── */
.app-bg {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
}
.app-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 50% 30%, var(--red-glow), transparent 70%);
}
.page-frame { position: relative; z-index: 1; }

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: 8px;
  padding: 8px 14px; background: var(--red); color: #fff;
  border-radius: 6px; font-size: 13px; font-weight: 600;
  transform: translateY(-200%);
  transition: transform 200ms ease-out;
  z-index: 200;
}
.skip-link:focus { transform: translateY(0); }

/* ───── Header ───── */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8,8,8,0.72);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 32px;
}
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.brand-mark .nd { width: 28px; height: 28px; flex-shrink: 0; }
.brand-mark .name {
  font-family: var(--font-display);
  white-space: nowrap;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.brand-mark .name .acc { color: var(--red); }
.beta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--red-muted);
  border: 1px solid var(--red-border);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.beta-pill .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red);
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,45,28,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(224,45,28,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,45,28,0); }
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s ease-out;
}
.nav a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.nav a[aria-current="page"] { color: var(--text-primary); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; width: 18px; height: 2px;
  background: var(--red); border-radius: 1px;
  margin: 4px auto -10px;
}
.lang-switch {
  display: inline-flex; align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.lang-switch a {
  background: transparent; border: none; color: var(--text-muted);
  padding: 5px 10px; cursor: pointer; border-radius: 999px;
  transition: all .15s;
  font-weight: 600;
}
.lang-switch a[aria-current="true"] { background: var(--red); color: white; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer; border: none;
  transition: all .15s ease-out;
  text-decoration: none;
  white-space: nowrap;
  justify-content: center;
}
.btn-primary {
  background: var(--red); color: white;
  box-shadow: 0 6px 24px -8px rgba(224,45,28,0.5);
}
.btn-primary:hover { background: var(--red-hover); box-shadow: 0 0 0 4px var(--red-muted), 0 8px 32px -6px rgba(224,45,28,0.7); }
.btn-secondary {
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  color: var(--text-primary);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--bg-overlay); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-overlay); color: var(--text-primary); }

/* Header sign-in / sign-up cluster (right side of nav) */
.header-auth { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 720px) { .header-auth { display: none; } }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 6px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { cursor: not-allowed; }

/* ───── Badges ───── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  font-family: var(--font-body);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.badge-red { background: var(--red-muted); color: var(--red); border: 1px solid var(--red-border); }
.badge-red .dot { background: var(--red); }
.badge-green { background: rgba(34,197,94,0.10); color: var(--success); border: 1px solid rgba(34,197,94,0.25); }
.badge-green .dot { background: var(--success); }
.badge-amber { background: rgba(245,158,11,0.10); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }
.badge-amber .dot { background: var(--warning); }
.badge-blue  { background: rgba(59,130,246,0.10); color: var(--info); border: 1px solid rgba(59,130,246,0.25); }
.badge-blue .dot { background: var(--info); }
.badge-gray  { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border-default); }
.badge-gray .dot { background: var(--text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--red);
}

/* ───── Section base ───── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
section.block { padding: 120px 0; position: relative; }
section.block + section.block { border-top: 1px solid var(--border-subtle); }

/* ───── Hero ───── */
.hero {
  padding: 80px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red-muted);
  border: 1px solid var(--red-border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}
.hero-eyebrow-pill .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: livePulse 2s ease-out infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.15em;
  background: var(--red);
  z-index: -1;
  opacity: 0.35;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.55;
}
.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); }

/* ───── Hero — Live AI panel ───── */
.live-panel {
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-base));
  border: 1px solid var(--border-default);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
  position: relative;
}
.live-panel::before {
  content: ""; position: absolute; top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.live-panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 10px;
}
.live-panel-tabs {
  display: flex; gap: 2px; margin-left: auto;
}
.live-tab {
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
  background: transparent; border: none;
}
.live-tab.active { background: var(--bg-overlay); color: var(--text-primary); }
.live-panel-traffic {
  display: flex; gap: 6px;
}
.tl-dot { width: 10px; height: 10px; border-radius: 50%; }
.tl-dot.r { background: #FF5F56; }
.tl-dot.y { background: #FFBD2E; }
.tl-dot.g { background: #27C93F; }
.live-panel-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  min-height: 320px;
  position: relative;
}
.console-row {
  display: flex; gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.console-row .prefix {
  color: var(--text-muted);
  flex-shrink: 0;
  width: 22px;
}
.console-row .arrow { color: var(--red); }
.console-row .key { color: var(--telegram); }
.console-row .val { color: var(--text-secondary); white-space: pre-wrap; }
.console-row .ok { color: var(--success); }
.console-row .step { color: var(--warning); }
.console-row .ai { color: var(--text-primary); }

.live-output {
  margin-top: 14px;
  padding: 16px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.55;
  position: relative;
}
.live-output .platform-tag {
  position: absolute; top: -10px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px;
  background: var(--bg-canvas);
  border: 1px solid var(--telegram);
  color: var(--telegram);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}
.live-output .platform-tag.ig {
  border-color: var(--instagram); color: var(--instagram);
}
.live-output .platform-tag.li {
  border-color: var(--linkedin); color: var(--linkedin);
}
.live-output .post-meta {
  display: flex; gap: 8px;
  margin-top: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.live-output .hashtag { color: var(--telegram); font-size: 12px; font-family: var(--font-body); }
.live-output.ig .hashtag { color: var(--instagram); }
.live-output.li .hashtag { color: var(--linkedin); }
.cursor-blink {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--red);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.live-panel-footer {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
}
.live-panel-footer .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.live-panel-footer .actions {
  margin-left: auto;
  display: flex; gap: 6px;
}

/* ───── Marquee strip ───── */
.marquee {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
  background: linear-gradient(180deg, var(--bg-base), var(--bg-canvas));
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-canvas), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg-canvas), transparent); }
.marquee-track {
  display: inline-flex; gap: 56px;
  animation: marquee 36s linear infinite;
  align-items: center;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.marquee-item .star { color: var(--red); font-size: 14px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───── Section eyebrow + title ───── */
.section-head {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-head h2 .acc { color: var(--red); }
.section-head .head-meta {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.55;
}
.section-head .eyebrow { margin-bottom: 16px; display: inline-flex; }

/* ───── Three feature cards ───── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-base));
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .2s ease-out;
  display: flex; flex-direction: column;
  min-height: 460px;
}
.feat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.feat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) 0%, var(--red-glow), transparent 70%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.feat-card:hover::before { opacity: 1; }
.feat-card .feat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.feat-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.feat-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.feat-card .feat-visual {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}
.feat-num {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

/* Card 1 visual — content variations */
.cont-variant {
  font-size: 12px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 6px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.cont-variant .pl-chip {
  display: inline-flex; padding: 1px 6px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  flex-shrink: 0;
  margin-top: 1px;
}
.pl-chip.ig { background: rgba(225,48,108,0.12); color: var(--instagram); border: 1px solid rgba(225,48,108,0.3); }
.pl-chip.li { background: rgba(10,102,194,0.12); color: var(--linkedin); border: 1px solid rgba(10,102,194,0.3); }
.pl-chip.tg { background: rgba(38,165,228,0.12); color: var(--telegram); border: 1px solid rgba(38,165,228,0.3); }
.pl-chip.fb { background: rgba(24,119,242,0.12); color: var(--facebook); border: 1px solid rgba(24,119,242,0.3); }

/* Card 2 visual — three image modes */
.image-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.image-mode {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.image-mode .mode-name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  position: relative; z-index: 2;
}
.image-mode .mode-icon {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 14px;
  z-index: 2;
}
.image-mode.cinematic {
  background:
    radial-gradient(circle at 30% 30%, #4a1010, transparent 50%),
    linear-gradient(135deg, #1a0606, #3a1010 60%, #5a1818);
}
.image-mode.cinematic::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 60%, rgba(224,45,28,0.5), transparent 50%);
}
.image-mode.banana {
  background: linear-gradient(135deg, #2a1a04, #6b4a0d 50%, #d4a017);
}
.image-mode.banana::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,213,77,0.4), transparent 60%);
}
.image-mode.clean {
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
}
.image-mode.clean::after {
  content: ""; position: absolute;
  width: 50%; height: 50%;
  top: 25%; left: 25%;
  background: var(--red);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.4;
}
.image-mode.clean::before {
  content: ""; position: absolute;
  width: 32px; height: 32px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 4px;
  z-index: 1;
}

/* Card 3 visual — schedule */
.sched-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 7px 10px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  margin-bottom: 4px;
}
.sched-row .time { color: var(--text-muted); width: 80px; flex-shrink: 0; }
.sched-row .ch { color: var(--text-secondary); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-row .pill {
  font-size: 9px; padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.pill.scheduled { background: rgba(245,158,11,0.1); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.pill.published { background: rgba(34,197,94,0.1); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.pill.generating { background: var(--red-muted); color: var(--red); border: 1px solid var(--red-border); }

/* ───── How it works ───── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 24px;
  position: relative;
}
.step-num::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px dashed var(--red-border);
}
.step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ───── Who uses it ───── */
.users-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.user-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .15s;
}
.user-card:hover { border-color: var(--border-strong); }
.user-card .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
}
.user-card h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}
.user-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ───── Stats / social proof ───── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute;
  top: -40%; right: -40%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 60px;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.stat-value .acc { color: var(--red); }
.stat-sub { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }

/* ───── Bottom CTA / repeat ───── */
.cta-card {
  background:
    radial-gradient(600px circle at 80% 50%, var(--red-glow), transparent 60%),
    linear-gradient(180deg, var(--bg-surface), var(--bg-base));
  border: 1px solid var(--border-default);
  border-radius: 24px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-card-inner { position: relative; z-index: 1; max-width: 720px; }
.cta-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.cta-card p { color: var(--text-secondary); font-size: 16px; max-width: 520px; margin-bottom: 28px; }
.cta-card .deco-rings {
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  pointer-events: none;
  opacity: 0.4;
}
.cta-card .deco-rings::before,
.cta-card .deco-rings::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--red-border);
}
.cta-card .deco-rings::after {
  inset: 60px;
  border-color: rgba(224,45,28,0.15);
}

/* ───── Footer ───── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  background: var(--bg-canvas);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color .15s;
}
.footer ul a:hover { color: var(--text-primary); }
.footer-social {
  display: flex; gap: 8px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: color .15s, border-color .15s, background .15s;
}
.footer-social a:hover {
  color: var(--red); border-color: var(--red-border); background: var(--red-muted);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 48px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}

/* ───── Features page ───── */
.feats-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feat-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 260px;
  transition: border-color .15s;
}
.feat-tile:hover { border-color: var(--border-strong); }
.feat-tile.span-2 { grid-column: span 2; }
.feat-tile-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}
.feat-tile .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--red);
}
.feat-tile h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.feat-tile p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.feat-tile ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px;
}
.feat-tile ul li {
  font-size: 13px; color: var(--text-secondary);
  padding-left: 22px; position: relative;
}
.feat-tile ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-muted);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.mode-card {
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 16px;
  background: var(--bg-canvas);
}
.mode-card .preview {
  aspect-ratio: 16/10;
  border-radius: 8px;
  margin-bottom: 12px;
}
.mode-card h6 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.mode-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ───── About page ───── */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about-prose p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.about-prose strong { color: var(--text-primary); }
.about-side {
  position: sticky;
  top: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 28px;
}
.about-side h6 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about-side dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 20px;
  font-size: 13px;
}
.about-side dt { color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 1px; }
.about-side dd { color: var(--text-primary); }
.timeline {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.tl-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.tl-item:last-child { border-bottom: none; }
.tl-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
  padding-top: 2px;
}
.tl-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ───── Forms ───── */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: span 2; }
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all .15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-muted);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.label .req { color: var(--red); }
.textarea { min-height: 100px; resize: vertical; font-family: var(--font-body); }
.checks {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.check-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
  position: relative;
}
.check-pill input { position: absolute; opacity: 0; pointer-events: none; }
.check-pill .box {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.check-pill:has(input:checked),
.check-pill.checked {
  background: var(--red-muted);
  border-color: var(--red);
  color: var(--text-primary);
}
.check-pill:has(input:checked) .box,
.check-pill.checked .box { background: var(--red); border-color: var(--red); }
.check-pill:has(input:checked) .box::after,
.check-pill.checked .box::after {
  content: ""; width: 6px; height: 6px; background: white; border-radius: 1px;
}
.consent {
  display: flex; gap: 10px;
  font-size: 13px; color: var(--text-secondary);
  cursor: pointer;
  align-items: flex-start;
  user-select: none;
  position: relative;
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent .box {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  background: var(--bg-canvas);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.consent:has(input:checked) .box,
.consent.checked .box { background: var(--red); border-color: var(--red); }
.consent:has(input:checked) .box::after,
.consent.checked .box::after {
  content: ""; width: 8px; height: 8px; background: white; border-radius: 1px;
}
.consent a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 2px; }

.success-card {
  background: var(--bg-surface);
  border: 1px solid var(--success);
  border-radius: 18px;
  padding: 56px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.success-card::before {
  content: ""; position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.18), transparent 60%);
}
.success-card * { position: relative; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid var(--success);
  display: grid; place-items: center;
  margin: 0 auto 24px;
}
.success-card h2 {
  font-family: var(--font-display); font-size: 32px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.015em;
}
.success-card p {
  color: var(--text-secondary); max-width: 440px; margin: 0 auto 28px;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 8px;
}
.form-status[data-state="success"] {
  display: block; background: rgba(34,197,94,0.10);
  color: var(--success); border: 1px solid rgba(34,197,94,0.25);
}
.form-status[data-state="error"] {
  display: block; background: rgba(239,68,68,0.10);
  color: var(--error); border: 1px solid rgba(239,68,68,0.25);
}
.form-status[data-state="loading"] {
  display: block; background: var(--bg-elevated);
  color: var(--text-secondary); border: 1px solid var(--border-default);
}

/* ───── FAQ ───── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 920px; margin: 0 auto; }
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--red-border); }
.faq-q {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.12em;
  width: 32px;
  flex-shrink: 0;
}
.faq-q .qtext { flex: 1; }
.faq-q .chev {
  margin-left: auto;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all .2s;
  flex-shrink: 0;
}
.faq-item[open] .faq-q .chev {
  transform: rotate(180deg);
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.faq-a {
  padding: 0 24px 22px 70px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}
.faq-a a { color: var(--text-primary); text-decoration: underline; }

/* ───── Contact ───── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.contact-channel {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 20px;
}
.contact-channel .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-channel .email {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}
.contact-channel .note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ───── Page hero (non-home pages) ───── */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: 16px;
  margin-bottom: 20px;
  text-wrap: balance;
}
.page-hero h1 .acc { color: var(--red); }
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.55;
}

/* ───── Long-form prose (legal pages) ───── */
.prose {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 40px 0 12px;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 10px;
}
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 14px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text-primary); }
.prose a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
}

/* ───── Sticky mobile CTA ───── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 12px 16px env(safe-area-inset-bottom, 12px);
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
}

/* ───── Mobile menu / overlay ───── */
.menu-btn {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  margin-left: auto;
  cursor: pointer;
  color: white;
}
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg-canvas);
  z-index: 100;
  display: flex; flex-direction: column;
  padding: 20px;
  transform: translateY(-100%);
  transition: transform .25s ease-out;
  visibility: hidden;
}
.mobile-menu[data-open="true"] { transform: translateY(0); visibility: visible; }
.mobile-menu .top {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu .links {
  display: flex; flex-direction: column;
  margin-top: 24px;
  gap: 4px;
}
.mobile-menu .links a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu .links a .arr { color: var(--red); font-size: 18px; }
.mobile-menu .bottom {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
body[data-menu-open="true"] { overflow: hidden; }

/* ───── Cookie banner ───── */
.cookie-banner {
  position: fixed;
  z-index: 70;
  left: 16px; right: 16px; bottom: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px 20px;
  display: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  flex-direction: column; gap: 12px;
}
.cookie-banner[data-show="true"] { display: flex; }
.cookie-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.cookie-text a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row; align-items: center; justify-content: space-between;
    max-width: 880px; left: 50%; transform: translateX(-50%); right: auto;
  }
}

/* ─────────────────────────────────────────────
   MOBILE-EXCLUSIVE EXPERIENCE
   Hidden on desktop; full-bleed on phones.
   Composition: brand bar → typing hero → card-stack AI demo
   → giant marquee → snap-scroll features → CTA → FAQ short
   → bottom tab bar with center FAB
   ───────────────────────────────────────────── */
.mobile-only { display: none; }
.desktop-only { display: block; }
@media (max-width: 720px) {
  .mobile-only { display: block; }
  .desktop-only { display: none; }
  /* When mobile experience is active on home, suppress the desktop sections */
  body[data-mobile-home="true"] .marquee,
  body[data-mobile-home="true"] .desktop-only { display: none !important; }
}

/* Mobile brand bar (sticky, matches design) — hidden on desktop */
.m-brand-bar {
  display: none;
  position: sticky; top: 0; z-index: 50;
  padding: 14px 20px;
  align-items: center; justify-content: space-between;
  background: rgba(8,8,8,0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 720px) {
  .m-brand-bar { display: flex; }
}
.m-brand-bar .brand-mark { gap: 8px; }
.m-brand-bar .brand-mark .nd { width: 26px; height: 26px; }
.m-brand-bar .brand-mark .name { font-size: 14px; }
.m-brand-bar .beta-pill { display: inline-flex; }

/* Mobile hero with typing keyword rotator */
.m-hero {
  padding: 24px 20px 36px;
  position: relative;
}
.m-hero .glow {
  position: absolute; top: -100px; right: -100px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,45,28,0.22), transparent 65%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
.m-hero-inner { position: relative; z-index: 1; }
.m-hero .eyebrow {
  margin-bottom: 14px;
  font-size: 10px;
}
.m-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 11vw, 44px);
  line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
  min-height: 200px;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.m-hero h1 .rotator { display: inline-block; max-width: 100%; }
.m-hero h1 .rotator { color: var(--red); }
.m-hero h1 .caret {
  display: inline-block; width: 3px; height: 0.85em;
  background: var(--red); margin-left: 2px; vertical-align: -0.1em;
  animation: blink 1s steps(2) infinite;
}
.m-hero p.lead {
  color: var(--text-secondary);
  font-size: 16px; line-height: 1.55;
  margin-top: 18px; max-width: 320px;
}
.m-hero .btn-cta {
  margin-top: 24px; width: 100%; padding: 16px;
  background: var(--red); color: #fff; border: none;
  border-radius: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 10px 30px rgba(224,45,28,0.35);
  text-decoration: none;
}

/* Mobile section title */
.m-section { padding: 56px 20px 32px; }
.m-section-eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--red); letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.m-section-eyebrow::before {
  content: ""; width: 14px; height: 1px; background: var(--red);
}
.m-section h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 30px; line-height: 1.05; letter-spacing: -0.02em;
}
.m-section p.intro {
  color: var(--text-secondary); font-size: 14px; line-height: 1.55;
  margin-top: 12px;
}

/* AI demo — swipeable card stack */
.m-demo-tabs {
  display: flex; gap: 8px; margin-top: 22px; margin-bottom: 18px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.m-demo-tabs::-webkit-scrollbar { display: none; }
.m-demo-tab {
  flex-shrink: 0; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-default); background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.2s;
}
.m-demo-tab.active[data-platform="telegram"]  { background: rgba(38,165,228,0.13); color: var(--telegram); border-color: var(--telegram); }
.m-demo-tab.active[data-platform="instagram"] { background: rgba(228,64,95,0.13); color: var(--instagram); border-color: var(--instagram); }
.m-demo-tab.active[data-platform="linkedin"]  { background: rgba(10,102,194,0.13); color: var(--linkedin);  border-color: var(--linkedin);  }

.m-card-stack {
  position: relative; min-height: 460px; perspective: 1200px;
  margin-bottom: 24px;
}
.m-card {
  position: absolute; inset: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), opacity 0.3s;
  touch-action: pan-y;
}
.m-card[data-stack="0"] { z-index: 10; transform: translateY(0) scale(1); opacity: 1; }
.m-card[data-stack="1"] { z-index: 9; transform: translateY(12px) scale(0.96); opacity: 0.75; }
.m-card[data-stack="2"] { z-index: 8; transform: translateY(24px) scale(0.92); opacity: 0.5; }
.m-card-head {
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
.m-card-head .who { display: flex; align-items: center; gap: 10px; }
.m-card-head .av {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
}
.m-card-head .nm { font-weight: 600; font-size: 13px; }
.m-card-head .hd {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-muted);
}
.m-card-head .live {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.15em;
}
.m-card-img {
  aspect-ratio: 2/1;
  position: relative;
  overflow: hidden;
}
/* Subtle grid pattern overlay (still readable) */
.m-card-img::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 1;
}
/* Cinematic radial light source — accent-colored per platform */
.m-card-img::after {
  content: ""; position: absolute;
  width: 60%; height: 140%;
  top: -40%; right: -10%;
  background: radial-gradient(ellipse at center, var(--c-accent, rgba(224,45,28,0.35)), transparent 70%);
  filter: blur(4px);
  z-index: 0;
}
/* Abstract "scene" — geometric composition mimicking generated imagery */
.m-card-scene {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
.m-card-scene .moon {
  position: absolute;
  top: 14%; left: 58%;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.18), var(--c-accent, rgba(224,45,28,0.6)) 60%, transparent 75%);
  box-shadow: 0 0 30px var(--c-accent, rgba(224,45,28,0.5));
}
.m-card-scene .ridge {
  position: absolute;
  left: -10%; right: -10%; bottom: 0;
  height: 35%;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.55) 80%),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255,255,255,0.04) 18px 19px);
  clip-path: polygon(0% 50%, 12% 30%, 20% 38%, 30% 22%, 42% 36%, 55% 18%, 70% 32%, 82% 22%, 100% 40%, 100% 100%, 0% 100%);
}
.m-card-scene .beam {
  position: absolute;
  top: 0; left: 30%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.05) 50%, transparent 62%);
  pointer-events: none;
}
.m-card-scene .ai-chip {
  position: absolute;
  top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.m-card-scene .ai-chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent, var(--red));
  box-shadow: 0 0 8px var(--c-accent, var(--red));
}
.m-card-scene .meta-tag {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  z-index: 3;
}
/* Per-platform tint variations */
.m-card[data-platform="telegram"]  .m-card-img { --c-accent: rgba(38,165,228,0.55); }
.m-card[data-platform="instagram"] .m-card-img { --c-accent: rgba(228,64,95,0.55); }
.m-card[data-platform="linkedin"]  .m-card-img { --c-accent: rgba(10,102,194,0.55); }

.m-card-img .headline {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; letter-spacing: -0.02em; line-height: 1.05;
  white-space: pre-line; text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  z-index: 2;
}
/* Generating shimmer — only on top card while typing */
.m-card[data-stack="0"] .m-card-img .m-card-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  animation: cardShimmer 2.6s linear infinite;
  z-index: 2;
}
@keyframes cardShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.m-card-body { padding: 14px 18px 18px; }
.m-card-body p {
  font-size: 13px; color: var(--text-secondary); line-height: 1.55;
  min-height: 60px;
}
.m-card-body p .caret {
  display: inline-block; width: 6px; height: 12px;
  margin-left: 2px; vertical-align: middle;
  animation: blink 0.8s steps(2) infinite;
}
.m-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.m-card-tag {
  font-family: var(--font-mono); font-size: 9.5px;
  padding: 4px 8px; border-radius: 4px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.m-card-stats {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-family: var(--font-mono); font-size: 9.5px;
  color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase;
}
.m-card-bounce { display: flex; gap: 3px; }
.m-card-bounce span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
  animation: bounce 1s ease-in-out infinite;
}
.m-card-bounce span:nth-child(2) { animation-delay: 150ms; }
.m-card-bounce span:nth-child(3) { animation-delay: 300ms; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-4px); opacity: 1; }
}
.m-swipe-hint {
  text-align: center; padding-top: 8px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase;
}

/* Giant stat marquee */
.m-marquee {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden; white-space: nowrap;
}
.m-marquee-track {
  display: inline-flex; gap: 32px;
  animation: m-marq 35s linear infinite;
}
.m-marquee-item {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.02em; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 32px;
}
.m-marquee-item::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red);
}
@keyframes m-marq {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* Snap-scroll features */
.m-feat-scroll {
  display: flex; gap: 14px; padding: 24px 20px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.m-feat-scroll::-webkit-scrollbar { display: none; }
.m-feat-tile {
  flex-shrink: 0; width: calc(100vw - 64px); max-width: 320px;
  scroll-snap-align: start;
  background: var(--bg-surface); border: 1px solid var(--border-default);
  border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.m-feat-tile .head {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--red); letter-spacing: 0.15em;
  display: flex; justify-content: space-between;
}
.m-feat-tile h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.1; letter-spacing: -0.015em;
  text-wrap: balance; margin-top: auto;
}
.m-feat-tile p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }

/* Mobile CTA block — white button variant */
.m-cta {
  margin: 48px 20px 32px;
  background: linear-gradient(160deg, #0E0E0E 0%, #1A0A08 70%, #E02D1C 200%);
  border: 1px solid var(--red-border);
  border-radius: 22px;
  padding: 36px 28px;
  position: relative; overflow: hidden;
}
.m-cta::before {
  content: ""; position: absolute; top: -100px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,45,28,0.4), transparent 60%);
  filter: blur(30px); pointer-events: none;
}
.m-cta-inner { position: relative; }
.m-cta .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red-muted); border: 1px solid var(--red-border);
  padding: 5px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--red); letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.m-cta .pill .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
  animation: livePulse 1.6s ease-out infinite;
}
.m-cta h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 36px; line-height: 1.02; letter-spacing: -0.025em;
  text-wrap: balance;
}
.m-cta p {
  font-size: 14.5px; color: var(--text-secondary); margin-top: 14px; line-height: 1.55;
}
.m-cta .btn-white {
  margin-top: 22px; width: 100%; padding: 16px;
  background: #fff; color: #0F0F0F;
  border: none; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none;
}

/* Bottom tab bar with center FAB */
.m-tabs {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 8px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 720px) {
  .m-tabs { display: block; }
  body { padding-bottom: 96px; }
  /* Hide the older sticky-mobile-cta when tabs are present */
  .sticky-mobile-cta { display: none !important; }
}
.m-tabs-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center; gap: 4px;
}
.m-tabs a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.m-tabs a[aria-current="page"] { color: var(--text-primary); }
.m-tabs a[aria-current="page"] svg { color: var(--red); }
.m-tabs a span {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.m-tabs .fab {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--red); border: none;
  justify-self: center;
  display: flex; align-items: center; justify-content: center;
  margin-top: -28px;
  box-shadow: 0 8px 22px rgba(224,45,28,0.45), 0 0 0 4px rgba(224,45,28,0.12);
  transition: transform 0.15s;
}
.m-tabs .fab:active { transform: scale(0.92); }
.m-tabs .fab svg { width: 28px; height: 28px; filter: brightness(0) invert(1); }

/* Hide the desktop header on mobile when mobile-experience is in use,
   keep the brand-bar instead. (The desktop header still works on tablet.) */
@media (max-width: 720px) {
  body[data-mobile-shell="true"] > .page-frame > .header { display: none; }
}

/* ─────────────────────────────────────────────
   COMPARISON PAGES
   /karsilastirma + /en/comparison
   ───────────────────────────────────────────── */
.cmp-table-wrap {
  margin: 28px 0 8px;
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: var(--bg-surface);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.cmp-table thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-default);
}
.cmp-table thead th:nth-child(3) {
  color: var(--red);
  font-weight: 700;
}
.cmp-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.5;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody td:first-child {
  color: var(--text-primary);
  font-weight: 500;
  width: 30%;
}
.cmp-table tbody td:nth-child(3) {
  color: var(--text-primary);
}
@media (max-width: 720px) {
  .cmp-table { font-size: 13px; }
  .cmp-table thead th, .cmp-table tbody td { padding: 12px 14px; }
}

/* ─────────────────────────────────────────────
   USE CASES — persona cards
   /kullanim-senaryolari + /en/use-cases
   ───────────────────────────────────────────── */
.persona-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .persona-row { grid-template-columns: 1fr; } }
.persona-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 32px 30px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 14px;
}
.persona-card-tall { min-height: 540px; }
.persona-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 4px;
}
.persona-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.persona-card h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  text-wrap: balance;
  margin: 0;
}
.persona-job {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.persona-job b { color: var(--text-primary); }
.persona-after {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.persona-after .eyebrow {
  font-size: 10px;
  margin-bottom: 8px;
}
.persona-after ul {
  list-style: none; padding: 0; margin: 0;
}
.persona-after ul.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 6px 0;
}
.persona-after ul.check-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: #22C55E;
  font-weight: 700;
}
.persona-pitch {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--red-muted);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
}

.industry-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  max-width: 760px;
}
@media (max-width: 700px) { .industry-list { grid-template-columns: 1fr; } }
.industry-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  border-bottom: 1px solid var(--border-subtle);
}
.industry-list li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--red);
  font-weight: 700;
}
.industry-list li b { color: var(--text-primary); }

/* Home — persona teaser strip (4 small cards linking to /kullanim-senaryolari/) */
.persona-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 900px) { .persona-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .persona-teaser-grid { grid-template-columns: 1fr; } }
.persona-teaser {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color .15s, transform .15s;
}
.persona-teaser:hover {
  border-color: var(--red-border);
  transform: translateY(-2px);
}
.persona-teaser .pt-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--red);
}
.persona-teaser h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1.2;
  margin: 8px 0 6px;
}
.persona-teaser p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.persona-teaser .pt-cta {
  display: inline-flex; margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   CAREERS PAGES
   /kariyer + /en/careers and detail/application pages
   ───────────────────────────────────────────── */
.careers-hero { padding: 96px 0 56px; position: relative; }
.careers-hero-inner { max-width: 920px; }
.careers-h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.02; letter-spacing: -0.025em;
  text-wrap: balance;
  margin-top: 16px;
}
.careers-lead {
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--text-secondary);
  margin-top: 18px;
  max-width: 720px;
  line-height: 1.55;
  text-wrap: pretty;
}
.careers-meta {
  display: flex; gap: 18px 24px; flex-wrap: wrap;
  margin-top: 24px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1.5;
}
.careers-meta span { white-space: normal; }
.careers-meta b { color: var(--text-secondary); font-weight: 500; }
.careers-intro {
  max-width: 760px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.careers-intro p { margin-bottom: 18px; text-wrap: pretty; }
.careers-intro p:last-child { margin-bottom: 0; }
.careers-intro strong { color: var(--text-primary); }
.careers-intro a { color: var(--red); }

/* Mobile-specific tightening — careers intro and hero need real attention
   because the brief explicitly called out mobile importance. */
@media (max-width: 720px) {
  .careers-hero { padding: 40px 0 24px; }
  .careers-hero-inner { padding: 0 4px; }
  .careers-h1 { font-size: clamp(32px, 9.5vw, 44px); margin-top: 12px; }
  .careers-lead { font-size: 16px; margin-top: 14px; line-height: 1.55; }
  .careers-meta {
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }
  .careers-meta span { display: block; }
  .careers-intro {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 2px;
  }
  .careers-intro p { margin-bottom: 14px; }
  .section-h2 { font-size: clamp(26px, 7.5vw, 36px); margin-bottom: 22px; }
  .reason-card { padding: 22px 20px; }
  .reason-card h3 { font-size: 19px; }
  .reason-card p { font-size: 14px; }
  .job-card { padding: 20px 20px 18px; }
  .job-card h3 { font-size: 19px; }
  .job-new { top: 12px; right: 14px; font-size: 9px; }
  .job-meta { gap: 6px; }
  .job-pill { font-size: 10px; padding: 3px 8px; }
}

.section-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05; letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 16px 0 32px;
}

/* Reason grid (4 blocks) */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .reason-grid { grid-template-columns: 1fr; } }
.reason-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.reason-card .reason-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.reason-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.reason-card p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.6;
}

/* Job list / cards */
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 24px 26px 22px;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  transition: transform .15s, border-color .15s, background .15s;
}
.job-card:hover {
  border-color: var(--red-border);
  background: rgba(224,45,28,0.04);
  transform: translateY(-2px);
}
.job-card .job-card-head {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.job-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.015em;
  margin: 0;
}
.job-meta, .job-meta-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.job-meta-row { margin-top: 18px; }
.job-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.job-pill-new {
  background: var(--red-muted);
  border-color: var(--red-border);
  color: var(--red);
}
.job-new {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-mono); font-size: 10px;
  background: var(--red-muted);
  border: 1px solid var(--red-border);
  color: var(--red);
  padding: 2px 8px; border-radius: 4px;
  letter-spacing: 0.18em;
}
.job-summary { color: var(--text-secondary); font-size: 15px; line-height: 1.55; margin: 10px 0 14px; }
.job-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red);
  font-weight: 500;
  font-size: 14px;
}

.careers-open { background: linear-gradient(140deg, var(--bg-surface) 0%, #170B0A 100%); }

.careers-community { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.community-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.community-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}
.community-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.community-body { flex: 1; }
.community-body h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; margin-bottom: 4px;
}
.community-body p { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.community-arr {
  color: var(--text-muted); font-size: 20px; padding: 0 4px;
}

/* Job detail page */
.back-link {
  display: inline-flex; align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--red); }
.job-detail-head { max-width: 920px; }
.job-detail-body {
  max-width: 760px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.job-detail-body h2 {
  font-family: var(--font-display); font-weight: 700;
  color: var(--text-primary);
  font-size: 26px; line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  scroll-margin-top: 96px;
}
.job-detail-body p { margin-bottom: 14px; }
.job-detail-body strong { color: var(--text-primary); }
.job-detail-body ul {
  padding-left: 1.4em;
  margin: 12px 0 16px;
  list-style: disc;
}
.job-detail-body li { margin: 6px 0; }
.job-detail-body ul.check-list,
.job-detail-body ul.cross-list {
  list-style: none; padding-left: 0;
}
.job-detail-body ul.check-list li,
.job-detail-body ul.cross-list li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}
.job-detail-body ul.check-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: #22C55E;
  font-weight: 700;
}
.job-detail-body ul.cross-list li::before {
  content: "✕";
  position: absolute; left: 0;
  color: var(--red);
  font-weight: 700;
}

/* Application card + form */
.apply-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--red);
  border-radius: 18px;
  padding: 36px 40px 40px;
  max-width: 760px;
}
@media (max-width: 600px) { .apply-card { padding: 28px 22px 30px; } }
.apply-head { margin-bottom: 28px; }
.apply-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3.5vw, 34px);
  letter-spacing: -0.015em;
  margin: 6px 0 10px;
}
.apply-head p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

.career-form { display: flex; flex-direction: column; gap: 18px; }
.career-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .career-form .form-row { grid-template-columns: 1fr; } }
.career-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.career-form label .req { color: var(--red); margin-left: 2px; }
.career-form label .opt {
  color: var(--text-muted);
  font-weight: 400; text-transform: lowercase;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.career-form input[type="text"],
.career-form input[type="email"],
.career-form input[type="tel"],
.career-form input[type="url"],
.career-form select,
.career-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color .15s, box-shadow .15s;
}
.career-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-muted);
}
.career-form input[type="file"] {
  font-family: var(--font-body); font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-base);
  border: 1px dashed var(--border-default);
  border-radius: 10px;
  padding: 14px 16px;
  text-transform: none; letter-spacing: 0;
}
.career-form input[type="file"]:focus {
  border-color: var(--red);
  outline: none;
}
.career-form .char-count {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.career-form .char-count.over { color: var(--red); }
.career-form .field-hint {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.career-form .checkbox-label {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.55;
  padding: 6px 0;
}
.career-form .checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}
.career-form .checkbox-label a { color: var(--red); }
.career-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
}
.career-form .form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  display: none;
}
.career-form .form-status[data-state="success"] {
  display: block;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  color: #67e094;
}
.career-form .form-status[data-state="error"] {
  display: block;
  background: var(--red-muted);
  border: 1px solid var(--red-border);
  color: #ffb7ad;
}
.career-form .form-status[data-state="fallback"] {
  display: block;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.3);
  color: #fbcb6c;
}
.career-form .form-status[data-state="fallback"] a {
  color: var(--red); font-weight: 600;
}

/* ─────────────────────────────────────────────
   LEGAL PAGES
   Long-form prose with sidebar TOC on desktop,
   collapsible TOC on mobile, print-friendly,
   anchor links per section.
   ───────────────────────────────────────────── */
.legal-page { padding: 64px 0 96px; }
.legal-page-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.legal-head { margin-bottom: 40px; max-width: 800px; }
.legal-head .eyebrow { margin-bottom: 16px; }
.legal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-wrap: balance;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* TOC sidebar (sticky on desktop) */
.legal-toc {
  position: sticky;
  top: 96px;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.legal-toc-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  margin: 0;
}
.legal-toc li a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.4;
  border-bottom: 1px dotted transparent;
  transition: color .15s;
}
.legal-toc li a::before {
  content: counter(toc, decimal-leading-zero) " · ";
  color: var(--text-muted);
}
.legal-toc li a:hover { color: var(--text-primary); }
@media (max-width: 900px) {
  .legal-toc { position: static; max-height: none; }
}

/* Long-form prose */
.legal-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 760px;
}
.legal-body p { margin: 0 0 16px; }
.legal-body p strong, .legal-body strong { color: var(--text-primary); font-weight: 600; }
.legal-body em { color: var(--text-primary); }
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 48px 0 16px;
  scroll-margin-top: 96px;
  position: relative;
}
.legal-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 32px 0 12px;
  scroll-margin-top: 96px;
}
.legal-body h2 .anchor,
.legal-body h3 .anchor {
  position: absolute;
  left: -28px;
  color: var(--red);
  text-decoration: none;
  opacity: 0;
  transition: opacity .15s;
  font-weight: 400;
}
.legal-body h2:hover .anchor,
.legal-body h3:hover .anchor { opacity: 1; }

.legal-body ul, .legal-body ol {
  padding-left: 1.4em;
  margin: 0 0 18px;
}
.legal-body li { margin: 6px 0; }
.legal-body li > p { margin: 4px 0; }

.legal-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--red-hover); }

.legal-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-primary);
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.legal-body thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-default);
}
.legal-body tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  color: var(--text-secondary);
}
.legal-body tbody td strong { color: var(--text-primary); }
@media (max-width: 700px) {
  .legal-body table { display: block; overflow-x: auto; }
}

.legal-body blockquote {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 18px;
  margin: 18px 0;
  color: var(--text-primary);
  background: rgba(224,45,28,0.04);
}

.legal-body hr {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 36px 0;
}

.legal-backtop {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
}
.legal-backtop a {
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.legal-backtop a:hover { color: var(--red); }

/* Print-friendly */
@media print {
  body { background: #fff; color: #111; }
  .app-bg, .header, .footer, .mobile-menu, .m-brand-bar, .m-tabs,
  .cookie-banner, .skip-link, .legal-toc, .sticky-mobile-cta,
  .legal-body h2 .anchor, .legal-body h3 .anchor { display: none !important; }
  .page-frame { background: #fff; }
  .legal-page { padding: 0; }
  .legal-page-inner { max-width: none; padding: 0; }
  .legal-layout { display: block; }
  .legal-title { font-size: 32px; color: #000; }
  .legal-body {
    color: #222;
    font-size: 12pt;
    line-height: 1.6;
    max-width: none;
  }
  .legal-body h2, .legal-body h3, .legal-body strong { color: #000; }
  .legal-body a { color: #000; text-decoration: underline; }
  .legal-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .legal-body table { font-size: 10pt; }
  .legal-body thead th, .legal-body tbody td { padding: 6px 10px; }
}

/* ───── Reduce motion ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ───── Responsive ───── */
@media (max-width: 1180px) {
  .beta-pill { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .feat-grid, .feats-page-grid, .users-grid, .stats-row, .steps {
    grid-template-columns: 1fr 1fr;
  }
  .feat-tile.span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-side { position: relative; top: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .ea-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  section.block { padding: 56px 0; }
  .container { padding: 0 18px; }
  /* Desktop header is fully replaced by m-brand-bar on mobile */
  .header { display: none; }
  .menu-btn { display: none; }
  .mobile-menu { display: none; }

  /* Hero */
  .hero { padding: 24px 0 48px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); line-height: 1.04; letter-spacing: -0.02em; }
  .hero .lead { font-size: 16px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn { width: 100%; }
  .hero-trust { flex-wrap: wrap; gap: 8px; font-size: 11px; }
  .hero-trust .sep { display: none; }
  .hero-eyebrow-pill { font-size: 11px; padding: 6px 12px; }

  /* Live panel — keep readable */
  .live-panel-header { padding: 10px 12px; flex-wrap: wrap; }
  .live-panel-tabs { width: 100%; margin-top: 8px; gap: 4px; }
  .live-tab { font-size: 10px; padding: 4px 8px; }
  .live-panel-body { font-size: 11px; padding: 14px; min-height: 260px; line-height: 1.55; }
  .live-panel-footer { flex-wrap: wrap; padding: 10px 12px; gap: 6px; }
  .live-panel-footer .actions { width: 100%; }
  .live-panel-footer .actions .btn { flex: 1; }
  .live-panel-footer .badge { font-size: 10px; }
  .live-panel-footer .meta { font-size: 10px; }

  /* Page hero */
  .page-hero { padding: 36px 0 24px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .page-hero p { font-size: 15px; }

  /* Section heads */
  .section-head h2 { font-size: clamp(28px, 8vw, 38px); }
  .head-meta { font-size: 14px; }

  /* Grids collapse */
  .feat-grid, .feats-page-grid, .users-grid, .stats-row, .steps,
  .form-grid, .footer-grid, .modes-grid { grid-template-columns: 1fr; }
  .feat-tile.span-2 { grid-column: span 1; }
  .form-grid .full { grid-column: span 1; }
  .steps::before { display: none; }

  /* Cards & paddings */
  .feat-card, .feat-tile { padding: 28px 22px; }
  .feat-card h3, .feat-tile h3 { font-size: 22px; }
  .cta-card { padding: 36px 24px; }
  .cta-card h2 { font-size: 28px; }
  .form-card { padding: 24px 20px; }
  .user-card { padding: 22px 20px; flex-direction: column; gap: 14px; }
  .user-card .ic { font-size: 28px; }
  .stat-card { padding: 28px 22px; }
  .stat-value { font-size: 56px; }

  /* FAQ */
  .faq-q { padding: 18px 18px; font-size: 15px; gap: 12px; }
  .faq-q .num { font-size: 11px; min-width: 24px; }
  .faq-a { padding: 0 18px 20px; font-size: 14px; }

  /* Forms — bigger touch targets */
  .input, .select, .textarea { font-size: 16px; padding: 14px 14px; }
  .check-pill { padding: 10px 14px; font-size: 14px; min-height: 44px; }
  .btn-lg { padding: 16px 22px; font-size: 15px; }
  .consent { font-size: 13px; }

  /* Marquee */
  .marquee { padding: 14px 0; }
  .marquee-item { font-size: 12px; gap: 8px; padding-right: 20px; }

  /* Footer */
  .footer { padding: 56px 0 100px; }
  .footer-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 11px; padding-top: 24px; }

  /* Mobile sticky CTA */
  .sticky-mobile-cta { display: block; padding: 12px 18px; }
  .sticky-mobile-cta .btn { font-size: 15px; padding: 14px 18px; }
  body { padding-bottom: 80px; }

  /* Image-mode preview cards stack better */
  .image-modes { grid-template-columns: 1fr; gap: 10px; }
  .image-mode { aspect-ratio: 16/9; }

  /* About */
  .about-prose { font-size: 15px; }
  .about-side { padding: 24px 20px; }
  .timeline { font-size: 13px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 26px; }
  .stat-value { font-size: 48px; }
  .footer-bottom { font-size: 10px; }
  .feat-card, .feat-tile { padding: 24px 18px; }
  .container { padding: 0 14px; }
}
