:root {
  --brand-0:   #FFFFFF;
  --brand-50:  #C3EFFE;
  --brand-100: #AEEBFF;
  --brand-200: #5ED5FF;
  --brand-300: #3CC1FD;
  --brand-400: #1FC1FF;
  --brand-500: #05ABFE;
  --brand-600: #007EE9;
  --brand-700: #0251C8;
  --brand-800: #0136AC;
  --brand-900: #022FA6;

  --accent-500: #FEEA01;

  --bg: #FFFFFF;
  --surface: rgba(195,239,254,0.35);
  --card: #FFFFFF;
  --border: rgba(2, 81, 200, 0.14);

  --text: #022FA6;
  --text-muted: rgba(2, 47, 166, 0.75);
  --text-soft: rgba(2, 47, 166, 0.55);

  --primary: var(--brand-600);
  --primary-strong: var(--brand-700);
  --on-primary: #FFFFFF;

  --link: var(--brand-600);
  --focus: var(--brand-400);

  --shadow: 0 18px 45px rgba(2, 81, 200, 0.12);
  --shadow-sm: 0 12px 28px rgba(2, 81, 200, 0.10);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1100px;

  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050B18;
    --surface: rgba(5, 171, 254, 0.08);
    --card: rgba(10, 18, 36, 0.75);
    --border: rgba(174, 235, 255, 0.16);

    --text: rgba(255,255,255,0.92);
    --text-muted: rgba(255,255,255,0.72);
    --text-soft: rgba(255,255,255,0.55);

    --link: #5ED5FF;
    --focus: #AEEBFF;

    --shadow: 0 22px 60px rgba(0,0,0,0.35);
    --shadow-sm: 0 14px 34px rgba(0,0,0,0.28);
  }
}

html[data-theme="dark"] {
  --bg: #050B18;
  --surface: rgba(5, 171, 254, 0.08);
  --card: rgba(10, 18, 36, 0.75);
  --border: rgba(174, 235, 255, 0.16);

  --text: rgba(255,255,255,0.92);
  --text-muted: rgba(255,255,255,0.72);
  --text-soft: rgba(255,255,255,0.55);

  --link: #5ED5FF;
  --focus: #AEEBFF;

  --shadow: 0 22px 60px rgba(0,0,0,0.35);
  --shadow-sm: 0 14px 34px rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid rgba(31,193,255,0.45);
  outline-offset: 2px;
  border-radius: 12px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--card);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 9999;
}
.skip-link:focus { left: 14px; }

html, body { height: 100%; }

main > section:first-child {
  padding-top: calc(var(--header-h) + 20px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 100;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: 0 0 auto;
}

.brand-title {
  display: grid;
  line-height: 1.1;
  min-width: 0;
}

.brand-title strong { font-size: 14px; letter-spacing: 0.2px; }
.brand-title span { font-size: 12px; color: var(--text-soft); }

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.dev-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(254,234,1,0.22);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-desktop a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 14px;
  white-space: nowrap;
}

.nav-desktop a:hover { text-decoration: underline; }

.nav-desktop a[aria-current="page"],
.nav-desktop a[aria-current="true"] {
  background: rgba(5,171,254,0.12);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(0,126,233,0.18);
}

.burger {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.burger:active { transform: translateY(1px); }

.burger .lines {
  width: 18px;
  height: 12px;
  position: relative;
}

.burger .lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--text) 80%, transparent);
  transition: transform 220ms ease, opacity 220ms ease, top 220ms ease;
}

.burger .lines span:nth-child(1) { top: 0; }
.burger .lines span:nth-child(2) { top: 5px; }
.burger .lines span:nth-child(3) { top: 10px; }

html.nav-open,
body.nav-open{
  overflow: hidden;
  height: 100%;
}

body.nav-open{
  touch-action: none;
}

.mobile-menu{
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  display: none;
  z-index: 9999;
}

.mobile-menu[data-open="true"]{ display: block; }

.mobile-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}

.mobile-drawer{
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;

  background: var(--bg);
  padding: 14px 16px 18px;
  display: grid;
  grid-auto-rows: min-content;
  gap: 8px;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  transform: translateY(-100%);
  transition: transform 240ms ease;
  z-index: 1;
}

.mobile-menu[data-open="true"] .mobile-drawer{
  transform: translateY(0);
}

.drawer-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  margin-bottom: 6px;
}

.drawer-brand{
  display: grid;
  line-height: 1.1;
}

.drawer-brand strong{ font-size: 14px; }
.drawer-brand span{ font-size: 12px; color: var(--text-soft); }

.drawer-close{
  width: 44px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.drawer-close:active{ transform: translateY(1px); }

.mobile-drawer a{
  font-size: 16px;
  color: var(--text-muted);
  padding: 14px 12px;
  border-radius: 16px;
  text-decoration: none;
}

.mobile-drawer a:hover{ text-decoration: underline; }

.mobile-drawer a:active{ transform: translateY(1px); }

.mobile-drawer a[aria-current="page"],
.mobile-drawer a[aria-current="true"]{
  background: rgba(5,171,254,0.14);
  color: var(--text);
  border: 1px solid rgba(0,126,233,0.18);
  text-decoration: none;
}

.drawer-dev{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--text-muted);
  font-size: 12px;
}

.drawer-dev a{ color: inherit; }
.drawer-dev a:hover{ color: var(--text); }

@media (min-width: 920px) {
  .burger { display: none; }
  .nav-desktop { display: flex; }
  .mobile-menu { display: none !important; }
}

.hero {
  padding: 42px 0 26px;
  background:
    radial-gradient(700px 240px at 20% 15%, rgba(5,171,254,0.18), transparent 65%),
    radial-gradient(900px 320px at 90% 20%, rgba(31,193,255,0.18), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid rgba(0,126,233,0.18);
  font-size: 12px;
  color: var(--text-muted);
}

.kicker b { color: var(--text); }

.h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 7vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.subhead {
  margin: 0 0 14px;
  font-size: clamp(14px, 3.6vw, 18px);
  color: var(--text-muted);
  max-width: 62ch;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition: transform 120ms ease, filter 120ms ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: var(--on-primary);
  box-shadow: 0 14px 28px rgba(0,126,233,0.24);
}

.btn-primary:hover { filter: brightness(1.02); text-decoration: none; }

.btn-ghost {
  background: color-mix(in srgb, var(--card) 80%, transparent);
  border-color: rgba(0,126,233,0.18);
  color: var(--text);
}

.btn-ghost:hover { text-decoration: none; background: color-mix(in srgb, var(--surface) 55%, transparent); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(5,171,254,0.10);
  border: 1px solid rgba(0,126,233,0.18);
  color: var(--text-muted);
}

.hero-card {
  background: color-mix(in srgb, var(--card) 80%, transparent);
  border: 1px solid rgba(0,126,233,0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.hero-card-top {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.stat {
  border-radius: 14px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.stat strong { display: block; font-size: 14px; }
.stat span { font-size: 12px; color: var(--text-soft); }

.mock {
  height: 200px;
  background:
    radial-gradient(240px 140px at 30% 30%, rgba(254,234,1,0.18), transparent 60%),
    linear-gradient(135deg, rgba(5,171,254,0.18), rgba(2,81,200,0.10));
  border-top: 1px solid rgba(0,126,233,0.16);
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--text) 55%, transparent);
  font-weight: 900;
}

section { padding: 42px 0; }

.section-title {
  font-size: 24px;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.section-lead {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 72ch;
}

.grid-2, .grid-3 { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  background: color-mix(in srgb, var(--card) 85%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--text-muted); font-size: 14px; }

.screens { display: grid; grid-template-columns: 1fr; gap: 12px; }

.screen {
  border-radius: var(--radius);
  border: 1px dashed rgba(0,126,233,0.30);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.screen .label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 12px;
  font-weight: 900;
  color: color-mix(in srgb, var(--text) 70%, transparent);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  border: 1px solid rgba(0,126,233,0.16);
  padding: 6px 10px;
  border-radius: 999px;
}

.steps { display: grid; gap: 12px; }

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 45%, transparent);
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,126,233,0.12);
  border: 1px solid rgba(0,126,233,0.18);
  font-weight: 900;
}

.step h3 { margin: 0 0 4px; font-size: 15px; }
.step p { margin: 0; color: var(--text-muted); font-size: 14px; }

.team { display: grid; grid-template-columns: 1fr; gap: 12px; }

.profile {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: rgba(5,171,254,0.18);
  border: 1px solid rgba(0,126,233,0.18);
  overflow: hidden;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile h3 { margin: 0 0 2px; }
.profile .role { margin: 0 0 8px; color: var(--text-soft); font-size: 13px; }
.profile ul { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 13px; }

.faq { display: grid; gap: 10px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--card) 82%, transparent);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
  color: var(--text);
}

.faq-a {
  padding: 0 16px 14px;
  color: var(--text-muted);
  display: none;
  font-size: 14px;
}

.faq-item[data-open="true"] .faq-a { display: block; }

.chev {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(0,126,233,0.12);
  border: 1px solid rgba(0,126,233,0.18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.callout {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 60%, transparent),
    color-mix(in srgb, var(--card) 85%, transparent)
  );
  border: 1px solid rgba(0,126,233,0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  padding: 22px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

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


.to-top{
  position: fixed;
  right: 16px;
  bottom: 18px;

  width: 46px;
  height: 46px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  font-size: 20px;
  font-weight: 900;
  line-height: 1;

  color: var(--text);
  background: color-mix(in srgb, var(--card) 85%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  box-shadow: var(--shadow-sm);

  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);

  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 120ms ease;
}

.to-top:hover{
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}

.to-top:active{
  transform: translateY(12px);
}

.to-top.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .container { padding: 0 18px; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .screens { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr auto; }
}