:root {
  color-scheme: light;
  --background: #f2f2f2;
  --surface: #fafafa;
  --surface-strong: #ffffff;
  --ink: #0a0a0a;
  --ink-secondary: #00000099;
  --ink-tertiary: #00000066;
  --border: #0000001a;
  --accent: #0088ff;
  --accent-soft: #eff6ff;
  --rewards: #3d2fff;
  --rewards-soft: #f0efff;
  --success: #34c759;
  --success-soft: #e2fee4;
  --warm-soft: #fff1ee;
  --content: 1200px;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

a,
button,
summary {
  font: inherit;
}

a {
  color: inherit;
}

.wrap {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 88px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f2f2f2 58%, #f2f2f200);
}

.nav {
  min-height: 64px;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #ffffffb2;
  border-radius: 9999px;
  background: #ffffffcc;
  box-shadow: 0 2px 4px #0000001a;
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

.brand img {
  display: block;
  border-radius: 8px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.footer a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: -0.52px;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--ink);
}

.nav-cta {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--surface);
  background: var(--ink);
  text-decoration: none;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

.hero {
  min-height: calc(100vh - 88px);
  padding-block: 64px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.78fr);
  align-items: center;
  gap: 72px;
}

.overline {
  margin: 0 0 16px;
  color: var(--rewards);
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2,
.security-copy h2,
.closing h2,
.legal-hero h1 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.98;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--ink-secondary);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.8px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 56px;
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.68px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 3px 8px #0000001a;
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 2px 4px #0000001a;
}

.availability {
  min-height: 56px;
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--ink-secondary);
  background: #ffffff66;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.hero-note {
  margin: 16px 8px 0;
  color: var(--ink-tertiary);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: -0.52px;
}

.wallet-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 20%, #dcd9ff, transparent 34%),
    radial-gradient(circle at 78% 30%, #c7f6cc, transparent 38%),
    radial-gradient(circle at 25% 90%, #ffdbd6, transparent 34%),
    #fafafa;
  box-shadow: 0 5px 24px #0000001a;
}

.signal {
  position: absolute;
  border-radius: 9999px;
  border: 1px solid #ffffff99;
}

.signal-one {
  width: 480px;
  height: 480px;
}

.signal-two {
  width: 650px;
  height: 650px;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(82%, 360px);
  min-height: 520px;
  padding: 24px 20px 20px;
  overflow: hidden;
  border: 8px solid #0a0a0a;
  border-radius: 48px;
  background: var(--background);
  box-shadow: 0 24px 64px #00000033;
  transform: rotate(2deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 22px;
  border-radius: 9999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.phone-bar {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-mark,
.notification-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--surface);
  box-shadow: 0 2px 4px #0000001a;
}

.app-mark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.notification-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 9999px;
}

.balance-label {
  margin-top: 42px;
  color: var(--ink-secondary);
  text-align: center;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.balance-value {
  margin-top: 4px;
  text-align: center;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -1.28px;
}

.balance-unit {
  margin-top: 4px;
  color: var(--ink-secondary);
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.wallet-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wallet-actions span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--surface);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

.wallet-actions span:first-child {
  color: var(--surface);
  background: var(--ink);
}

.asset-card {
  margin-top: 20px;
  padding: 4px 16px;
  border-radius: 24px;
  background: var(--surface);
}

.asset-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
}

.asset-row + .asset-row {
  border-top: 1px solid var(--border);
}

.asset-row strong,
.asset-row small {
  display: block;
}

.asset-row strong {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

.asset-row small,
.asset-state {
  color: var(--ink-tertiary);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
}

.asset-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.bitcoin {
  background: #ff9416;
}

.rgb {
  background: linear-gradient(145deg, #8b83ff, #3d2fff);
}

.section {
  padding-block: 120px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 56px;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading h2,
.security-copy h2,
.closing h2,
.legal-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
}

.section-heading > p:last-child,
.security-copy > p:not(.overline),
.legal-hero > p:not(.overline) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.68px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  min-height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 3px 8px #0000001a;
}

.feature-wide {
  grid-column: 1 / -1;
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.feature-rgb {
  background:
    radial-gradient(circle at 90% 5%, #e2fee4, transparent 38%),
    linear-gradient(145deg, #f0efff, #fafafa 64%);
}

.feature-index {
  color: var(--ink-tertiary);
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  max-width: 520px;
  margin: 20px 0 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -1.28px;
}

.feature-card p {
  max-width: 540px;
  margin: 16px 0 0;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.68px;
}

.allocation-visual {
  position: relative;
  min-height: 330px;
}

.allocation-chain {
  position: absolute;
  inset: 50% 12% auto;
  height: 2px;
  background: linear-gradient(90deg, #ff9416, #3d2fff, #34c759);
  transform: rotate(-8deg);
}

.allocation-node {
  position: absolute;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 8px solid #ffffffcc;
  border-radius: 9999px;
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 5px 24px #00000033;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

.node-a {
  left: 7%;
  top: 36%;
  background: #ff9416;
}

.node-b {
  left: 42%;
  top: 13%;
  background: var(--rewards);
}

.node-c {
  right: 4%;
  bottom: 18%;
  background: var(--success);
}

.mini-request {
  margin-top: auto;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  background: var(--background);
}

.mini-request strong,
.mini-request small {
  display: block;
}

.mini-request strong {
  font-size: 15px;
  line-height: 20px;
}

.mini-request small {
  margin-top: 2px;
  color: var(--ink-tertiary);
  font-size: 13px;
  line-height: 18px;
}

.mini-qr {
  width: 64px;
  height: 64px;
  border: 10px dotted var(--ink);
  border-radius: 8px;
}

.feature-dark {
  color: var(--surface);
  background:
    radial-gradient(circle at 100% 0%, #3d2fff66, transparent 45%),
    #171717;
}

.feature-dark .feature-index,
.feature-dark p {
  color: #ffffff99;
}

.chat-lines {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.chat-lines span {
  width: 76%;
  height: 48px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff1a;
}

.chat-lines span:nth-child(2) {
  width: 64%;
  margin-left: auto;
  border-radius: 16px 16px 4px;
  background: #3d2fff;
}

.chat-lines span:nth-child(3) {
  width: 54%;
}

.security-section {
  padding-block: 120px;
  color: var(--surface);
  background: var(--ink);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  gap: 96px;
}

.overline-light {
  color: #8b83ff;
}

.security-copy > p:not(.overline) {
  color: #ffffff99;
}

.text-link {
  margin-top: 28px;
  display: inline-flex;
  gap: 6px;
  text-decoration: none;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.68px;
}

.text-link-light {
  color: var(--surface);
}

.security-list {
  display: grid;
}

.security-list article {
  padding-block: 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  border-top: 1px solid #ffffff1a;
}

.security-list article:last-child {
  border-bottom: 1px solid #ffffff1a;
}

.security-list article > span {
  color: #ffffff66;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.security-list h3 {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.8px;
}

.security-list p {
  margin: 6px 0 0;
  color: #ffffff99;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  min-height: 88px;
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.8px;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--ink-tertiary);
  font-size: 28px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  margin: -8px 0 24px;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.68px;
}

.closing {
  margin-bottom: 120px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 5%, #e2fee4, transparent 36%),
    radial-gradient(circle at 12% 100%, #ffdbd6, transparent 40%),
    #f0efff;
  box-shadow: 0 4px 16px #0000001a;
}

.closing h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
}

.footer {
  padding-block: 56px 32px;
  background: var(--surface);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-grid p {
  margin: 16px 0 0;
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.footer nav {
  display: flex;
  gap: 28px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--ink-tertiary);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: -0.44px;
}

/* Legal and support pages share the same public navigation and type scale. */
.legal-main {
  min-height: calc(100vh - 88px);
}

.error-overline {
  margin-top: 88px;
}

.legal-hero {
  padding-block: 88px 56px;
}

.legal-hero .legal-meta {
  margin-top: 20px;
  color: var(--ink-tertiary);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.legal-layout {
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 72px;
}

.legal-toc {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.legal-toc a {
  color: var(--ink-tertiary);
  text-decoration: none;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-copy section {
  padding-block: 32px;
  border-top: 1px solid var(--border);
}

.legal-copy h2 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.96px;
}

.legal-copy h3 {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.68px;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.legal-copy p {
  margin: 12px 0 0;
}

.legal-copy ul,
.legal-copy ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 8px;
}

.legal-copy a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.notice {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  color: var(--ink-secondary);
  background: var(--surface);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
}

.support-grid {
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 3px 8px #0000001a;
}

.support-card h2 {
  margin: 20px 0 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.96px;
}

.support-card p {
  margin: 12px 0 24px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
}

.support-card .text-link {
  margin-top: auto;
}

.support-card-danger {
  background: var(--warm-soft);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .wallet-stage {
    min-height: 680px;
  }

  .feature-wide,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    gap: 56px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .legal-toc {
    position: static;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    border-radius: 16px;
    background: var(--surface);
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    height: 80px;
  }

  .nav {
    min-height: 56px;
    padding-left: 12px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 13px;
    line-height: 18px;
  }

  .hero {
    min-height: auto;
    padding-block: 64px 80px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-lede {
    font-size: 17px;
    line-height: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .availability {
    width: 100%;
    text-align: center;
  }

  .wallet-stage {
    min-height: 560px;
  }

  .phone {
    width: min(88%, 340px);
    min-height: 500px;
  }

  .section,
  .security-section {
    padding-block: 80px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .security-copy h2,
  .legal-hero h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 380px;
    padding: 24px;
  }

  .allocation-visual {
    min-height: 270px;
  }

  .allocation-node {
    width: 82px;
    height: 82px;
    border-width: 6px;
  }

  .closing {
    margin-bottom: 80px;
    padding: 32px 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .footer nav {
    flex-wrap: wrap;
  }

  .legal-hero {
    padding-block: 64px 40px;
  }

  .legal-layout,
  .support-grid {
    padding-bottom: 80px;
  }
}

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

  .button {
    transition: none;
  }
}
