:root {
  --bg: #f3eee5;
  --paper: #fffdf8;
  --panel: #f8f3ea;
  --line: #d8ccba;
  --line-strong: #bfae98;
  --text: #231c14;
  --muted: #635749;
  --accent: #1f5d48;
  --accent-strong: #133e31;
  --accent-soft: #ddece4;
  --ink: #192724;
  --warm: #8a4a2c;
  --shadow: 0 18px 48px rgba(38, 30, 20, 0.08);
  --shadow-tight: 0 10px 28px rgba(38, 30, 20, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 28%),
    linear-gradient(180deg, #f7f1e7 0%, var(--bg) 100%);
}

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

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

a:hover {
  text-decoration: underline;
}

code {
  padding: 0.15rem 0.38rem;
  border-radius: 7px;
  background: #efe6d9;
  font-size: 0.95em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 20px 0;
  backdrop-filter: blur(10px);
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(191, 174, 152, 0.72);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: var(--shadow-tight);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffefb 0%, #f4ece0 100%);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f1e6;
  color: var(--text);
  font-weight: 700;
}

.site-nav a:hover {
  background: #fff8ef;
  text-decoration: none;
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 20px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-shot,
.proof-card,
.use-case-card,
.step-card,
.shot-card,
.release-card,
.faq-item {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-shot,
.proof-card,
.use-case-card,
.step-card,
.shot-card,
.release-card {
  border-radius: var(--radius);
}

.hero-copy {
  padding: 34px 34px 30px;
}

.hero-shot {
  padding: 16px;
  overflow: hidden;
}

.hero-shot img {
  width: 100%;
  max-height: 560px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f0eadf;
  object-fit: contain;
}

.hero-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow,
.product-kicker {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  overflow-wrap: anywhere;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.16rem;
}

.lead,
.section-heading > p,
.proof-card p,
.use-case-card p,
.step-card p,
.product-copy,
.faq-item p,
.release-line,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 1.06rem;
}

.lead-compact {
  margin-top: 14px;
  font-size: 0.98rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #f7fff9;
}

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

.button.primary-alt {
  background: #233c4c;
  color: #f4fbff;
}

.button.primary-alt:hover {
  background: #172a36;
  text-decoration: none;
}

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

.button.secondary:hover {
  background: #fffaf1;
  text-decoration: none;
}

.simple-page {
  max-width: 1180px;
}

.doc-hero {
  margin-bottom: 28px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.doc-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.toc-card,
.content-card,
.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow-tight);
}

.toc-card {
  position: sticky;
  top: 92px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.toc-card a {
  padding: 9px 10px;
  border-radius: 10px;
  background: #f7f1e6;
  color: var(--text);
  font-weight: 700;
}

.toc-card a:hover {
  background: #fff8ef;
  text-decoration: none;
}

.doc-content {
  display: grid;
  gap: 18px;
}

.content-card {
  padding: 22px;
}

.content-card p {
  color: var(--muted);
  line-height: 1.7;
}

.content-card ul,
.content-card ol {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.content-card li + li {
  margin-top: 6px;
}

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

.mini-card {
  padding: 18px;
}

.feature-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7f1e6;
  color: var(--text);
  font-weight: 800;
}

.feature-link:hover {
  background: #fff8ef;
  text-decoration: none;
}

.faq-list-page {
  margin-top: 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-points span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.proof-strip,
.use-case-grid,
.steps-grid,
.download-layout,
.screenshot-grid {
  display: grid;
  gap: 22px;
}

.proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.proof-card {
  padding: 24px;
}

.proof-card h2 {
  font-size: 1.26rem;
  margin-bottom: 12px;
}

.section {
  margin-top: 56px;
}

.section-heading {
  max-width: 72ch;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading > p {
  margin: 0;
}

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

.use-case-card,
.step-card {
  padding: 24px;
}

.use-case-card h3,
.step-card h3 {
  margin-bottom: 10px;
}

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

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--accent);
  color: #f6fff8;
  font-weight: 800;
}

.sample-links,
.product-links,
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.sample-links {
  margin-top: 18px;
}

.inline-link {
  font-weight: 700;
}

.screenshot-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: start;
}

.shot-card {
  padding: 14px;
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  max-height: 560px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f0eadf;
  object-fit: contain;
}

.shot-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.shot-large {
  grid-row: span 1;
}

.download-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.release-card {
  padding: 28px;
}

.release-card-featured {
  border-color: #a8c4b8;
}

.release-card-aside {
  background: var(--panel);
}

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.muted {
  background: #efe7dc;
  color: #5e5247;
}

.release-meta {
  min-height: 72px;
  margin: 18px 0 14px;
}

.release-line {
  margin: 5px 0;
}

.release-line strong {
  color: var(--text);
}

.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.downloads.compact {
  grid-template-columns: minmax(0, 1fr);
}

.download-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8f1e8;
  color: var(--text);
  font-weight: 700;
}

.download-link:hover {
  background: #fff8f0;
  text-decoration: none;
}

.download-meta {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.product-links {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 18px;
  padding: 0 22px;
  background: var(--paper);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 18px;
}

.loading,
.error {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.site-footer p {
  margin: 0 0 12px;
}

@media (max-width: 1080px) {
  .hero,
  .proof-strip,
  .use-case-grid,
  .steps-grid,
  .download-layout,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .downloads {
    grid-template-columns: 1fr;
  }

  .doc-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .brand-row {
    flex-direction: column;
    align-items: start;
    border-radius: 24px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .page {
    padding-top: 18px;
  }

  .hero-copy,
  .doc-hero,
  .content-card,
  .mini-card,
  .release-card,
  .proof-card,
  .use-case-card,
  .step-card {
    padding: 22px;
  }

  .site-nav,
  .hero-actions,
  .hero-points,
  .sample-links,
  .product-links,
  .footer-links {
    gap: 12px;
  }

  h1 {
    max-width: none;
    font-size: clamp(1.9rem, 10vw, 2.9rem);
  }

  .toc-card {
    position: static;
  }
}
