﻿:root {
  color-scheme: light;
  --bg: #f7f2ea;
  --bg-2: #fef6ec;
  --ink: #1a1917;
  --muted: #5f5b56;
  --accent: #d4672a;
  --accent-2: #1f6f78;
  --card: #ffffff;
  --line: #e7ddd1;
  --shadow: 0 30px 60px rgba(28, 24, 18, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1120px;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, var(--bg-2) 0%, var(--bg) 45%, #efe6da 100%);
  line-height: 1.75;
}

.bg {
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 70vh;
  background: radial-gradient(circle at 10% 10%, rgba(212, 103, 42, 0.16), transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(31, 111, 120, 0.14), transparent 55%);
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(247, 242, 234, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #f1a46f);
  color: white;
  font-family: "Fraunces", serif;
}

.brand-title {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.85rem;
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.top-nav a {
  position: relative;
  padding-bottom: 4px;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.top-nav a:hover::after,
.top-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 4%;
  border-top: 1px solid var(--line);
  background: rgba(254, 246, 236, 0.96);
}

.mobile-nav.open {
  display: flex;
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  gap: 16px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 30px rgba(212, 103, 42, 0.28);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn.full {
  width: 100%;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-card h2 {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.progress-wrap {
  font-size: 0.85rem;
  color: var(--muted);
}

.progress-bar {
  height: 8px;
  background: #efe6da;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #f1a46f);
  transition: width 0.2s ease;
}

.content {
  padding: 20px 0 90px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.7fr);
  gap: 30px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(38, 33, 26, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.card h2 {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.15rem;
  margin: 16px 0 8px;
}

.card p + p {
  margin-top: 12px;
}

.card ul,
.card ol {
  margin: 14px 0 0 18px;
  color: var(--muted);
}

.card ul li + li,
.card ol li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.highlight {
  background: #fff5ea;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  border: 1px solid #f0dcc9;
}

.warning {
  background: #fff1ee;
  border-left: 4px solid #e35d4f;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

.columns {
  columns: 2 220px;
  column-gap: 20px;
}

.columns li {
  break-inside: avoid;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.benefits div {
  background: #fffaf3;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #f0dcc9;
}

.tips,
.steps {
  counter-reset: step;
  list-style: none;
  margin-left: 0;
}

.tips li,
.steps li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 18px;
}

.tips li::before,
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.sidebar .card {
  margin-bottom: 0;
}

.sticky {
  position: sticky;
  top: 110px;
}

.toc {
  list-style: none;
  margin: 16px 0 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.toc a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.toc a::before {
  content: "•";
  color: var(--accent);
}

.cta-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.site-footer {
  background: #141210;
  color: #f6efe7;
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-links {
  display: flex;
  gap: 14px;
}

@media (max-width: 960px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }
}

@media (max-width: 820px) {
  .top-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 40px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 6px;
  }

  .columns {
    columns: 1;
  }
}
