/*
 * RustCore — landing page. Same design language as RustCore Wallet: dark
 * surfaces, Massa red accent with blue/orange glows, Inter + Space Grotesk
 * (bundled — the page loads nothing from third parties).
 */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: dark;

  --bg: #07070a;
  --bg-elevated: #111116;
  --bg-elevated-2: #1b1b22;
  --red: #ff2d42;
  --red-glow: rgba(255, 45, 66, 0.35);
  --blue: #4361ff;
  --blue-glow: rgba(67, 97, 255, 0.28);
  --orange: #ff8a3d;
  --green: #33d17a;
  --white: #f6f6f8;
  --gray-300: #c7c7cd;
  --gray-500: #8a8a91;
  --gray-700: #4c4c52;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --surface-glass: rgba(20, 20, 26, 0.62);

  --font-display: 'Space Grotesk Variable', 'Inter Variable', system-ui, sans-serif;
  --font-body: 'Inter Variable', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.65);
  --shadow-red: 0 10px 24px -10px rgba(255, 45, 66, 0.7);
  --ring: 0 0 0 3px rgba(255, 45, 66, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1120px;
  --gutter: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Hide the scrollbar but keep the page scrollable. */
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 45, 66, 0.1), transparent 60%),
    radial-gradient(900px 500px at 90% 40%, rgba(67, 97, 255, 0.06), transparent 60%), #040406;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

p a {
  color: var(--white);
  text-decoration-color: rgba(255, 45, 66, 0.6);
  text-underline-offset: 3px;
}

p a:hover {
  text-decoration-color: var(--red);
}

code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:active {
  transform: scale(0.97);
}

.btn-red {
  color: #fff;
  background: linear-gradient(180deg, #ff4a5c 0%, #e8192f 100%);
  box-shadow:
    var(--shadow-red),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-red:hover {
  box-shadow:
    0 14px 34px -10px rgba(255, 45, 66, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 38px;
  padding: 0;
}

.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 18px/1 var(--font-display);
  letter-spacing: -0.01em;
}

/* The logo, light version (assets/logo-light.png): reads on the dark page as it is. */
.brand-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.25));
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-300);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.site-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  gap: 8px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  /* Clip sideways only: the lattice's glow may fade into the next section. */
  overflow-x: clip;
  padding: 72px 0 112px;
}

/* Perspective grid fading into the page, as in the reference design. */
.hero-grid {
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(58deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--border-strong);
  color: var(--gray-300);
  font-size: 13px;
  font-weight: 500;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(51, 209, 122, 0.8);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
}

.grad {
  background: linear-gradient(90deg, #ff6a50 0%, var(--red) 45%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--gray-300);
  font-size: clamp(16px, 2.2vw, 19px);
}

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

.hero-note {
  margin: 20px 0 0;
  color: var(--gray-500);
  font-size: 14px;
}

/* ---------- hero lattice: the "core block" ---------- */
/* A 3×3 lattice of on-chain blocks, tilted in 3D; RustCore is the lit block at
   its heart, Massa tokens fill the others, data runs along the links. */
.lattice {
  --cell: 118px;
  position: relative;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(3, var(--cell));
  grid-template-rows: repeat(3, var(--cell));
  place-items: center;
  transform: perspective(1000px) rotateX(22deg) rotateY(-24deg) rotateZ(6deg);
  transform-style: preserve-3d;
}

.lattice::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 50% 50%, var(--red-glow) 0%, transparent 45%),
    radial-gradient(circle at 25% 70%, var(--blue-glow) 0%, transparent 45%),
    radial-gradient(circle at 78% 28%, rgba(255, 138, 61, 0.2) 0%, transparent 42%);
  filter: blur(20px);
  z-index: -1;
}

.lattice-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lattice-links path {
  fill: none;
  stroke: rgba(255, 45, 66, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  vector-effect: non-scaling-stroke;
  animation: flow 3s linear infinite;
}

.block {
  position: relative;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(42, 42, 52, 0.92), rgba(15, 15, 20, 0.92));
  border: 1px solid var(--border-strong);
  box-shadow:
    0 18px 30px -14px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: bob 6s ease-in-out infinite;
}

.block:nth-child(odd) {
  animation-delay: -2s;
}

.block:nth-child(3n) {
  animation-delay: -4s;
}

.block img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.block-dim {
  background: rgba(17, 17, 22, 0.6);
  border-style: dashed;
}

.block-dim span {
  font: 600 13px/1 ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--gray-700);
}

/* The core: a glass block lit red from inside — and a little proud of the grid. */
.block-core {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  border-color: rgba(255, 45, 66, 0.6);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 45, 66, 0.35), transparent 70%),
    linear-gradient(155deg, rgba(48, 22, 28, 0.95), rgba(14, 10, 12, 0.95));
  box-shadow:
    0 0 0 6px rgba(255, 45, 66, 0.12),
    0 0 50px 4px rgba(255, 45, 66, 0.55),
    0 24px 40px -16px rgba(0, 0, 0, 0.9);
  animation: core 6s ease-in-out infinite;
}

.block-core img {
  width: 72px;
  height: auto;
  object-fit: initial;
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: 96px 0;
}

.section-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(67, 97, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 45, 66, 0.1);
  border: 1px solid rgba(255, 45, 66, 0.25);
  color: #ff8090;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 16px;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700;
}

.section-head p,
.split-text > p {
  margin: 16px 0 0;
  color: var(--gray-300);
  font-size: 17px;
}

/* ---------- cards ---------- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 27, 34, 0.7), rgba(17, 17, 22, 0.7));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 66, 0.35);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(255, 45, 66, 0.22), rgba(255, 138, 61, 0.08));
  border: 1px solid rgba(255, 45, 66, 0.3);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ff6f7e;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 19px;
}

.card p {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: 15px;
}

/* ---------- wallet split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--gray-300);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2d42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
      center / 12px no-repeat,
    rgba(255, 45, 66, 0.12);
}

.feature-list strong {
  color: var(--white);
}

.token-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.token-strip img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 3px;
}

/* Phone mockup — an illustration of the wallet's home screen. */
.phone {
  justify-self: center;
  width: 300px;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a2a33, #0c0c10 60%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 90px -20px rgba(255, 45, 66, 0.35);
  transform: rotate(-2deg);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 37px;
  padding: 26px 16px 12px;
  background: var(--bg);
  min-height: 560px;
}

.phone-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 360px;
  height: 300px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 40%, var(--red-glow) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 60%, var(--blue-glow) 0%, transparent 60%);
  filter: blur(8px);
}

.phone-screen > *:not(.phone-glow) {
  position: relative;
}

.ph-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ph-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(155deg, #ff4a5c, #b3122a);
  font: 700 12px/1 var(--font-body);
}

.ph-name {
  font-size: 13px;
  font-weight: 600;
}

.ph-net {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green);
  background: rgba(51, 209, 122, 0.12);
  border: 1px solid rgba(51, 209, 122, 0.3);
}

.ph-label {
  margin-top: 22px;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ph-balance {
  margin-top: 4px;
  font: 700 34px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ph-balance span {
  font-size: 15px;
  color: var(--gray-500);
}

.ph-actions {
  display: flex;
  justify-content: space-around;
  margin: 22px 0 18px;
  font-size: 10px;
  color: var(--gray-300);
  text-align: center;
}

.ph-actions i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 6px;
  border-radius: 13px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
}

.ph-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-actions .primary i {
  background: linear-gradient(180deg, #ff4a5c, #e8192f);
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

.ph-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--gray-500);
}

.ph-tabs span {
  padding: 6px 12px;
  border-radius: 9px;
}

.ph-tabs .on {
  background: var(--bg-elevated-2);
  color: var(--white);
}

.ph-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  font-size: 12px;
}

.ph-row img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: contain;
}

.ph-row b {
  display: block;
  font-weight: 600;
}

.ph-row small {
  color: var(--gray-500);
  font-size: 10px;
}

.ph-row .r {
  margin-left: auto;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* The wallet's bottom navigation, same icons. */
.ph-nav {
  display: flex;
  justify-content: space-around;
  margin: 12px -8px 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.ph-nav > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 50px;
  padding: 5px 6px;
  border-radius: 11px;
  color: var(--gray-500);
  font-size: 9px;
}

.ph-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ph-nav .on {
  color: var(--white);
  background: rgba(255, 45, 66, 0.1);
}

.ph-nav .on svg {
  stroke: var(--red);
  filter: drop-shadow(0 0 5px rgba(255, 45, 66, 0.55));
}

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 45, 66, 0.6), rgba(255, 255, 255, 0.06));
}

.timeline li {
  position: relative;
  padding: 0 0 36px 48px;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
}

.timeline li.now::before {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 45, 66, 0.15), 0 0 18px var(--red-glow);
}

.tl-date {
  color: #ff8090;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-top: 6px;
  font-size: 21px;
}

.timeline p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

/* ---------- launchpad ---------- */
.launch-meta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 32px;
  margin-top: 48px;
}

.launch-meta h3 {
  font-size: 21px;
}

.fees {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border-strong);
}

.fees dl {
  margin: 14px 0 0;
}

.fees dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.fees dt {
  color: var(--gray-300);
}

.fees dd {
  margin: 0;
  color: var(--white);
  font-weight: 600;
  text-align: right;
}

.fees p {
  margin: 14px 0 0;
  color: var(--gray-500);
  font-size: 14px;
}

.launch-actions,
.launch-note {
  justify-content: center;
  text-align: center;
}

.launch-actions {
  margin-top: 40px;
}

.launch-note code,
.faq-list code {
  overflow-wrap: anywhere;
}

/* ---------- roadmap ---------- */
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.phase {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 27, 34, 0.7), rgba(17, 17, 22, 0.7));
  border: 1px solid var(--border-strong);
}

.phase-active {
  border-color: rgba(255, 45, 66, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 45, 66, 0.15),
    0 20px 60px -20px rgba(255, 45, 66, 0.35);
}

.phase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phase-num {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 600;
}

.status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
}

.status-done {
  color: var(--green);
  background: rgba(51, 209, 122, 0.12);
  border-color: rgba(51, 209, 122, 0.3);
}

.status-progress {
  color: #ff8090;
  background: rgba(255, 45, 66, 0.12);
  border-color: rgba(255, 45, 66, 0.35);
}

.phase h3 {
  margin-top: 14px;
  font-size: 21px;
}

.checks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-500);
}

.checks li {
  position: relative;
  padding-left: 26px;
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-700);
}

.checks li.done {
  color: var(--gray-300);
}

.checks li.done::before {
  border-color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333d17a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
      center / 10px no-repeat,
    rgba(51, 209, 122, 0.15);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 45, 66, 0.18), transparent 60%);
}

/* Fades the streaks out at the band's top and bottom edges. */
.cta-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}

/* Light streaks rushing to the center, like the reference "warp" band. */
.cta-beams {
  position: absolute;
  inset: -50%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    rgba(255, 45, 66, 0.16) 0deg 1.2deg,
    transparent 1.2deg 7deg,
    rgba(67, 97, 255, 0.12) 7deg 7.8deg,
    transparent 7.8deg 14deg
  );
  mask-image: radial-gradient(circle at 50% 50%, transparent 8%, #000 30%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 8%, #000 30%, transparent 62%);
  animation: spin 120s linear infinite;
  pointer-events: none;
}

.cta-inner {
  position: relative;
}

.cta h2 {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
}

.cta p {
  max-width: 520px;
  margin: 16px auto 32px;
  color: var(--gray-300);
  font-size: 18px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq .section-head {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: var(--radius-md);
  background: rgba(17, 17, 22, 0.7);
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(255, 45, 66, 0.35);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

.faq-list summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--gray-500);
}

/* ---------- support ---------- */
.support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(255, 45, 66, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(27, 27, 34, 0.8), rgba(17, 17, 22, 0.8));
  border: 1px solid var(--border-strong);
}

.support h2 {
  font-size: clamp(26px, 3.6vw, 36px);
}

.support p {
  color: var(--gray-300);
}

.donate {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border-strong);
}

.donate-label {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.donate-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.donate-row code {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.5;
}

.donate-warn {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--gray-500) !important;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: rgba(7, 7, 10, 0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 300px;
  color: var(--gray-500);
  font-size: 14px;
}

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

.footer-cols h4 {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--white);
}

.footer-cols a {
  display: block;
  padding: 4px 0;
  color: var(--gray-500);
  font-size: 14px;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--gray-700);
  font-size: 13px;
}

/* ---------- motion ---------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes core {
  50% {
    transform: translateY(-12px) scale(1.04);
  }
}

@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards-4,
  .phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner,
  .split,
  .launch-meta,
  .faq,
  .support,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 64px;
  }

  .split {
    gap: 48px;
  }

  .phone {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .section {
    padding: 72px 0;
  }

  .lattice {
    --cell: 84px;
  }

  .block {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .block img {
    width: 32px;
    height: 32px;
  }

  .block-core {
    width: 78px;
    height: 78px;
    border-radius: 20px;
  }

  .block-core img {
    width: 52px;
  }

  .support {
    padding: 24px;
  }
}

@media (max-width: 400px) {
  .header-inner .brand span {
    display: none;
  }
}

@media (max-width: 560px) {
  .cards-4,
  .phases,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .donate-row {
    flex-direction: column;
    align-items: stretch;
  }
}
