/* ===== PIECEFUL THEME ===== */
:root {
  --bg: #F5F0E6;
  --bg-alt: #EDE5D4;
  --fg: #1A1A14;
  --fg-muted: #5C5844;
  --accent: #C4622D;
  --accent-soft: #E8A87C;
  --green: #2A6049;
  --green-soft: #4A8068;
  --sand: #E8D5B7;
  --border: rgba(42, 96, 73, 0.15);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(42, 96, 73, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-md);
}

.hero-text {
  max-width: 560px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

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

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

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.puzzle-art {
  position: relative;
  width: 320px;
  height: 320px;
}

.puzzle-art svg {
  width: 100%;
  height: 100%;
}

.puzzle-tag {
  position: absolute;
  bottom: -8px;
  right: -16px;
  background: var(--green);
  color: white;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(42, 96, 73, 0.3);
}

.tag-count {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.tag-label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 2px;
}

.hero-bottom {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 5rem);
  background: var(--bg-alt);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.section-header {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-header h2,
.difference-inner h2,
.manifesto-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.step {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  opacity: 0.7;
}

.step-icon {
  margin: 0 auto var(--space-md);
  width: 56px;
  height: 56px;
  background: var(--bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(42, 96, 73, 0.1);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--fg);
}

.step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
}

.step-connector span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
}

.step-connector span::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--border);
}

/* ===== DIFFERENCE ===== */
.difference {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 5rem);
  background: var(--bg);
}

.difference-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.diff-lead {
  margin-top: var(--space-md);
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.diff-list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.diff-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.diff-list p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Stats block */
.diff-stat-block {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  height: 1px;
  background: var(--border);
}

.diff-quote {
  background: var(--green);
  color: white;
  border-radius: 16px;
  padding: var(--space-lg);
  margin: 0;
}

.diff-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.95;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 5rem);
  background: var(--bg-alt);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto var(--space-xl);
  align-items: start;
}

.manifesto-text h2 {
  position: sticky;
  top: 2rem;
}

.manifesto-body p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-viz {
  width: 280px;
}

.circle-viz svg {
  width: 100%;
  height: auto;
}

.circle-caption {
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--fg);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) clamp(1.5rem, 5vw, 5rem) var(--space-lg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto var(--space-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-col-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-sm);
}

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

.footer-col li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col li:hover { color: white; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
}

.footer-bottom p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg);
    gap: var(--space-lg);
  }

  .hero-visual { display: none; }

  .hero-headline { font-size: 2.4rem; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .step-connector { display: none; }

  .difference-inner,
  .manifesto-inner {
    grid-template-columns: 1fr;
  }

  .diff-visual { order: -1; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-links { flex-direction: column; gap: var(--space-lg); }

  .circle-viz { margin: 0 auto; }

  .manifesto-text h2 { position: static; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
}
