/* ────────────────────────────────────────────────────────────
   Pliko — shared website styles
   Oxblood burgundy / aged paper cream brand identity.
   ──────────────────────────────────────────────────────────── */

:root {
  --bg:         #f5efe4;
  --surface:    #fbf6eb;
  --border:     #e6dccb;
  --text:       #1f1410;
  --subtext:    #4a3a32;
  --muted:      #8f7f70;
  --faint:      #bfb2a0;
  --accent:     #6d1f28;
  --accent-deep: #4a1820;
  --green:      #2f5d3a;
  --shadow:     0 1px 2px rgba(31, 20, 16, 0.04), 0 8px 32px rgba(31, 20, 16, 0.06);
  --radius:     14px;
  --max-w:      1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle paper grain — drawn with CSS only, no external assets. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(74, 24, 32, 0.025) 1px, transparent 1px),
    radial-gradient(rgba(74, 24, 32, 0.018) 1px, transparent 1px);
  background-size: 5px 5px, 11px 11px;
  background-position: 0 0, 2px 3px;
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ── Headings ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 22px; line-height: 1.3; margin-bottom: 8px; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / nav ─────────────────────────────────────────── */
.site-header {
  padding: 28px 0 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  box-shadow: var(--shadow);
}
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: var(--subtext); }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(109, 31, 40, 0.06);
  border-radius: 999px;
  border: 1px solid rgba(109, 31, 40, 0.12);
}
.hero h1 {
  max-width: 880px;
  margin: 0 auto 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 19px;
  color: var(--subtext);
  line-height: 1.55;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 2px rgba(31, 20, 16, 0.06), 0 8px 24px rgba(109, 31, 40, 0.18);
  transition: transform 150ms ease, background 150ms ease;
}
.hero-cta:hover {
  background: var(--accent-deep);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ── Sections ─────────────────────────────────────────────── */
section { padding: 64px 0; }

.section-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-intro h2 em { font-style: italic; color: var(--accent); }
.section-intro p {
  margin-top: 14px;
  color: var(--subtext);
  font-size: 18px;
}

/* ── Feature grid ─────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 200ms ease, border-color 200ms ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 31, 40, 0.25);
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(109, 31, 40, 0.08);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 20px; }
.feature p {
  color: var(--subtext);
  font-size: 15px;
  line-height: 1.55;
}

/* ── How it works ─────────────────────────────────────────── */
.how {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.step {
  text-align: left;
}
.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--subtext); font-size: 15px; }

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 96px 0 80px;
}
.cta-banner h2 {
  max-width: 680px;
  margin: 0 auto 14px;
}
.cta-banner p {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--subtext);
  font-size: 17px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  margin-top: 24px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.footer-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
}
.footer-links a { color: var(--subtext); }
.footer-links a:hover { color: var(--accent); text-decoration: none; }

/* ── Legal pages (privacy / terms) ────────────────────────── */
.legal-page {
  padding: 64px 0 96px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-page .legal-eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.legal-page h1 {
  font-size: clamp(36px, 5vw, 48px);
  margin-bottom: 8px;
}
.legal-page .legal-date {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 24px;
  margin: 40px 0 12px;
  padding-top: 8px;
}
.legal-page h3 {
  font-size: 18px;
  margin: 24px 0 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.legal-page p { margin-bottom: 16px; color: var(--subtext); font-size: 16px; }
.legal-page ul { margin: 0 0 16px 24px; }
.legal-page li { margin-bottom: 8px; color: var(--subtext); font-size: 16px; }
.legal-page hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 720px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 48px 0; }
  .cta-banner { padding: 64px 0; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}
