* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f8fafd;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --surface-3: #e9eef6;
  --text: #1f1f1f;
  --muted: #5f6368;
  --muted-2: #80868b;
  --blue: #0b57d0;
  --blue-2: #1a73e8;
  --blue-soft: #e8f0fe;
  --green: #137333;
  --green-soft: #e6f4ea;
  --red: #b3261e;
  --red-soft: #fce8e6;
  --yellow: #f9ab00;
  --yellow-soft: #fef7e0;
  --outline: #c4c7c5;
  --outline-soft: #e0e3e7;
  --shadow-1: 0 1px 2px rgba(60, 64, 67, 0.08), 0 2px 6px rgba(60, 64, 67, 0.08);
  --shadow-2: 0 2px 8px rgba(60, 64, 67, 0.10), 0 8px 24px rgba(60, 64, 67, 0.10);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  font-family: "Google Sans Flex", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% -10%, rgba(66, 133, 244, 0.11), transparent 28rem),
    radial-gradient(circle at -8% 25%, rgba(52, 168, 83, 0.07), transparent 24rem),
    var(--bg);
  color: var(--text);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

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

svg {
  display: block;
}

::selection {
  background: #d2e3fc;
  color: #174ea6;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: rgba(248, 250, 253, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(224, 227, 231, 0.66);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 6px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
  width: 24px;
  height: 24px;
  transform: rotate(5deg);
}

.brand-mark i {
  display: block;
  border-radius: 6px;
}

.brand-mark i:nth-child(1) { background: #4285f4; }
.brand-mark i:nth-child(2) { background: #ea4335; }
.brand-mark i:nth-child(3) { background: #fbbc04; }
.brand-mark i:nth-child(4) { background: #34a853; }

.brand-copy {
  display: flex;
  align-items: baseline;
}

.brand-copy .brand-g {
  color: #4285f4;
}

.brand-copy .brand-rest {
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  color: #444746;
  font-size: 14px;
  font-weight: 560;
  transition-property: background-color, color, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.nav-link:hover {
  background: rgba(60, 64, 67, 0.07);
}

.nav-link.active {
  background: var(--blue-soft);
  color: #174ea6;
}

.nav-link:active {
  transform: scale(0.96);
}

.header-spacer {
  flex: 1;
}

.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline-soft);
  color: #444746;
  font-size: 13px;
}

.ca-pill strong {
  color: var(--text);
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34a853;
  box-shadow: 0 0 0 4px rgba(52, 168, 83, 0.12);
}

.primary-btn,
.secondary-btn,
.tonal-btn,
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 9px;
  border-radius: 22px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition-property: background-color, color, box-shadow, transform, filter;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.primary-btn {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 87, 208, 0.22);
}

.primary-btn:hover {
  background: #0842a0;
  box-shadow: 0 2px 8px rgba(11, 87, 208, 0.24);
}

.secondary-btn {
  background: var(--surface);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--outline);
}

.secondary-btn:hover {
  background: #f7faff;
}

.tonal-btn {
  background: var(--blue-soft);
  color: #174ea6;
}

.tonal-btn:hover {
  background: #dbe8fd;
}

.primary-btn:active,
.secondary-btn:active,
.tonal-btn:active,
.icon-btn:active {
  transform: scale(0.96);
}

.icon-btn {
  width: 44px;
  padding: 0;
  background: transparent;
  color: var(--muted);
}

.icon-btn:hover {
  background: rgba(60, 64, 67, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  gap: 72px;
  align-items: center;
  min-height: 675px;
  padding: 74px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 17px;
  background: var(--green-soft);
  color: #0d652d;
  font-size: 13px;
  font-weight: 650;
}

.eyebrow .spark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: #34a853;
  color: #fff;
  font-size: 11px;
}

.hero h1 {
  max-width: 690px;
  margin: 24px 0 22px;
  font-size: clamp(54px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 650;
  text-wrap: balance;
}

.color-blue { color: #4285f4; }
.color-red { color: #ea4335; }
.color-yellow { color: #f9ab00; }
.color-green { color: #34a853; }

.hero-lede {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 13px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
}

.live-stack {
  position: relative;
  min-height: 490px;
}

.live-card {
  position: absolute;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.live-card.main {
  inset: 35px 0 25px 54px;
  padding: 24px;
  z-index: 3;
}

.live-card.feed {
  left: 0;
  bottom: 5px;
  width: 290px;
  padding: 18px;
  z-index: 4;
  transform: rotate(-2.6deg);
}

.live-card.coin {
  right: -18px;
  top: 5px;
  width: 235px;
  padding: 18px;
  z-index: 5;
  transform: rotate(2.3deg);
}

.live-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background-image:
    linear-gradient(rgba(66, 133, 244, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 133, 244, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000 42%, transparent 82%);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34a853;
  animation: pulse 2.1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
  50% { box-shadow: 0 0 0 6px rgba(52, 168, 83, 0.15); }
}

.live-number {
  margin-top: 38px;
  font-size: 50px;
  letter-spacing: -0.055em;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.live-number-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.metric-mini {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-2);
}

.metric-mini strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.metric-mini span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.sweep-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--green-soft);
  color: #0d652d;
  font-size: 13px;
}

.sweep-line svg {
  flex: 0 0 auto;
}

.feed-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #e6f4ea;
  color: #137333;
}

.feed-title {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.feed-amount {
  margin-top: 3px;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.feed-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.coin-row-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.token-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 32% 30%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc04 50% 75%, #34a853 75%);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.08),
    0 1px 2px rgba(60,64,67,0.10);
  color: #fff;
  font-weight: 700;
}

.token-avatar-image {
  background: var(--fallback-bg, #e8f0fe);
}

.token-avatar-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-avatar-fallback-letter {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  background: var(--fallback-bg, #4285f4);
}

.token-avatar-image img {
  z-index: 1;
}

.coin-name {
  font-size: 14px;
  font-weight: 650;
}

.coin-ticker {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.coin-value {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.coin-caption {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.sparkline {
  margin-top: 13px;
  width: 100%;
  height: 44px;
}

.section {
  padding: 92px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.page-title {
  margin: 8px 0 0;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.02;
  font-weight: 620;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.stat-item {
  padding: 26px 28px;
  min-height: 126px;
}

.stat-item + .stat-item {
  box-shadow: inset 1px 0 0 var(--outline-soft);
}

.stat-value {
  font-size: 34px;
  font-weight: 620;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.flow-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.11;
}

.flow-card:nth-child(1)::after { background: #4285f4; }
.flow-card:nth-child(2)::after { background: #34a853; }
.flow-card:nth-child(3)::after { background: #fbbc04; }

.flow-step {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

.flow-card:nth-child(2) .flow-step {
  background: var(--green-soft);
  color: var(--green);
}

.flow-card:nth-child(3) .flow-step {
  background: var(--yellow-soft);
  color: #8a5700;
}

.flow-card h3 {
  max-width: 280px;
  margin: 60px 0 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 620;
  text-wrap: balance;
}

.flow-card p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.mini-ui {
  margin-top: 24px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-2);
  font-size: 13px;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

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

.mini-row span {
  color: var(--muted);
}

.mini-row strong {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #202124;
  color: #fff;
  box-shadow: var(--shadow-2);
}

.split-copy {
  padding: 52px;
}

.split-copy .section-kicker {
  color: #8ab4f8;
}

.split-copy h2 {
  margin: 10px 0 16px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 610;
  text-wrap: balance;
}

.split-copy p {
  margin: 0;
  color: #bdc1c6;
  line-height: 1.65;
  text-wrap: pretty;
}

.split-meter {
  position: relative;
  display: grid;
  align-content: center;
  padding: 44px;
  background:
    radial-gradient(circle at 70% 20%, rgba(66, 133, 244, 0.35), transparent 30%),
    radial-gradient(circle at 30% 70%, rgba(52, 168, 83, 0.22), transparent 35%),
    #161718;
}

.split-bar {
  display: flex;
  height: 22px;
  overflow: hidden;
  border-radius: 11px;
  background: #303134;
}

.split-bar .person {
  width: 75%;
  background: #8ab4f8;
}

.split-bar .platform {
  width: 25%;
  background: #81c995;
}

.split-numbers {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.split-stat strong {
  display: block;
  font-size: 50px;
  letter-spacing: -0.05em;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.split-stat span {
  color: #bdc1c6;
  font-size: 13px;
}

.table-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.coin-table-head,
.coin-table-row {
  display: grid;
  grid-template-columns: 44px minmax(220px, 1.4fr) minmax(160px, 1fr) 125px 115px 90px;
  gap: 14px;
  align-items: center;
}

.coin-table-head {
  padding: 14px 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.coin-table-row {
  min-height: 80px;
  padding: 11px 20px;
  box-shadow: inset 0 1px 0 var(--outline-soft);
  transition-property: background-color, transform;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.coin-table-row:hover {
  background: #f8fafd;
}

.coin-rank {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.coin-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.coin-cell .token-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
}

.coin-main {
  min-width: 0;
}

.coin-main strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

.coin-main span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}

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

.positive {
  color: var(--green);
}

.trade-link {
  justify-self: end;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 19px;
  background: var(--blue-soft);
  color: #174ea6;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition-property: background-color, transform;
  transition-duration: 150ms;
}

.trade-link:hover {
  background: #dbe8fd;
}

.trade-link:active {
  transform: scale(0.96);
}

.payments-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.payment-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #e8f0fe, #f8fafd 58%);
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.12);
}

.payment-feature h3 {
  margin: 0;
  max-width: 390px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 620;
  text-wrap: balance;
}

.payment-feature p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.6;
}

.phone-card {
  align-self: flex-end;
  width: min(330px, 100%);
  padding: 16px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-2);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.phone-message {
  margin-top: 16px;
  padding: 15px;
  border-radius: 18px 18px 5px 18px;
  background: #e6f4ea;
  color: #0d652d;
  font-size: 14px;
  line-height: 1.45;
}

.payment-list {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.payment-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 12px 18px;
}

.payment-row + .payment-row {
  box-shadow: inset 0 1px 0 var(--outline-soft);
}

.payment-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.08),
    0 1px 2px rgba(60,64,67,0.08);
  color: var(--green);
  font-weight: 750;
}

.payment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.payment-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}

.payment-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.payment-amount {
  text-align: right;
}

.payment-amount strong {
  display: block;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.payment-amount span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px;
  border-radius: var(--radius-xl);
  background: #d3e3fd;
  color: #041e49;
}

.cta-band h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 620;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.footer {
  margin-top: 90px;
  padding: 44px 0 52px;
  border-top: 1px solid var(--outline-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand p {
  max-width: 330px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--outline-soft);
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.6;
}

/* Pages */
.page {
  min-height: calc(100vh - 82px);
}

.page-hero {
  padding: 72px 0 34px;
}

.page-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 28px;
  align-items: start;
  padding-bottom: 90px;
}

.form-card,
.preview-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.form-card {
  padding: 30px;
}

.preview-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
}

.form-section + .form-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--outline-soft);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}

.form-section-title .step-chip {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.form-section-title h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: var(--surface-2);
}

.segment-btn {
  min-height: 44px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition-property: background-color, color, box-shadow, transform;
  transition-duration: 150ms;
}

.segment-btn.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.14);
}

.segment-btn:active {
  transform: scale(0.96);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  position: relative;
}

.field + .field.block-gap,
.block-gap {
  margin-top: 14px;
}

.field label {
  display: block;
  margin: 0 0 7px 4px;
  color: #3c4043;
  font-size: 12px;
  font-weight: 650;
}

.text-input,
.textarea,
.search-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 0;
  border-radius: 15px;
  outline: none;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px transparent;
  color: var(--text);
  transition-property: background-color, box-shadow;
  transition-duration: 150ms;
}

.textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.text-input::placeholder,
.textarea::placeholder,
.search-input::placeholder {
  color: #9aa0a6;
}

.text-input:focus,
.textarea:focus,
.search-input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--blue);
}

.helper {
  margin: 7px 4px 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
}

.image-drop {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-2);
}

.image-preview {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: linear-gradient(135deg, #d2e3fc, #e6f4ea 50%, #fef7e0);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  color: var(--blue);
}

.file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--outline);
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition-property: background-color, transform;
  transition-duration: 150ms;
}

.file-label:hover {
  background: #f8fafd;
}

.file-label:active {
  transform: scale(0.96);
}

.file-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fee-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 17px;
  border-radius: 18px;
  background: var(--surface-2);
}

.fee-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.fee-line strong {
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.fee-line.total {
  margin-top: 3px;
  padding-top: 13px;
  border-top: 1px solid var(--outline-soft);
  color: var(--text);
  font-weight: 700;
}

.launch-submit {
  width: 100%;
  margin-top: 18px;
}

.preview-header {
  padding: 22px 22px 16px;
}

.preview-header .live-label {
  justify-content: space-between;
}

.preview-token {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px 22px;
}

.preview-token .token-avatar {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  font-size: 18px;
}

.preview-token h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.preview-token p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.preview-visual {
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(66, 133, 244, 0.14), transparent 45%),
    linear-gradient(45deg, rgba(52, 168, 83, 0.10), rgba(251, 188, 4, 0.08));
}

.preview-chart {
  height: 110px;
  margin-top: 12px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.preview-stat {
  padding: 11px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
}

.preview-stat strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.preview-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.preview-bottom {
  padding: 20px 22px 24px;
}

.recipient-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}

.preview-bottom p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.disclaimer-box {
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 15px;
  background: var(--yellow-soft);
  color: #6f4b00;
  font-size: 11px;
  line-height: 1.55;
}

/* Explore */
.explore-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.search-wrap {
  position: relative;
  flex: 1;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  padding-left: 47px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.sort-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: var(--surface-2);
}

.sort-tab {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition-property: background-color, color, box-shadow, transform;
  transition-duration: 150ms;
}

.sort-tab.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(60,64,67,0.12);
}

.sort-tab:active {
  transform: scale(0.96);
}

.explore-list {
  padding-bottom: 90px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 260px;
  text-align: center;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 6px;
}

/* Docs */
.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding: 58px 0 100px;
}

.docs-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
}

.docs-nav a {
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
}

.docs-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.docs-article h1 {
  margin: 0 0 20px;
  font-size: 48px;
  letter-spacing: -0.05em;
  line-height: 1.04;
  font-weight: 620;
}

.docs-article h2 {
  margin: 50px 0 13px;
  font-size: 27px;
  letter-spacing: -0.035em;
  font-weight: 620;
}

.docs-article p,
.docs-article li {
  color: #444746;
  font-size: 15px;
  line-height: 1.72;
}

.docs-article .callout {
  margin: 25px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: #174ea6;
}

/* Modal/toast */
.wallet-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(32,33,36,0.38);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition-property: opacity;
  transition-duration: 180ms;
}

.wallet-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.wallet-modal {
  width: min(440px, 100%);
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(32,33,36,0.24);
  transform: translateY(10px) scale(0.98);
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.wallet-modal-backdrop.open .wallet-modal {
  transform: translateY(0) scale(1);
}

.wallet-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wallet-modal-head h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.wallet-options {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 8px 12px;
  border-radius: 17px;
  background: var(--surface-2);
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition-property: background-color, transform;
  transition-duration: 150ms;
}

.wallet-option:hover {
  background: #e9eef6;
}

.wallet-option:active {
  transform: scale(0.96);
}

.wallet-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--outline-soft);
  font-weight: 750;
}

.wallet-option strong {
  display: block;
  font-size: 13px;
}

.wallet-option span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(390px, calc(100vw - 40px));
  min-height: 52px;
  padding: 10px 15px;
  border-radius: 18px;
  background: #303134;
  box-shadow: var(--shadow-2);
  color: #fff;
  font-size: 13px;
  transform: translateY(14px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 180ms;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast .toast-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #81c995;
}

/* Responsive */
@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 36px;
    padding-top: 58px;
  }

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

  .live-stack {
    width: min(690px, 100%);
    min-height: 470px;
    justify-self: center;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3) {
    box-shadow: inset 0 1px 0 var(--outline-soft);
  }

  .stat-item:nth-child(4) {
    box-shadow: inset 1px 1px 0 var(--outline-soft);
  }

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

  .flow-card {
    min-height: 255px;
  }

  .flow-card h3 {
    margin-top: 40px;
  }

  .launch-layout {
    grid-template-columns: 1fr;
  }

  .preview-card {
    position: static;
  }

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

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    display: none;
  }

  .ca-pill {
    display: none;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 72px);
  }

  .split-card {
    grid-template-columns: 1fr;
  }

  .coin-table-head {
    display: none;
  }

  .coin-table-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px 15px;
  }

  .coin-table-row > :nth-child(3),
  .coin-table-row > :nth-child(4) {
    display: none;
  }

  .coin-table-row > :nth-child(5) {
    font-size: 12px;
  }

  .trade-link {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .docs-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .docs-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 8px 0;
  }

  .header-inner {
    min-height: 48px;
  }

  .brand {
    font-size: 19px;
  }

  .primary-btn,
  .secondary-btn,
  .tonal-btn {
    padding: 0 16px;
  }

  .header .primary-btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding: 44px 0 60px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 48px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .live-stack {
    min-height: 430px;
  }

  .live-card.main {
    inset: 18px 0 30px 18px;
  }

  .live-card.coin {
    right: -5px;
    width: 205px;
  }

  .live-card.feed {
    width: 240px;
  }

  .live-number {
    font-size: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-value {
    font-size: 28px;
  }

  .split-copy,
  .split-meter {
    padding: 30px 24px;
  }

  .split-stat strong {
    font-size: 38px;
  }

  .payment-feature {
    min-height: 350px;
    padding: 26px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .primary-btn,
  .cta-actions .secondary-btn {
    flex: 1;
  }

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

  .footer-legal {
    flex-direction: column;
  }

  .page-hero {
    padding-top: 48px;
  }

  .form-card {
    padding: 20px;
  }

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

  .explore-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-tabs {
    width: 100%;
  }

  .sort-tab {
    flex: 1;
    padding: 0 8px;
  }
}

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