:root {
  --ink: #0f2a1f;
  --ink-soft: #2a4a3a;
  --muted: #5a6f62;
  --cream: #f4f6f1;
  --paper: #ffffff;
  --line: #d5ddd4;
  --accent: #9a7b2f;
  --accent-hover: #7a6124;
  --accent-soft: #f5efd8;
  --sage: #1a4d38;
  --sage-soft: #e4efe8;
  --warn: #8a5a12;
  --warn-soft: #f8f0e0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 42, 31, 0.07), 0 8px 24px rgba(15, 42, 31, 0.07);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

.wrap { width: min(100% - 2rem, 720px); margin-inline: auto; }
.wrap-wide { width: min(100% - 2rem, 880px); margin-inline: auto; }

/* Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--ink); }

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--sage) 0%, var(--accent) 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 16px; height: 16px; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}
.nav-links a:hover { color: var(--ink); background: rgba(15, 42, 31, 0.04); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 1rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.65rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { color: var(--accent); }

@media (min-width: 800px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Hero / page heads */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.page-hero h1,
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.page-hero h1 em,
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.hero { padding: 3.5rem 0 2.5rem; text-align: center; }

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 2.5rem 0; }
.section-alt {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.muted { color: var(--muted); }
.text-center { text-align: center; }

/* Cards */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--cream); }

.card .icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; display: grid; gap: 1rem; }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.35rem 4.5rem;
  position: relative;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.15rem;
  top: 1.25rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step p { color: var(--ink-soft); margin-top: 0.35rem; }

/* Pricing */
.price-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft), var(--shadow);
}
.price-card .amount {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--ink);
}
.price-card .amount span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.price-card ul {
  list-style: none;
  text-align: left;
  margin: 0.5rem 0 1rem;
}
.price-card li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* Sample brief */
.sample-banner {
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid #e8d4a8;
  border-radius: 999px;
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.brief-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.brief-header {
  padding: 1.5rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #faf8f5 0%, var(--paper) 100%);
}

.brief-header h2 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}

.props-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.props-table th,
.props-table td {
  padding: 0.7rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.props-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 500;
  background: #faf8f5;
}
.props-table td { color: var(--ink); font-weight: 500; }
.props-table tr:last-child th,
.props-table tr:last-child td { border-bottom: none; }

.source-link {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.2rem;
  word-break: break-all;
}
.source-link a { color: var(--muted); }
.source-link a:hover { color: var(--accent); }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.35rem;
}
.tag-verified {
  background: var(--sage-soft);
  color: var(--sage);
}
.tag-unverified {
  background: var(--warn-soft);
  color: var(--warn);
}

.score-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.35rem;
  background: var(--ink);
  color: var(--cream);
}
.score-total .label { font-size: 0.9rem; opacity: 0.85; }
.score-total .value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
}
.score-total .value small {
  font-family: var(--font-sans);
  font-size: 1rem;
  opacity: 0.7;
  margin-left: 0.25rem;
}

.pillar {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
}
.pillar:last-child { border-bottom: none; }
.pillar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.pillar-score {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.pillar p { color: var(--ink-soft); font-size: 0.95rem; }

.bar {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  margin: 0.55rem 0 0.75rem;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--accent));
  border-radius: 3px;
}

.writeup {
  padding: 1.35rem;
  background: #faf8f5;
  border-top: 1px solid var(--line);
}
.writeup h3 { margin-bottom: 0.6rem; }
.writeup p { color: var(--ink-soft); margin-bottom: 0.75rem; }
.writeup p:last-child { margin-bottom: 0; }

.note-box {
  background: var(--warn-soft);
  border: 1px solid #e8d4a8;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--warn);
  margin: 1.25rem 0;
}
.note-box strong { color: var(--ink); }

/* Contact */
.email-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
  margin: 1.5rem auto 0;
}
.email-list a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow);
  text-align: center;
}
.email-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.email-list span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site-footer .brand {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
footer.site-footer a { color: var(--muted); }
footer.site-footer a:hover { color: var(--accent); }
footer.site-footer .emails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.cta-band {
  text-align: center;
  padding: 2.75rem 0;
}
.cta-band p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  max-width: 28rem;
  margin-inline: auto;
}
