/* ============ Design tokens ============ */
:root {
  --gold-leaf: oklch(0.74 0.11 82);
  --gold-mist: oklch(0.85 0.08 85);
  --gold-deep: oklch(0.58 0.13 70);
  --celestial: oklch(0.96 0.025 230);
  --celestial-deep: oklch(0.88 0.05 230);
  --ivory: oklch(0.985 0.005 90);
  --parchment: oklch(0.96 0.012 85);

  --bg: var(--ivory);
  --fg: oklch(0.18 0.01 260);
  --muted: oklch(0.45 0.01 260);
  --border: oklch(0.9 0.01 90);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.italic { font-style: italic; }

/* ============ Utility primitives ============ */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.relative { position: relative; }
.hidden { display: none; }

.gold-text {
  background: linear-gradient(180deg, var(--gold-mist) 0%, var(--gold-leaf) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-shine {
  background: linear-gradient(135deg, var(--gold-mist) 0%, var(--gold-leaf) 45%, var(--gold-deep) 100%);
}
.glass {
  background: color-mix(in oklab, white 55%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid color-mix(in oklab, white 70%, transparent);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 80%, transparent) inset,
    0 20px 60px -20px color-mix(in oklab, var(--gold-leaf) 25%, transparent);
}
.ornate-border {
  background-image:
    linear-gradient(white, white),
    linear-gradient(135deg, var(--gold-mist), var(--gold-leaf), var(--gold-deep), var(--gold-leaf), var(--gold-mist));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
}

/* ============ Background clouds ============ */
.cloud-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in oklab, var(--celestial-deep) 60%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 30%, color-mix(in oklab, white 80%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, color-mix(in oklab, var(--gold-mist) 25%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--celestial) 0%, var(--ivory) 40%, var(--parchment) 100%);
}
.cloud-bg .halo {
  position: absolute;
  top: -10rem; left: 50%;
  width: 640px; height: 640px;
  transform: translateX(-50%);
  border-radius: 9999px;
  opacity: 0.6;
  background: radial-gradient(circle, color-mix(in oklab, var(--gold-mist) 60%, transparent) 0%, transparent 60%);
  animation: halo 4s ease-in-out infinite;
}
.cloud-bg .cl { position: absolute; }
.cloud-bg .grain {
  position: absolute; inset: 0;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============ Header / Nav ============ */
.site-header { position: relative; z-index: 50; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0;
}
.brand { display: flex; align-items: center; gap: 0.625rem; }
.brand-name { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -0.02em; }
.brand-name strong { font-weight: 600; }
.brand-pill {
  margin-left: 0.5rem;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--gold-leaf) 10%, transparent);
  padding: 0.125rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold-leaf) 20%, transparent);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #52525b;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-deep); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.sigil {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--gold-deep) 30%, transparent),
    0 4px 14px -2px rgba(197,160,89,0.55);
}
.sigil svg { color: #451a03; }

/* Cloud button */
.cloud-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
}
.cloud-btn svg.body {
  height: 3.5rem; width: auto;
  filter: drop-shadow(0 10px 24px rgba(197,160,89,0.35));
  transition: transform 0.2s;
}
.cloud-btn:hover svg.body { transform: translateY(-2px); }
.cloud-btn .label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  pointer-events: none;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: #451a03;
}
.cloud-btn .label svg { width: 14px; height: 14px; }

/* ============ Hero ============ */
.hero { position: relative; padding: 4rem 0 6rem; }
@media (min-width: 768px) { .hero { padding: 6rem 0 8rem; } }
.hero-inner { max-width: 48rem; position: relative; }
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.6);
  padding: 0.375rem 0.875rem;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold-leaf) 25%, transparent);
  backdrop-filter: blur(8px);
  margin-bottom: 1.75rem;
}
.eyebrow-chip .pulse {
  width: 6px; height: 6px; border-radius: 9999px;
  background: var(--gold-leaf);
  animation: shimmer 3s ease-in-out infinite;
}
.eyebrow-chip .txt {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--gold-deep);
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 0.95;
  color: #18181b;
}
.hero p.lead {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #52525b;
}
.hero p.lead .premium { color: var(--gold-deep); font-weight: 500; }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #09090b; color: var(--ivory); }
.btn-secondary {
  background: rgba(255,255,255,0.7);
  color: #18181b;
  box-shadow: inset 0 0 0 1px #e4e4e7;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold-leaf) 50%, transparent); }

.trust-line {
  margin-top: 3rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: #a1a1aa;
}
.trust-line span { display: flex; align-items: center; gap: 0.5rem; }
.trust-line .dot { width: 4px; height: 4px; border-radius: 9999px; background: var(--gold-leaf); }

.angel {
  position: absolute;
  top: 6rem; right: 0;
  width: 420px;
  z-index: 10;
  transform: translateX(1.5rem);
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(120,90,30,0.25));
  animation: float-slow 9s ease-in-out infinite;
}
.angel-wrap { display: none; }
@media (min-width: 1024px) { .angel-wrap { display: block; } }
@media (min-width: 1280px) { .angel { width: 480px; } }

/* ============ Scale widget ============ */
.scale-widget {
  position: relative;
  max-width: 64rem;
  margin: 5rem auto 0;
  border-radius: 36px;
  padding: 2rem;
}
@media (min-width: 768px) { .scale-widget { padding: 3rem; } }
.scale-widget .ornament {
  position: absolute;
  width: 2rem; height: 2rem;
}
.scale-widget .ornament.tl { top: -0.75rem; left: -0.75rem; }
.scale-widget .ornament.tr { top: -0.75rem; right: -0.75rem; transform: rotate(90deg); }
.scale-widget .ornament.bl { bottom: -0.75rem; left: -0.75rem; transform: rotate(-90deg); }
.scale-widget .ornament.br { bottom: -0.75rem; right: -0.75rem; transform: rotate(180deg); }

.scale-head {
  display: flex; flex-wrap: wrap;
  align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 2.5rem;
}
.scale-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--gold-deep);
}
.scale-head h3 { margin-top: 0.5rem; font-size: 1.5rem; }
.badge-active {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  background: #ecfdf5;
  padding: 0.375rem 0.75rem;
  box-shadow: inset 0 0 0 1px #a7f3d0;
}
.badge-active .pulse { width: 6px; height: 6px; border-radius: 9999px; background: #10b981; animation: shimmer 3s ease-in-out infinite; }
.badge-active .txt {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: #047857;
}

.scale-row {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) { .scale-row { gap: 3rem; } }

.plate { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; min-width: 0; }
.plate .bowl {
  position: relative;
  display: grid; place-items: center;
  width: 6rem; height: 6rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
}
@media (min-width: 768px) { .plate .bowl { width: 7rem; height: 7rem; } }
.plate.celestial .bowl { background: color-mix(in oklab, var(--celestial) 60%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--celestial-deep) 60%, transparent), inset 0 2px 6px rgba(0,0,0,0.06); }
.plate.gold .bowl { background: color-mix(in oklab, var(--gold-mist) 25%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold-leaf) 40%, transparent), inset 0 2px 6px rgba(0,0,0,0.06); }
.plate .bowl .rim {
  position: absolute; left: 0.5rem; right: 0.5rem; top: 0;
  height: 6px;
  border-radius: 0 0 9999px 9999px;
  background: linear-gradient(135deg, var(--gold-mist), var(--gold-leaf), var(--gold-deep));
  opacity: 0.7;
}
.plate .bowl .sub { font-family: var(--font-display); font-size: 1rem; color: #27272a; }
.plate .label {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: #a1a1aa;
}
.plate .value { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1rem; color: #18181b; }
@media (min-width: 768px) { .plate .value { font-size: 1.125rem; } }
.plate .subval { font-size: 0.75rem; color: #71717a; }

.scale-center { flex: 1; min-width: 120px; display: flex; flex-direction: column; align-items: center; position: relative; }
.pivot { position: relative; }
.pivot .knob {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px white, 0 8px 20px -4px color-mix(in oklab, var(--gold-leaf) 40%, transparent);
}
.pivot .knob .pin { width: 8px; height: 8px; border-radius: 9999px; background: rgba(69,26,3,0.6); }
.pivot .stem {
  position: absolute; left: 50%; top: 100%;
  width: 1px; height: 2rem;
  transform: translateX(-50%);
  background: color-mix(in oklab, var(--gold-leaf) 40%, transparent);
}
.crossbar {
  position: relative;
  margin-top: 2rem;
  width: 100%; max-width: 260px;
  animation: sway 5s ease-in-out infinite;
  transform-origin: center;
}
.crossbar .bar {
  height: 3px; border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.crossbar .cap {
  position: absolute; top: -4px;
  width: 12px; height: 12px;
  border-radius: 9999px;
  box-shadow: 0 0 0 2px white;
}
.crossbar .cap.l { left: -6px; }
.crossbar .cap.r { right: -6px; }
.delta-tag {
  margin-top: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(120,53,15,0.2), 0 4px 10px rgba(0,0,0,0.06);
}
.delta-tag .pip { width: 4px; height: 4px; border-radius: 9999px; background: rgba(69,26,3,0.7); }
.delta-tag .txt {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: #451a03;
}

.metrics {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(228,228,231,0.7);
}
@media (min-width: 768px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric .l {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: #a1a1aa;
}
.metric .v { margin-top: 0.375rem; font-family: var(--font-display); font-size: 1.25rem; color: #18181b; }
.metric.accent .v { color: var(--gold-deep); }

/* ============ Ticker ============ */
.ticker {
  position: relative; z-index: 10;
  border-top: 1px solid color-mix(in oklab, var(--gold-leaf) 15%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--gold-leaf) 15%, transparent);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 3rem;
  padding: 0.75rem 0;
  white-space: nowrap;
  animation: drift 30s ease-in-out infinite alternate;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: #71717a;
}
.ticker-item .star { color: var(--gold-deep); margin-right: 0.5rem; }

/* ============ Section base ============ */
section { position: relative; padding: 7rem 0; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--gold-deep);
}
.section-eyebrow.dark { color: var(--gold-mist); }

/* How */
.how-head {
  margin-top: 1rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.how-head h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 36rem; line-height: 1.1; color: #18181b; }
.how-head p { max-width: 28rem; color: #52525b; }
.how-grid {
  margin-top: 3.5rem;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.rite {
  position: relative;
  border-radius: 32px;
  padding: 2rem;
  transition: transform 0.2s;
}
.rite:hover { transform: translateY(-4px); }
.rite.plain { background: rgba(255,255,255,0.7); box-shadow: inset 0 0 0 1px rgba(228,228,231,0.8); backdrop-filter: blur(8px); }
.rite.featured { background: white; }
.rite-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.rite-num {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 1.125rem;
}
.rite.plain .rite-num { background: var(--celestial); color: #18181b; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--celestial-deep) 40%, transparent); }
.rite.featured .rite-num { color: #451a03; box-shadow: 0 6px 16px -4px color-mix(in oklab, var(--gold-leaf) 40%, transparent); }
.rite-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: #a1a1aa; }
.rite h3 { font-size: 1.5rem; color: #18181b; margin-bottom: 0.75rem; }
.rite p { font-size: 0.875rem; line-height: 1.6; color: #52525b; }
.rite .connector {
  display: none;
  position: absolute; top: 50%; right: -0.75rem;
  height: 1px; width: 1.5rem;
  background: linear-gradient(to right, color-mix(in oklab, var(--gold-leaf) 60%, transparent), transparent);
}
@media (min-width: 768px) { .rite .connector { display: block; } }

/* Dashboard */
.dash-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .dash-grid { grid-template-columns: repeat(12, 1fr); } }
.card { border-radius: 32px; padding: 2rem; }
.card.span7 { grid-column: span 1; }
.card.span5 { grid-column: span 1; }
.card.span4 { grid-column: span 1; }
@media (min-width: 1024px) {
  .card.span7 { grid-column: span 7; }
  .card.span5 { grid-column: span 5; }
  .card.span4 { grid-column: span 4; }
}
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.dash-head .big { margin-top: 0.5rem; font-family: var(--font-display); font-size: 2.25rem; color: #18181b; }
.dash-head .big .unit { font-size: 1.5rem; color: #a1a1aa; }
.dash-head .sub { font-size: 0.75rem; color: #71717a; margin-top: 0.25rem; }
.range-tabs { display: flex; gap: 0.375rem; }
.range-tabs button {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: #71717a;
}
.range-tabs button.active { color: #451a03; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.range-tabs button:hover:not(.active) { background: rgba(255,255,255,0.6); }

.sparkline { width: 100%; height: 11rem; }

.small-stats {
  margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(228,228,231,0.6);
}
.small-stat .l { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.25em; color: #a1a1aa; }
.small-stat .v { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.125rem; color: #18181b; }

.positions { }
.positions .ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.positions .ph .ts { font-family: var(--font-mono); font-size: 10px; color: #a1a1aa; }
.positions ul li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(228,228,231,0.6);
}
.positions ul li:last-child { border-bottom: 0; }
.positions .sym {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background: var(--celestial);
  font-family: var(--font-display); font-size: 0.75rem; color: #27272a;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--celestial-deep) 40%, transparent);
}
.positions .left { display: flex; align-items: center; gap: 0.75rem; }
.positions .name { font-size: 0.875rem; font-weight: 500; color: #18181b; }
.positions .meta { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: #a1a1aa; }
.positions .right { text-align: right; }
.positions .size { font-size: 0.875rem; color: #3f3f46; }
.positions .pnl { font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.positions .pnl.up { color: #059669; }
.positions .pnl.dn { color: #e11d48; }

.archangel {
  background: #09090b; color: var(--ivory);
  position: relative; overflow: hidden;
}
.archangel .glow { position: absolute; inset: 0; pointer-events: none; opacity: 0.4; background: radial-gradient(circle at 80% 20%, rgba(217,185,116,0.35), transparent 60%); }
.archangel .inner { position: relative; }
.archangel .big { margin-top: 1rem; font-family: var(--font-display); font-size: 1.875rem; }
.kv-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.kv-row { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.kv-k { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(250,250,249,0.5); }
.kv-v { font-size: 0.75rem; font-weight: 500; }
.kv-v.gold { color: var(--gold-mist); }

.funding .bars { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.375rem; height: 8rem; align-items: end; }
.funding .bars .b { border-radius: 6px 6px 0 0; opacity: 0.9; }
.funding .legend { margin-top: 1.25rem; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: #a1a1aa; }

.composition .donut-wrap { margin-top: 1.5rem; display: flex; justify-content: center; }
.donut { width: 10rem; height: 10rem; transform: rotate(-90deg); }
.comp-legend { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.75rem; }
.comp-legend .row { display: flex; align-items: center; justify-content: space-between; }
.comp-legend .row .l { display: flex; align-items: center; gap: 0.5rem; color: #3f3f46; }
.comp-legend .swatch { width: 10px; height: 10px; border-radius: 2px; }
.swatch.gold { background: var(--gold-leaf); }
.swatch.cel { background: var(--celestial-deep); }
.swatch.zinc { background: #d4d4d8; }
.comp-legend .pct { font-family: var(--font-mono); color: #71717a; }

/* Mechanism */
.mechanism {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  border-top: 1px solid color-mix(in oklab, var(--gold-leaf) 10%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--gold-leaf) 10%, transparent);
  padding: 8rem 0;
}
.mech-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .mech-grid { grid-template-columns: repeat(12, 1fr); } }
.mech-art-wrap { grid-column: span 1; }
.mech-text { grid-column: span 1; }
@media (min-width: 1024px) {
  .mech-art-wrap { grid-column: span 6; }
  .mech-text { grid-column: span 6; }
}
.mech-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 48px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--celestial), var(--ivory), var(--parchment));
  box-shadow: 0 30px 60px -20px color-mix(in oklab, var(--gold-leaf) 20%, transparent);
}
.mech-art .overlay { position: absolute; inset: 0; opacity: 0.8;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in oklab, var(--celestial-deep) 60%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, color-mix(in oklab, var(--gold-mist) 25%, transparent) 0%, transparent 60%);
}
.mech-art .big-scale { position: absolute; inset: 0; margin: auto; width: 75%; }
.mech-art .caption { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: #71717a; }
.mech-text h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; color: #18181b; }
.mech-text p { margin-top: 1.5rem; color: #52525b; line-height: 1.65; }
.mech-text p + p { margin-top: 1rem; }
.mech-text ul { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mech-text li { display: flex; gap: 0.75rem; align-items: flex-start; }
.mech-text li .check {
  display: grid; place-items: center;
  width: 1.25rem; height: 1.25rem;
  border-radius: 9999px;
  margin-top: 0.25rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.mech-text li .check svg { color: #451a03; width: 12px; height: 12px; }
.mech-text li span.t { font-size: 0.875rem; color: #3f3f46; }

/* Stats band */
.stats-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-tile {
  position: relative;
  aspect-ratio: 5 / 4;
  padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.stat-tile:nth-child(1) { border-radius: 120px 24px 120px 120px; }
.stat-tile:nth-child(2) { border-radius: 24px 120px 120px 120px; }
.stat-tile:nth-child(3) { border-radius: 120px 120px 24px 120px; }
.stat-tile:nth-child(4) { border-radius: 120px 120px 120px 24px; }
.stat-tile .l { font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold-deep); }
.stat-tile .v { font-family: var(--font-display); font-size: clamp(1.875rem, 3.5vw, 2.25rem); color: #18181b; }

/* FAQ */
.faq-wrap { max-width: 56rem; margin: 0 auto; }
.faq-wrap h2 { margin-top: 0.75rem; font-size: clamp(2rem, 4vw, 3rem); color: #18181b; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
  box-shadow: inset 0 0 0 1px rgba(228,228,231,0.7);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  transition: all 0.2s;
}
.faq-item[open] { background: white; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold-leaf) 40%, transparent); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 1.125rem; color: #18181b;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .toggle {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: var(--celestial);
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--celestial-deep) 40%, transparent);
  transition: transform 0.2s;
}
.faq-item[open] .toggle { transform: rotate(45deg); }
.faq-item p { margin-top: 0.75rem; font-size: 0.875rem; color: #52525b; line-height: 1.65; }

/* Footer CTA */
.footer-cta-wrap { max-width: 64rem; margin: 0 auto; padding: 3rem; text-align: center; border-radius: 48px; background: linear-gradient(135deg, white, var(--parchment), var(--celestial)); box-shadow: 0 30px 60px -20px color-mix(in oklab, var(--gold-leaf) 20%, transparent); }
@media (min-width: 768px) { .footer-cta-wrap { padding: 4rem; } }
.footer-cta-wrap h2 { margin-top: 1rem; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; }
.footer-cta-wrap p { margin: 1.25rem auto 0; max-width: 36rem; color: #52525b; }
.footer-cta-wrap .cta-row { margin-top: 2.25rem; display: flex; justify-content: center; }
.footer-cta-wrap .cta-row .cloud-btn { transform: scale(1.25); }

/* Footer */
.site-footer { padding: 1.5rem 0 3rem; }
.footer-row {
  border-top: 1px solid rgba(228,228,231,0.7);
  padding-top: 2.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) { .footer-row { flex-direction: row; } }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 0.875rem; color: #71717a; }
.footer-links { display: flex; align-items: center; gap: 1.5rem; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: #71717a; }
.footer-links a:hover { color: var(--gold-deep); }
.copyright { margin-top: 1.5rem; text-align: center; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: #a1a1aa; }

/* ============ Animations ============ */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(6px); }
}
@keyframes float-med {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.2deg); }
}
@keyframes drift {
  from { transform: translateX(-5%); }
  to { transform: translateX(5%); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes halo {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--gold-leaf) 40%, transparent); }
  50% { box-shadow: 0 0 40px 8px color-mix(in oklab, var(--gold-leaf) 25%, transparent); }
}
.angel-glow {
  position: absolute; inset: 0; z-index: -1;
  filter: blur(48px); opacity: 0.6;
  background: radial-gradient(circle at 60% 40%, color-mix(in oklab, var(--gold-mist) 70%, transparent), transparent 65%);
}
