:root {
  --background: #0b0d10;
  --background-soft: #111419;
  --surface: #15191f;
  --surface-light: #1b2028;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f5f7;
  --text-soft: #a8b0bb;
  --accent: #b6f36b;
  --accent-dark: #17220d;
  --code: #d7e9c3;
  --container: 1180px;
  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;
  --font-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 0%, rgba(182, 243, 107, 0.08), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

code,
pre {
  font-family: var(--font-mono);
}

code {
  color: var(--code);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: auto;
  height: 28px;
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--border-strong);
}

.brand-name {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-link,
.response-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-link {
  color: var(--text-soft);
  font-size: 14px;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.status-link:hover {
  color: var(--text);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(182, 243, 107, 0.1);
}

.hero {
  display: flex;
  min-height: calc(100vh - 83px);
  align-items: center;
  padding: 100px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(48px, 6.2vw, 86px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
  color: var(--text-soft);
}

.hero-description {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--text-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #10150b;
}

.button-primary:hover {
  background: #c5ff7c;
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.hero-preview {
  position: relative;
}

.hero-preview::before {
  position: absolute;
  inset: -12%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(182, 243, 107, 0.08);
  content: "";
  filter: blur(80px);
}

.code-window {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-large);
  background: rgba(17, 20, 25, 0.92);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42);
}

.code-window-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.code-window pre {
  min-height: 235px;
  margin: 0;
  padding: 42px 32px;
  overflow-x: auto;
  color: var(--text);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.9;
  white-space: pre-wrap;
}

.code-muted {
  color: #87909d;
}

.code-accent {
  color: var(--accent);
}

.response-row {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
}

.response-status {
  color: var(--text);
}

.section {
  padding: clamp(90px, 10vw, 150px) 0;
}

.section-border {
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 750px;
  margin-bottom: 62px;
}

.section-heading h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--border);
}

.feature-card {
  min-height: 310px;
  padding: 30px;
  background: var(--background-soft);
}

.feature-number {
  display: block;
  margin-bottom: 76px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.feature-card h3 {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.usage-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.section-heading-sticky {
  position: sticky;
  top: 50px;
  margin-bottom: 0;
}

.steps {
  border-top: 1px solid var(--border);
}

.step {
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.step:first-child {
  padding-top: 0;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.step h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.step > p {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--text-soft);
}

.code-block {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--background-soft);
}

.code-block-label {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border);
  color: #77808d;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: var(--code);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--background-soft);
  color: #7f8894;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td {
  color: var(--text-soft);
}

td:first-child {
  width: 170px;
  color: var(--text);
}

td:nth-child(2) {
  width: 150px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
}

.badge-required {
  border-color: rgba(182, 243, 107, 0.3);
  background: rgba(182, 243, 107, 0.08);
  color: var(--accent);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(182, 243, 107, 0.18);
  border-radius: var(--radius-small);
  background: rgba(182, 243, 107, 0.04);
}

.notice-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(182, 243, 107, 0.35);
  border-radius: 50%;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.notice p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.architecture-section {
  border-top: 1px solid var(--border);
  background: var(--background-soft);
}

.architecture-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 10vw, 150px);
}

.architecture-grid .section-heading {
  margin-bottom: 0;
}

.flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  padding: 27px 0;
  border-top: 1px solid var(--border);
}

.flow li:last-child {
  border-bottom: 1px solid var(--border);
}

.flow > li > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.flow strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.flow p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 4px;
}

.footer-inner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-meta span {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
}

.storage-section {
  background: var(--background-soft);
}

.storage-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.storage-grid .section-heading {
  margin-bottom: 0;
}

.storage-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--background);
}

.storage-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.storage-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.storage-percentage {
  display: block;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.storage-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  font-size: 12px;
  white-space: nowrap;
}

.storage-progress {
  position: relative;
  height: 12px;
  overflow: hidden;
  margin-bottom: 34px;
  border-radius: 999px;
  background: var(--surface-light);
}

.storage-progress span {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.storage-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.storage-data > div {
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.storage-data span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-soft);
  font-size: 12px;
}

.storage-data strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}

.storage-note {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .usage-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    max-width: 700px;
  }

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

  .section-heading-sticky {
    position: static;
  }

  .usage-grid,
  .architecture-grid {
    gap: 50px;
  }
  .storage-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-divider,
  .brand-name {
    display: none;
  }

  .status-link {
    font-size: 0;
  }

  .status-link .status-dot {
    margin-right: 4px;
  }

  .hero {
    padding: 72px 0 90px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-grid {
    gap: 60px;
  }

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

  .button {
    width: 100%;
  }

  .code-window pre {
    min-height: 200px;
    padding: 30px 20px;
    font-size: 12px;
  }

  .response-row {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 50px;
  }

  .step {
    padding: 40px 0;
  }

  .step-heading {
    align-items: flex-start;
  }

  .step h3 {
    font-size: 22px;
  }

  th,
  td {
    min-width: 160px;
    padding: 18px;
  }

  td:last-child {
    min-width: 330px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .storage-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .storage-data {
    grid-template-columns: 1fr;
  }
}