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

:root {
  --bg: #FAFAF7;
  --bg-alt: #F2F0EB;
  --fg: #111111;
  --fg-muted: #6B6B6B;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --surface: #FFFFFF;
  --border: #E5E3DC;
  --green: #16A34A;
  --amber: #D97706;
  --blue: #2563EB;
}

html { scroll-behavior: smooth; }

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

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
header nav a {
  margin-left: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
header nav a:hover { color: var(--fg); }

/* ─── HERO ─── */
.hero {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  opacity: 0.5;
}
.hero-inner {
  padding: 100px 64px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 32px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
}
.hero-aside {
  padding: 80px 48px 80px 32px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  width: 100%;
}
.card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.card-row:last-child { border-bottom: none; }
.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.card-dot.green { background: var(--green); }
.card-dot.amber { background: var(--amber); }
.card-dot.blue { background: var(--blue); }
.card-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

/* ─── STATS ─── */
.stats {
  background: var(--fg);
  color: var(--bg);
  padding: 64px 64px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-block {
  flex: 1;
  padding: 0 48px;
}
.stat-block:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: rgba(250,250,247,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(250,250,247,0.15);
  flex-shrink: 0;
}

/* ─── PHILOSOPHY ─── */
.philosophy {
  padding: 120px 64px;
  background: var(--bg-alt);
}
.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.philosophy-headline {
  font-family: 'Instrument Serif', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.philosophy-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.philosophy-contrast {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contrast-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 8px;
}
.contrast-item.wrong {
  background: #FEF2F2;
  color: #991B1B;
}
.contrast-item.right {
  background: #F0FDF4;
  color: #166534;
}
.contrast-x, .contrast-check {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── FEATURES ─── */
.features {
  padding: 120px 64px;
  background: var(--bg);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-headline {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 560px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-alt); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 120px 64px;
  background: var(--fg);
  color: var(--bg);
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.manifesto-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  color: var(--bg);
}
.manifesto-body {
  font-size: 18px;
  color: rgba(250,250,247,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 40px 64px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-left: 12px;
}
.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }
  .stat-block { padding: 0; flex: 0 0 calc(50% - 16px); }
}
@media (max-width: 640px) {
  .hero-inner { padding: 64px 24px 48px; }
  .stats, .philosophy, .features, .manifesto, .site-footer { padding: 80px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 36px; }
  .stat-block { flex: 0 0 100%; }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .header-inner { padding: 0 24px; }
}