:root {
  --bg: #FEF7EC;
  --bg-alt: #F5EDD8;
  --fg: #1C1410;
  --fg-muted: #6B5B4F;
  --accent: #E8531A;
  --accent-dark: #C43D0C;
  --accent-light: #FDF0E6;
  --surface: #FFFFFF;
  --border: #E0D3C0;
  --ring-size: 160px;
  --ring-thickness: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

/* ── Hero ── */
.hero {
  padding: 96px 64px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* Device mock */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.device-face {
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(232,83,26,0.3);
  position: relative;
  z-index: 2;
}

.device-pupil {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border-radius: 50%;
  position: relative;
}

.device-pupil::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  width: 10px;
  height: 10px;
  background: var(--fg);
  border-radius: 50%;
}

.device-ring {
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  border: var(--ring-thickness) solid var(--accent);
  position: absolute;
  top: -20px;
  opacity: 0.2;
  z-index: 1;
}

.device-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 48px;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--fg);
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

.stat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 48px;
  flex-shrink: 0;
}

/* ── Flow ── */
.flow {
  background: var(--bg-alt);
  padding: 96px 64px;
}

.flow-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.flow-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  max-width: 640px;
  margin-bottom: 20px;
}

.flow-body {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 64px;
  line-height: 1.7;
}

.flow-diagram {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.flow-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.flow-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.flow-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 64px;
  color: var(--fg-muted);
  flex-shrink: 0;
}

/* ── Features ── */
.features {
  padding: 96px 64px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.feature-card--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 20px;
}

.feature-card--accent .feature-dot {
  background: rgba(255,255,255,0.5);
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-card--accent h3 {
  color: #fff;
}

.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.feature-card--accent p {
  color: rgba(255,255,255,0.75);
}

/* ── Manifesto ── */
.manifesto {
  background: var(--fg);
  color: #fff;
  padding: 96px 64px;
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.manifesto blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 32px;
}

.manifesto-attr {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ── Closing ── */
.closing {
  padding: 120px 64px;
  background: var(--bg);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Footer ── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-built {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { padding: 64px 32px 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .stat-div { display: none; }
  .stat { padding-right: 0; }

  .flow { padding: 72px 32px; }
  .flow-diagram { flex-direction: column; }
  .flow-arrow { display: none; }

  .features { padding: 72px 32px; }
  .features-row { grid-template-columns: 1fr; }

  .manifesto { padding: 72px 32px; }

  .closing { padding: 80px 32px; }

  .footer { padding: 32px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 40px; }
  .flow, .features, .manifesto, .closing { padding-left: 20px; padding-right: 20px; }
}