:root {
  --bg: #09090b;
  --card: #0f0f11;
  --card-2: #141416;
  --line: #262626;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --muted: #969696;
  --dim: rgba(255, 255, 255, 0.5);
  --accent: #00c3c9;
  --accent-15: rgba(0, 195, 201, 0.15);
  --accent-30: rgba(0, 195, 201, 0.3);
  --red: #f6543e;
  --red-10: rgba(246, 84, 62, 0.1);
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-30); }

svg:not(.chart) { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Page frame: the two vertical lines at the container edges */
.frame {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
}
.frame::before, .frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.frame::before { left: max(0px, calc(50% - var(--wrap) / 2)); }
.frame::after { right: max(0px, calc(50% - var(--wrap) / 2)); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; position: relative; }

/* Type */
h1, h2 { font-weight: 500; color: var(--text); }
.hero-title { font-size: 64px; line-height: 1.05; letter-spacing: -0.04em; }
h2 { font-size: 52px; line-height: 1.1; letter-spacing: -0.04em; }
.lead { font-size: 18px; line-height: 1.45; color: var(--muted); }
.mono-label { font-family: var(--mono); font-size: 13px; line-height: 1.4; letter-spacing: 0.02em; color: var(--dim); text-transform: uppercase; }
.mono-sm { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 50px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.013em; white-space: nowrap;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e6e6e6; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-lg { height: 44px; padding: 0 22px; }
.btn-block { width: 100%; height: 46px; }
.btn .arr { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
/* Text roll on hover, like the template */
.btn-roll { display: inline-block; overflow: hidden; height: 18px; line-height: 18px; }
.btn-roll > span { display: block; transition: transform 0.45s var(--ease); }
.btn:hover .btn-roll > span { transform: translateY(-100%); }

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 24px; background: var(--accent-15);
  font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--accent);
}
.pill i {
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent-30);
  display: grid; place-items: center; position: relative;
}
.pill i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Reveal animation (template: opacity 0, y 40, spring) */
[data-reveal] {
  opacity: 0; transform: translateY(40px); filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.12s);
  will-change: opacity, transform;
}
[data-reveal="up-lg"] { transform: translateY(150px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; height: 70px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 500; letter-spacing: -0.04em; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand-tld { color: var(--muted); }
.nav-links { display: flex; gap: 28px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-size: 15px; color: var(--muted); letter-spacing: -0.02em; transition: color 0.25s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 24px; }
.nav.open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 8px 24px 24px;
  max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: 18px; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 16px; height: 44px; }

/* HERO */
.hero { position: relative; padding-top: 70px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 10%, transparent 75%);
}
.hero-wrap { padding: 0 40px; }
.hero-copy { text-align: center; max-width: 640px; margin: 0 auto; padding-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-copy .lead { max-width: 520px; margin-bottom: 12px; }

.editor {
  position: relative; z-index: 1; max-width: 1100px; height: 600px; margin: 0 auto;
  display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: hidden;
  background: linear-gradient(180deg, rgba(20,20,22,0.92), rgba(12,12,14,0.96));
  border-top: 1px solid rgba(255,255,255,0.14);
  border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.editor-shell { position: relative; margin-top: 72px; }
.editor-glow {
  position: absolute; left: 10%; right: 10%; top: -120px; height: 220px; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 60%, rgba(0, 195, 201, 0.4), transparent 70%);
  filter: blur(30px); z-index: 0;
}
.editor::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,195,201,0.7), transparent);
}
.editor-side { display: grid; grid-template-columns: 52px 1fr; border-right: 1px solid var(--line-soft); padding-top: 22px; }
.editor-icons { display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--muted); }
.editor-icons svg { width: 16px; height: 16px; }
.editor-files { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 14px; }
.editor-folder { color: #fff; margin-bottom: 2px; }
.file { text-align: left; color: #d4d4d4; transition: color 0.2s; }
.file:hover { color: #fff; }
.file.is-active { color: var(--accent); }
.editor-main { display: flex; flex-direction: column; min-width: 0; }
.editor-tabs { display: flex; gap: 22px; padding: 18px 28px 12px; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 14px; }
.etab { color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.etab:hover { color: #fff; }
.etab.is-active { color: #fff; border-bottom-color: #fff; }
.editor-code {
  font-family: var(--mono); font-size: 14px; line-height: 1.95; padding: 16px 0; overflow: hidden; color: #d4d4d4;
  counter-reset: ln;
}
.editor-code .ln > span { white-space: pre; }
.editor-code .ln { display: flex; opacity: 0; transform: translateY(6px); animation: lineIn 0.5s var(--ease) forwards; }
.editor-code .ln::before {
  counter-increment: ln; content: counter(ln); width: 56px; flex: none; text-align: center; color: #fff;
  border-right: 1px solid var(--line-soft); margin-right: 20px;
}
@keyframes lineIn { to { opacity: 1; transform: none; } }
.tk-c { color: #7a7a7a; }
.tk-k { color: var(--accent); }
.tk-s { color: #c8c8c8; }
.tk-f { color: #8fe3e6; }
.tk-n { color: #fff; }

.logos-wrap { padding: 0 40px; }
.logos { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 24px; padding: 8px 0 56px; margin-top: -24px; position: relative; z-index: 2; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; color: rgba(255,255,255,0.62); white-space: nowrap; }
.logo-item svg { width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { position: relative; }
.section > .wrap { border-top: 1px solid var(--line); }
.sec-head { text-align: center; padding: 120px 40px 64px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sec-head h2 { max-width: 640px; }
.sec-head .lead { max-width: 480px; }

/* Services / benefits */
.benefits {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: 1fr 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.benefit { padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 300px; position: relative; }
.benefit h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; margin-top: auto; padding-top: 60px; }
.benefit p { color: var(--muted); max-width: 300px; }
.b-icon { position: absolute; top: 32px; left: 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: #fff; }
.b-icon svg { width: 18px; height: 18px; }
.b1 { grid-column: 1; grid-row: 1; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.b2 { grid-column: 1; grid-row: 2; border-right: 1px solid var(--line); }
.b3 { grid-column: 3; grid-row: 1; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.b4 { grid-column: 3; grid-row: 2; border-left: 1px solid var(--line); }
.ascii-wrap { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; overflow: hidden; position: relative; }
.ascii {
  margin: 0; font-family: var(--mono); font-size: 8.25px; line-height: 8.25px; letter-spacing: 0;
  white-space: pre; text-align: center; color: transparent; user-select: none;
  background: var(--accent) center / 100% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}

/* Feature rows (products) */
.feature-rows { border-top: 1px solid var(--line); }
.frow { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); min-height: 480px; }
.frow:last-child { border-bottom: 0; }
.frow > * { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.frow > .fvis { border-right: 1px solid var(--line); align-items: center; }
.frow-rev > .fvis { border-right: 0; border-left: 1px solid var(--line); }
.ftext { gap: 16px; }
.ftext > h3 { font-size: 44px; line-height: 1.1; letter-spacing: -0.04em; font-weight: 500; }
.ftext > p { color: var(--muted); max-width: 420px; }
.ftext .btn { align-self: flex-start; margin-top: 12px; }
.product-badge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-badge img { width: 40px; height: 36px; object-fit: contain; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.tag-accent { background: var(--accent-15); color: var(--accent); }
.tag-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); color: #fff; }
.tag-live i, .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-15), 0 0 10px var(--accent); animation: pulse 2s ease-in-out infinite; display: inline-block; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(0,195,201,0.05), 0 0 14px var(--accent); } }
.checks { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.checks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent-15)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c3c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Status list */
.status-list { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 10px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.status-item {
  display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 0 16px;
  border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.status-item em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; min-width: 76px; }
.status-item em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #555; transition: background 0.4s, box-shadow 0.4s; }
.status-item.on em::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.status-item.on em { color: var(--accent); }
.status-item.pulse { background: #131416; box-shadow: inset 0 0 0 1px rgba(0,195,201,0.35); }

/* Roadmap */
.roadmap { position: relative; width: 100%; max-width: 420px; height: 290px; font-family: var(--mono); font-size: 12px; }
.rm-cols { display: grid; grid-template-columns: repeat(3, 1fr); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.rm-cols span:nth-child(2) { text-align: center; }
.rm-cols span:nth-child(3) { text-align: right; }
.rm-dots { display: flex; justify-content: space-between; margin-top: 18px; padding: 0 4px; }
.rm-dots i { width: 6px; height: 6px; border-radius: 50%; background: #3a3a3a; }
.rm-dots i:nth-child(1) { background: var(--accent); }
.rm-lines { position: absolute; inset: 40px 0 0; display: flex; justify-content: space-between; padding: 0 6px; }
.rm-lines i { width: 1px; background: linear-gradient(to bottom, var(--line), transparent); }
.rm-card {
  position: absolute; padding: 8px 12px; border-radius: 6px; background: var(--card-2); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap;
}
.rm-c1 { top: 70px; right: 0; animation: rm1 9s var(--ease) infinite; }
.rm-c2 { top: 126px; left: 0; animation: rm2 9s var(--ease) infinite; }
.rm-c3 { top: 182px; left: 22%; opacity: 0.65; animation: rm3 9s var(--ease) infinite; }
.rm-c4 { top: 238px; left: 38%; opacity: 0.35; }
.rm-active { background: rgba(0,195,201,0.18); color: #b5fbfd; box-shadow: inset 0 0 0 1px rgba(0,195,201,0.45); }
@keyframes rm1 { 0%, 100% { transform: none; } 50% { transform: translateX(-8px); } }
@keyframes rm2 { 0%, 15% { transform: translateX(0); } 45%, 70% { transform: translateX(110px); } 95%, 100% { transform: translateX(0); } }
@keyframes rm3 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-30px); } }
.rm-cursor { position: absolute; width: 18px; height: 18px; top: 140px; left: 70px; fill: #fff !important; stroke: #000 !important; stroke-width: 1.2 !important; animation: rmc 9s var(--ease) infinite; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
@keyframes rmc { 0%, 15% { transform: translate(0, 0); } 45%, 70% { transform: translate(110px, 0); } 85% { transform: translate(60px, 60px); opacity: 1; } 95%, 100% { transform: translate(0, 0); } }

/* Bars */
.bars-vis { width: 100%; max-width: 360px; }
.bars-head { display: flex; align-items: center; gap: 12px; }
.bars-head strong, .chart-head strong { font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.mini-tag { font-family: var(--mono); font-size: 11px; color: var(--accent); background: var(--accent-15); padding: 3px 7px; border-radius: 4px; }
.bars-vis .mono-sm { margin: 8px 0 24px; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; height: 230px; }
.bar { position: relative; border-radius: 12px; background: linear-gradient(180deg, #121214, #0d0d0f); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bar i { position: absolute; top: 14px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #555; box-shadow: 0 0 0 4px rgba(255,255,255,0.04); }
.bar b { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); border-top: 1px solid rgba(255,255,255,0.08); animation: barH 4s ease-in-out infinite alternate; }
.bar:nth-child(2) b { animation-delay: -1s; }
.bar:nth-child(3) b { animation-delay: -2s; }
.bar:nth-child(4) b { animation-delay: -3s; }
.bar:nth-child(4) i { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-15), 0 0 10px var(--accent); }
.bar span { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.3); }
@keyframes barH { from { height: calc(var(--h) - 14%); } to { height: calc(var(--h) + 10%); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { padding: 24px 24px 40px; display: flex; flex-direction: column; gap: 8px; }
.step + .step { border-left: 1px solid var(--line); }
.step-vis { height: 340px; position: relative; display: flex; flex-direction: column; justify-content: center; margin-bottom: 16px; }
.step-num { align-self: flex-start; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); background: var(--accent-15); padding: 3px 8px; border-radius: 4px; margin-bottom: 4px; }
.step h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.step p { color: var(--muted); max-width: 320px; }

.orbit-vis { align-items: center; overflow: hidden; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); transform: translate(-50%, -50%); }
.r1 { width: 120px; height: 120px; }
.r2 { width: 220px; height: 220px; }
.r3 { width: 320px; height: 320px; border-color: rgba(255,255,255,0.035); }
.orbit-center { position: relative; z-index: 2; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #121214; box-shadow: inset 0 0 0 1px var(--line), 0 0 40px rgba(0,195,201,0.18); }
.orbit-center img { width: 34px; height: 34px; object-fit: contain; }
.orbit-track { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin 30s linear infinite; }
.o-ico {
  position: absolute; width: 42px; height: 42px; margin: -21px; border-radius: 50%; display: grid; place-items: center;
  background: #121214; box-shadow: inset 0 0 0 1px var(--line); color: #cfcfcf;
  transform: rotate(var(--a)) translate(110px) rotate(calc(-1 * var(--a)));
}
.o-ico svg { width: 18px; height: 18px; animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.checklist { display: flex; flex-direction: column; gap: 8px;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
.ck { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.ck b { display: block; font-weight: 400; font-size: 14px; }
.ck small { display: block; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.ck i { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.05); position: relative; transition: background 0.4s; }
.ck i::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ck.done i { background: var(--accent-15); }
.ck.done i::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c3c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.ck.current { background: #141517; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.ck.current i { background: var(--accent); }
.ck.current i::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

.chart-vis { justify-content: flex-start; padding-top: 24px; }
.chart-head { display: flex; align-items: center; gap: 12px; }
.chart-vis .mono-sm { margin-top: 8px; }
.chart { width: 100%; height: 170px; margin-top: auto; }
.chart-line { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; }
.chart-area { opacity: 0; transition: opacity 1.2s ease 0.8s; }
.step.in .chart-line { animation: draw 2.2s var(--ease) forwards 0.3s; }
.step.in .chart-area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Tabs / about */
.tabs-block { border-top: 1px solid var(--line); padding: 40px 40px 80px; }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tab { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; color: #d4d4d4; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); transition: background 0.3s, color 0.3s; }
.tab:hover { color: #fff; }
.tab.is-active { background: #fff; color: #000; box-shadow: none; }
.tab-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.term { border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; height: 330px; }
.term-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.term-code { margin: 0; padding: 22px 28px; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #d4d4d4; white-space: pre-wrap; min-height: 260px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.term-code .caret { display: inline-block; width: 7px; height: 15px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tab-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.tab-pane { display: none; flex-direction: column; gap: 16px; }
.tab-pane.is-active { display: flex; animation: paneIn 0.6s var(--ease); }
.tab-pane h3 { font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.tab-pane p { color: var(--muted); }
.tab-text .btn { margin-top: 8px; }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; max-width: 800px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare-wrap { border-top: 1px solid var(--line); }
#why .compare { border-top: 1px solid var(--line); }
.cmp { padding: 32px 32px 40px; }
.cmp h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 24px; height: 28px; display: flex; align-items: center; gap: 10px; }
.cmp-brand img { width: 26px; height: 26px; object-fit: contain; }
.cmp ul { display: flex; flex-direction: column; gap: 16px; }
.cmp li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.cmp li b { color: #e5e5e5; font-weight: 500; }
.cmp li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; background: center / 10px no-repeat; }
.cmp-other li::before { background-color: var(--red-10); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6543e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
.cmp-us { background: var(--card); border-left: 1px solid var(--line); }
.cmp-us li::before { background-color: var(--accent-15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c3c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); background-size: 11px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 80px; }
.stat { padding: 48px 40px; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-size: 64px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat span { color: var(--muted); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.perk { padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #e5e5e5; text-align: center; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { width: 20px; height: 20px; color: #fff; }
.perk b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--accent); margin-right: 6px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; }
.faq-left { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.faq-intro { padding: 120px 40px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; flex: 1; }
.faq-intro h2 { font-size: 48px; }
.faq-intro .lead { max-width: 340px; font-size: 16px; }
.faq-more { padding: 32px 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.faq-more h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.faq-more p { color: var(--muted); margin-bottom: 16px; }
.faq-list { padding-top: 104px; display: flex; flex-direction: column; }
.faq { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-size: 17px; letter-spacing: -0.01em; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary i { position: relative; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--accent-15); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: var(--accent); transition: transform 0.35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq[open] summary i::after { transform: rotate(0deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted); max-width: 520px; animation: faqIn 0.45s var(--ease); }
.faq-a a { color: var(--accent); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-left { padding: 120px 40px 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; border-right: 1px solid var(--line); }
.contact-left h2 { font-size: 48px; max-width: 460px; }
.contact-left .lead { max-width: 440px; font-size: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.ci { display: flex; align-items: center; gap: 14px; }
.ci small { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.ci-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ci-ico svg { width: 18px; height: 18px; }
a.ci:hover { color: var(--accent); }
.contact-form { padding: 120px 40px 80px; display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 15px; color: #fff; background: var(--card); border: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line); padding: 13px 14px; outline: none; resize: vertical;
  transition: box-shadow 0.25s, background 0.25s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.28); }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: inset 0 0 0 1px rgba(0,195,201,0.6), 0 0 0 4px rgba(0,195,201,0.08); background: #111113; }
.contact-form .invalid { box-shadow: inset 0 0 0 1px rgba(246,84,62,0.7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 22px; font-size: 14px; color: var(--muted); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--red); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* CTA */
.cta > .wrap { border-top: 1px solid var(--line); }
.cta-wrap { text-align: center; padding: 140px 40px 160px; display: flex; flex-direction: column; align-items: center; gap: 20px; overflow: hidden; }
.cta-grid { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 10%, transparent 75%); }
.cta-kicker { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cta-kicker .stars { color: var(--accent); text-shadow: 0 0 10px var(--accent); }
.cta h2 { font-size: 64px; line-height: 1.05; }
.cta .btn { margin-top: 8px; }
.cta-glow {
  position: absolute; left: 10%; right: 10%; bottom: -90px; height: 160px; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,195,201,0.28), transparent 70%); filter: blur(30px);
}
.cta-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,195,201,0.8), transparent); }

/* Footer */
.footer .wrap { border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1.3fr; }
.foot-grid > * { padding: 48px 24px; }
.foot-about { display: flex; flex-direction: column; gap: 8px; }
.foot-about h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.foot-about p { color: var(--muted); }
.foot-mail { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; transition: background 0.25s; }
.foot-mail:hover { background: #18181b; }
.foot-mail .arr { width: 15px; height: 15px; }
.foot-logo { display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.foot-logo img { width: 64px; height: 64px; object-fit: contain; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.foot-cols h4 { font-size: 18px; font-weight: 400; margin-bottom: 14px; letter-spacing: -0.02em; }
.foot-cols a, .foot-cols span { display: block; color: var(--muted); font-size: 15px; padding: 3px 0; transition: color 0.2s; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 18px 24px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.heart { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .hero-title, .cta h2 { font-size: 56px; }
  h2 { font-size: 44px; }
  .ftext > h3 { font-size: 36px; }
  .frow > * { padding: 48px 40px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
  .nav.open .mobile-menu { max-height: 460px; padding: 8px 24px 24px; }
  .nav:not(.open) .mobile-menu { padding-top: 0; padding-bottom: 0; }
  .editor { grid-template-columns: minmax(0, 1fr); height: 520px; }
  .editor-side { display: none; }
  .benefits { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ascii-wrap { grid-column: 1 / span 2; grid-row: 1; height: 360px; border-bottom: 1px solid var(--line); }
  .b1 { grid-column: 1; grid-row: 2; }
  .b2 { grid-column: 2; grid-row: 2; border-right: 0; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .b3 { grid-column: 1; grid-row: 3; border-left: 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .b4 { grid-column: 2; grid-row: 3; }
  .b1 { border-right: 1px solid var(--line); }
  .frow, .frow-rev { grid-template-columns: 1fr; }
  .frow > .fvis, .frow-rev > .fvis { border: 0; border-bottom: 1px solid var(--line); order: -1; min-height: 360px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .tab-body { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-left, .contact-left { border-right: 0; }
  .faq-list { padding-top: 0; }
  .contact-form { padding-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-logo { display: none; }
}
@media (max-width: 640px) {
  .hero-wrap, .logos-wrap { padding: 0 20px; }
  .hero-copy { padding-top: 56px; }
  .hero-title, .cta h2 { font-size: 42px; letter-spacing: -0.035em; }
  h2, .faq-intro h2, .contact-left h2 { font-size: 36px; }
  .lead { font-size: 16px; }
  .editor-shell { margin-top: 48px; } .editor { height: 440px; }
  .editor-code { font-size: 12px; }
  .editor-code .ln::before { width: 40px; margin-right: 12px; }
  .editor-tabs { padding: 16px 18px 10px; }
  .logos { grid-template-columns: 1fr; gap: 16px; text-align: center; margin-top: -40px; }
  .mono-label br { display: none; }
  .sec-head { padding: 88px 20px 48px; }
  .benefits { grid-template-columns: 1fr; }
  .ascii-wrap { grid-column: 1; height: 300px; }
  .b1, .b2, .b3, .b4 { grid-column: 1; grid-row: auto; border: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .b4 { border-bottom: 0; }
  .benefit { padding: 32px 20px; }
  .benefit h3 { padding-top: 56px; }
  .b-icon { left: 20px; top: 28px; }
  .frow > * { padding: 40px 20px; }
  .ftext > h3 { font-size: 32px; }
  .step { padding: 20px 20px 36px; }
  .tabs-block { padding: 32px 20px 64px; }
  .tabs { flex-wrap: wrap; }
  .term { height: 280px; }
  .compare { grid-template-columns: 1fr; border-left: 0; border-right: 0; }
  .cmp-us { border-left: 0; border-top: 1px solid var(--line); }
  .cmp { padding: 28px 20px 32px; }
  .stats { grid-template-columns: 1fr; margin-top: 56px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 32px 20px; }
  .stat strong { font-size: 52px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq-intro { padding: 88px 20px 48px; }
  .faq-more { padding: 28px 20px; }
  .faq summary { padding: 20px; font-size: 16px; }
  .faq-a { padding: 0 20px 20px; }
  .contact-left { padding: 88px 20px 40px; }
  .contact-form { padding: 0 20px 64px; }
  .f-row { grid-template-columns: 1fr; }
  .cta-wrap { padding: 100px 20px 120px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > * { padding: 36px 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; padding: 18px 20px; }
}

/* Overflow guards */
.benefits, .frow, .steps, .tab-body, .faq-grid, .contact-grid, .compare { grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.ascii-wrap { min-width: 0; }
@media (min-width: 961px) {
  .benefits { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); }
  .frow, .faq-grid, .contact-grid, .compare { --cols: 2; }
  .tab-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .steps { --cols: 3; }
}
@media (max-width: 960px) and (min-width: 641px) {
  .benefits { --cols: 2; }
  .compare { --cols: 2; }
}
@media (max-width: 640px) {
  .ascii { font-size: 1.85vw; line-height: 1.85vw; }
}
html, body { overflow-x: clip; }
@media (max-width: 960px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(40px); }
  [data-reveal="up-lg"] { transform: translateY(80px); }
}
.nav.open { background: rgba(9, 9, 11, 0.97); }
