﻿:root {
  color-scheme: light;
  --bg: #f6f9ff;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #2563eb;
  --accent-2: #0f4acb;
  --card: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1100px;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 55%, #f3f6fb 100%);
  line-height: 1.8;
}

.bg {
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 60vh;
  background: radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.15), transparent 58%),
    radial-gradient(circle at 85% 0%, rgba(15, 76, 203, 0.12), transparent 60%);
  z-index: -1;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  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: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  color: #ffffff;
  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(255, 255, 255, 0.98);
}

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

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  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: #ffffff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
}

.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 var(--line);
}

.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: #e8eef9;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

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

.content {
  padding: 18px 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(15, 23, 42, 0.08);
  border: 1px solid var(--line);
}

.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: #eef4ff;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  border: 1px solid #d6e2ff;
}

.warning {
  background: #eff6ff;
  border-left: 4px solid var(--accent);
  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: #f5f8ff;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #dbe7ff;
}

.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: #ffffff;
  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: #0b1220;
  color: #e2e8f0;
  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;
  }
}
