@import url('/design-tokens.css');
@import url('/shared.css');

/* ================== RESET ================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ================== LAYOUT ================== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1280px) { .wrap { padding: 0 32px; } }

/* Atmosphere, grain, nav, buttons → /shared.css */

/* ================== HERO ================== */
.hero { padding: 72px 0 88px; }
@media (min-width: 960px) { .hero { padding: 104px 0 120px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
}
.eyebrow-dot { width: 18px; height: 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 10px; font-weight: 800; }

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 20px 0 20px;
  text-wrap: balance;
}
h1.hero-title em {
  font-style: normal;
  color: var(--accent);
  /* subtle underline */
  position: relative;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--fg-2); max-width: 560px;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust {
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--fg-3);
}
.avatars { display: flex; }
.avatars > span {
  width: 28px; height: 28px; border-radius: 999px; background: var(--bg-3);
  border: 2px solid var(--bg); margin-left: -8px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--fg-2);
}
.avatars > span:first-child { margin-left: 0; }

/* Hero visual: dashboard card */
.hero-visual {
  position: relative;
  perspective: 1800px;
}
.dash {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 80px -30px rgba(0,0,0,0.5),
    0 20px 40px -20px color-mix(in oklab, var(--accent) 25%, transparent);
  transform: rotateX(3deg) rotateY(-4deg);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--border); }
.dash-url { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.dash-body { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  padding: 16px; border-radius: 12px;
  background: color-mix(in oklab, var(--fg) 3%, transparent);
  border: 1px solid var(--border);
}
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); font-family: var(--font-mono); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin-top: 8px; }
.stat-delta { font-size: 12px; color: #4ade80; margin-top: 6px; }
.stat-delta.neg { color: var(--rose-400); }
.chart {
  grid-column: span 2; padding: 16px; border-radius: 12px;
  background: color-mix(in oklab, var(--fg) 3%, transparent);
  border: 1px solid var(--border); height: 160px; position: relative;
}
.chart-title { font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); }

/* Floating phone */
.phone {
  position: absolute; right: -30px; bottom: -40px;
  width: 200px; height: 400px;
  border-radius: 36px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 8px color-mix(in oklab, var(--fg) 6%, transparent);
  overflow: hidden;
  transform: rotate(6deg);
}
.phone::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px; background: #000; border-radius: 999px;
}
.phone-screen {
  margin: 42px 10px 10px; border-radius: 22px; height: calc(100% - 52px);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 15%, var(--bg-2)), var(--bg-2));
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.phone-card {
  border-radius: 12px; background: color-mix(in oklab, var(--fg) 5%, transparent);
  border: 1px solid var(--border); padding: 10px;
}
.phone-title { font-size: 10px; color: var(--fg-3); font-family: var(--font-mono); }
.phone-big { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-top: 4px; }
.phone-pill { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 700px) { .phone { display: none; } }

/* ================== SECTION TITLES ================== */
.section { padding: 88px 0; position: relative; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 16px 0 16px;
  max-width: 880px;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}
.section-sub { color: var(--fg-2); font-size: 17px; max-width: 640px; line-height: 1.55; }

/* ================== LOGOS ================== */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center; font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.logos-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px;
  align-items: center; justify-items: center;
}
@media (min-width: 720px) { .logos-row { grid-template-columns: repeat(5, 1fr); } }
.brand {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--fg-2); opacity: 0.8;
  transition: opacity .2s, color .2s;
  font-size: 20px;
  display: flex; align-items: center; gap: 8px;
}
.brand:hover { opacity: 1; color: var(--fg); }
.brand-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: 0.5; }

/* ================== FEATURES ================== */
.feat-grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--bg-2) 50%, transparent);
  backdrop-filter: blur(6px);
  position: relative;
  transition: border-color .2s, transform .2s;
  min-height: 240px;
  display: flex; flex-direction: column;
}
.feat:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.feat-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.feat-desc { color: var(--fg-2); margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
.feat-tag {
  margin-top: auto; padding-top: 16px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.feat.wide { grid-column: span 1; }
@media (min-width: 1024px) { .feat.wide { grid-column: span 2; } }

/* ================== HOW IT WORKS ================== */
.steps { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.step {
  padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg-2) 40%, transparent);
  position: relative;
}
.step-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent); margin-bottom: 10px;
}
.step-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
.step-desc { color: var(--fg-2); font-size: 14px; margin-top: 8px; line-height: 1.55; }

/* ================== AI SHOWCASE ================== */
.ai-showcase {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ai-grid { display: grid; gap: 40px; margin-top: 48px; align-items: start; }
@media (min-width: 960px) { .ai-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.ai-list { display: flex; flex-direction: column; gap: 8px; }
.ai-item {
  padding: 20px; border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; transition: all .2s;
  background: transparent;
  text-align: left;
  display: block; width: 100%;
}
.ai-item:hover { border-color: var(--border-2); }
.ai-item[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.ai-item-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.ai-item-desc { color: var(--fg-2); font-size: 13.5px; margin-top: 4px; line-height: 1.5; }
.ai-preview {
  padding: 24px; border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  min-height: 380px; position: relative; overflow: hidden;
}
.ai-chat-row {
  display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start;
  animation: fadeUp .4s ease both;
}
.ai-chat-row.user { justify-content: flex-end; }
.ai-bubble {
  padding: 10px 14px; border-radius: 14px;
  background: color-mix(in oklab, var(--fg) 5%, transparent);
  border: 1px solid var(--border);
  font-size: 13.5px; line-height: 1.5; max-width: 85%;
}
.ai-chat-row.user .ai-bubble { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.ai-badge {
  position: absolute; top: 16px; right: 16px;
  z-index: 5;
  font-family: var(--font-mono); font-size: 10px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink, #fff);
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 2px 10px color-mix(in oklab, var(--accent) 35%, transparent);
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ================== RESULTS ================== */
.results-section { background: linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg)); }

.results-hero {
  display: grid; gap: 16px; margin-top: 48px;
}
@media (min-width: 900px) { .results-hero { grid-template-columns: repeat(3, 1fr); } }

.outcome-card {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.outcome-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 0% 0%, var(--accent-soft), transparent 50%);
  opacity: 0.6; pointer-events: none;
}
.outcome-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.outcome-badge {
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  letter-spacing: 0.04em; text-transform: none;
}
.outcome-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 28px; color: var(--fg);
  display: flex; align-items: baseline; gap: 4px;
  position: relative; z-index: 1;
}
.outcome-num-big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(56px, 6vw, 84px); line-height: 0.95;
  letter-spacing: -0.03em; color: var(--accent);
}
.outcome-desc {
  font-size: 14px; color: var(--fg-2); line-height: 1.5;
  position: relative; z-index: 1;
}
.outcome-desc strong { color: var(--fg); font-weight: 600; }

.outcome-chart, .basket-compare, .funnel {
  margin-top: auto; padding-top: 6px; position: relative; z-index: 1;
}
.bar-group { margin-top: 10px; }
.bar-label { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.bar-track { height: 8px; background: color-mix(in oklab, var(--fg) 5%, transparent); border-radius: 999px; margin-top: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--fg-3); border-radius: 999px; }
.bar-fill-accent { background: var(--accent); }
.bar-val { font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); margin-top: 3px; }

.basket-row {
  display: grid; grid-template-columns: 80px 1fr 56px;
  gap: 10px; align-items: center; margin-top: 8px;
  font-family: var(--font-mono); font-size: 12px;
}
.basket-name { color: var(--fg-3); text-transform: uppercase; font-size: 10px; letter-spacing: 0.06em; }
.basket-bar { height: 14px; background: color-mix(in oklab, var(--fg) 5%, transparent); border-radius: 4px; overflow: hidden; }
.basket-fill { display: block; height: 100%; background: var(--fg-3); }
.basket-fill-accent { background: var(--accent); }
.basket-amt { color: var(--fg-2); text-align: right; }
.basket-amt-accent { color: var(--accent); font-weight: 600; }

.funnel { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.funnel-step {
  flex: 1; padding: 10px 8px;
  border: 1px solid var(--border); border-radius: 8px;
  background: color-mix(in oklab, var(--bg) 50%, transparent);
  text-align: center;
}
.funnel-step-final { border-color: var(--accent); background: var(--accent-soft); }
.funnel-num { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg); }
.funnel-step-final .funnel-num { color: var(--accent); }
.funnel-lbl { font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; line-height: 1.3; }
.funnel-arrow { color: var(--fg-3); font-size: 12px; flex-shrink: 0; }

/* Big dashboard mockup */
.results-dashboard {
  margin-top: 32px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  overflow: hidden;
  box-shadow: 0 40px 80px -40px color-mix(in oklab, var(--accent) 30%, rgba(0,0,0,0.5));
}
.dash-top {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.dash-brand { display: flex; align-items: center; gap: 12px; }
.dash-brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.dash-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.dash-brand-sub { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 2px; }
.dash-top-right { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dash-chip {
  font-family: var(--font-mono); font-size: 11px;
  padding: 5px 10px; border-radius: 6px;
  background: color-mix(in oklab, var(--fg) 4%, transparent);
  border: 1px solid var(--border); color: var(--fg-2);
}
.dash-chip-active { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }

.dash-kpis {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) { .dash-kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi {
  padding: 20px; border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  position: relative;
}
.kpi:last-child { border-right: none; }
@media (max-width: 719px) { .kpi:nth-child(odd) { border-right: 1px solid var(--border); } .kpi:nth-child(even) { border-right: none; } }
.kpi-label { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; }
.kpi-val { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin-top: 8px; }
.kpi-delta { font-family: var(--font-mono); font-size: 11px; margin-top: 4px; }
.kpi-delta-up { color: #4ade80; }
.kpi-delta-down { color: #4ade80; }  /* churn düşüşü iyi — yeşil */
.kpi-spark { width: 100%; height: 24px; margin-top: 12px; opacity: 0.85; }

.dash-split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dash-split { grid-template-columns: 1.3fr 1fr; } }
.dash-panel {
  padding: 20px; border-right: 1px solid var(--border);
}
.dash-panel:last-child { border-right: none; border-top: 1px solid var(--border); }
@media (min-width: 900px) { .dash-panel:last-child { border-top: none; } }
.dash-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.dash-panel-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.dash-panel-sub { font-size: 12px; color: var(--fg-3); margin-top: 2px; line-height: 1.4; }
.dash-legend { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.leg-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 3px; }
.leg-dot-1 { background: var(--fg-3); }
.leg-dot-2 { background: var(--accent); }

.cohort-svg { width: 100%; height: 180px; }
.cohort-axis {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-3);
  margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em;
}

.live-pill {
  font-family: var(--font-mono); font-size: 10px; color: #4ade80;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 999px;
  background: color-mix(in oklab, #4ade80 15%, transparent);
  text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0;
}
.live-dot { width: 6px; height: 6px; border-radius: 999px; background: #4ade80; animation: livePulse 1.6s infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.camp-list { display: flex; flex-direction: column; gap: 8px; }
.camp-row {
  padding: 12px; border-radius: 8px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 30%, transparent);
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
}
.camp-meta { position: relative; }
.camp-name { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.camp-sub { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 3px; }
.ai-pill {
  position: absolute; top: -3px; right: 0;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  background: var(--accent); color: var(--accent-ink); letter-spacing: 0.06em;
}
.camp-stats { display: flex; gap: 14px; }
.camp-stat { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.camp-stat-lbl { font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.camp-stat-val { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.camp-stat-val-up { color: #4ade80; }

/* ================== MODULES (product deep-dive) ================== */
.modules-section { }
.module-row {
  display: grid; gap: 48px; align-items: center;
  padding: 72px 0;
  border-bottom: 1px dashed var(--border);
}
.module-row:last-child { border-bottom: none; }
@media (min-width: 960px) { .module-row { grid-template-columns: 0.9fr 1.2fr; gap: 72px; } }
@media (min-width: 960px) { .module-row-alt { grid-template-columns: 1.2fr 0.9fr; } .module-row-alt .module-copy { order: 2; } .module-row-alt .module-visual { order: 1; } }

.module-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.module-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3vw, 42px); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.module-desc { color: var(--fg-2); font-size: 15px; line-height: 1.65; max-width: 460px; }
.module-bullets { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.module-bullets li {
  display: flex; gap: 10px; align-items: baseline;
  font-size: 14px; color: var(--fg-2); line-height: 1.5;
}
.module-bullets li::before { content: "—"; color: var(--accent); flex-shrink: 0; }
.module-bullets li span { color: var(--fg); font-weight: 500; margin-right: 4px; }

/* Mock window chrome */
.mock-window {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px color-mix(in oklab, var(--accent) 20%, rgba(0,0,0,0.5));
}
.mock-head {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 40%, transparent);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--border); }
.mock-url { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.mock-body { padding: 24px; }

/* Segment mock */
.segment-mock { }
.seg-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.seg-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.seg-count { text-align: right; }
.seg-count-num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--accent); letter-spacing: -0.02em; }
.seg-count-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; margin-left: 6px; }
.seg-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.seg-filter {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 10px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
  font-family: var(--font-mono); font-size: 11px;
}
.seg-filter-excl { background: color-mix(in oklab, var(--fg) 5%, transparent); color: var(--fg-2); border-color: var(--border); }
.seg-f-key { font-weight: 600; }
.seg-f-op { opacity: 0.6; }
.seg-f-val { font-weight: 600; padding: 1px 6px; border-radius: 3px; background: color-mix(in oklab, currentColor 15%, transparent); }
.seg-x { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px; color: inherit; opacity: 0.5; font-size: 14px; }
.seg-x:hover { opacity: 1; background: color-mix(in oklab, currentColor 20%, transparent); }
.seg-add {
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 10px; border-radius: 6px;
  border: 1px dashed var(--border-2); color: var(--fg-3);
}

.seg-preview-head {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.seg-preview-live { color: #4ade80; }
.seg-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center; padding: 10px 0;
  border-top: 1px solid var(--border);
}
.seg-row:first-of-type { border-top: none; }
.seg-av {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px;
}
.seg-name { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.seg-meta { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 2px; }
.seg-score {
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 8px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Campaign mock */
.camp-mock { }
.camp-step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.camp-step-num { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.camp-step-save { font-family: var(--font-mono); font-size: 11px; color: #4ade80; }
.camp-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 20px; }
.camp-type {
  padding: 12px 8px; border-radius: 8px;
  border: 1px solid var(--border); background: color-mix(in oklab, var(--bg) 30%, transparent);
  text-align: center; cursor: pointer;
}
.camp-type-active { border-color: var(--accent); background: var(--accent-soft); }
.camp-type-icon { font-size: 18px; margin-bottom: 4px; }
.camp-type-active .camp-type-icon { color: var(--accent); }
.camp-type-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); }
.camp-type-active .camp-type-lbl { color: var(--accent); }
.camp-form { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.camp-field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.camp-field label { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.camp-input {
  padding: 8px 10px; border-radius: 6px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 40%, transparent);
  font-family: var(--font-mono); font-size: 12px; color: var(--fg);
}
.camp-input-sm { font-size: 13px; font-weight: 600; }
.camp-field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.camp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.camp-chip-on, .camp-chip-off {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 8px; border-radius: 4px;
}
.camp-chip-on { background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent); }
.camp-chip-off { background: transparent; color: var(--fg-3); border: 1px dashed var(--border); }
.camp-rule { display: flex; flex-wrap: wrap; gap: 5px; }
.camp-rule-tag {
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 7px; border-radius: 4px;
  background: color-mix(in oklab, var(--fg) 5%, transparent); color: var(--fg-2);
}
.camp-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.camp-foot-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.camp-foot-val { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-top: 2px; }
.camp-publish {
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 13px;
}

/* Triggers mock */
.trig-mock { }
.trig-head { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.trig-count { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); font-weight: 400; }
.trig-item {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.trig-item:last-child { border-bottom: none; }
.trig-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: #4ade80; box-shadow: 0 0 0 3px color-mix(in oklab, #4ade80 20%, transparent);
}
.trig-off .trig-dot { background: var(--fg-3); box-shadow: 0 0 0 3px color-mix(in oklab, var(--fg-3) 20%, transparent); }
.trig-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; }
.trig-event {
  padding: 4px 8px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 600;
}
.trig-arrow { color: var(--fg-3); }
.trig-action {
  padding: 4px 8px; border-radius: 4px;
  background: color-mix(in oklab, var(--fg) 5%, transparent); color: var(--fg-2);
}
.trig-channel { color: var(--fg); font-weight: 600; }
.trig-ai { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.trig-stat { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.trig-off .trig-stat { font-style: italic; }

/* Phones */
.module-visual-phones { display: flex; justify-content: center; align-items: center; gap: 20px; min-height: 520px; position: relative; }
.phone-mock {
  width: 220px; height: 440px; border-radius: 38px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-2);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.55), 0 0 0 6px color-mix(in oklab, var(--fg) 8%, transparent);
  padding: 12px;
  position: relative;
}
.phone-a { transform: rotate(-3deg) translateY(-10px); z-index: 1; }
.phone-b { transform: rotate(4deg) translateY(20px); z-index: 2; }
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 16px; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--border);
}
.phone-scr {
  width: 100%; height: 100%; border-radius: 28px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 18%, var(--bg-2)), var(--bg-2));
  padding: 40px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.phs-hello { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg); }
.phs-card {
  padding: 14px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink);
  position: relative; overflow: hidden;
}
.phs-card-lbl { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }
.phs-card-val { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; line-height: 1; margin-top: 6px; }
.phs-card-prog { height: 4px; background: color-mix(in oklab, currentColor 20%, transparent); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.phs-card-prog-fill { height: 100%; background: currentColor; opacity: 0.85; border-radius: 999px; }
.phs-card-next { font-family: var(--font-mono); font-size: 9px; margin-top: 6px; opacity: 0.8; }

.phs-campaign {
  display: flex; gap: 10px; align-items: center;
  padding: 10px; border-radius: 10px;
  background: color-mix(in oklab, var(--bg) 50%, transparent);
  border: 1px solid var(--border);
}
.phs-camp-img {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: repeating-linear-gradient(135deg, #f59e0b 0 6px, #d97706 6px 12px);
}
.phs-camp-t { font-family: var(--font-display); font-weight: 600; font-size: 11px; color: var(--fg); }
.phs-camp-s { font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); margin-top: 2px; }

.phs-list { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.phs-row {
  display: flex; justify-content: space-between;
  padding: 9px 10px; border-radius: 8px;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  font-family: var(--font-display); font-size: 11px; color: var(--fg);
}
.phs-row span:last-child { color: var(--fg-3); }

.phs-back { font-family: var(--font-display); font-size: 11px; color: var(--fg-3); }
.phs-reward-big {
  padding: 18px 14px; border-radius: 14px;
  background: color-mix(in oklab, var(--bg) 50%, transparent);
  border: 1px solid var(--border-2); text-align: center;
}
.phs-star { font-size: 13px; color: var(--accent); letter-spacing: 2px; }
.phs-reward-t { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-top: 10px; color: var(--fg); }
.phs-reward-s { font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); margin-top: 4px; }

.phs-coupon {
  margin-top: auto;
  padding: 16px 12px; border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 12%, var(--bg));
  border: 1px dashed var(--accent);
  text-align: center;
}
.phs-coupon-t { font-family: var(--font-display); font-weight: 600; font-size: 11px; color: var(--accent); }
.phs-coupon-v { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-top: 4px; color: var(--fg); }
.phs-coupon-qr {
  width: 60px; height: 60px; margin: 12px auto 8px;
  background:
    repeating-linear-gradient(90deg, var(--fg) 0 3px, transparent 3px 6px),
    repeating-linear-gradient(0deg, var(--fg) 0 3px, transparent 3px 6px);
  background-blend-mode: multiply;
  opacity: 0.85;
}
.phs-coupon-code { font-family: var(--font-mono); font-size: 9px; color: var(--fg-2); letter-spacing: 0.08em; }

/* ================== STATS ================== */
.stats-grid { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-big {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.stat-big-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--accent);
}
.stat-big-label { color: var(--fg-2); margin-top: 14px; font-size: 15px; line-height: 1.5; }
.stat-big-source { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ================== FAQ ================== */
.faq { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  text-align: left; color: var(--fg);
}
.faq-q:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--fg-3); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
  color: var(--fg-2); font-size: 15px; line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }

/* ================== CTA / DEMO FORM ================== */
.cta-box {
  margin-top: 48px;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: -1px;
  background: radial-gradient(600px 300px at 10% 0%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 55%);
  pointer-events: none;
}
.cta-grid { display: grid; gap: 40px; align-items: start; position: relative; }
@media (min-width: 860px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.form-row { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em;
}
.input, .textarea, .select {
  padding: 12px 14px; border-radius: 10px;
  background: color-mix(in oklab, var(--fg) 3%, transparent);
  border: 1px solid var(--border);
  color: var(--fg); font-family: var(--font-sans); font-size: 14px;
  outline: none; transition: border-color .2s, background .2s;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 5%, transparent);
}
.textarea { min-height: 88px; resize: vertical; font-family: var(--font-sans); }
.form-row-2 { display: grid; gap: 14px; }
@media (min-width: 520px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }

.cta-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.cta-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg-2); font-size: 15px; }
.cta-list li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

/* Form success */
.form-success {
  display: none; padding: 24px; border-radius: 12px;
  background: color-mix(in oklab, #4ade80 12%, transparent);
  border: 1px solid color-mix(in oklab, #4ade80 40%, transparent);
  color: #4ade80;
  text-align: center; font-family: var(--font-display); font-weight: 600;
}
.demo-form.submitted .form-body { display: none; }
.demo-form.submitted .form-success { display: block; }

/* Footer → /shared.css */

/* ================== VIDEO MODAL ================== */
.play-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-right: 2px;
}
.video-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: vmFade 180ms ease-out;
}
.video-modal-inner {
  position: relative;
  width: min(1500px, 100%);
  max-height: calc(100vh - 64px);
  background: transparent;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  animation: vmPop 260ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.video-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: rgba(10,11,13,0.55); border: 1px solid rgba(255,255,255,0.18);
  width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 140ms, border-color 140ms;
}
.video-modal-close:hover { background: rgba(10,11,13,0.8); border-color: rgba(255,255,255,0.32); }
.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f7f7f5;
}
.video-modal-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  display: block;
}
@keyframes vmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vmPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 720px) {
  .video-modal { padding: 12px; }
}

/* ================== TWEAKS PANEL ================== */
.tweaks {
  position: fixed; right: 20px; bottom: 20px;
  width: 300px; z-index: 100;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  padding: 16px;
  font-family: var(--font-sans); font-size: 13px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tweaks-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.tweaks-close { color: var(--fg-3); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; }
.tweaks-close:hover { background: var(--bg-3); color: var(--fg); }
.tweaks-row { margin-top: 10px; }
.tweaks-label { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch {
  width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--border);
  cursor: pointer; transition: border-color .15s, transform .15s;
}
.swatch.active { border-color: var(--fg); transform: scale(1.08); }
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 3px; gap: 3px;
  background: var(--bg-3); border-radius: 8px;
  border: 1px solid var(--border);
}
.seg button {
  padding: 6px 8px; border-radius: 6px; font-size: 12px; color: var(--fg-2);
  white-space: nowrap;
}
.seg button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.tweaks-textarea {
  width: 100%; padding: 8px 10px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--fg); font-size: 12px; font-family: var(--font-sans);
  resize: vertical; min-height: 60px; outline: none;
}
.tweaks-textarea:focus { border-color: var(--accent); }

/* ================== EDITORIAL VARIANT ================== */
html[data-variant="editorial"] {
  --font-display: 'Instrument Serif', Georgia, serif;
  --radius: 4px;
  --radius-lg: 6px;
}
html[data-variant="editorial"] .atmosphere::after { display: none; }
html[data-variant="editorial"] .atmosphere {
  background:
    radial-gradient(900px 600px at 85% -5%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%);
}
html[data-variant="editorial"] h1.hero-title {
  font-size: clamp(52px, 9vw, 128px);
  letter-spacing: -0.04em;
  font-weight: 400;
  line-height: 0.95;
}
html[data-variant="editorial"] h1.hero-title em {
  font-style: italic;
  color: var(--fg);
}
html[data-variant="editorial"] h1.hero-title em::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--accent);
}
html[data-variant="editorial"] .section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
html[data-variant="editorial"] .section-title em {
  font-style: normal; color: var(--accent);
}
html[data-variant="editorial"] .feat-title,
html[data-variant="editorial"] .step-title,
html[data-variant="editorial"] .ai-item-title,
html[data-variant="editorial"] .faq-q {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}
html[data-variant="editorial"] .stat-big-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 10vw, 140px);
  letter-spacing: -0.04em;
}
html[data-variant="editorial"] .logo { font-family: 'Plus Jakarta Sans', sans-serif; }
html[data-variant="editorial"] .eyebrow { border-radius: 2px; }
html[data-variant="editorial"] .hero { padding-top: 48px; }
html[data-variant="editorial"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: left;
}
@media (min-width: 1024px) {
  html[data-variant="editorial"] .hero-grid {
    grid-template-columns: 1fr;
  }
}
html[data-variant="editorial"] .hero-visual {
  margin-top: 56px;
  transform: none;
}
html[data-variant="editorial"] .dash {
  transform: none;
}

/* Utility: accessible text */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Hide phone on editorial */
html[data-variant="editorial"] .phone { right: -10px; bottom: -20px; }

/* ================== GASTRO VARIANT (warm editorial, food-first) ================== */
html[data-variant="gastro"][data-theme="dark"],
html[data-variant="gastro"][data-theme="light"],
html[data-variant="gastro"] {
  --bg: #f3ece0;
  --bg-2: #ebe2d2;
  --bg-3: #e2d6c0;
  --fg: #2a1d12;
  --fg-2: #5c4a38;
  --fg-3: #8a755c;
  --border: rgba(42,29,18,0.12);
  --border-2: rgba(42,29,18,0.22);
  --accent: #b8432c;
  --accent-ink: #f6efe2;
  --accent-soft: rgba(184,67,44,0.10);
  --grid: transparent;
  --noise-opacity: 0.12;
  --font-display: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --radius: 2px;
  --radius-lg: 4px;
}
html[data-variant="gastro"][data-accent="sky"]   { --accent: #2a5f7a; --accent-soft: rgba(42,95,122,0.12); }
html[data-variant="gastro"][data-accent="indigo"]{ --accent: #3a3a7a; --accent-soft: rgba(58,58,122,0.12); }
html[data-variant="gastro"][data-accent="amber"] { --accent: #a5691a; --accent-soft: rgba(165,105,26,0.12); }
html[data-variant="gastro"][data-accent="lime"]  { --accent: #4a6a1e; --accent-soft: rgba(74,106,30,0.12); }

html[data-variant="gastro"] body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(184,67,44,0.06), transparent 55%),
    radial-gradient(1000px 500px at -10% 80%, rgba(165,105,26,0.08), transparent 55%),
    #f3ece0;
}
html[data-variant="gastro"] .atmosphere { display: none; }
html[data-variant="gastro"] .grain { opacity: 0.18; mix-blend-mode: multiply; }

html[data-variant="gastro"] .logo { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.02em; font-size: 24px; }
html[data-variant="gastro"] .logo-mark {
  background: #2a1d12; color: #f3ece0;
  font-family: 'Fraunces', serif; font-weight: 600;
  box-shadow: none; border-radius: 50%;
}
html[data-variant="gastro"] .btn { border-radius: 999px; font-weight: 500; }
html[data-variant="gastro"] .btn-primary { background: #2a1d12; color: #f3ece0; }
html[data-variant="gastro"] .btn-ghost { border-color: #2a1d12; color: #2a1d12; }

html[data-variant="gastro"] .hero { padding: 56px 0 88px; }
html[data-variant="gastro"] .eyebrow {
  background: transparent; border: none; padding: 0;
  color: var(--accent); font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
html[data-variant="gastro"] .eyebrow-dot { display: none; }
html[data-variant="gastro"] .eyebrow::before { content: "— "; color: var(--accent); }
html[data-variant="gastro"] h1.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02; letter-spacing: -0.025em;
}
html[data-variant="gastro"] h1.hero-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400; color: var(--accent);
}
html[data-variant="gastro"] h1.hero-title em::after { display: none; }
html[data-variant="gastro"] .hero-sub {
  font-size: clamp(17px, 1.3vw, 20px); color: var(--fg-2);
  font-family: 'Inter', sans-serif; line-height: 1.55; max-width: 520px;
}

html[data-variant="gastro"] .hero-visual { transform: none; perspective: none; }
html[data-variant="gastro"] .dash, html[data-variant="gastro"] .phone { display: none; }
html[data-variant="gastro"] .gastro-hero-stage { display: block; }

html[data-variant="gastro"] .section-eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; color: var(--accent);
}
html[data-variant="gastro"] .section-eyebrow::before { background: var(--accent); }
html[data-variant="gastro"] .section-title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.03em;
}
html[data-variant="gastro"] .section-title em {
  font-family: inherit; font-style: normal;
  font-weight: inherit; color: var(--accent);
}
html[data-variant="gastro"] .section-sub { font-size: 18px; color: var(--fg-2); line-height: 1.6; }

html[data-variant="gastro"] .logos {
  border-top: 2px solid #2a1d12; border-bottom: 2px solid #2a1d12; padding: 32px 0;
}
html[data-variant="gastro"] .logos-label {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 14px;
  color: var(--fg-2); text-transform: none; letter-spacing: 0;
}
html[data-variant="gastro"] .brand { color: #2a1d12; opacity: 0.85; font-family: 'Fraunces', serif; }

html[data-variant="gastro"] .feat-grid { gap: 0; border-top: 1px solid #2a1d12; margin-top: 48px; }
html[data-variant="gastro"] .feat {
  border: none; border-bottom: 1px solid #2a1d12; border-right: 1px solid #2a1d12;
  border-radius: 0; background: transparent; backdrop-filter: none;
  padding: 32px 28px; min-height: 280px;
}
html[data-variant="gastro"] .feat:hover { background: rgba(184,67,44,0.04); transform: none; }
@media (min-width: 1024px) {
  html[data-variant="gastro"] .feat:nth-child(3n) { border-right: none; }
}
html[data-variant="gastro"] .feat-icon { background: transparent; width: auto; height: auto; margin-bottom: 12px; }
html[data-variant="gastro"] .feat-icon svg { display: none; }
html[data-variant="gastro"] .feat-icon::before {
  content: attr(data-num);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 36px; color: var(--accent);
}
html[data-variant="gastro"] .feat-title {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px;
  letter-spacing: -0.02em; line-height: 1.15;
}
html[data-variant="gastro"] .feat-desc { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
html[data-variant="gastro"] .feat-tag {
  color: var(--fg-3); font-family: 'Fraunces', serif; font-style: italic;
  font-size: 13px; text-transform: none; letter-spacing: 0;
}

html[data-variant="gastro"] .steps { gap: 32px; margin-top: 56px; }
html[data-variant="gastro"] .step {
  background: transparent; border: none; border-top: 2px solid #2a1d12;
  padding: 20px 0 0; border-radius: 0;
}
html[data-variant="gastro"] .step-num {
  font-family: 'Fraunces', serif; font-style: italic; color: var(--fg-3); font-size: 14px;
}
html[data-variant="gastro"] .step-title {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px;
  letter-spacing: -0.015em; margin-top: 8px;
}
html[data-variant="gastro"] .step-desc { color: var(--fg-2); font-size: 15px; }

html[data-variant="gastro"] .ai-showcase { background: linear-gradient(180deg, #ebe2d2, #f3ece0); border-color: #2a1d12; }
html[data-variant="gastro"] .ai-item { border: 1px solid var(--border); border-radius: 2px; background: rgba(255,255,255,0.3); }
html[data-variant="gastro"] .ai-item[aria-selected="true"] { background: #2a1d12; color: #f3ece0; border-color: #2a1d12; }
html[data-variant="gastro"] .ai-item[aria-selected="true"] .ai-item-desc { color: rgba(246,239,226,0.7); }
html[data-variant="gastro"] .ai-item-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; }
html[data-variant="gastro"] .ai-preview {
  background: #faf4e7; border: 1px solid #2a1d12; border-radius: 2px; box-shadow: 4px 4px 0 #2a1d12;
}
html[data-variant="gastro"] .ai-badge { background: var(--accent); color: #f6efe2; border-radius: 999px; }
html[data-variant="gastro"] .ai-bubble {
  background: rgba(42,29,18,0.05); border-color: rgba(42,29,18,0.15); color: #2a1d12; border-radius: 14px;
}
html[data-variant="gastro"] .ai-chat-row.user .ai-bubble { background: #2a1d12; color: #f3ece0; border-color: #2a1d12; }

html[data-variant="gastro"] .stat-big { border-top-color: #2a1d12; }
html[data-variant="gastro"] .stat-big-num {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(80px, 10vw, 150px); letter-spacing: -0.04em; color: #2a1d12;
}
html[data-variant="gastro"] .stat-big-num::first-letter {
  font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent);
}
html[data-variant="gastro"] .stat-big-source { color: var(--accent); letter-spacing: 0.14em; }

html[data-variant="gastro"] .faq { border-top-color: #2a1d12; border-top-width: 2px; }
html[data-variant="gastro"] .faq-q {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 24px; letter-spacing: -0.015em;
}
html[data-variant="gastro"] .faq-a { font-size: 16px; color: var(--fg-2); }

html[data-variant="gastro"] .cta-box {
  background: #faf4e7; border: 2px solid #2a1d12; border-radius: 4px;
  box-shadow: 8px 8px 0 #2a1d12; padding: 56px;
}
html[data-variant="gastro"] .cta-box::before { display: none; }
html[data-variant="gastro"] .cta-list li { color: var(--fg-2); font-size: 16px; }
html[data-variant="gastro"] .cta-list li svg { color: var(--accent); }
html[data-variant="gastro"] .input, html[data-variant="gastro"] .textarea, html[data-variant="gastro"] .select {
  background: transparent; border: none; border-bottom: 1px solid var(--border-2);
  border-radius: 0; padding: 10px 0; color: #2a1d12;
}
html[data-variant="gastro"] .input:focus, html[data-variant="gastro"] .textarea:focus, html[data-variant="gastro"] .select:focus {
  border-bottom-color: var(--accent);
}
html[data-variant="gastro"] .field label {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--fg-3); font-size: 13px;
}
html[data-variant="gastro"] footer { border-top-color: #2a1d12; }

/* GASTRO HERO STAGE */
.gastro-hero-stage { display: none; position: relative; aspect-ratio: 4/5; max-width: 480px; margin: 0 auto; }

/* Polaroid-style food photo placeholder with striped pattern */
.plate {
  position: absolute; inset: 0;
  background: #faf4e7;
  padding: 16px 16px 56px;
  box-shadow: 0 40px 80px -20px rgba(42,29,18,0.35), 0 0 0 1px rgba(42,29,18,0.12);
  transform: rotate(-2deg);
  display: flex; flex-direction: column;
}
.plate-photo {
  flex: 1; position: relative;
  background:
    repeating-linear-gradient(135deg,
      #8a5a2a 0 18px,
      #a06a32 18px 36px,
      #6b4520 36px 54px,
      #b8793e 54px 72px);
  overflow: hidden;
}
.plate-photo::after {
  content: "yiyecek fotoğrafı";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(250, 244, 231, 0.92);
  background: rgba(42,29,18,0.25);
}
.plate-label {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  font-family: 'Caveat', cursive; font-weight: 600;
  color: #3f2a10; font-size: 20px; opacity: 0.9; z-index: 2;
  white-space: nowrap;
}
.photo-caption {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  font-family: 'Fraunces', serif; font-style: italic; font-size: 13px;
  color: #8a755c; white-space: nowrap;
}
.phone-gastro {
  position: absolute; bottom: -30px; right: -20px;
  width: 180px; height: 360px; border-radius: 32px;
  background: #1a1410; border: 1px solid rgba(42,29,18,0.3);
  box-shadow: 0 30px 60px -15px rgba(42,29,18,0.5), 0 0 0 6px #faf4e7, 8px 8px 0 #2a1d12;
  overflow: hidden; transform: rotate(-6deg); z-index: 3;
}
.phone-gastro::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 18px; background: #000; border-radius: 999px;
}
.phone-gastro-screen {
  margin: 34px 8px 8px; height: calc(100% - 42px); border-radius: 22px;
  background: #faf4e7; padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.phone-gastro .pg-brand { font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; color: #2a1d12; text-align: center; }
.phone-gastro .pg-card { background: #fff; border: 1px solid rgba(42,29,18,0.15); border-radius: 4px; padding: 10px; }
.phone-gastro .pg-card-label { font-family: 'Geist Mono', monospace; font-size: 8px; color: #8a755c; text-transform: uppercase; letter-spacing: 0.12em; }
.phone-gastro .pg-big { font-family: 'Fraunces', serif; font-weight: 400; font-size: 22px; color: #2a1d12; margin-top: 4px; letter-spacing: -0.02em; }
.phone-gastro .pg-big em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #b8432c; }
.phone-gastro .pg-pill { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #b8432c; color: #faf4e7; font-size: 9px; font-family: 'Geist Mono', monospace; letter-spacing: 0.04em; text-transform: uppercase; }
.phone-gastro .pg-reward { font-family: 'Caveat', cursive; font-size: 15px; color: #2a1d12; margin-top: 4px; line-height: 1.3; }
.phone-gastro .pg-progress { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.phone-gastro .pg-progress-bar { flex: 1; height: 4px; background: rgba(42,29,18,0.1); border-radius: 999px; overflow: hidden; }
.phone-gastro .pg-progress-fill { height: 100%; width: 68%; background: #b8432c; }

.gastro-pull {
  font-family: 'Caveat', cursive; font-weight: 600;
  color: var(--accent); font-size: 22px; line-height: 1.3;
  padding-left: 16px; border-left: 2px solid var(--accent);
  margin: 20px 0 24px; display: none;
}
html[data-variant="gastro"] .gastro-pull { display: block; }

@media (max-width: 720px) {
  .phone-gastro { width: 130px; height: 260px; right: -10px; bottom: -20px; }
  html[data-variant="gastro"] .cta-box { padding: 32px 24px; box-shadow: 4px 4px 0 #2a1d12; }
}

/* Tweaks toggle button (floating) */
.tweaks-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 99;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 24px -8px color-mix(in oklab, var(--accent) 60%, transparent);
  display: grid; place-items: center; font-weight: 800;
}
.tweaks.open + .tweaks-toggle,
.tweaks-toggle.hidden { display: none; }

/* ================== LANG SWITCHER ================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lang-switcher .lang-current {
  color: var(--fg);
  opacity: 1;
}
.lang-switcher .lang-link {
  color: var(--fg-muted, rgba(10,11,13,0.5));
  text-decoration: none;
  transition: color 0.15s ease;
}
.lang-switcher .lang-link:hover {
  color: var(--fg);
}
.lang-switcher .lang-divider {
  color: var(--fg-muted, rgba(10,11,13,0.3));
  font-weight: 400;
}
@media (max-width: 720px) {
  .lang-switcher {
    margin-right: 8px;
    font-size: 12px;
  }
}