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

:root {
  --bg: #F5F1EA;
  --bg-alt: #EBE5DA;
  --bg-card: #FFFFFF;
  --ink: #1C1917;
  --ink-soft: #44403C;
  --ink-muted: #78716C;
  --accent: #B45309;
  --accent-dark: #92400E;
  --rule: #D6CFC2;
  --rule-soft: #E8E2D5;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'SF Mono', monospace;

  --max-width: 1140px;
  --max-prose: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.375rem; font-variation-settings: "opsz" 80; }

p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--accent-dark); }

em { font-style: italic; font-family: var(--font-display); }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.prose {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.site-nav {
  border-bottom: 1px solid var(--rule);
  padding: 1.125rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(245, 241, 234, 0.88);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }

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

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--bg) !important;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent) !important; }

/* Hero */
.hero {
  padding: 6rem 0 5rem;
}

.hero-tag, .section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  display: inline-block;
}

.section-tag { color: var(--ink-muted); margin-bottom: 1.25rem; }

.hero h1 {
  max-width: 920px;
  margin-bottom: 1.75rem;
}

.hero-sub {
  max-width: 620px;
  font-size: 1.1875rem;
  margin-bottom: 2.5rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 1.875rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn:hover { background: var(--accent); color: var(--bg); }

.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--ink); }

/* Sections */
section { padding: 5rem 0; }

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-title {
  margin-bottom: 3.5rem;
  max-width: 720px;
}

/* Three-column grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature {
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.feature h3 { margin-bottom: 0.875rem; }
.feature p { font-size: 1rem; line-height: 1.6; }

/* What it handles */
.handles-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.125rem 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.handles-list li {
  font-size: 1.0625rem;
  color: var(--ink);
  padding-left: 1.75rem;
  position: relative;
}

.handles-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

/* Bottom CTA section */
.cta-section {
  background: var(--ink);
  color: var(--bg);
  padding: 6rem 0;
}

.cta-section h2 {
  color: var(--bg);
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.cta-section p {
  color: rgba(245, 241, 234, 0.72);
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  max-width: 540px;
}

.cta-section .hero-tag,
.cta-section .section-tag { color: var(--accent); }

.cta-section .btn { background: var(--accent); }
.cta-section .btn:hover { background: var(--bg); color: var(--ink); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.pricing-card {
  background: var(--bg-card);
  padding: 3rem 2.5rem;
  border: 1px solid var(--rule);
  position: relative;
}

.pricing-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.pricing-card.featured h3,
.pricing-card.featured .price { color: var(--bg); }

.pricing-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  display: block;
}

.pricing-card h3 {
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.price-detail {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.pricing-card.featured .price-detail { color: rgba(245, 241, 234, 0.6); }

.pricing-card p { font-size: 0.9375rem; margin-bottom: 2rem; }
.pricing-card.featured p { color: rgba(245, 241, 234, 0.7); }

.features-list {
  list-style: none;
  margin-bottom: 0;
}

.features-list li {
  padding: 0.75rem 0 0.75rem 1.75rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  color: var(--ink-soft);
}

.pricing-card.featured .features-list li {
  border-color: rgba(245, 241, 234, 0.1);
  color: rgba(245, 241, 234, 0.85);
}

.features-list li:last-child { border-bottom: none; }

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Not included / refund sections */
.info-block {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}

.info-block h3 {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.info-block ul {
  list-style: none;
  color: var(--ink-soft);
}

.info-block ul li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.info-block ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 2rem;
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-inner a { color: var(--ink-muted); }
.footer-inner a:hover { color: var(--ink); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* Legal pages */
.legal-page { padding: 4rem 0 5rem; }

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-page .back-link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: inline-block;
}

.legal-page h2 {
  font-size: 1.375rem;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.legal-page p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal-page ul {
  margin: 0.75rem 0 1.5rem 1.5rem;
  color: var(--ink-soft);
}

.legal-page li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-inner { padding: 0 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }

  .container { padding: 0 1.25rem; }

  .hero { padding: 3.5rem 0 3rem; }
  .hero-sub { font-size: 1.0625rem; }

  section { padding: 3.5rem 0; }
  .section-title { margin-bottom: 2.5rem; }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .handles-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card { padding: 2rem 1.75rem; }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .cta-section { padding: 4rem 0; }
}

/* Subtle fade-in on load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero > * { animation: fadeUp 0.6s ease-out forwards; opacity: 0; }
.hero > *:nth-child(1) { animation-delay: 0.05s; }
.hero > *:nth-child(2) { animation-delay: 0.15s; }
.hero > *:nth-child(3) { animation-delay: 0.25s; }
.hero > *:nth-child(4) { animation-delay: 0.35s; }
