:root {
  --ink: #eef4ff;
  --muted: #9eb3d9;
  --surface: #0b1a32;
  --surface-2: #10254c;
  --surface-3: #142e5e;
  --line: rgba(116, 154, 222, 0.23);
  --blue: #6d85ff;
  --blue-strong: #5474ff;
  --mint: #5ee3c5;
  --gold: #ffc247;
  --bg: #061125;
  --header: rgba(7, 18, 38, 0.9);
  --shadow: 0 24px 70px rgba(1, 8, 22, 0.4);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: #fff; color: #061125; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand img { flex: 0 0 auto; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, #7188ff, #4f6ff4);
  color: #fff;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(64, 94, 226, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(64, 94, 226, 0.34); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(94, 227, 197, 0.65); outline-offset: 3px; }
.button-small { min-height: 44px; padding: 11px 18px; font-size: 0.9rem; }
.button-secondary { background: rgba(16, 37, 76, 0.72); border-color: var(--line); box-shadow: none; }
.button-secondary:hover { border-color: rgba(109, 133, 255, 0.55); box-shadow: none; }
.button-full { width: 100%; }
.button-disabled { color: #8ca2cb; background: #122650; border-color: transparent; box-shadow: none; cursor: not-allowed; }
.button-disabled:hover { transform: none; box-shadow: none; }
.button-light { color: #10203f; background: #f2f6ff; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18); white-space: nowrap; }

.hero { position: relative; overflow: hidden; padding: 102px 0 86px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 76% 28%, rgba(76, 110, 224, 0.22), transparent 35%), linear-gradient(180deg, #07152c 0%, #061125 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0.16; background-image: linear-gradient(rgba(119, 153, 214, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(119, 153, 214, .18) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero-glow-one { width: 380px; height: 380px; right: -180px; top: -130px; background: rgba(92, 105, 255, 0.14); }
.hero-glow-two { width: 260px; height: 260px; left: 40%; bottom: -210px; background: rgba(58, 221, 187, 0.1); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--mint); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 26px; height: 2px; margin: 0 10px 4px 0; background: var(--mint); }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 5.7vw, 5.3rem); line-height: 1.03; letter-spacing: -0.055em; }
.hero h1 em { display: block; color: transparent; background: linear-gradient(96deg, #65e3cd, #8194ff 76%); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #b3c5e5; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.83rem; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--mint); font-weight: 800; }

.identity-stage { position: relative; min-height: 500px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(107, 139, 210, 0.15); border-radius: 50%; }
.orbit-one { width: 460px; height: 460px; }
.orbit-two { width: 350px; height: 350px; border-color: rgba(94, 227, 197, 0.13); }
.identity-card { position: relative; z-index: 2; width: min(430px, 92%); padding: 28px; border: 1px solid rgba(117, 151, 220, 0.36); border-radius: 28px; background: linear-gradient(145deg, rgba(19, 43, 87, 0.98), rgba(9, 26, 55, 0.98)); box-shadow: var(--shadow); transform: rotate(-1deg); }
.identity-card::before { content: ""; position: absolute; inset: 1px; pointer-events: none; border-radius: 27px; background: linear-gradient(130deg, rgba(255,255,255,.06), transparent 38%); }
.card-topline, .micro-brand { display: flex; align-items: center; }
.card-topline { justify-content: space-between; gap: 14px; }
.micro-brand { gap: 9px; font-weight: 750; }
.status-pill { padding: 6px 10px; border: 1px solid rgba(94, 227, 197, 0.3); border-radius: 999px; color: var(--mint); background: rgba(29, 143, 123, 0.11); font-size: 0.7rem; font-weight: 700; }
.profile-row { display: flex; align-items: center; gap: 18px; margin-top: 38px; }
.avatar { width: 70px; height: 70px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid rgba(164, 188, 232, 0.55); border-radius: 50%; background: #18366c; color: #fff; font-size: 1.7rem; font-weight: 800; }
.profile-name { margin: 0 0 5px; font-size: 1.25rem; font-weight: 800; }
.profile-alias { margin: 0; color: #91afe4; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.77rem; }
.card-divider { height: 1px; margin: 30px 0 24px; background: var(--line); }
.identity-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.identity-features > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; padding: 14px; border: 1px solid rgba(117, 151, 220, 0.14); border-radius: 14px; background: rgba(7, 20, 43, 0.34); }
.feature-icon { grid-row: span 2; color: var(--mint); font-size: 1.25rem; }
.identity-features strong { font-size: 0.8rem; }
.identity-features small { grid-column: 2; color: var(--muted); font-size: 0.64rem; line-height: 1.35; }
.floating-chip { position: absolute; z-index: 3; min-width: 188px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(10, 28, 60, 0.92); box-shadow: 0 16px 35px rgba(0,0,0,.26); backdrop-filter: blur(12px); }
.floating-chip b, .floating-chip span { display: block; }
.floating-chip b { font-size: 0.78rem; }
.floating-chip span { margin-top: 2px; color: var(--muted); font-size: 0.66rem; }
.chip-community { top: 42px; right: -12px; }
.chip-community::before { content: "◌"; margin-right: 8px; color: var(--mint); }
.chip-coins { left: -12px; bottom: 45px; }
.chip-coins::before { content: "◉"; margin-right: 8px; color: var(--gold); }

.signal-strip { border-block: 1px solid var(--line); background: rgba(9, 24, 50, 0.82); }
.signal-grid { min-height: 76px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.signal-grid span { position: relative; color: #9fb5dd; text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: .03em; }
.signal-grid span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 26px; background: var(--line); transform: translateY(-50%); }

.section { padding: 112px 0; }
.section-heading { max-width: 780px; margin: 0 auto 54px; text-align: center; }
.section-heading-left { margin-inline: 0; text-align: left; }
.section h2, .legal-hero h1 { margin: 0; font-size: clamp(2.15rem, 4.2vw, 3.7rem); line-height: 1.12; letter-spacing: -0.045em; }
.section-heading > p:last-child, .section-copy { margin: 20px 0 0; color: var(--muted); font-size: 1.03rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { position: relative; min-height: 390px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(14, 34, 67, .96), rgba(8, 25, 51, .96)); }
.feature-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -90px; bottom: -90px; border: 1px solid rgba(122,153,220,.15); border-radius: 50%; box-shadow: 0 0 0 32px rgba(93, 126, 209, .025); }
.feature-card-primary { background: linear-gradient(145deg, rgba(28, 66, 115, .93), rgba(11, 33, 68, .98)); }
.feature-card-coins .feature-symbol { color: var(--gold); border-color: rgba(255,194,71,.28); background: rgba(255,194,71,.08); }
.number { position: absolute; right: 28px; top: 22px; color: rgba(158, 179, 217, .22); font-size: 2.8rem; font-weight: 800; }
.feature-symbol { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(94,227,197,.27); border-radius: 16px; color: var(--mint); background: rgba(94,227,197,.08); font-size: 1.4rem; }
.feature-card h3 { max-width: 430px; margin: 32px 0 12px; font-size: 1.5rem; line-height: 1.25; }
.feature-card p { max-width: 500px; margin: 0; color: var(--muted); }
.feature-card ul, .plan-card ul { display: grid; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 0.86rem; }
.feature-card li::before, .plan-card li::before { content: "✓"; margin-right: 9px; color: var(--mint); }

.privacy-section { border-block: 1px solid var(--line); background: linear-gradient(135deg, rgba(13,35,70,.9), rgba(7,22,47,.94)); }
.privacy-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 76px; }
.text-link { display: inline-flex; gap: 9px; margin-top: 30px; color: var(--mint); font-weight: 700; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }
.privacy-stack { display: grid; gap: 14px; }
.privacy-stack article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,20,43,.58); }
.privacy-stack article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #061125; background: var(--mint); font-weight: 900; }
.privacy-stack h3 { margin: 0 0 5px; font-size: 1rem; }
.privacy-stack p { margin: 0; color: var(--muted); font-size: .86rem; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { display: flex; flex-direction: column; min-height: 470px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.plan-current { border-color: rgba(94,227,197,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 50px rgba(6, 86, 79, .08); }
.plan-label { align-self: flex-start; padding: 6px 10px; border-radius: 999px; color: #07281f; background: var(--mint); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.plan-soon { color: #b3c5e5; background: #1c3564; }
.plan-card h3 { margin: 28px 0 0; font-size: 1.55rem; }
.plan-price { margin: 5px 0 12px; font-size: 1.35rem; font-weight: 800; }
.plan-card > p:not(.plan-price) { min-height: 52px; margin: 0; color: var(--muted); font-size: .9rem; }
.plan-card ul { margin-bottom: 28px; color: #bdcae3; }
.plan-card .button { margin-top: auto; }

.cta-section { padding-top: 30px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 58px; overflow: hidden; border: 1px solid rgba(104, 231, 206, .3); border-radius: 28px; background: radial-gradient(circle at 92% 20%, rgba(118, 130, 255, .25), transparent 34%), linear-gradient(125deg, #144b5a, #17325f 58%, #1f2e63); box-shadow: var(--shadow); }
.cta-card h2 { max-width: 760px; }
.cta-card p:last-child { margin: 16px 0 0; color: #c2d5ec; }

.site-footer { margin-top: 110px; border-top: 1px solid var(--line); background: #050e20; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 54px; padding: 66px 0 48px; }
.footer-brand p { max-width: 320px; margin: 18px 0 0; color: var(--muted); font-size: .88rem; }
.footer-grid h2 { margin: 5px 0 16px; color: #dce8fc; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div:not(.footer-brand) a { color: var(--muted); font-size: .84rem; }
.footer-grid a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid rgba(116,154,222,.13); color: #7188af; font-size: .76rem; }

/* Legal and support pages */
.page-header .header-inner { min-height: 72px; }
.legal-hero { padding: 88px 0 54px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 0, rgba(71,101,203,.2), transparent 32%), #07152c; }
.legal-hero .eyebrow { margin-bottom: 12px; }
.legal-hero p:last-child { max-width: 760px; margin: 18px 0 0; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: 70px; padding: 72px 0 110px; }
.legal-nav { position: sticky; top: 105px; align-self: start; display: grid; gap: 8px; }
.legal-nav a { padding: 9px 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: .82rem; }
.legal-nav a:hover { border-color: var(--mint); color: var(--ink); }
.legal-content h2 { scroll-margin-top: 100px; margin: 46px 0 12px; font-size: 1.35rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 30px 0 8px; font-size: 1.02rem; }
.legal-content p, .legal-content li { color: #aebfde; font-size: .93rem; }
.legal-content ul, .legal-content ol { display: grid; gap: 8px; padding-left: 22px; }
.legal-note { margin: 30px 0; padding: 20px; border: 1px solid rgba(94,227,197,.28); border-radius: 16px; background: rgba(26, 117, 105, .1); }
.legal-note strong { color: var(--mint); }
.legal-content a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.updated { margin-top: 28px; color: #6f86ae; font-size: .78rem; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 38px; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.support-card h2 { margin: 0 0 8px; font-size: 1.05rem; }
.support-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.support-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding: 30px; border-radius: 20px; background: linear-gradient(135deg, #12385a, #172e61); }
.support-contact h2 { margin: 0; font-size: 1.3rem; }
.support-contact p { margin: 7px 0 0; color: var(--muted); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-inner .button-small { margin-left: auto; }
  .hero { padding-top: 74px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 780px; }
  .identity-stage { min-height: 480px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 44px; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .plan-card:last-child { grid-column: 1 / -1; min-height: 390px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; gap: 16px; }
  .brand { font-size: 1rem; }
  .brand img { width: 36px; height: 36px; }
  .header-inner .button-small { min-height: 42px; padding: 10px 13px; font-size: .75rem; }
  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 8px; }
  .identity-stage { min-height: 420px; margin-inline: -6px; }
  .identity-card { width: 100%; padding: 22px; border-radius: 22px; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 270px; height: 270px; }
  .status-pill { font-size: .62rem; }
  .profile-row { margin-top: 30px; }
  .avatar { width: 58px; height: 58px; }
  .profile-alias { font-size: .64rem; }
  .identity-features { gap: 8px; }
  .identity-features > div { padding: 10px; }
  .floating-chip { display: none; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); padding: 14px 0; }
  .signal-grid span { padding: 8px; }
  .signal-grid span + span::before { display: none; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 36px; text-align: left; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 26px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card, .plan-card:last-child { grid-column: auto; min-height: 430px; }
  .cta-card { display: grid; padding: 32px 26px; }
  .button-light { white-space: normal; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
  .legal-hero { padding: 62px 0 40px; }
  .legal-layout { display: block; padding: 48px 0 80px; }
  .legal-nav { display: none; }
  .support-grid { grid-template-columns: 1fr; }
  .support-contact { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
