:root {
  --bg: #060a18;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f2f5fb;
  --muted: #9aa6c2;
  --accent: #4f9bff;
  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --grain: url('grain.png');
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--grain); background-size: 128px; opacity: .07; mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(48px, 9vw, 112px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 24px; }
.lead { font-size: 19px; color: rgba(235, 241, 255, .82); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--line-2);
  transition: background .2s, border-color .2s, transform .1s;
}
@media (hover: hover) { .btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); } }
.btn:active { transform: scale(.98); }
.btn--primary, .btn--white { background: #fff; border-color: #fff; color: #0a1330; }
@media (hover: hover) { .btn--primary:hover, .btn--white:hover { background: #dfe6f5; border-color: #dfe6f5; } }
.btn--glass { background: rgba(10, 22, 70, .45); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
@media (hover: hover) { .btn--glass:hover { background: rgba(20, 40, 110, .55); border-color: rgba(255, 255, 255, .34); } }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }

/* nav */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  width: min(1020px, 100%); margin-inline: auto; height: 58px; padding: 0 9px 0 24px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(7, 14, 42, .72); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
}
.logo { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.logo--sm { font-size: 15px; }
.logo--sm img { width: 24px; height: 24px; border-radius: 8px; vertical-align: -6px; margin-right: 8px; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100vh, 960px); display: grid; place-items: center;
  padding: 140px 0 110px; text-align: center;
  background:
    radial-gradient(55% 60% at 8% 35%, rgba(60, 120, 240, .38), transparent 70%),
    radial-gradient(50% 45% at 55% 8%, rgba(40, 85, 230, .35), transparent 70%),
    radial-gradient(70% 60% at 100% 100%, var(--bg) 10%, transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(6, 10, 24, .9), transparent 70%),
    linear-gradient(180deg, #1537b0 0%, #122fa0 30%, #0e2483 52%, #091757 72%, #060b28 88%, var(--bg) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--grain); background-size: 128px;
  opacity: .32; mix-blend-mode: overlay;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero .lead { max-width: 560px; margin-top: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }

/* sections */
.section { padding: 110px 0; scroll-margin-top: 40px; }
.section > h2 { text-align: center; margin-bottom: 40px; }

/* connect */
.tabs {
  position: relative; display: flex; width: fit-content; margin: 0 auto 48px; padding: 5px; gap: 4px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
}
.tabs__pill {
  position: absolute; top: 5px; left: 0; height: 42px; width: 0; border-radius: 999px; background: #fff;
  box-shadow: 0 6px 20px -8px rgba(110, 160, 255, .6);
  transition: transform .5s cubic-bezier(.3, 1.3, .4, 1), width .5s cubic-bezier(.3, 1.3, .4, 1);
}
.tab { position: relative; z-index: 1; height: 42px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .35s; }
.tab:hover { color: var(--text); }
.tab.is-active { color: #0a1330; }

.panels { position: relative; overflow-x: clip; overflow-clip-margin: 16px; }
.panel { display: none; grid-template-columns: 460px minmax(0, 1fr); gap: 64px; align-items: center; }
.panel.is-active { display: grid; }

.info {
  padding: 32px; border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(47, 110, 255, .28), transparent 70%),
    var(--surface);
}
.info h3 { margin-bottom: 12px; }
.info > p { font-size: 15px; color: var(--muted); }
.info__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.info__actions .btn { flex: 1 1 auto; padding: 0 16px; }

.params { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.params div { display: contents; }
.params dt { color: var(--muted); }
.params dd { font-family: var(--f-mono); font-size: 13px; cursor: copy; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; justify-self: start; max-width: 100%; border-bottom: 1px dashed var(--line-2); }
.params dd:hover { border-color: var(--muted); }
.params dd.is-copied { color: var(--accent); border-color: var(--accent); }

.steps { list-style: none; counter-reset: s; display: grid; gap: 30px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 6px; }
.steps li::before {
  content: counter(s); grid-row: span 3;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font: 600 15px/1 var(--f-display); background: var(--surface-2); border: 1px solid var(--line);
}
.steps h4 { font-size: 18px; margin: 4px 0; }
.steps p { font-size: 15px; color: var(--muted); max-width: 540px; }
.kbd { font-family: var(--f-mono); font-size: 13px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
.stores { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.stores a { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
@media (hover: hover) { .stores a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); } }

/* bot */
.bot {
  display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: 36px;
  background: var(--surface); border: 1px solid var(--line);
}
.bot__avatar { width: 220px; height: 220px; border-radius: 40px; object-fit: cover; display: block; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.bot .lead { margin-top: 16px; max-width: 520px; color: var(--muted); }
.bot__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { overflow: hidden; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: 0 26px; transition: background .3s, border-color .3s; }
.faq details.is-open { background: var(--surface-2); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); font-size: 18px; line-height: 1; color: var(--muted); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s; }
.faq details.is-open summary::after { transform: rotate(135deg); background: #fff; color: #0a1330; }
.faq details p { transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1); opacity: 0; transform: translateY(-6px); }
.faq details.is-open p { opacity: 1; transform: none; transition-delay: .06s; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 640px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0; margin-top: 40px; font-size: 14px; }
.footer__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 20px; margin-left: auto; color: var(--muted); }
.footer__links a:hover { color: var(--text); }

/* responsive */
@media (max-width: 960px) {
  .panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .bot { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 40px, 1120px); }
  .nav { top: 10px; padding: 0 12px; }
  .nav__inner { height: 52px; padding: 0 6px 0 18px; }
  .hero { padding: 120px 0 72px; min-height: auto; }
  .hero .lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .section { padding: 72px 0; }
  .tab { padding: 0 16px; }
  .info { padding: 22px; border-radius: 24px; }
  .steps li { grid-template-columns: 46px minmax(0, 1fr); }
  .bot { padding: 22px; border-radius: 26px; }
  .bot__avatar { width: 96px; height: 96px; border-radius: 24px; }
  .bot h2 { font-size: 28px; }
  .bot__links .btn { flex: 1 1 0; padding: 0 12px; }
  .footer__links { margin-left: 0; }
}
