:root {
  --green: #1e8e3e;
  --green-dark: #137333;
  --green-soft: #e6f4ea;
  --green-line: #b7dfc2;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --panel: #ffffff;
  --page: #f8fbf8;
  --shadow: 0 24px 70px rgba(32, 33, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(30, 142, 62, 0.16), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--page) 100%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

.unsupported-device {
  display: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(218, 220, 224, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  filter: invert(33%) sepia(82%) saturate(757%) hue-rotate(95deg) brightness(89%) contrast(86%);
}

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

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

.nav a[aria-current="page"] {
  color: var(--green-dark);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 64px;
  align-items: center;
  padding: 96px 0 72px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 8px 13px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.hero-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.hero-showcase svg {
  width: min(100%, 390px);
  height: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 24px 0 70px;
}

.feature-card {
  min-height: 258px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.06);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  border-radius: 15px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.feature-card h2 {
  margin-bottom: 12px;
  font-size: 25px;
  letter-spacing: -0.05em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.statement {
  margin-bottom: 72px;
  padding: 56px;
  border: 1px solid var(--green-line);
  border-radius: 34px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #ffffff;
}

.statement p {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.dashboard-hero {
  max-width: 840px;
  padding: 92px 0 42px;
}

.dashboard-panel,
.key-result {
  display: grid;
  gap: 28px;
  margin-bottom: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.06);
}

.dashboard-panel {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.dashboard-panel h2 {
  margin-bottom: 12px;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.dashboard-panel p,
.key-meta {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

code {
  color: var(--green-dark);
  font-size: 0.94em;
  font-weight: 700;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.key-result[hidden] {
  display: none;
}

.warning-text {
  margin-bottom: 0;
  color: #9a3412;
  font-weight: 800;
}

.key-result label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.key-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.key-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.testdb-panel,
.testdb-result {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.06);
}

.testdb-panel label {
  font-size: 14px;
  font-weight: 800;
}

.testdb-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.testdb-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.testdb-result h2 {
  margin-bottom: 0;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.testdb-result pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--green-line);
  border-radius: 18px;
  background: #f2fbf4;
  color: var(--ink);
  line-height: 1.65;
}

.docs-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding: 62px 0 82px;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.06);
}

.docs-sidebar-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.docs-sidebar a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.docs-content {
  display: grid;
  gap: 24px;
}

.docs-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.06);
  scroll-margin-top: 96px;
}

.docs-section h1 {
  max-width: 820px;
  font-size: clamp(46px, 6vw, 72px);
}

.docs-section h2 {
  margin-bottom: 14px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.docs-section p,
.docs-section li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.docs-section ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.docs-section pre {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 20px;
  border: 1px solid var(--green-line);
  border-radius: 18px;
  background: #f2fbf4;
  color: var(--ink);
  line-height: 1.65;
}

.docs-section pre code {
  color: inherit;
  font-weight: 600;
}

@media (max-width: 900px) {
  .unsupported-device {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
  }

  .site-header {
    display: none;
  }

  main {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 58px 0 48px;
  }

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

  .dashboard-panel,
  .key-row {
    grid-template-columns: 1fr;
  }

  .statement {
    padding: 34px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 17px;
  }

  .feature-card,
  .statement,
  .dashboard-panel,
  .key-result {
    border-radius: 24px;
  }
}
