:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-muted: #eef3f5;
  --ink: #172027;
  --muted: #5a6872;
  --soft: #d8e0e4;
  --line: #ccd6dc;
  --accent: #0f6b68;
  --accent-dark: #0a4e4c;
  --accent-soft: #d9ecea;
  --warning: #8a5a10;
  --code-bg: #111820;
  --code-ink: #eef6f6;
  --radius: 8px;
  --shadow: 0 16px 36px rgba(23, 32, 39, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(204, 214, 220, 0.8);
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid #8fb8b5;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: linear-gradient(180deg, #ffffff, #e5f2f1);
  font-size: 14px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-muted);
}

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

.hero {
  padding: 82px 0 54px;
  border-bottom: 1px solid var(--soft);
  background:
    linear-gradient(90deg, rgba(15, 107, 104, 0.08), rgba(15, 107, 104, 0)),
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 82%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 780;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 760;
}

h3 {
  font-size: 19px;
  font-weight: 720;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: #34424b;
  font-size: clamp(18px, 2.2vw, 22px);
}

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

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

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border-color: #8fb8b5;
}

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

.signal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--soft);
  background: #f8fbfb;
}

.signal-head strong {
  font-size: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 750;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1c9b6c;
}

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

.metric {
  min-height: 122px;
  padding: 20px;
  border-right: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}

.metric:nth-child(2n) {
  border-right: 0;
}

.metric:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.metric .value {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1;
  font-weight: 780;
}

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

.note {
  padding: 16px 20px;
  border-top: 1px solid var(--soft);
  color: var(--muted);
  font-size: 13px;
  background: #fbfcfc;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding-top: 44px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.price-card,
.doc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
}

.feature-card p,
.price-card p,
.doc-card p {
  margin-top: 12px;
  color: var(--muted);
}

.icon-box {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid #9ec4c1;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.icon-box svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: #324049;
}

.list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 3px;
  background: var(--accent);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
}

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

.data-table th {
  color: #334049;
  background: #f3f7f7;
  font-size: 13px;
  font-weight: 750;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td {
  color: var(--muted);
}

.data-table strong {
  color: var(--ink);
}

.banner {
  padding: 24px;
  border: 1px solid #d7bd85;
  border-radius: var(--radius);
  background: #fff9ec;
  color: #3d3220;
}

.banner h2,
.banner h3 {
  color: #2d2417;
}

.banner p {
  margin-top: 10px;
  color: #5f4b27;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 20px;
}

.price-card.highlight {
  border-color: #74aaa6;
  box-shadow: var(--shadow);
}

.plan-name {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 780;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.plan-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.plan-list li {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--soft);
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

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

.doc-nav {
  position: sticky;
  top: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.doc-nav a {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid var(--soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.doc-nav a:hover {
  color: var(--ink);
  background: #f3f7f7;
}

.doc-stack {
  display: grid;
  gap: 22px;
}

.doc-card {
  padding: 24px;
}

code {
  border-radius: 5px;
  padding: 2px 5px;
  background: #e8eff1;
  color: #24343c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

pre {
  margin: 18px 0 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--code-bg);
  color: var(--code-ink);
  font-size: 13px;
  line-height: 1.55;
}

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

.field-table {
  margin-top: 18px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--soft);
  color: var(--muted);
  background: #ffffff;
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

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

@media (max-width: 1020px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card {
    min-height: 410px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .split,
  .doc-layout {
    grid-template-columns: 1fr;
  }

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

  .doc-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding: 44px 0 42px;
  }

  .actions,
  .footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

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

  .metric,
  .metric:nth-child(2n),
  .metric:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--soft);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 52px 0;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
