:root {
  color-scheme: light;
  --ink: #101623;
  --muted: #5d6675;
  --faint: #eef2f6;
  --line: #d8e0e8;
  --surface: #ffffff;
  --panel: #f7f9fb;
  --dark: #0b1220;
  --dark-2: #121d2f;
  --accent: #0ea5c6;
  --accent-2: #3be0a3;
  --blue: #2658ff;
  --shadow: 0 22px 60px rgba(16, 22, 35, 0.12);
  --radius: 8px;
  --max: 1180px;
  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: #ffffff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 224, 232, 0.75);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 8px, var(--accent) 8px 13px, transparent 13px),
    linear-gradient(90deg, transparent 15px, var(--accent-2) 15px 20px, transparent 20px),
    linear-gradient(90deg, transparent 22px, var(--blue) 22px 27px, transparent 27px),
    var(--dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #3b4656;
  font-size: 14px;
  font-weight: 650;
}

nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: var(--dark);
  color: white;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  min-height: 720px;
  padding: 68px clamp(20px, 4vw, 48px) 54px;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #0c121d;
  font-size: clamp(48px, 7vw, 94px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 820;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.hero-copy p {
  max-width: min(670px, 100%);
  margin: 26px 0 0;
  color: #4f5a69;
  font-size: 20px;
  line-height: 1.55;
}

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

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.text-links a {
  border-bottom: 1px solid var(--line);
}

.hero-system {
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 12%, rgba(59, 224, 163, 0.2), transparent 30%),
    linear-gradient(145deg, #101827, #101523 45%, #070b12);
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 520px;
  padding: 24px;
  max-width: 100%;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dce9f6;
  font-size: 14px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 7px rgba(59, 224, 163, 0.12);
}

.rack-visual {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.machine-card {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 26px;
  min-height: 126px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.035) 22px 23px);
}

.machine-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 28px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: -24px 0 0 rgba(72, 215, 255, 0.7), -48px 0 0 rgba(255, 255, 255, 0.25);
}

.machine-card span,
.route-map span {
  color: #9fb0c4;
  font-size: 13px;
  font-weight: 720;
}

.machine-card strong {
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
}

.machine-card small {
  color: #dce9f6;
  font-size: 14px;
}

.route-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.route-map div {
  min-height: 104px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.route-map strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  width: 100%;
  margin: -18px auto 0;
  padding: 0 clamp(20px, 4vw, 48px) 76px;
  gap: 1px;
}

.trust-band div {
  padding: 24px;
  background: var(--panel);
  border: 1px solid #e6ebf0;
}

.trust-band div:first-child {
  border-radius: 8px 0 0 8px;
}

.trust-band div:last-child {
  border-radius: 0 8px 8px 0;
}

.trust-band strong {
  display: block;
  font-size: 15px;
}

.trust-band span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.security-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.security-grid h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.security-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.marketing-routes {
  padding-top: 56px;
  border-top: 1px solid var(--faint);
}

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

.route-cards a {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.route-cards a:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 198, 0.5);
  box-shadow: 0 18px 40px rgba(16, 22, 35, 0.09);
}

.route-cards span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
}

.route-cards strong {
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.route-cards small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.content-page {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 78px clamp(20px, 4vw, 48px);
}

.content-page h1 {
  max-width: 860px;
  margin: 0;
  color: #0c121d;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.content-page .lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 26px;
  margin-top: 46px;
}

.content-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.content-panel.white {
  background: white;
}

.content-panel h2,
.content-panel h3 {
  margin: 0 0 16px;
  letter-spacing: 0;
}

.content-panel h2 {
  font-size: 34px;
  line-height: 1.05;
}

.content-panel h3 {
  font-size: 22px;
  line-height: 1.15;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.simple-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 38px;
}

.simple-table .simple-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 16px;
  padding: 17px 20px;
  border-top: 1px solid #edf1f5;
}

.simple-table .simple-row:first-child {
  border-top: 0;
  background: var(--dark);
  color: white;
  font-weight: 820;
}

.simple-table .simple-row:not(:first-child) span:not(:first-child) {
  color: var(--muted);
}

.section {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 86px clamp(20px, 4vw, 48px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.56fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.5fr);
}

h2 {
  margin: 0;
  color: #101623;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.api-copy p,
.closing p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.machine-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.plan.featured {
  border-color: rgba(14, 165, 198, 0.38);
  box-shadow: var(--shadow);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.plan h3,
.ops-list h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.plan-top span {
  max-width: 150px;
  color: var(--accent);
  text-align: right;
  font-size: 13px;
  font-weight: 760;
}

.price {
  margin: 0;
  font-size: 46px;
  font-weight: 820;
  line-height: 1;
}

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

dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e9eef3;
  border-radius: 8px;
}

dl div {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 18px;
  padding: 14px 16px;
  background: #fbfcfd;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

dd {
  margin: 0;
  font-size: 14px;
  font-weight: 680;
}

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

.ops-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #e5ebf1;
  border-radius: 12px;
  overflow: hidden;
}

.ops-list article {
  min-height: 260px;
  padding: 26px;
  background: var(--panel);
}

.num {
  display: block;
  margin-bottom: 56px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
}

.ops-list p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.api-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.api-copy h2 {
  margin-bottom: 22px;
}

.license-notes {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.license-notes li {
  position: relative;
  padding-left: 22px;
  color: #394556;
  font-weight: 650;
}

.license-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.code-panel {
  border-radius: 12px;
  background: var(--dark);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

.code-tabs {
  display: flex;
  gap: 7px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-tabs span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6b6b;
}

.code-tabs span:nth-child(2) {
  background: #ffc857;
}

.code-tabs span:nth-child(3) {
  background: var(--accent-2);
}

pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  color: #d7f5ff;
  font-size: 14px;
  line-height: 1.7;
}

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

.model-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr 0.8fr;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid #edf1f5;
  align-items: center;
}

.row.head {
  border-top: 0;
  background: var(--dark);
  color: white;
  font-size: 13px;
  font-weight: 820;
}

.row span {
  min-width: 0;
}

.row:not(.head) span:first-child {
  font-weight: 780;
}

.row:not(.head) span:not(:first-child) {
  color: var(--muted);
  font-size: 14px;
}

.closing {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  max-width: var(--max);
  width: 100%;
  margin: 50px auto 0;
  padding: 54px clamp(20px, 4vw, 48px);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(14, 165, 198, 0.14), rgba(59, 224, 163, 0.1)),
    #f5f9fb;
}

.closing h2 {
  margin-bottom: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 38px clamp(20px, 4vw, 48px) 46px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  main,
  section,
  .hero-system,
  .rack-visual,
  .machine-card,
  .code-panel,
  .model-table {
    min-width: 0;
    max-width: 100%;
  }

  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero,
  .api-section,
  .section-heading,
  .section-heading.compact,
  .machine-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 54px;
  }

  .hero-system {
    min-height: 0;
  }

  .trust-band,
  .ops-list,
  .security-grid,
  .route-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-band div:first-child,
  .trust-band div:last-child {
    border-radius: 0;
  }

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

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

@media (max-width: 620px) {
  main,
  section,
  .hero-system,
  .rack-visual,
  .machine-card,
  .code-panel,
  .model-table {
    min-width: 0;
    max-width: 100%;
  }

  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

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

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 17px;
    max-width: 32ch;
  }

  .hero-copy {
    padding-right: 16px;
  }

  .text-links {
    display: grid;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .route-map,
  .trust-band,
  .ops-list,
  .security-grid,
  .route-cards,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-page {
    padding: 52px 16px;
  }

  .simple-table .simple-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .section {
    padding: 64px 16px;
  }

  .plan,
  .ops-list article {
    padding: 22px;
  }

  .plan-top {
    display: grid;
  }

  .plan-top span {
    text-align: left;
  }

  dl div,
  .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  pre {
    padding: 22px;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .closing {
    margin: 18px 16px 0;
    padding: 32px 22px;
  }
}
