/* ===========================
   RESETAP — Design System
   =========================== */

:root {
  --bg: #faf8f5;
  --bg-warm: #f5f0e8;
  --surface: #ffffff;
  --text: #1a1714;
  --text-muted: #6b6560;
  --accent: #c06b2d;
  --accent-light: #e8a96a;
  --stone: #d6cfc4;
  --sage: #7a8c7a;
  --ink: #1a1714;
  --radius: 4px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ── Topbar ─────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 207, 196, 0.4);
}

.topbar__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.topbar__tag {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── Shared ─────────────────── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 12px;
}

/* ── Hero ─────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 48px 60px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 107, 45, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

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

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero__qrblock {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__qr {
  width: 72px;
  height: 72px;
  border: 2px solid var(--stone);
  border-radius: 8px;
  position: relative;
  background: var(--surface);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__qr::before {
  content: '';
  width: 48px;
  height: 48px;
  background-image:
    linear-gradient(var(--ink) 25%, transparent 25%),
    linear-gradient(var(--ink) 25%, transparent 25%),
    linear-gradient(var(--ink) 25%, transparent 25%),
    linear-gradient(var(--ink) 25%, transparent 25%);
  background-size: 12px 12px;
  background-repeat: repeat;
  opacity: 0.15;
}

.hero__qrlabel {
  display: flex;
  gap: 8px;
}

.hero__qrangle {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent-light);
  line-height: 1;
  margin-top: -4px;
}

.hero__qrlabel p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 160px;
  font-style: italic;
  font-family: var(--font-display);
}

/* ── Hero Visual / Phone ─── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__phone {
  position: relative;
  width: 220px;
}

.hero__screen {
  background: var(--bg-warm);
  border-radius: 28px 28px 0 0;
  padding: 28px 20px 24px;
  position: relative;
}

.hero__phoneframe {
  height: 20px;
  background: var(--ink);
  border-radius: 0 0 28px 28px;
}

.player__wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-bottom: 20px;
}

.player__wave span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
}

.player__wave span:nth-child(1) { height: 35%; }
.player__wave span:nth-child(2) { height: 65%; }
.player__wave span:nth-child(3) { height: 45%; }
.player__wave span:nth-child(4) { height: 80%; }
.player__wave span:nth-child(5) { height: 100%; }
.player__wave span:nth-child(6) { height: 70%; }
.player__wave span:nth-child(7) { height: 50%; }
.player__wave span:nth-child(8) { height: 30%; }
.player__wave span:nth-child(9) { height: 60%; }

.player__day {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.player__topic {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
}

.player__prog {
  height: 3px;
  background: var(--stone);
  border-radius: 2px;
  margin-bottom: 10px;
}

.player__progbar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.player__time {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ── What ─────────────────── */
.what {
  padding: 100px 48px;
  background: var(--bg-warm);
  border-top: 1px solid rgba(214, 207, 196, 0.5);
}

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

.what__header {
  margin-bottom: 56px;
}

.what__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}

.what__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.what__card {
  padding: 0;
}

.what__icon {
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.8;
}

.what__card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.what__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── How ─────────────────── */
.how {
  padding: 100px 48px;
  background: var(--bg);
}

.how__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.how__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-top: 16px;
}

.how__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(214, 207, 196, 0.5);
  align-items: start;
}

.how__step:last-child {
  border-bottom: none;
}

.step__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--stone);
  line-height: 1;
  letter-spacing: -0.02em;
}

.step__body h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.step__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Scripture ─────────────── */
.scripture {
  padding: 100px 48px;
  background: var(--ink);
  color: #faf8f5;
}

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

.scripture__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.script__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 28px 24px;
  transition: background 0.3s ease;
}

.script__card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.script__week {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  opacity: 0.7;
  margin-bottom: 10px;
}

.script__theme {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #faf8f5;
  margin-bottom: 12px;
}

.script__desc {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.55);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
}

.script__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.script__tags span {
  font-size: 10px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  color: rgba(250, 248, 245, 0.4);
  letter-spacing: 0.04em;
}

.scripture__callout {
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scripture__callout p {
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(250, 248, 245, 0.5);
  font-style: italic;
  line-height: 1.6;
}

/* ── Philosophy ───────────── */
.philosophy {
  padding: 100px 48px;
  background: var(--bg-warm);
  border-top: 1px solid rgba(214, 207, 196, 0.5);
}

.philosophy__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy__quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  padding-left: 32px;
  border-left: 3px solid var(--accent);
}

.philosophy__aside h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin: 16px 0 24px;
}

.philosophy__aside p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── Closing ─────────────── */
.closing {
  padding: 120px 48px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.closing__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.closing__shape {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 107, 45, 0.08) 0%, transparent 70%);
  margin-bottom: 48px;
  flex-shrink: 0;
}

.closing__text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.closing__text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 40px;
}

.closing__mark {
  color: var(--accent);
  opacity: 0.4;
}

/* ── Footer ───────────────── */
.footer {
  padding: 40px 48px;
  background: var(--bg-warm);
  border-top: 1px solid rgba(214, 207, 196, 0.5);
}

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

.footer__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer__inner > div:first-child p {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__links span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--stone);
}

/* ── Responsive ──────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: -1; }
  .hero { padding: 60px 32px 48px; }
  .what { padding: 72px 32px; }
  .what__grid { grid-template-columns: 1fr; gap: 32px; }
  .how { padding: 72px 32px; }
  .how__inner { grid-template-columns: 1fr; gap: 40px; }
  .scripture { padding: 72px 32px; }
  .scripture__grid { grid-template-columns: 1fr 1fr; }
  .philosophy { padding: 72px 32px; }
  .philosophy__inner { grid-template-columns: 1fr; gap: 48px; }
  .closing { padding: 80px 32px; }
  .footer { padding: 32px; }
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
  .topbar { padding: 16px 32px; }
}

@media (max-width: 600px) {
  .scripture__grid { grid-template-columns: 1fr; }
  .how__step { grid-template-columns: 40px 1fr; gap: 16px; }
  .step__num { font-size: 28px; }
}
