@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --bg: #faf9f6;
  --bg-alt: #f3f1ec;
  --card: #ffffff;
  --border: #e4e1d8;
  --ink: #1c2420;
  --text: #2a322d;
  --muted: #5f6a63;
  --accent: #14523f;
  --accent-dark: #0e3e30;
  --accent-soft: #e7efe9;
  --radius: 6px;
  --max-w: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3 { color: var(--ink); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1rem; color: #fff; font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--text); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 10px 22px; border-radius: var(--radius); font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  padding: 104px 0 88px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600; letter-spacing: -0.015em; line-height: 1.12;
  max-width: 840px; margin: 0 auto 24px;
}
.hero h1 .grad { color: var(--accent); font-style: italic; }
.hero p.lead {
  font-size: 1.15rem; color: var(--muted);
  max-width: 660px; margin: 0 auto 40px;
}
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.98rem; transition: background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

/* ---------- Platform strip ---------- */
.platforms { padding: 48px 0 24px; text-align: center; }
.platforms p { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; margin-bottom: 22px; }
.platform-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.platform-chip {
  padding: 9px 22px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--ink); font-weight: 500; font-size: 0.92rem;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { color: var(--accent); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; display: block; margin-bottom: 12px; }

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

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
}
.card .icon { display: none; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 600; margin-bottom: 10px;
  padding-top: 14px; border-top: 2px solid var(--accent);
}
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-family: var(--serif); font-weight: 600; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat h3 { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--accent); }
.stat p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card h3 { border-top: none; padding-top: 0; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--ink); margin: 8px 0 2px; }
.price span { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 22px 0 28px; flex-grow: 1; }
.price-card li { padding: 7px 0; color: var(--muted); font-size: 0.94rem; border-bottom: 1px solid var(--bg-alt); }
.price-card li::before { content: "—"; color: var(--accent); font-weight: 600; margin-right: 10px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center; border-radius: var(--radius); padding: 72px 32px;
  background: var(--ink);
}
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; margin-bottom: 14px; color: #fff;
}
.cta-banner p { color: #b8c0ba; margin-bottom: 30px; }
.cta-banner .btn-primary { background: #fff; color: var(--ink); }
.cta-banner .btn-primary:hover { background: var(--bg-alt); }

/* ---------- Forms ---------- */
.form-card { max-width: 620px; margin: 0 auto; }
label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--ink); margin: 18px 0 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--card);
  color: var(--text); font-size: 0.95rem; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: 64px 24px 88px; }
.legal h1 { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 44px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.legal h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 44px 0 14px; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 28px 0 10px; color: var(--ink); }
.legal p, .legal li { color: var(--text); font-size: 0.97rem; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 16px; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.92rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; color: var(--text); vertical-align: top; }
.legal th { color: var(--ink); background: var(--bg-alt); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 80px 0 56px; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px;
}
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ---------- FAQ ---------- */
details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px;
}
details summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
details p { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 60px 0 32px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text); font-size: 0.93rem; }
.footer-grid a:hover { color: var(--accent); text-decoration: none; }
.footer-about p { color: var(--muted); font-size: 0.92rem; max-width: 300px; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 18px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
