:root {
  --ink: #101010;
  --paper: #ffffff;
  --mist: #f5f5f4;
  --line: #e2e2e2;
  --text: #161616;
  --muted: #565656;
  --muted-dark: #bababa;
  --line-dark: rgba(255, 255, 255, 0.12);
  --header-h: 72px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-ui: 220ms;
  --t-in: 450ms;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.hero :focus-visible,
.presence :focus-visible,
.demo :focus-visible,
.site-footer :focus-visible,
.to-top:focus-visible {
  outline-color: #ffffff;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--text);
  border: 1px solid var(--line);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.nums {
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
}

.lede {
  margin: 14px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), transform var(--t-ui) var(--ease);
}

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

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: #000;
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: #ececec;
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-dark);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-quiet {
  align-items: center;
  color: var(--muted);
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.btn-quiet:hover {
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  height: 26px;
  width: auto;
  filter: invert(1);
}

.nav-center {
  display: none;
  justify-content: center;
  gap: 4px;
}

.nav-center a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--t-ui) var(--ease);
}

.nav-center a:hover {
  color: var(--text);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

.header-end .btn-quiet,
.header-end .btn-solid {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform var(--t-ui) var(--ease), opacity var(--t-ui) var(--ease);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 24px;
}

body.nav-open .nav-drawer {
  display: block;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
}

.nav-drawer .drawer-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.nav-drawer .drawer-actions a {
  border-bottom: 0;
  justify-content: center;
}

.nav-drawer .btn-quiet {
  border: 1px solid var(--line);
  color: var(--text);
}

.nav-drawer .btn-solid {
  color: var(--paper);
}

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 36rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 10vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero .lede {
  margin-top: 20px;
  color: var(--muted-dark);
  font-size: 1.125rem;
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-actions .btn {
  min-height: 48px;
  padding: 0 24px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin-inline: calc(var(--gutter) * -1);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 6% 8%;
  background: radial-gradient(ellipse at 50% 45%, rgba(186, 186, 186, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-visual picture {
  position: relative;
  display: block;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.benefits {
  background: var(--mist);
}

.benefit-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.benefit p {
  margin: 0;
  color: var(--muted);
}

.presence {
  background: var(--ink);
  color: var(--paper);
}

.presence-layout {
  display: grid;
  gap: 28px;
}

.presence .eyebrow,
.presence .lede {
  color: var(--muted-dark);
}

.presence .section-title {
  color: var(--paper);
}

.map-frame {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0b0b;
}

.map-frame img {
  width: 100%;
  height: auto;
  opacity: 0.92;
  filter: grayscale(1);
}

.platform-grid {
  display: grid;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}

.card-copy {
  padding: 22px 22px 8px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-media {
  flex: 1;
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding: 0 20px 24px;
}

.card-media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(16, 16, 16, 0.07));
}

.card-main .card-copy {
  padding: 28px 24px 0;
}

.card-main h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.card-main p {
  max-width: 26rem;
}

.markets {
  background: var(--mist);
}

.market-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  max-width: 100%;
}

.market-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pair {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pair-name {
  color: var(--muted);
  font-size: 0.9375rem;
  min-width: 0;
}

.market-note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.mobile-section {
  background: var(--mist);
}

.mobile-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

.mobile-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.mobile-points li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.mobile-points strong {
  font-weight: 600;
}

.mobile-points span {
  color: var(--muted);
  font-size: 0.9375rem;
}

.device-shot {
  justify-self: center;
  width: min(300px, 78vw);
}

.device-shot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(16, 16, 16, 0.12));
}

.demo {
  background: var(--ink);
  color: var(--paper);
}

.demo-inner {
  display: grid;
  gap: 28px;
}

.demo .eyebrow {
  color: var(--muted-dark);
}

.demo .section-title,
.demo .lede {
  color: var(--paper);
}

.demo .lede {
  color: var(--muted-dark);
}

.demo-balance {
  display: grid;
  gap: 6px;
}

.demo-balance span {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.demo-balance strong {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.quotes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.quote {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.quote p {
  margin: 0 0 16px;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.quote cite {
  display: block;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: rotate(45deg);
  transition: transform var(--t-ui) var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 42rem;
}

.faq-item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-brand img {
  height: 26px;
  width: auto;
}

.footer-brand p {
  margin: 18px 0 0;
  max-width: 22rem;
  color: var(--muted-dark);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--paper);
  font-size: 0.875rem;
}

.support-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.support-row span {
  color: var(--muted-dark);
  font-size: 0.9375rem;
}

.copy-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--paper);
}

.footer-cols {
  display: grid;
  gap: 28px;
}

.footer-cols h2 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #dedede;
  font-size: 0.9375rem;
}

.footer-cols a:hover {
  color: var(--paper);
}

.risk {
  margin-top: 48px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-dark);
}

.risk h2 {
  margin: 0 0 14px;
  font-size: 0.9375rem;
}

.risk p {
  margin: 0 0 12px;
  color: var(--muted-dark);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 72rem;
}

.legal-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 0.8125rem;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-ui) var(--ease);
}

.to-top.is-on {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .hero-grid {
    justify-items: center;
    gap: 48px;
    padding: 80px 0 88px;
    text-align: center;
  }

  .hero-copy {
    max-width: 52rem;
  }

  .hero .lede {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    margin-inline: 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
    border: 0;
    gap: 32px;
  }

  .benefit {
    padding: 0 0 0 24px;
    border: 0;
    border-left: 1px solid var(--line);
  }

  .benefit:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-main {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .card-main .card-copy {
    padding: 40px;
  }

  .card-main .card-media {
    margin-top: 0;
    padding: 32px 32px 32px 0;
  }

  .quotes {
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-center {
    display: flex;
  }

  .header-end .btn-quiet,
  .header-end .btn-solid {
    display: inline-flex;
  }

  .menu-toggle,
  .nav-drawer,
  body.nav-open .nav-drawer {
    display: none;
  }

  .hero-grid {
    gap: 40px;
    padding: 64px 0 80px;
  }

  .hero-copy {
    max-width: 72rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 5.4vw, 5rem);
  }

  .hero .lede {
    font-size: 1.25rem;
    max-width: 50rem;
  }

  .hero-visual {
    width: min(88%, 900px);
  }

  .presence-layout,
  .mobile-layout,
  .demo-inner,
  .footer-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 56px;
  }

  .mobile-copy {
    order: 0;
  }

  .device-shot {
    order: 1;
  }

  .footer-grid {
    align-items: start;
  }
}

@media (max-width: 1023px) {
  .mobile-copy {
    order: 0;
  }

  .device-shot {
    order: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(14px);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity var(--t-in) var(--ease), transform var(--t-in) var(--ease);
  }

  .js .hero-copy.reveal:not(.is-in) {
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
