:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #eef7f5;
  --surface-blue: #eef5ff;
  --ink: #0b1620;
  --text: #15252d;
  --muted: #63747d;
  --line: rgba(121, 148, 158, 0.24);
  --primary: #087765;
  --primary-dark: #075447;
  --primary-soft: #dff4ef;
  --blue: #173b63;
  --accent: #d89128;
  --success: #21a67a;
  --warning: #d19a23;
  --shadow-sm: 0 10px 28px rgba(17, 40, 52, 0.08);
  --shadow-md: 0 24px 70px rgba(17, 40, 52, 0.14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(rgba(8, 119, 101, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 119, 101, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbff 0%, #edf7f5 46%, #f9fbf7 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(244, 248, 251, 0.9) 78%),
    linear-gradient(110deg, rgba(8, 119, 101, 0.12) 0%, rgba(23, 59, 99, 0.04) 45%, rgba(255, 255, 255, 0) 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(121, 148, 158, 0.2);
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #19a68e);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 119, 101, 0.24);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #4f636d;
  font-size: 1rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: 44px;
  padding-top: 60px;
  padding-bottom: 46px;
}

.hero > *,
.docs-layout > *,
.comparison-grid > *,
.pricing-grid > *,
.feature-grid > *,
.problem-grid > *,
.use-case-grid > *,
.steps > * {
  min-width: 0;
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.75rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #4f636d;
  font-size: 1.24rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #13a08a);
  color: #fff;
  box-shadow: 0 16px 34px rgba(8, 119, 101, 0.26);
}

.button-primary:hover {
  box-shadow: 0 20px 46px rgba(8, 119, 101, 0.34);
}

.button-secondary {
  border-color: rgba(8, 119, 101, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(17, 40, 52, 0.06);
}

.button-secondary:hover {
  border-color: rgba(8, 119, 101, 0.42);
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 40, 52, 0.12);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(8, 119, 101, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.console-preview {
  border: 1px solid rgba(134, 162, 171, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 249, 0.96)),
    var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.window-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 999px;
  background: #a8bac1;
}

.window-dot:first-child {
  background: #efb34f;
}

.window-dot:nth-child(2) {
  background: #4fbf91;
}

.console-topbar strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 0.86rem;
}

.console-topbar strong::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(33, 166, 122, 0.12);
}

.console-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.endpoint-card,
.console-tile,
.usage-panel,
.log-panel,
.docs-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.endpoint-card {
  padding: 16px;
}

.endpoint-card code {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  word-break: break-all;
}

.console-label {
  display: block;
  color: #66808a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.console-tile {
  padding: 16px;
}

.console-tile strong,
.usage-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.22;
}

.console-tile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.usage-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px;
}

.usage-bar {
  height: 9px;
  border-radius: 999px;
  background: #dce9e7;
  overflow: hidden;
}

.usage-bar span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #73c7b5);
}

.log-panel {
  padding: 16px;
}

.log-heading,
.log-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
}

.log-heading {
  grid-template-columns: 1fr auto;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.log-row {
  min-height: 36px;
  border-top: 1px solid rgba(121, 148, 158, 0.16);
  color: #445963;
  font-size: 0.88rem;
}

.log-row strong {
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.log-status {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.log-status.ok {
  background: var(--success);
}

.log-status.warn {
  background: var(--warning);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(121, 148, 158, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.benefit-strip span {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 16px;
  border-right: 1px solid rgba(121, 148, 158, 0.2);
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.benefit-strip span:last-child {
  border-right: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: 3rem;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.problem-grid,
.feature-grid,
.use-case-grid {
  display: grid;
  gap: 18px;
}

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

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

.problem-card,
.feature-card,
.use-case-grid article,
.pricing-card,
.step,
.faq-list details,
.comparison-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.problem-card,
.feature-card,
.use-case-grid article {
  padding: 24px;
}

.problem-card,
.feature-card,
.use-case-grid article,
.pricing-card,
.comparison-card,
.step {
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.problem-card:hover,
.feature-card:hover,
.use-case-grid article:hover,
.pricing-card:hover,
.comparison-card:hover,
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 119, 101, 0.28);
  box-shadow: 0 22px 46px rgba(17, 40, 52, 0.11);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.problem-card h3,
.feature-card h3,
.use-case-grid h3,
.pricing-card h3,
.comparison-card h3,
.step h3,
.docs-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.problem-card p,
.feature-card p,
.use-case-grid p,
.step p,
.docs-copy p,
.docs-copy li,
.pricing-card li,
.comparison-card li,
.faq-list p,
.disclaimer,
.site-footer p {
  color: var(--muted);
  font-size: 1.02rem;
}

.problem-card p,
.feature-card p,
.use-case-grid p,
.step p,
.docs-copy p {
  margin: 12px 0 0;
}

.features-section,
.comparison-section,
.docs-section {
  width: 100%;
  max-width: none;
  border-top: 1px solid rgba(121, 148, 158, 0.16);
  border-bottom: 1px solid rgba(121, 148, 158, 0.16);
  background:
    linear-gradient(rgba(23, 59, 99, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 59, 99, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.48);
  background-size: 34px 34px, 34px 34px, auto;
}

.features-section > *,
.comparison-section > *,
.docs-section > * {
  width: min(var(--max), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.use-case-grid article {
  position: relative;
  overflow: hidden;
}

.use-case-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), #63b9e8);
}

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

.comparison-card {
  padding: 30px;
}

.highlight-card {
  background: linear-gradient(135deg, #ffffff, #eef8f5);
  border-color: rgba(8, 119, 101, 0.3);
}

.muted-card {
  background: rgba(255, 255, 255, 0.72);
}

.comparison-label,
.plan-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.comparison-card ul,
.pricing-card ul,
.docs-copy ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-card li,
.pricing-card li,
.docs-copy li {
  position: relative;
  padding-left: 26px;
}

.comparison-card li::before,
.pricing-card li::before,
.docs-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(8, 119, 101, 0.11);
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 250, 0.96)),
    var(--surface);
}

.pricing-card.featured {
  border-color: rgba(8, 119, 101, 0.38);
  box-shadow: 0 28px 70px rgba(8, 119, 101, 0.16);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #55c5b4);
}

.plan-header p {
  min-height: 48px;
  margin: 9px 0 0;
  color: var(--muted);
}

.price {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 950;
}

.pricing-card ul {
  margin-bottom: 30px;
}

.pricing-card .button {
  margin-top: auto;
}

.pricing-note {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-align: center;
}

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

.step {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.docs-copy {
  padding: 28px;
}

.code-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #081613;
  box-shadow: 0 30px 80px rgba(8, 22, 19, 0.22);
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #a7d8cd;
  font-size: 0.9rem;
  font-weight: 850;
}

.code-header div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.code-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(33, 166, 122, 0.12);
}

.copy-button {
  min-width: 78px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.copy-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
}

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

pre code {
  color: #ecfbf7;
  font-size: 0.92rem;
  line-height: 1.7;
}

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

.faq-list details {
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.84);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.35rem;
}

.faq-list details[open] {
  border-color: rgba(8, 119, 101, 0.28);
  box-shadow: 0 22px 46px rgba(17, 40, 52, 0.1);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 0 22px;
}

.disclaimer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 56px;
  padding: 18px 20px;
  border: 1px solid rgba(216, 145, 40, 0.38);
  border-radius: var(--radius);
  background: #fff8ea;
  box-shadow: var(--shadow-sm);
}

.disclaimer strong {
  color: #765017;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid rgba(121, 148, 158, 0.26);
  gap: 30px;
}

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

.footer-contact {
  color: var(--primary-dark);
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

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

  .nav-links {
    width: 100%;
    gap: 14px;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 3px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .problem-grid,
  .feature-grid,
  .use-case-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-layout,
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav,
  .section,
  .benefit-strip,
  .disclaimer,
  .site-footer,
  .features-section > *,
  .comparison-section > *,
  .docs-section > * {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    gap: 30px;
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

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

  .button {
    width: 100%;
  }

  .benefit-strip,
  .problem-grid,
  .feature-grid,
  .use-case-grid,
  .pricing-grid,
  .steps,
  .console-grid,
  .usage-panel,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .benefit-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(121, 148, 158, 0.2);
  }

  .benefit-strip span:last-child {
    border-bottom: 0;
  }

  .section-heading h2 {
    font-size: 2.18rem;
  }

  .problem-card,
  .feature-card,
  .use-case-grid article,
  .pricing-card,
  .comparison-card,
  .step,
  .docs-copy {
    padding: 22px;
  }

  .console-body {
    padding: 14px;
  }

  .endpoint-card code,
  .log-row,
  pre code {
    font-size: 0.84rem;
  }

  pre {
    padding: 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
