:root {
  color-scheme: dark;
  --bg: #141411;
  --bg-soft: #1c1a17;
  --panel: #292722;
  --panel-strong: #332f29;
  --text: #f7efe4;
  --muted: #b8aa9b;
  --faint: #81766b;
  --line: rgba(224, 167, 135, 0.26);
  --accent: #bf6f4e;
  --accent-strong: #d8875f;
  --cream: #fffaf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 260px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 96px),
    var(--bg);
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 7vw, 108px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 17, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  color: #f3b58e;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.nav a {
  color: rgba(247, 239, 228, 0.78);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--cream) !important;
  background: linear-gradient(180deg, #d47d4f, #b75e35);
  box-shadow: 0 14px 34px rgba(191, 111, 78, 0.24);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  padding: 86px clamp(22px, 7vw, 108px) 72px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(980px, 92vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(248, 186, 143, 0.72), transparent);
}

.hero-inner {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.hero-centered {
  display: block;
  max-width: 980px;
  text-align: center;
}

.hero-centered h1,
.hero-centered .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .actions,
.hero-centered .model-strip {
  justify-content: center;
}

.eyebrow,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(224, 167, 135, 0.35);
  border-radius: 999px;
  color: #efb287;
  background: rgba(191, 111, 78, 0.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 167, 135, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(180deg, #d47d4f, #b75e35);
  box-shadow: 0 18px 42px rgba(191, 111, 78, 0.24);
}

.model-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.model-pill {
  padding: 10px 14px;
  border: 1px solid rgba(224, 167, 135, 0.24);
  border-radius: 999px;
  color: rgba(247, 239, 228, 0.82);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(224, 167, 135, 0.34);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)), var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(224, 167, 135, 0.1) 28% 28.4%, transparent 28.4%),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, 0.04) 58px 59px);
}

.visual-header {
  position: relative;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(224, 167, 135, 0.18);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.traffic {
  display: flex;
  gap: 8px;
}

.traffic span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(248, 186, 143, 0.5);
}

.visual-body {
  position: relative;
  padding: 26px 24px;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metric strong {
  color: var(--cream);
  font-size: 28px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.route-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(20, 20, 17, 0.52);
}

.route span:first-child {
  color: var(--cream);
  font-weight: 800;
}

.route span:last-child {
  color: #f0b086;
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: 92px clamp(22px, 7vw, 108px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-label {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 14px 0 36px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.tool-grid,
.pricing-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tool,
.price,
.value {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(224, 167, 135, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.tool h3,
.price h3,
.value h3 {
  margin: 0 0 12px;
  color: var(--cream);
  font-size: 22px;
}

.tool p,
.price p,
.value p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.price.featured {
  border-color: rgba(224, 167, 135, 0.72);
}

.price-mark {
  margin: 0 0 14px;
  color: #f0b086;
  font-size: 13px;
  font-weight: 900;
}

.price-number {
  margin: 0 0 12px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.price ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price li {
  margin: 12px 0;
}

.price li::before {
  content: "✓";
  margin-right: 10px;
  color: #f0b086;
}

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

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--cream);
}

.cta {
  text-align: center;
}

.cta .lead {
  margin: 0 auto;
}

.note {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.simple-page .hero-inner {
  display: block;
  max-width: 860px;
  text-align: left;
}

.docs-hero {
  padding: 90px clamp(22px, 7vw, 108px) 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-hero h1 {
  max-width: 940px;
  margin-bottom: 18px;
}

.docs-layout {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 54px;
  padding: 54px 0 110px;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(224, 167, 135, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.docs-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.docs-sidebar a:hover {
  color: var(--cream);
  background: rgba(191, 111, 78, 0.15);
}

.docs-content {
  min-width: 0;
}

.doc-section {
  scroll-margin-top: 96px;
  padding: 0 0 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-section:last-child {
  border-bottom: 0;
}

.doc-section h2 {
  margin: 12px 0 16px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.doc-section p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.steps div,
.config-table div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(224, 167, 135, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.steps strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--cream);
  background: linear-gradient(180deg, #d47d4f, #b75e35);
}

.steps span,
.config-table span {
  color: var(--muted);
  line-height: 1.6;
}

pre {
  max-width: 100%;
  overflow: auto;
  margin: 18px 0 24px;
  padding: 20px;
  border: 1px solid rgba(224, 167, 135, 0.24);
  border-radius: 10px;
  color: #fffaf2;
  background: rgba(7, 7, 6, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.config-table {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.config-table strong {
  min-width: 110px;
  color: #f3b58e;
}

.faq-list.compact {
  margin-top: 24px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(22px, 7vw, 108px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  font-size: 14px;
}

@media (max-width: 900px) {
  .topbar {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 22px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .tool-grid,
  .pricing-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .docs-sidebar {
    position: static;
  }

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

  .footer {
    flex-direction: column;
  }
}
