:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel-soft: #eef3f8;
  --text: #14191f;
  --muted: #5c6773;
  --line: #d9e0e8;
  --brand: #0f766e;
  --brand-dark: #0b5d58;
  --accent: #d97706;
  --code: #101820;
  --code-line: #26313d;
  --ok: #15803d;
  --warn: #b45309;
  --shadow: 0 18px 45px rgba(20, 25, 31, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--brand-dark);
}

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

.button.secondary:hover {
  background: var(--panel-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background:
    linear-gradient(90deg, rgba(247, 248, 251, 0.98) 0%, rgba(247, 248, 251, 0.92) 47%, rgba(247, 248, 251, 0.25) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='820' viewBox='0 0 1400 820'%3E%3Crect width='1400' height='820' fill='%23dfe8f0'/%3E%3Cg opacity='0.9'%3E%3Cpath d='M795 148h360c35 0 64 29 64 64v396c0 35-29 64-64 64H795c-35 0-64-29-64-64V212c0-35 29-64 64-64z' fill='%23ffffff'/%3E%3Cpath d='M789 236h375v56H789z' fill='%23101820'/%3E%3Cpath d='M789 322h222v22H789zM789 374h318v22H789zM789 426h268v22H789zM789 478h342v22H789zM789 546h198v18H789z' fill='%230f766e'/%3E%3Cpath d='M1038 322h126v22h-126zM1128 374h36v22h-36zM1085 426h79v22h-79zM1008 546h156v18h-156z' fill='%23d97706'/%3E%3C/g%3E%3Cg opacity='0.45' stroke='%2390a4b8' stroke-width='2' fill='none'%3E%3Cpath d='M156 178h360M156 242h280M156 306h420M156 370h320M156 434h470M156 498h250'/%3E%3Cpath d='M570 178h86M475 242h132M618 306h80M516 370h122M650 434h54M426 498h146'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center right;
  background-size: cover;
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 760;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 54px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.metric strong {
  display: block;
  font-size: 22px;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

main section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p,
.section-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

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

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

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.code-panel {
  overflow: hidden;
  border-radius: 8px;
  background: var(--code);
  color: #d7e2ee;
  box-shadow: var(--shadow);
}

.code-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--code-line);
  color: #9fb0c0;
  font-size: 13px;
}

pre {
  margin: 0;
  overflow: auto;
  padding: 22px;
  font-size: 14px;
  line-height: 1.65;
}

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

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

.plan {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.plan strong {
  display: block;
  font-size: 18px;
}

.price {
  margin: 14px 0 12px;
  font-size: 30px;
  font-weight: 800;
}

.plan ul,
.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.plan li,
.check-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 24px;
  color: var(--muted);
}

.plan li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 800;
}

.band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 70px 0;
  background: #101820;
  color: #fff;
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  gap: 28px;
}

.band p {
  max-width: 660px;
  color: #c2ccd6;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.sidebar a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
}

.sidebar a:hover {
  color: var(--text);
}

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

.doc-content h1 {
  font-size: 44px;
}

.doc-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.doc-section h2 {
  margin-bottom: 14px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table th {
  background: var(--panel-soft);
}

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

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.status-pill {
  color: var(--ok);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 74px 0 56px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-proof,
  .grid-3,
  .grid-2,
  .plans,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .section-head,
  .band-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar {
    position: static;
  }
}
