:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #1d1c1a;
  --ink-2: #57524a;
  --line: #e4ded3;
  --gold: #a07f35;
  --gold-soft: #efe6d2;
  --serif: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121110;
    --surface: #1b1a18;
    --ink: #f2eee6;
    --ink-2: #b4ada1;
    --line: #2e2b27;
    --gold: #d2ae5c;
    --gold-soft: #2a241a;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.2px;
}
nav a {
  color: var(--ink-2);
  text-decoration: none;
  margin-left: 22px;
  font-size: 15px;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.hero { padding-top: 88px; padding-bottom: 64px; text-align: center; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 76px);
  line-height: 1.05;
  margin: 0;
}
.hero .slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--ink-2);
  margin: 14px 0 0;
}
.rule { width: 56px; height: 2px; background: var(--gold); margin: 30px auto; border: 0; }
.hero p.lede { max-width: 600px; margin: 0 auto; color: var(--ink-2); font-size: 19px; }

.cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.note { color: var(--ink-2); font-size: 14px; margin-top: 14px; }

section { padding: 56px 0; }
section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  margin: 0 0 8px;
  text-align: center;
}
section .sub { text-align: center; color: var(--ink-2); margin: 0 0 36px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 620px; margin: 0 auto; }
.price { text-align: center; }
.price .amount { font-family: var(--serif); font-size: 44px; line-height: 1.1; }
.price .per { color: var(--ink-2); font-size: 15px; }
.price .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.trust { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; color: var(--ink-2); font-size: 15px; }
.trust span::before { content: "✓ "; color: var(--gold); font-weight: 700; }

article.doc { padding: 56px 0 72px; }
article.doc h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; margin: 0 0 6px; }
article.doc .updated { color: var(--ink-2); margin: 0 0 32px; font-size: 15px; }
article.doc h2 { font-size: 21px; margin: 36px 0 8px; }
article.doc p, article.doc li { color: var(--ink); }
article.doc ul { padding-left: 22px; }
article.doc li { margin: 6px 0; }
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--ink-2); }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-2); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--ink-2); margin-right: 18px; }

@media (max-width: 560px) {
  nav a { margin-left: 14px; font-size: 14px; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
}
