:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --bg-strong: #ebe7dd;
  --panel: #ffffff;
  --panel-soft: #fcfbf7;
  --ink: #17211f;
  --text: #232b2d;
  --muted: #60706c;
  --line: #dad5c8;
  --accent: #16735f;
  --accent-strong: #0e4f43;
  --blue: #265f8f;
  --gold: #9b6a16;
  --red: #9b4141;
  --code-bg: #edf1ec;
  --shadow: 0 18px 45px rgba(39, 48, 47, 0.1);
  --shadow-soft: 0 8px 24px rgba(39, 48, 47, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(235, 231, 221, 0.72), rgba(247, 245, 239, 0) 420px), var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #f5f1e7;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
}

.nav-links a:hover {
  background: rgba(22, 115, 95, 0.1);
  color: var(--accent-strong);
  text-decoration: none;
}

.hero,
.page,
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding-top: 68px;
  padding-bottom: 56px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 18px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.82rem;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.2rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.button:hover {
  color: #ffffff;
  background: var(--accent-strong);
  text-decoration: none;
}

.button.secondary:hover {
  color: #ffffff;
}

.page {
  padding-bottom: 52px;
}

.hero-shell {
  overflow: hidden;
  border: 1px solid rgba(218, 213, 200, 0.78);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-shell pre {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.shell-bar {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.shell-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d66f61;
}

.shell-bar span:nth-child(2) {
  background: #dca84a;
}

.shell-bar span:nth-child(3) {
  background: #62b47f;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.card.accent {
  border-color: rgba(22, 115, 95, 0.26);
  background: #f4faf7;
}

.card.blue {
  border-color: rgba(38, 95, 143, 0.22);
  background: #f4f8fb;
}

.card.gold {
  border-color: rgba(155, 106, 22, 0.24);
  background: #fbf7ed;
}

.card.red {
  border-color: rgba(155, 65, 65, 0.2);
  background: #fbf4f2;
}

.kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(22, 115, 95, 0.1);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 30px 0 8px;
  padding: 24px;
  border: 1px solid rgba(22, 115, 95, 0.24);
  border-radius: 14px;
  background: var(--ink);
  color: #eef8f3;
  box-shadow: var(--shadow);
}

.callout h2,
.callout h3,
.callout p {
  color: inherit;
}

.callout h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.callout p {
  color: rgba(238, 248, 243, 0.78);
}

.callout .button.secondary {
  border-color: rgba(238, 248, 243, 0.6);
  color: #eef8f3;
}

blockquote {
  margin: 20px 0;
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

code {
  padding: 0.13rem 0.3rem;
  border-radius: 4px;
  background: var(--code-bg);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

pre {
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #17211f;
  color: #eef8f3;
  line-height: 1.5;
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  padding-top: 24px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-split,
  .intro-strip,
  .callout {
    grid-template-columns: 1fr;
  }

  .cards,
  .cards.four,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

.screenshot-frame {
  overflow: hidden;
  margin: 24px 0 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-frame figcaption {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
