:root {
  --ink: #0a0a0c;
  --muted: #62626a;
  --line: rgba(10, 10, 12, 0.1);
  --paper: #fff;
  --soft: #f5f5f7;
  --blue: #2563eb;
  --violet: #7c3aed;
  --gradient: linear-gradient(135deg, #1677ff 0%, #6647f5 52%, #a72bff 100%);
  --radius-lg: 38px;
  --radius-md: 24px;
  --shadow: 0 34px 90px rgba(23, 18, 55, 0.12);
  --shell: min(1160px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.compact-header {
  border-color: rgba(10, 10, 12, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-shell {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: #35353b;
  font-size: 13px;
  transition: color 160ms ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 820px;
  padding-top: 205px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.closing h2,
.document-hero h1 {
  margin: 0;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(64px, 8.2vw, 112px);
  font-weight: 700;
  line-height: 0.94;
}

.hero-copy {
  max-width: 560px;
  margin: 38px 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.primary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 550;
}

.primary-link span {
  transition: transform 180ms ease;
}

.primary-link:hover span {
  transform: translateY(3px);
}

.hero-orbit {
  position: absolute;
  right: -40px;
  bottom: 72px;
  width: 430px;
  height: 430px;
}

.glass-tile {
  position: absolute;
  inset: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 80px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
  transform: rotate(-7deg);
}

.glass-tile img {
  width: 150px;
  border-radius: 36px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-one {
  inset: 0 60px 140px 0;
  background: linear-gradient(135deg, #33a3ff, #5834f2);
  opacity: 0.82;
}

.orb-two {
  inset: 190px 0 0 170px;
  background: linear-gradient(145deg, #6637f0, #bb29ff);
  opacity: 0.74;
}

.products-section {
  padding: 120px 0;
  background: var(--soft);
}

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

.section-heading h2 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  min-height: 650px;
  padding: 46px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 70px rgba(18, 18, 36, 0.07);
}

.product-card-balance {
  background: #fff;
}

.product-card-box {
  color: #fff;
  background:
    radial-gradient(circle at 75% 22%, rgba(119, 89, 255, 0.42), transparent 35%),
    #09090d;
}

.product-label,
.product-status {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.product-label {
  color: #76767f;
}

.product-card-box .product-label {
  color: #a7a7b0;
}

.product-card h3 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -0.055em;
}

.product-card > div > p:last-child {
  max-width: 430px;
  margin: 0;
  color: #66666e;
  font-size: 18px;
  line-height: 1.55;
}

.product-card-box > div > p:last-child {
  color: #b8b8c0;
}

.product-status {
  position: absolute;
  bottom: 42px;
  left: 46px;
  color: var(--blue);
}

.product-card-box .product-status {
  color: #a796ff;
}

.product-visual {
  position: absolute;
  right: 36px;
  bottom: 80px;
  width: 280px;
  height: 280px;
}

.balance-visual {
  display: grid;
  place-items: center;
}

.balance-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 28px solid #eff0f5;
  border-top-color: #3f7cff;
  border-right-color: #8355f6;
  border-radius: 50%;
  transform: rotate(18deg);
}

.balance-zero {
  font-size: 88px;
  font-weight: 650;
  letter-spacing: -0.08em;
}

.box-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  transform: rotate(-8deg);
}

.box-visual span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(14px);
}

.box-visual span:first-child {
  grid-row: span 2;
}

.principles {
  padding: 140px 0;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.principle-grid article {
  min-height: 270px;
  padding: 34px 34px 10px 0;
  border-right: 1px solid var(--line);
}

.principle-grid article:not(:first-child) {
  padding-left: 34px;
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid span {
  color: #9a9aa2;
  font-size: 12px;
}

.principle-grid h3 {
  margin: 74px 0 12px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.principle-grid p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.closing {
  padding: 150px 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 30%, rgba(98, 72, 244, 0.45), transparent 35%),
    #09090d;
}

.closing-inner {
  text-align: center;
}

.closing h2 {
  margin-bottom: 40px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.98;
}

.light-link {
  color: #a994ff;
}

footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #77777f;
  font-size: 12px;
}

.footer-inner div {
  display: flex;
  gap: 22px;
}

.document-page {
  background:
    radial-gradient(circle at 90% 10%, rgba(80, 92, 255, 0.1), transparent 26%),
    #fff;
}

.document-shell {
  min-height: calc(100vh - 70px);
  padding-top: 170px;
  padding-bottom: 120px;
}

.document-hero {
  max-width: 820px;
  margin-bottom: 82px;
}

.document-hero h1 {
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.98;
}

.document-hero > p:last-child {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.document-content {
  max-width: 760px;
}

.document-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.document-content h2,
.support-note h2 {
  margin: 0 0 13px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.document-content p,
.support-note > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.document-content .text-link {
  margin-top: 34px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 72px;
}

.support-card {
  min-height: 360px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 60px rgba(19, 17, 43, 0.06);
  backdrop-filter: blur(18px);
}

.support-index {
  color: #95959d;
  font-size: 12px;
}

.support-card h2 {
  margin: 92px 0 16px;
  font-size: 36px;
  letter-spacing: -0.045em;
}

.support-card p {
  color: var(--muted);
  line-height: 1.6;
}

.support-card .availability {
  margin-top: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.support-note {
  max-width: 760px;
  margin: 0 0 50px;
  padding: 42px;
  border-radius: var(--radius-md);
  background: var(--soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .hero {
    min-height: 780px;
    padding-top: 165px;
  }

  .hero-orbit {
    right: -125px;
    bottom: 15px;
    transform: scale(0.75);
  }

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

  .product-card {
    min-height: 590px;
  }

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

  .principle-grid article,
  .principle-grid article:not(:first-child) {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-grid h3 {
    margin-top: 38px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 28px);
    --radius-lg: 28px;
  }

  .nav-shell {
    min-height: 60px;
  }

  nav {
    gap: 16px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding-top: 140px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 74px);
  }

  .hero-copy {
    max-width: 90%;
    margin-top: 28px;
  }

  .hero-orbit {
    right: -130px;
    bottom: -20px;
    transform: scale(0.62);
  }

  .products-section,
  .principles {
    padding: 86px 0;
  }

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

  .product-card {
    min-height: 530px;
    padding: 32px;
  }

  .product-card h3 {
    font-size: 48px;
  }

  .product-card > div > p:last-child {
    max-width: 100%;
    font-size: 16px;
  }

  .product-visual {
    right: 8px;
    bottom: 64px;
    transform: scale(0.72);
  }

  .product-status {
    bottom: 30px;
    left: 32px;
  }

  .closing {
    padding: 100px 0;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 18px;
  }

  .document-shell {
    padding-top: 130px;
    padding-bottom: 82px;
  }

  .document-hero {
    margin-bottom: 56px;
  }

  .document-hero h1 {
    font-size: 56px;
  }

  .support-card {
    min-height: 320px;
    padding: 30px;
  }

  .support-note {
    padding: 30px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
