@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-regular.woff2?v=2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-semibold.woff2?v=2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-bold.woff2?v=2") format("woff2");
}

:root {
  --bg: #07080c;
  --surface: #0f1117;
  --surface-2: #121419;
  --surface-3: #171a22;
  --line: #1f232d;
  --line-2: #262a35;
  --text: #f5f6f8;
  --text-2: #a1a7b4;
  --text-3: #6e7482;
  --lime: #c8ff4d;
  --error: #ff6b4a;
  --wrap: 1120px;
  --prose: 720px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

a {
  color: var(--lime);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--lime);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
}

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

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  display: block;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.top nav a {
  color: var(--text-2);
  text-decoration: none;
}

.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--text);
}

.lang {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--lime);
  color: var(--bg);
}

.btn-primary:hover {
  background: #d4ff70;
}

.btn-ghost {
  background: var(--surface-3);
  color: var(--text);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--text-3);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 77, 0.18) 0%, rgba(200, 255, 77, 0.05) 30%, transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 89px, rgba(200, 255, 77, 0.14) 89px 90px);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 9em;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.lead {
  margin: 0 0 36px;
  max-width: 36em;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.6;
}

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

.note {
  margin: 20px 0 0;
  color: var(--text-3);
  font-size: 15px;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section > .wrap > p {
  margin: 0 0 36px;
  max-width: 40em;
  color: var(--text-2);
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

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

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(200, 255, 77, 0.1);
  color: var(--lime);
  font-weight: 700;
  font-size: 15px;
}

.apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.chip span {
  color: var(--text-3);
  font-weight: 400;
}

.limits {
  max-width: 44em;
  color: var(--text-2);
  font-size: 17px;
}

.limits p {
  margin: 0 0 16px;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--text-3);
  font-size: 14px;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
}

.foot p {
  margin: 0;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot a {
  color: var(--text-2);
  text-decoration: none;
}

.foot a:hover {
  color: var(--text);
}

.doc {
  padding: 64px 0 40px;
}

.doc .wrap {
  max-width: calc(var(--prose) + 48px);
}

.doc h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.doc .meta {
  margin: 0 0 40px;
  color: var(--text-3);
  font-size: 15px;
}

.doc h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.doc h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.doc p,
.doc li {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.65;
}

.doc p {
  margin: 0 0 14px;
}

.doc strong {
  color: var(--text);
  font-weight: 600;
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.doc li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.doc li::before {
  content: "-";
  position: absolute;
  left: 2px;
  color: var(--text-3);
}

.summary {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 0 0 8px;
}

.summary p:last-child {
  margin-bottom: 0;
}

.table {
  width: 100%;
  overflow-x: auto;
  margin: 8px 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--text);
  font-weight: 600;
  background: var(--surface);
}

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

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

.placeholder {
  color: var(--error);
  font-weight: 600;
}

.handoff {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.handoff main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.handoff .card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}

.handoff h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.handoff p {
  color: var(--text-2);
  margin: 0 0 16px;
}

.handoff .actions {
  margin: 24px 0 8px;
}

.handoff .small {
  font-size: 14px;
  color: var(--text-3);
}

[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .top nav {
    gap: 10px;
    font-size: 14px;
  }

  .top .wrap {
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .lang {
    padding: 4px 8px;
  }

  .top nav .wide {
    display: none;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero::after {
    display: none;
  }

  .lead {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  th,
  td {
    padding: 10px 12px;
  }
}
