:root {
  --bg: #07080c;
  --surface: #111318;
  --elevated: #171a21;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f5f7;
  --muted: #9aa3b2;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.14);
  --paper: #ececec;
  --paper-text: #141414;
  --paper-muted: #4b5563;
  --radius: 10px;
  --header-h: 3.6rem;
  --guide-panel: min(22rem, calc(100vw - 4.5rem));
  --guide-ease: 250ms ease-out;
  --font-sans: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; box-shadow: none !important; }
html { background: var(--bg); color: var(--text); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #04110e; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; border-radius: var(--radius); }
input, textarea { outline: none; }

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.btn {
  display: inline-block;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.btn-ghost {
  display: inline-block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.ops-field {
  width: 100%;
  min-height: 2.75rem;
  resize: vertical;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
}
.ops-field:focus { border-color: var(--accent); }
.ops-field::placeholder { color: var(--muted); }

.site-header { transition: margin-right var(--guide-ease); }
html:has(.guide-panel[data-open="true"]) .site-header {
  margin-right: var(--guide-panel);
  overflow: hidden;
}

.guide-trigger {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 0;
  isolation: isolate;
  transform: translateY(-50%);
  border: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--accent);
  color: #04110e;
  padding: 1.05rem 0.55rem;
  font-size: 0.875rem;
  animation: glow 3s ease-in-out infinite;
  cursor: pointer;
}
.guide-trigger-text {
  display: inline-block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
@keyframes glow {
  0%, 70%, 100% { filter: drop-shadow(0 0 0 transparent); }
  85% { filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.45)); }
}
.guide-panel {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  display: flex;
  height: 100dvh;
  width: var(--guide-panel);
  transform: translate3d(100%, 0, 0);
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--surface);
  transition: transform var(--guide-ease);
  pointer-events: none;
}
.guide-panel[data-open="true"] {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.guide-panel-head {
  display: flex;
  height: var(--header-h);
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 1rem;
  background: var(--bg);
}
.guide-close {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.guide-msg {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--elevated);
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.guide-chip {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  padding: 0.55rem 0.8rem;
  text-align: left;
  font-size: 0.8125rem;
  cursor: pointer;
}
.guide-chip[data-on="true"] {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.guide-composer {
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding: 0.75rem;
}
.guide-composer input {
  flex: 1;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  .guide-trigger { animation: none; }
  .guide-panel, .site-header { transition: none; }
}

.wrap { margin-left: auto; margin-right: auto; max-width: 64rem; padding-left: 1.25rem; padding-right: 1.25rem; }
.wrap-3 { margin-left: auto; margin-right: auto; max-width: 48rem; padding-left: 1.25rem; padding-right: 1.25rem; }
.wrap-sm { margin-left: auto; margin-right: auto; max-width: 24rem; padding-left: 1.25rem; padding-right: 1.25rem; }
.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(94, 234, 212, 0.12), transparent 42%);
}
.hero-inner { position: relative; margin: 0 auto; max-width: 64rem; padding: 4rem 1.25rem; }
@media (min-width: 640px) { .hero-inner { padding-top: 6rem; padding-bottom: 6rem; } }
.hero-inner.has-aside { }
@media (min-width: 1024px) {
  .hero-inner.has-aside {
    display: grid;
    grid-template-columns: 1fr 220px;
    align-items: center;
    gap: 3rem;
  }
}
.kicker {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  margin: 0;
  max-width: 48rem;
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) { h1 { font-size: 3rem; } }
.lede { margin: 1.25rem 0 0; max-width: 42rem; font-size: 1rem; color: var(--muted); }
@media (min-width: 640px) { .lede { font-size: 1.125rem; } }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-row {
  margin: 0 auto;
  max-width: 64rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}
.logo { height: 2rem; width: auto; }
@media (min-width: 640px) { .logo { height: 2.25rem; } }
.nav-desk {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-desk a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 0.5rem; }
.nav-mob {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-mob a { white-space: nowrap; }
@media (min-width: 768px) {
  .nav-desk { display: flex; }
  .nav-mob { display: none; }
}

.locale-switch {
  display: flex;
  gap: 0.25rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.25rem;
  font-size: 0.75rem;
}
.locale-switch a {
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  color: var(--muted);
}
.locale-switch a.on { background: var(--accent-dim); color: var(--accent); }

.socials { display: flex; align-items: center; gap: 0.25rem; }
.socials a {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--muted);
}
.socials a:hover { background: var(--accent-dim); color: var(--accent); }
.socials svg { height: 1rem; width: 1rem; }

.trust { border-bottom: 1px solid var(--line); }
.trust-label {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.trust-list svg { height: 1.25rem; }

.grid-3 { display: grid; gap: 1rem; }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.grid-lab { display: grid; gap: 1.5rem; }
@media (min-width: 1280px) { .grid-lab { grid-template-columns: 1fr 1fr; } }
.grid-contact { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .grid-contact { grid-template-columns: 1fr 1fr; }
  .grid-about { display: grid; grid-template-columns: 1fr 220px; gap: 1.5rem; }
}
.pad { padding: 1.25rem; }
.pad-6 { padding: 1.5rem; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.xs { font-size: 0.75rem; }
.sm { font-size: 0.875rem; }
.lg { font-size: 1.125rem; }
.xl { font-size: 1.25rem; }
.xxl { font-size: 1.5rem; }
.font-medium { font-weight: 500; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.border-t { border-top: 1px solid var(--line); }
.space-y > * + * { margin-top: 1rem; }
h2 { margin: 0; font-size: 1.5rem; font-weight: 500; }
h3 { margin: 0; font-size: 1.125rem; font-weight: 500; }
.mono { font-family: var(--font-mono); }
.hidden-lg { }
@media (min-width: 1024px) { .flow-preview { display: block; } }
.flow-preview { display: none; }
@media (min-width: 1024px) { .flow-preview { display: block; } }
.flow-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.dot { height: 0.5rem; width: 0.5rem; border-radius: 999px; background: var(--accent); }
.flow-line { margin: 0 auto; height: 1rem; width: 1px; background: var(--line); }

.field {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  width: 100%;
}
.form-grid { display: grid; gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 0.75rem; }
.gap-2 { gap: 0.5rem; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.newsletter { margin: 4rem auto; max-width: 64rem; padding: 0 1.25rem; }
.newsletter-box { padding: 2.5rem 1.5rem; }
@media (min-width: 640px) { .newsletter-box { padding-left: 2.5rem; padding-right: 2.5rem; } }
.news-form { margin-top: 1.5rem; display: flex; max-width: 28rem; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .news-form { flex-direction: row; } }
.news-form input { flex: 1; }

footer.site-footer { border-top: 1px solid var(--line); }
.footer-row {
  margin: 0 auto;
  max-width: 64rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
}
@media (min-width: 640px) {
  .footer-row { flex-direction: row; justify-content: space-between; }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-end { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 640px) { .footer-end { align-items: flex-end; } }
.footer-note {
  margin: 0 auto;
  max-width: 64rem;
  padding: 0 1.25rem 2rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.logo-foot { height: 2.5rem; width: auto; }

.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; font-weight: 500; }
.prose p { margin-top: 1rem; }
.prose ul, .prose ol { margin-top: 1rem; padding-left: 1.25rem; }
.prose li { margin-left: 0.25rem; }
.prose a { color: var(--accent); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; }

.bench-table { width: 100%; text-align: left; font-size: 0.875rem; border-collapse: collapse; }
.bench-table th { padding: 0.75rem 1.5rem; color: var(--muted); font-weight: 500; }
.bench-table td { padding: 0.75rem 1.5rem; }
.bench-table tbody tr { border-top: 1px solid var(--line); }

.check { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; margin-top: 0.75rem; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; }
.key {
  min-width: 2.25rem;
  border: 1px solid var(--line);
  padding: 0.5rem;
  font-size: 0.875rem;
  background: transparent;
  cursor: pointer;
}
.lang-btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.lang-btn.on { background: var(--accent-dim); color: var(--accent); border-color: transparent; }
.cs-mark {
  display: flex;
  height: 13rem;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--accent);
}
.ops-shell { display: flex; min-height: 100vh; }
.ops-side {
  display: flex;
  width: 15rem;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.ops-main { min-width: 0; flex: 1; overflow: auto; padding: 2.5rem 2rem; }
.ops-nav { display: flex; flex-direction: column; gap: 1.5rem; overflow: auto; padding: 0.75rem; flex: 1; }
.ops-link {
  display: block;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.ops-link.on, .ops-link:hover { background: var(--accent-dim); color: var(--accent); }
.err { color: #f87171; font-size: 0.875rem; }
.relative { position: relative; }
