:root {
  --bg: #FAF8F5;
  --fg: #1A1A1A;
  --muted: #7A7A7A;
  --accent: #E8983E;
  --accent-light: #FDF0DC;
  --card-bg: #FFFFFF;
  --border: #E8E4DF;
}

*, *::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: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Header ─── */
.site-header {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.header-inner .tagline {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ─── Hero ─── */
.hero {
  padding: 100px 48px 120px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text .headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}
.headline-main { color: var(--fg); }
.headline-sub { color: var(--accent); }

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 460px;
}

/* ─── Hero Visual ─── */
.hero-visual {
  position: relative;
  height: 420px;
}
.template-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s ease;
}
.template-card:hover { transform: translateY(-4px) !important; }

.card-label {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fg);
}
.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.card-1 { top: 0; left: 40px; transform: rotate(-3deg); width: 180px; }
.card-2 { top: 80px; right: 20px; transform: rotate(4deg); width: 160px; }
.card-3 { top: 200px; left: 0; transform: rotate(-2deg); width: 200px; }
.card-4 { bottom: 20px; right: 40px; transform: rotate(3deg); width: 170px; }

.sale-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0.3;
}
.ring-label { font-size: 0.65rem; color: var(--muted); text-align: center; }
.ring-icon { font-size: 1.5rem; color: var(--accent); }

/* ─── How ─── */
.how {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 48px;
}
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 72px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.2;
}
.how .section-title { color: var(--bg); }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 48px;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 12px;
}
.step p {
  font-size: 0.9rem;
  color: #A0A0A0;
  line-height: 1.7;
}
.step-divider {
  width: 1px;
  height: 120px;
  background: #333;
  flex-shrink: 0;
  margin: 0 24px;
  margin-top: 20px;
}

/* ─── Categories ─── */
.categories {
  padding: 100px 48px;
  background: var(--bg);
}
.categories-inner { max-width: 1200px; margin: 0 auto; }
.categories .section-label {
  display: block;
  text-align: center;
  margin-bottom: 56px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.category-card {
  background: var(--card-bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.category-card:hover { background: var(--accent-light); }
.cat-icon {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.category-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.category-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Philosophy ─── */
.philosophy {
  padding: 100px 48px;
  background: #F4F1EC;
}
.philosophy-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.big-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 40px;
  quotes: none;
}
.philosophy-body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.philosophy-body:last-child { margin-bottom: 0; }

/* ─── Closing ─── */
.closing {
  padding: 100px 48px 120px;
  background: var(--bg);
}
.closing-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.closing-body {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Footer ─── */
.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand .wordmark {
  display: block;
  margin-bottom: 6px;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-note a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .site-header { padding: 20px 24px; }
  .header-inner .tagline { display: none; }
  .hero { padding: 60px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 280px; }
  .card-1 { top: 0; left: 20px; }
  .card-2 { top: 60px; right: 0; }
  .card-3 { top: 150px; left: 0; }
  .card-4 { bottom: 0; right: 10px; }
  .how { padding: 60px 24px; }
  .how-steps { flex-direction: column; gap: 40px; }
  .step { padding: 0; }
  .step-divider { display: none; }
  .categories { padding: 60px 24px; }
  .category-grid { grid-template-columns: 1fr; }
  .philosophy { padding: 60px 24px; }
  .closing { padding: 60px 24px 80px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .template-card { padding: 14px 18px; }
  .card-label { font-size: 0.75rem; }
  .card-price { font-size: 1.2rem; }
  .card-1, .card-2, .card-3, .card-4 { width: 140px; }
}