@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-raised: #0a0a0a;
  --panel: #0a0a0a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #a1a1aa;
  --dim: #6b6b75;
  --accent: #00b4d8;
  --accent-2: #1d7fe0;
  --accent-3: #2bb673;
  --code-key: #3fc6e4;
  --code-str: #7fd3a6;
  --warn: #f0b070;
  --feather: linear-gradient(135deg, #00b4d8 0%, #1d7fe0 50%, #2bb673 100%);
  --code-fn: #ededf0;
  --code-com: #5c5c66;
  --radius: 16px;
  --max: 1120px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Soft warm light falling from the top of the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 38% at 50% -6%, rgba(0, 180, 216, 0.13), transparent 70%),
    radial-gradient(30% 22% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
  z-index: -1;
}

::selection { background: rgba(0, 180, 216, 0.32); color: #fff; }

a { color: inherit; }
[id] { scroll-margin-top: 88px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; line-height: 1; padding-bottom: 2px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.nav a:hover { color: var(--text); }
.nav .btn { color: #0a0a0a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-light { background: #f3f1ed; color: #0a0a0a; }
.btn-light:hover { background: #ffffff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.05); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 13.5px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 112px 0 64px;
  text-align: center;
}
/* Fine grid that fades out from the centre */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 50% 30%, #000 10%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 32px;
}
.pill .tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.14);
  color: var(--accent);
  font-weight: 500;
  font-size: 12px;
}
.pill:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
}
.hero h1 {
  font-size: clamp(30px, 6.6vw, 84px);
  max-width: none;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, #ffffff 35%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 em, .cta h2 em {
  font-style: normal;
  background: var(--feather);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.nowrap { white-space: nowrap; }
.hero h1 em { display: inline-block; }
.hero .lede {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  max-width: 36em;
  margin: 0 auto 36px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { margin-top: 18px; font-size: 13px; color: var(--dim); }

/* ---------- Code window ---------- */
.code-window {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), var(--panel);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 120px -40px rgba(0, 180, 216, 0.18),
    0 30px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-align: left;
}
.code-window::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.6), transparent);
}
.code-window input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  height: 52px;
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 7px; }
.dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.tabs { display: flex; gap: 4px; font-size: 13px; }
.tabs label {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
  user-select: none;
}
.tabs label:hover { color: var(--text); }
.tabs label .soon { font-size: 10.5px; color: var(--dim); margin-left: 4px; }
#lang-node:checked ~ .code-head label[for="lang-node"],
#lang-curl:checked ~ .code-head label[for="lang-curl"],
#lang-py:checked ~ .code-head label[for="lang-py"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
#lang-node:focus-visible ~ .code-head label[for="lang-node"],
#lang-curl:focus-visible ~ .code-head label[for="lang-curl"],
#lang-py:focus-visible ~ .code-head label[for="lang-py"] { outline: 2px solid var(--accent); outline-offset: 1px; }

.code-body { display: grid; grid-template-columns: 1fr 260px; }
.panel { display: none; }
#lang-node:checked ~ .code-body .p-node,
#lang-curl:checked ~ .code-body .p-curl,
#lang-py:checked ~ .code-body .p-py { display: block; }
.panels { min-width: 0; border-right: 1px solid var(--line); }
.code-window pre {
  margin: 0;
  padding: 24px 24px 28px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--code-fn);
  overflow-x: auto;
  white-space: pre;
  font-variant-ligatures: none;
}
.ln { display: inline-block; width: 2ch; margin-right: 18px; color: #3d3c39; text-align: right; user-select: none; }
.k { color: var(--code-key); }
.s { color: var(--code-str); }
.c { color: var(--code-com); }

.response { padding: 22px 22px 24px; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; }
.response .label { font-family: var(--sans); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.response .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 10px rgba(43, 182, 115, 0.7); }
.code-window .response pre { padding: 0; font-size: 12.5px; color: var(--muted); }
.timeline { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 13px; }
.timeline li { display: flex; justify-content: space-between; color: var(--muted); padding: 4px 0; }
.timeline li span:last-child { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.timeline li.ok span:first-child { color: var(--text); }

/* ---------- Sections ---------- */
section { padding: 112px 0; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.section-head h2 em { font-style: normal; color: var(--muted); }
.section-head p { color: var(--muted); font-size: 17px; margin: 18px 0 0; }
.bento-section { padding-top: 40px; }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.s-3 { grid-column: span 3; }
.s-4 { grid-column: span 4; }
.s-5 { grid-column: span 5; }
.s-6 { grid-column: span 6; }
.s-8 { grid-column: span 8; }
.r-2 { grid-row: span 2; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008) 60%), var(--bg-raised);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.tile::before {
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}
.tile:hover { border-color: var(--line-strong); }
.tile h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.tile .visual { margin-top: auto; padding-top: 26px; }
.tile .visual.top { margin-top: 0; padding-top: 0; padding-bottom: 24px; }
.tag-soon { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; color: var(--accent); background: rgba(0, 180, 216, 0.12); margin-bottom: 14px; align-self: flex-start; }

/* Code tile */
.tile.code-window { padding: 0; max-width: none; margin: 0; border-radius: 22px; box-shadow: 0 40px 100px -50px rgba(0, 180, 216, 0.22); }
.tile.code-window::before { left: 12%; right: 12%; background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.6), transparent); }
.tile.code-window .code-body { flex: 1; }
.code-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 20px 24px; border-top: 1px solid var(--line); }
.code-foot h3 { margin: 0; }
.code-foot p { font-size: 14px; }

/* Region tile */
.radar { position: relative; height: 150px; display: grid; place-items: center; }
.radar span { position: absolute; border: 1px solid rgba(0, 180, 216, 0.18); border-radius: 50%; }
.radar span:nth-child(1) { width: 56px; height: 56px; border-color: rgba(0, 180, 216, 0.4); }
.radar span:nth-child(2) { width: 112px; height: 112px; border-color: rgba(0, 180, 216, 0.22); }
.radar span:nth-child(3) { width: 176px; height: 176px; border-color: rgba(0, 180, 216, 0.1); }
.radar i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.18), 0 0 24px 6px rgba(0, 180, 216, 0.5); }
.radar b { position: absolute; top: calc(50% + 34px); left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--bg-raised); font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); white-space: nowrap; }

/* Rupee tile */
.rupee { font-family: var(--display); font-weight: 700; font-size: 104px; line-height: 0.9; background: var(--feather); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 12.5px; color: var(--muted); padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.02); }
.chips li.on { color: var(--text); border-color: rgba(0, 180, 216, 0.35); }
.chips li small { color: var(--dim); font-size: 11px; margin-left: 4px; }

/* Lists of mono rows used in several tiles */
.mono-list { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12.5px; }
.mono-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, 0.35); color: var(--code-fn); }
.mono-list li + li { margin-top: 8px; }
.mono-list .name { display: flex; align-items: center; gap: 9px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mono-list .meta { color: var(--dim); font-size: 11.5px; flex: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--dim); }
.dot.ok { background: #2bb673; box-shadow: 0 0 8px rgba(43, 182, 115, 0.6); }
.dot.warn { background: var(--warn); box-shadow: 0 0 8px rgba(240, 176, 112, 0.6); }
.dot.info { background: #8fb4f0; }
.check { color: #2bb673; font-family: var(--sans); font-size: 12px; flex: none; }
.mono-list s { color: var(--dim); text-decoration-color: rgba(0, 180, 216, 0.7); }

/* Log search tile */
.search { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--line-strong); border-radius: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--text); background: rgba(0, 0, 0, 0.35); }
.search svg { width: 15px; height: 15px; color: var(--dim); flex: none; }
.status { font-family: var(--sans); font-size: 11.5px; padding: 2px 8px; border-radius: 999px; flex: none; }
.status.ok { color: #5fd496; background: rgba(43, 182, 115, 0.1); }
.status.open { color: #b5cdf5; background: rgba(143, 180, 240, 0.1); }

/* DPDP tile */
.big-type { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.big-type em { font-style: normal; background: var(--feather); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* OTP tile */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 14px; }
.otp span { display: grid; place-items: center; aspect-ratio: 4 / 5; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(0, 0, 0, 0.35); font-family: var(--mono); font-size: 22px; color: var(--text); }
.otp span:nth-child(-n+3) { border-color: rgba(0, 180, 216, 0.4); }
.flow { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.flow b { font-weight: 500; color: var(--text); }

/* Steps as tiles */
.step .num { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 48px; line-height: 1; background: var(--feather); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; display: block; margin-bottom: 40px; }

/* integrations:start */
/* Generated by tools/build_integrations.py. Edit the script, not this block. */
.integrate-section { padding-bottom: 72px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.integrate { position: relative; display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; align-items: start; }
.integrate input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

/* Language list (left) */
.lang-row { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-raised); }
.lang { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--muted); font-size: 14px; cursor: pointer; user-select: none; transition: color .15s ease, background .15s ease; }
.lang .glyph { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); transition: color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.lang .glyph svg { width: 16px; height: 16px; }
.lang .hint { margin-left: auto; font-size: 11px; color: var(--dim); white-space: nowrap; }
.lang:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.lang:hover .glyph { color: var(--text); }
#sdk-node:checked ~ .lang-row label[for="sdk-node"],
#sdk-serverless:checked ~ .lang-row label[for="sdk-serverless"],
#sdk-ruby:checked ~ .lang-row label[for="sdk-ruby"],
#sdk-python:checked ~ .lang-row label[for="sdk-python"],
#sdk-php:checked ~ .lang-row label[for="sdk-php"],
#sdk-cli:checked ~ .lang-row label[for="sdk-cli"],
#sdk-go:checked ~ .lang-row label[for="sdk-go"],
#sdk-rust:checked ~ .lang-row label[for="sdk-rust"],
#sdk-java:checked ~ .lang-row label[for="sdk-java"],
#sdk-elixir:checked ~ .lang-row label[for="sdk-elixir"],
#sdk-dotnet:checked ~ .lang-row label[for="sdk-dotnet"],
#sdk-rest:checked ~ .lang-row label[for="sdk-rest"],
#sdk-smtp:checked ~ .lang-row label[for="sdk-smtp"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
#sdk-node:checked ~ .lang-row label[for="sdk-node"] .glyph,
#sdk-serverless:checked ~ .lang-row label[for="sdk-serverless"] .glyph,
#sdk-ruby:checked ~ .lang-row label[for="sdk-ruby"] .glyph,
#sdk-python:checked ~ .lang-row label[for="sdk-python"] .glyph,
#sdk-php:checked ~ .lang-row label[for="sdk-php"] .glyph,
#sdk-cli:checked ~ .lang-row label[for="sdk-cli"] .glyph,
#sdk-go:checked ~ .lang-row label[for="sdk-go"] .glyph,
#sdk-rust:checked ~ .lang-row label[for="sdk-rust"] .glyph,
#sdk-java:checked ~ .lang-row label[for="sdk-java"] .glyph,
#sdk-elixir:checked ~ .lang-row label[for="sdk-elixir"] .glyph,
#sdk-dotnet:checked ~ .lang-row label[for="sdk-dotnet"] .glyph,
#sdk-rest:checked ~ .lang-row label[for="sdk-rest"] .glyph,
#sdk-smtp:checked ~ .lang-row label[for="sdk-smtp"] .glyph { color: var(--accent); border-color: rgba(0, 180, 216, 0.45); box-shadow: 0 0 18px -6px rgba(0, 180, 216, 0.5); }
#sdk-node:focus-visible ~ .lang-row label[for="sdk-node"],
#sdk-serverless:focus-visible ~ .lang-row label[for="sdk-serverless"],
#sdk-ruby:focus-visible ~ .lang-row label[for="sdk-ruby"],
#sdk-python:focus-visible ~ .lang-row label[for="sdk-python"],
#sdk-php:focus-visible ~ .lang-row label[for="sdk-php"],
#sdk-cli:focus-visible ~ .lang-row label[for="sdk-cli"],
#sdk-go:focus-visible ~ .lang-row label[for="sdk-go"],
#sdk-rust:focus-visible ~ .lang-row label[for="sdk-rust"],
#sdk-java:focus-visible ~ .lang-row label[for="sdk-java"],
#sdk-elixir:focus-visible ~ .lang-row label[for="sdk-elixir"],
#sdk-dotnet:focus-visible ~ .lang-row label[for="sdk-dotnet"],
#sdk-rest:focus-visible ~ .lang-row label[for="sdk-rest"],
#sdk-smtp:focus-visible ~ .lang-row label[for="sdk-smtp"] { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Code panel (right) */
.lang-panels { min-width: 0; }
.lp { display: none; }
#sdk-node:checked ~ .lang-panels .lp-node,
#sdk-serverless:checked ~ .lang-panels .lp-serverless,
#sdk-ruby:checked ~ .lang-panels .lp-ruby,
#sdk-python:checked ~ .lang-panels .lp-python,
#sdk-php:checked ~ .lang-panels .lp-php,
#sdk-cli:checked ~ .lang-panels .lp-cli,
#sdk-go:checked ~ .lang-panels .lp-go,
#sdk-rust:checked ~ .lang-panels .lp-rust,
#sdk-java:checked ~ .lang-panels .lp-java,
#sdk-elixir:checked ~ .lang-panels .lp-elixir,
#sdk-dotnet:checked ~ .lang-panels .lp-dotnet,
#sdk-rest:checked ~ .lang-panels .lp-rest,
#sdk-smtp:checked ~ .lang-panels .lp-smtp { display: block; }
.ide { position: relative; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)), var(--panel); overflow: hidden; box-shadow: 0 40px 120px -50px rgba(0, 180, 216, 0.2); }
.ide-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); }
.ide-head .file { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ide-head .file svg { width: 15px; height: 15px; color: var(--accent); }
.sub-tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; margin-left: -10px; }
.sub-tabs::-webkit-scrollbar { display: none; }
.sub-tabs label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 9px; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .15s ease, background .15s ease; }
.sub-tabs label svg { width: 14px; height: 14px; flex: none; opacity: .85; }
.sub-tabs label:hover { color: var(--text); }
#node-plain:checked ~ .ide-head label[for="node-plain"],
#node-next:checked ~ .ide-head label[for="node-next"],
#node-express:checked ~ .ide-head label[for="node-express"],
#node-hono:checked ~ .ide-head label[for="node-hono"],
#node-nuxt:checked ~ .ide-head label[for="node-nuxt"],
#node-astro:checked ~ .ide-head label[for="node-astro"],
#node-bun:checked ~ .ide-head label[for="node-bun"],
#node-remix:checked ~ .ide-head label[for="node-remix"],
#serverless-vercel:checked ~ .ide-head label[for="serverless-vercel"],
#serverless-supabase:checked ~ .ide-head label[for="serverless-supabase"],
#serverless-deno:checked ~ .ide-head label[for="serverless-deno"],
#serverless-workers:checked ~ .ide-head label[for="serverless-workers"],
#serverless-lambda:checked ~ .ide-head label[for="serverless-lambda"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
#node-plain:checked ~ .ide-head label[for="node-plain"] svg,
#node-next:checked ~ .ide-head label[for="node-next"] svg,
#node-express:checked ~ .ide-head label[for="node-express"] svg,
#node-hono:checked ~ .ide-head label[for="node-hono"] svg,
#node-nuxt:checked ~ .ide-head label[for="node-nuxt"] svg,
#node-astro:checked ~ .ide-head label[for="node-astro"] svg,
#node-bun:checked ~ .ide-head label[for="node-bun"] svg,
#node-remix:checked ~ .ide-head label[for="node-remix"] svg,
#serverless-vercel:checked ~ .ide-head label[for="serverless-vercel"] svg,
#serverless-supabase:checked ~ .ide-head label[for="serverless-supabase"] svg,
#serverless-deno:checked ~ .ide-head label[for="serverless-deno"] svg,
#serverless-workers:checked ~ .ide-head label[for="serverless-workers"] svg,
#serverless-lambda:checked ~ .ide-head label[for="serverless-lambda"] svg { color: var(--accent); opacity: 1; }
#node-plain:focus-visible ~ .ide-head label[for="node-plain"],
#node-next:focus-visible ~ .ide-head label[for="node-next"],
#node-express:focus-visible ~ .ide-head label[for="node-express"],
#node-hono:focus-visible ~ .ide-head label[for="node-hono"],
#node-nuxt:focus-visible ~ .ide-head label[for="node-nuxt"],
#node-astro:focus-visible ~ .ide-head label[for="node-astro"],
#node-bun:focus-visible ~ .ide-head label[for="node-bun"],
#node-remix:focus-visible ~ .ide-head label[for="node-remix"],
#serverless-vercel:focus-visible ~ .ide-head label[for="serverless-vercel"],
#serverless-supabase:focus-visible ~ .ide-head label[for="serverless-supabase"],
#serverless-deno:focus-visible ~ .ide-head label[for="serverless-deno"],
#serverless-workers:focus-visible ~ .ide-head label[for="serverless-workers"],
#serverless-lambda:focus-visible ~ .ide-head label[for="serverless-lambda"] { outline: 2px solid var(--accent); outline-offset: 1px; }
.sub-panel { display: none; }
#node-plain:checked ~ .sub-plain,
#node-next:checked ~ .sub-next,
#node-express:checked ~ .sub-express,
#node-hono:checked ~ .sub-hono,
#node-nuxt:checked ~ .sub-nuxt,
#node-astro:checked ~ .sub-astro,
#node-bun:checked ~ .sub-bun,
#node-remix:checked ~ .sub-remix,
#serverless-vercel:checked ~ .sub-vercel,
#serverless-supabase:checked ~ .sub-supabase,
#serverless-deno:checked ~ .sub-deno,
#serverless-workers:checked ~ .sub-workers,
#serverless-lambda:checked ~ .sub-lambda { display: block; }
.sub-panel .file { padding: 14px 20px 0; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.ide pre { margin: 0; padding: 22px 24px 26px; min-height: 440px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: var(--code-fn); overflow-x: auto; white-space: pre; tab-size: 4; font-variant-ligatures: none; }
.ide .f { color: #d6e8f2; }
.ide-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.ide-foot code { font-family: var(--mono); color: var(--muted); }
.badge { font-family: var(--sans); font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; color: var(--accent); background: rgba(0, 180, 216, 0.1); border: 1px solid rgba(0, 180, 216, 0.22); }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--muted); font: 500 12.5px var(--sans); cursor: pointer; flex: none; transition: color .15s ease, border-color .15s ease; }
.copy:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.copy svg { width: 15px; height: 15px; }
.copy[hidden] { display: none; }
.integrate-note { text-align: center; color: var(--dim); font-size: 13px; margin: 18px 0 0; }

@media (max-width: 860px) {
  .integrate { grid-template-columns: 1fr; }
  .lang-row { position: static; flex-direction: row; gap: 6px; padding: 0 0 4px; border: 0; background: none; overflow-x: auto; scrollbar-width: none; }
  .lang-row::-webkit-scrollbar { display: none; }
  .lang { flex: none; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-raised); font-size: 13px; }
  .lang .glyph { width: 26px; height: 26px; border-radius: 999px; }
  .lang .hint { display: none; }
  .ide pre { min-height: 0; }
}

/* Test mode and webhooks */
.tools-section { padding-top: 40px; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tool { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 55%), var(--bg); overflow: hidden; }
.tool-visual { position: relative; height: 330px; padding: 40px 28px 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.tool-copy { padding: 8px 40px 44px; }
.tool-icon { width: 24px; height: 24px; color: var(--text); margin-bottom: 18px; }
.tool h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 12px; }
.tool-copy p { color: var(--muted); font-size: 15.5px; max-width: 30em; margin: 0; }

.sandbox { display: flex; flex-direction: column; align-items: center; }
.sandbox-bar { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 440px; margin: 64px auto 44px; padding: 7px 7px 7px 10px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-raised); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.sandbox-bar select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b9891' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center / 14px; padding: 4px 24px 4px 2px; color: var(--text); font: 500 14px var(--sans); cursor: pointer; text-overflow: ellipsis; }
.sandbox-bar select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sandbox-bar option { background: #111; color: var(--text); }
.send-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--text); font: 500 14px var(--sans); cursor: pointer; flex: none; transition: background .15s ease, border-color .15s ease; }
.send-btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }
.send-btn svg { width: 15px; height: 15px; }
.status.warn { color: var(--warn); background: rgba(240, 176, 112, 0.12); }
.status.bad { color: #f3a3a3; background: rgba(240, 120, 120, 0.12); }
.sandbox-log { list-style: none; margin: 0; padding: 0; width: 100%; font-family: var(--mono); font-size: 13.5px; line-height: 2.25; color: var(--muted); }
.sandbox-log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sandbox-log li:nth-child(2) { opacity: .8; }
.sandbox-log li:nth-child(3) { opacity: .55; }
.sandbox-log li:nth-child(n+4) { opacity: .3; }
.sandbox-log b { font-weight: 500; color: var(--text); margin-right: 10px; }
.sandbox-log .new { animation: log-in .35s ease; }
@keyframes log-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.event-list { list-style: none; margin: 0; padding: 0; }
.event { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 34px; }
.event:not(:last-child)::before { content: ""; position: absolute; left: 19.5px; top: 46px; bottom: 6px; width: 1px; background: var(--line-strong); }
.event-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-raised); }
.event-icon svg { width: 20px; height: 20px; }
.event-icon.info { color: #8fb4f0; }
.event-icon.warn { color: var(--warn); }
.event-top { display: flex; align-items: center; gap: 14px; margin: 8px 0 14px; }
.event-top time { font-size: 12.5px; color: var(--dim); }
.event-body p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 2; }
.chip { display: inline-block; padding: 1px 9px; border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 13.5px; line-height: 1.7; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
  .tools { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ide pre { font-size: 12px; padding: 18px 16px 22px; }
  .ide .ln { display: none; }
  .ide-head { padding: 8px 10px 8px 16px; }
  .lang-row { margin: 0 -16px; padding: 0 16px 4px; }
  .tool-visual { height: 300px; padding: 28px 18px 0; }
  .sandbox-bar { margin: 36px auto 32px; }
  .tool-copy { padding: 4px 22px 32px; }
  .event { grid-template-columns: 34px 1fr; gap: 12px; }
  .event-icon { width: 34px; height: 34px; }
  .event:not(:last-child)::before { left: 16.5px; top: 40px; }
}

/* integrations:end */

/* Closing call to action */
.cta { position: relative; text-align: center; padding: 128px 0 136px; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  width: 760px; height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 180, 216, 0.16), transparent);
  pointer-events: none;
  z-index: -1;
}
.cta h2 { font-size: clamp(38px, 6vw, 72px); margin: 0 auto 22px; max-width: 14ch; }
.cta p { color: var(--muted); font-size: 17px; max-width: 34em; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 48px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.09em; color: var(--dim); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { text-decoration: none; color: var(--muted); transition: color .15s ease; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { margin: 14px 0 0; max-width: 26em; color: var(--dim); }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal { padding: 96px 0 64px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 6vw, 58px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 14px; }
.legal .meta { color: var(--dim); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin: 52px 0 12px; }
.legal h3 { font-size: 16.5px; font-weight: 500; margin: 28px 0 8px; }
.legal p, .legal li { color: #c9c6bf; font-size: 16px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--dim); }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .summary { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 24px; background: rgba(255, 255, 255, 0.02); }
.legal .summary p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .code-body { grid-template-columns: 1fr; }
  .panels { border-right: none; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > * { grid-column: span 1; grid-row: auto; }
  .bento > .s-8 { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 72px 0 32px; }
  .code-head { padding: 0 10px; }
  .dots { display: none; }
  .tabs { overflow-x: auto; }
  .code-window pre { font-size: 12px; padding: 18px 16px 22px; }
  .ln { display: none; }
  section { padding: 72px 0; }
  .bento-section { padding-top: 24px; }
  .section-head { margin-bottom: 32px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento > .s-8 { grid-column: auto; }
  .tile { padding: 24px 20px; }
  .code-foot { padding: 18px 20px; }
  .cta { padding: 88px 0 96px; }
  .legal { padding: 64px 0 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
