@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,700;1,6..72,400&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap');

/* ─── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:            #000000;
  --surface:       #0c0c0c;
  --surface-2:     #161616;
  --text:          #fafafa;
  --text-muted:    rgba(250,250,250,0.70);
  --text-dim:      rgba(250,250,250,0.50);
  --text-faint:    rgba(250,250,250,0.16);
  --border:        rgba(250,250,250,0.08);
  --border-strong: rgba(250,250,250,0.16);
  --amber:         #e8b86c;
  --amber-border:  rgba(232,184,108,0.32);
  --amber-glow:    rgba(232,184,108,0.12);
  --success:       #9ec48a;
  --error:         #ff6b6b;

  --serif: 'Newsreader', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', 'Fira Code', monospace;

  --nav-h: 60px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.1px;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  color: var(--amber);
  font-size: 18px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--text);
  color: var(--bg) !important;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.25s;
  border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(0,0,0,0.97);
  z-index: 199;
  padding: 32px 22px;
  flex-direction: column;
  gap: 24px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 22px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-mobile a:not(.nav-mobile-cta) { color: var(--text-muted); }

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── Typography ─────────────────────────────────────────────────────────────── */
.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.serif-xl {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
}

.serif-lg {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.serif-md {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

/* ─── Amber dot ──────────────────────────────────────────────────────────────── */
.amber-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(232,184,108,0.5);
  flex-shrink: 0;
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover { border-color: var(--text-dim); }

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
  border-radius: 6px;
}

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.card-amber-top { border-top: 2px solid var(--amber-border); }

/* ─── Chips ──────────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── Section header ─────────────────────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header .mono-label { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  letter-spacing: -0.2px;
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,184,108,0.08) 0%, transparent 65%);
  pointer-events: none;
  user-select: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 76px;
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 36px;
  letter-spacing: -0.2px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

.trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}

/* ─── Screenshots / phone frames ─────────────────────────────────────────────── */
.screenshots {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-top: 72px;
  padding: 0 22px;
}

.phone {
  position: relative;
  flex-shrink: 0;
}

.phone img {
  border-radius: 32px;
  border: 1px solid var(--border-strong);
}

.phone.primary img { width: 240px; }
.phone.secondary img { width: 200px; opacity: 0.6; }

.phone-fade-left::after,
.phone-fade-right::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
}

/* ─── Social proof ───────────────────────────────────────────────────────────── */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.quote-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: -0.1px;
  margin-bottom: 16px;
}

.quote-text::before { content: '\201C'; color: var(--amber); }
.quote-text::after  { content: '\201D'; color: var(--amber); }

.quote-attr {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ─── Not a journal section ──────────────────────────────────────────────────── */
.distinction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.distinction-cell {
  background: var(--surface);
  padding: 28px 32px;
}

.distinction-cell h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.distinction-cell ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.distinction-cell li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.distinction-cell li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
  margin-top: 8px;
  flex-shrink: 0;
}

.distinction-cell.highlight li::before { background: var(--amber); }
.distinction-cell.highlight { background: var(--surface-2); }

/* ─── Output steps ───────────────────────────────────────────────────────────── */
.output-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.output-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
}

.output-step:nth-child(3) {
  border-top: 2px solid var(--amber-border);
  background: var(--surface-2);
}

.step-index {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.output-step h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.output-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Modes ──────────────────────────────────────────────────────────────────── */
.modes-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.mode-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.mode-row:last-child { border-bottom: none; }
.mode-row:hover { background: var(--surface); }

.mode-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-name h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.mode-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.mode-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--amber);
  text-align: right;
  max-width: 260px;
  line-height: 1.4;
}

/* ─── Privacy section ────────────────────────────────────────────────────────── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 20px;
}

.privacy-icon {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  padding-top: 2px;
}

.privacy-item h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.privacy-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ─── Pricing ────────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-card.featured {
  border-color: var(--amber-border);
  border-top: 2px solid var(--amber);
}

.pricing-card-top { display: flex; flex-direction: column; gap: 4px; }

.pricing-tier {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text);
}

.price-period {
  font-size: 14px;
  color: var(--text-dim);
}

.price-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--amber);
  text-transform: uppercase;
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 8px;
  flex-shrink: 0;
}

.pricing-cta {
  margin-top: auto;
}

/* ─── Who is it for ──────────────────────────────────────────────────────────── */
.for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.for-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.for-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  letter-spacing: -0.1px;
}

.for-item p strong { color: var(--text); font-weight: 600; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-muted); }

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}

/* ─── Prose (privacy/legal pages) ────────────────────────────────────────────── */
.prose {
  max-width: 680px;
}

.prose h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.prose .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.prose h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.prose p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: -0.1px;
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13px;
}

.prose th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-strong);
}

.prose td {
  padding: 10px 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prose a {
  color: var(--amber);
  text-decoration: none;
}

.prose a:hover { text-decoration: underline; }

.prose .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.prose .callout p { margin: 0; }

/* ─── Contact page ───────────────────────────────────────────────────────────── */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.contact-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
  text-decoration: none;
}

.contact-value:hover { color: var(--amber); }

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.detail-value {
  font-size: 14px;
  color: var(--text-muted);
}

/* ─── How it works page ──────────────────────────────────────────────────────── */
.hiw-output-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hiw-output-row.reverse { direction: rtl; }
.hiw-output-row.reverse > * { direction: ltr; }

.step-number {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.hiw-output-row h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.hiw-output-row p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.mock-card-top {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-card-body { padding: 20px 16px; }

.mock-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mock-row:last-child { border-bottom: none; }

.mock-row-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.mock-row-val {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.mock-row.amber-row {
  background: rgba(232,184,108,0.06);
  margin: 0 -16px;
  padding: 12px 16px;
  border-top: 1px solid var(--amber-border);
  border-bottom: 1px solid var(--amber-border);
}

.mock-row.amber-row .mock-row-label { color: var(--amber); }

/* ─── Fade-in animations ─────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  section { padding: 72px 0; }

  .hero h1 { font-size: 52px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }

  .quotes-grid { grid-template-columns: 1fr; }
  .distinction-grid { grid-template-columns: 1fr; }
  .output-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .for-grid { grid-template-columns: 1fr; }

  .mode-row { grid-template-columns: 1fr; gap: 8px; }
  .mode-quote { text-align: left; max-width: 100%; }

  .hiw-output-row { grid-template-columns: 1fr; gap: 32px; }
  .hiw-output-row.reverse { direction: ltr; }

  .contact-row { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .phone.secondary { display: none; }
  .phone.primary img { width: 200px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 20px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .output-steps { grid-template-columns: 1fr; }
  .screenshots { gap: 0; }
  section { padding: 56px 0; }
}

/* ─── Hero split layout ──────────────────────────────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 48px) 0 64px;
}

.hero-split .hero-left { display: flex; flex-direction: column; gap: 0; }
.hero-split h1 { font-size: 68px; margin-bottom: 20px; }
.hero-split .hero-sub { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin-bottom: 32px; max-width: 420px; }

.hero-screenshot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-screenshot {
  width: 280px;
  border-radius: 36px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 80px rgba(232,184,108,0.08), 0 40px 80px rgba(0,0,0,0.6);
}

.hero-screenshot-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(232,184,108,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Showcase (3 screenshots row) ──────────────────────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}

.showcase-item { display: flex; flex-direction: column; gap: 20px; }
.showcase-item.center { margin-top: -32px; }

.showcase-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

.showcase-img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}

.showcase-item.center .showcase-img {
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(232,184,108,0.07);
}

/* ─── Feature pills ──────────────────────────────────────────────────────────── */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
}

/* ─── Big CTA section ────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 50%, rgba(232,184,108,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 { font-size: 64px; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: var(--text-muted); margin-bottom: 36px; }

/* ─── Stat row ───────────────────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.stat-item {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text);
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── Screenshot + text row (how it works) ───────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child { border-bottom: none; }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }

.feature-phone {
  width: 260px;
  border-radius: 36px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.feature-text { display: flex; flex-direction: column; gap: 16px; }
.feature-text .mono-label { margin-bottom: 4px; }
.feature-text h2 { font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; }
.feature-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* ─── Responsive additions ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--nav-h) + 48px); gap: 40px; }
  .hero-split h1 { font-size: 46px; }
  .hero-screenshot { width: 220px; }
  .hero-screenshot-wrap { justify-content: center; }

  .showcase { grid-template-columns: 1fr; gap: 16px; }
  .showcase-item.center { margin-top: 0; }

  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 40px; direction: ltr !important; }
  .feature-phone { width: 200px; }
  .cta-section h2 { font-size: 42px; }
}
