/* SpilakOS — Warm, editorial, calm */

:root {
  --bg: #f7f4f0;
  --bg-alt: #ede9e3;
  --fg: #1c1c1a;
  --fg-muted: #5a5750;
  --accent: #6b9e7a;
  --accent-dark: #4a7a58;
  --warm: #b8926a;
  --border: #d8d3cb;
  --card-bg: #ffffff;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fg);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  padding: 5rem 3rem 4rem;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-price { color: var(--fg); }
.hero-sep { color: var(--border); }
.hero-reviews { color: var(--fg-muted); }

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* Hero proof row */
.hero-proof-row {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 4rem auto 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-proof-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}

.hero-proof-item:last-child { border-right: none; }

.proof-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
}

.proof-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  text-align: center;
}

/* CALMERS */
.calmers {
  padding: 5rem 3rem;
  background: var(--card-bg);
}

.calmers-header {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

.calmers-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.calmers-sub {
  color: var(--fg-muted);
  font-size: 1rem;
}

.calmers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.calmer-card {
  background: var(--bg);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.calmer-num {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.calmer-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.calmer-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* SCIENCE */
.science {
  padding: 5rem 3rem;
  background: var(--bg-alt);
}

.science-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.science-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.science-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.science-img {
  width: 100%;
  max-width: 400px;
  display: block;
}

.science-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

.science-stat {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.stat-big {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* PROOF */
.proof {
  padding: 5rem 3rem;
  background: var(--card-bg);
}

.proof-header {
  text-align: center;
  margin-bottom: 4rem;
}

.proof-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.proof-stars {
  font-size: 1.25rem;
  color: var(--warm);
}

.proof-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.proof-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.proof-stars-sm {
  color: var(--warm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.proof-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.proof-attr {
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

/* Promise rule */
.proof-promise {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.promise-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2rem;
}

.promise-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.promise-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* PROCESS */
.process {
  padding: 5rem 3rem;
  background: var(--bg);
}

.process-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.process-sub {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 4rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.process-step { }

.step-img-wrap {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 4px;
}

.step-img {
  width: 100%;
  display: block;
}

.step-content .step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

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

/* CLOSING */
.closing {
  padding: 5rem 3rem;
  background: var(--bg-alt);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.closing-donation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.donation-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.donation-text {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.donation-text strong { color: var(--fg); }

.closing-statement {
  text-align: center;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  padding: 3rem;
  background: var(--fg);
  color: #f0ece6;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: #8a857e;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-links a {
  color: #8a857e;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #f0ece6; }

.footer-copy {
  color: #5a5750;
  font-size: 0.78rem;
  border-top: 1px solid #2e2c2a;
  padding-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { padding: 3rem 1.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-proof-row { flex-direction: column; border: none; }
  .hero-proof-item { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-proof-item:last-child { border-bottom: none; }
  .calmers-grid { grid-template-columns: 1fr; }
  .science-inner { grid-template-columns: 1fr; gap: 3rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .calmers, .science, .proof, .process, .closing { padding: 4rem 1.5rem; }
  .footer { padding: 2.5rem 1.5rem; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-headline { font-size: 2.25rem; }
}