:root {
  --paper: #fff;
  --paper-2: #f5f5f4;
  --paper-3: #e8e6e2;
  --ink: #171717;
  --ink-2: #2a2a28;
  --muted: #6e6a64;
  --line: rgba(23, 23, 23, .11);
  --accent: #3d6b4f;
  --accent-dark: #294a36;
  --accent-light: rgba(61, 107, 79, .11);
  --radius: 18px;
  --shadow: 0 22px 60px -38px rgba(23, 23, 23, .42);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.7 var(--font);
}

a { color: inherit; }

img { max-width: 100%; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 23, 23, .07);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -.03em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #2b2b2b;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover { background: var(--paper-2); }

.nav-cta {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.breadcrumbs {
  padding-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 8px; color: #aaa69f; }

.hero {
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.045em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -.025em;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(155deg, #f7f8f6, #edece8);
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--accent-light);
}

.browser-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c4c1bb;
}

.step-preview {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  padding: 18px;
  border: 1px solid rgba(23, 23, 23, .09);
  border-radius: 13px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 38px -30px rgba(23, 23, 23, .55);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.step-preview strong { font-size: 14px; }
.step-preview p { margin: 9px 0 0 40px; color: var(--muted); font-size: 13px; }

.section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section.muted { background: var(--paper-2); }

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-intro p,
.prose p,
.card p {
  color: var(--muted);
}

.section-intro p {
  margin: 0;
  font-size: 18px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card p:last-child { margin-bottom: 0; }

.card-kicker {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.check-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
}

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

.plain-list { counter-reset: item; }
.plain-list li { padding-left: 38px; }
.plain-list li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 0;
  top: 9px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th, td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8f8f6;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .02em;
}

td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.callout {
  padding: 26px 28px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--accent-light);
}

.callout p { margin: 0; color: var(--ink-2); }

.source-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.source-note a { color: var(--accent-dark); }

.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related a {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.related a:hover { border-color: rgba(61, 107, 79, .5); }
.related strong { display: block; margin-bottom: 8px; font-size: 18px; }
.related span { color: var(--muted); font-size: 14px; }

.cta-band {
  padding: 72px 0;
  background: #151517;
  color: #fff;
}

.cta-band .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band h2 { margin-bottom: 10px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .58); }
.cta-band .button { border-color: #fff; background: #fff; color: #151517; flex: none; }

.site-footer {
  padding: 42px 0 30px;
  background: #151517;
  color: rgba(255, 255, 255, .52);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid h2 {
  color: #fff;
  font-size: 18px;
  letter-spacing: -.03em;
}

.footer-grid h3 {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  letter-spacing: .02em;
}

.footer-grid p { max-width: 30ch; font-size: 13px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin: 8px 0; }
.footer-grid a { color: rgba(255, 255, 255, .52); font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: #fff; }

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 840px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding: 64px 0 58px; gap: 36px; }
  .hero-card { min-height: 300px; }
  .grid-3, .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1120px); }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero-card { padding: 22px; }
  .cta-band .shell { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
