/* ────────────────────────────────────────────────────────────
   Oryvx — premium landing & legal page styles.
   Gold accents (matching logo), heavy animations, widget showcase.
   ──────────────────────────────────────────────────────────── */

:root {
  --bg-deep: #050507;
  --bg-card: #15151a;
  --bg-card-end: #08080c;
  --ink: #ffffff;
  --ink-muted: rgba(255, 255, 255, 0.74);
  --ink-faint: rgba(255, 255, 255, 0.46);
  --hairline: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
  --gold: #f6c84b;
  --gold-hot: #f4b223;
  --gold-soft: rgba(246, 200, 75, 0.16);
  --emerald: #22c55e;
  --emerald-soft: rgba(34, 197, 94, 0.18);
  --amber: #fbbf24;
  --teal: #34d399;
  --loss: #ef4444;
  --max-w: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: 'tnum' on;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: default;
}

a { color: var(--gold); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.82; }
img { max-width: 100%; height: auto; display: block; }

/* ── Animated ambient backdrop ────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 35%, transparent 70%);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  will-change: transform;
}
.bg-orb-1 {
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246, 200, 75, 0.40) 0%, transparent 70%);
  animation: orbDrift1 22s ease-in-out infinite;
}
.bg-orb-2 {
  bottom: -250px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, transparent 70%);
  animation: orbDrift2 28s ease-in-out infinite;
}
.bg-orb-3 {
  top: 40%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 200, 75, 0.10) 0%, transparent 70%);
  animation: orbDrift3 32s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-80px, 60px); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(100px, -50px); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-30%, -70%); }
}

/* ── Cursor spotlight ────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 200, 75, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; z-index: 2; padding: 120px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(246, 200, 75, 0.45));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.05); }
.brand-mark img { width: 100%; height: 100%; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-muted);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--ink); opacity: 1; }
.nav-links a:hover::after { width: 100%; }

@media (max-width: 640px) {
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links a:not(:last-child) { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 50%, #c79324 100%);
  color: #1a0e00;
  box-shadow: 0 8px 32px rgba(246, 200, 75, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(246, 200, 75, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  opacity: 1;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  opacity: 1;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 40px rgba(246, 200, 75, 0.55));
  animation: heroLogoFloat 6s ease-in-out infinite, logoFadeIn 1.2s ease-out backwards;
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes logoFadeIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.85); filter: drop-shadow(0 0 0 transparent); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: drop-shadow(0 0 40px rgba(246, 200, 75, 0.55)); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.9s ease-out 0.15s backwards;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--gold); opacity: 1; }
  50% { box-shadow: 0 0 20px var(--gold); opacity: 0.6; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(42px, 7.5vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 24px;
  animation: fadeUp 1s ease-out 0.3s backwards;
}
.hero h1 .line { display: block; }
.hero h1 .gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, #ffe6a3 40%, var(--gold-hot) 70%, #c79324 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: goldShimmer 4s ease infinite;
  position: relative;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero h1 .gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lede {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 400;
  color: var(--ink-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.5;
  animation: fadeUp 1s ease-out 0.45s backwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.6s backwards;
}

/* ── Widget showcase (the hero centerpiece) ───────────────────── */
.widget-showcase {
  margin: 96px auto 0;
  max-width: 1100px;
  position: relative;
  perspective: 1400px;
  animation: fadeUp 1.4s ease-out 0.9s backwards;
}
.widget-stage {
  position: relative;
  height: 540px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-3deg);
  transition: transform 0.4s ease-out;
}
@media (max-width: 720px) { .widget-stage { height: 460px; transform: none; } }

.widget {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
  will-change: transform;
}
.widget img { width: 100%; height: 100%; display: block; }

.widget-1 {
  width: 240px;
  height: 240px;
  top: 30px;
  left: 8%;
  transform: rotate(-8deg) translateZ(40px);
  animation: floatA 9s ease-in-out infinite;
}
.widget-2 {
  width: 260px;
  height: 260px;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateZ(80px);
  z-index: 3;
  animation: floatB 7s ease-in-out infinite;
}
.widget-3 {
  width: 240px;
  height: 240px;
  top: 50px;
  right: 8%;
  transform: rotate(8deg) translateZ(40px);
  animation: floatC 8s ease-in-out infinite 1s;
}
.widget-4 {
  width: 460px;
  height: 230px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateZ(20px);
  animation: floatD 10s ease-in-out infinite 0.5s;
}
@media (max-width: 920px) {
  .widget-1, .widget-3 { display: none; }
  .widget-2 { width: 220px; height: 220px; top: 20px; }
  .widget-4 { width: 90%; max-width: 420px; bottom: 20px; }
}

@keyframes floatA {
  0%, 100% { transform: rotate(-8deg) translateZ(40px) translateY(0); }
  50% { transform: rotate(-8deg) translateZ(40px) translateY(-14px); }
}
@keyframes floatB {
  0%, 100% { transform: translateX(-50%) translateZ(80px) translateY(0); }
  50% { transform: translateX(-50%) translateZ(80px) translateY(-12px); }
}
@keyframes floatC {
  0%, 100% { transform: rotate(8deg) translateZ(40px) translateY(0); }
  50% { transform: rotate(8deg) translateZ(40px) translateY(-16px); }
}
@keyframes floatD {
  0%, 100% { transform: translateX(-50%) translateZ(20px) translateY(0); }
  50% { transform: translateX(-50%) translateZ(20px) translateY(-8px); }
}

/* Glow under widgets */
.widget-showcase::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 100px;
  background: radial-gradient(ellipse, rgba(246, 200, 75, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* ── Stat strip ──────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 32px 0;
  margin: 96px auto 0;
}
@media (max-width: 720px) { .stat-strip { grid-template-columns: 1fr 1fr; gap: 24px 0; } }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: var(--hairline);
}
.stat-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-feature-settings: 'tnum';
}
.stat-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* ── Section header ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header .section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  line-height: 1.05;
}
.section-header h2 .gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header p {
  font-size: 17.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ── Feature grid ────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-end) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(246, 200, 75, 0.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 200, 75, 0.32);
}
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; z-index: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246, 200, 75, 0.16) 0%, rgba(246, 200, 75, 0.04) 100%);
  border: 1px solid rgba(246, 200, 75, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }
.feature-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.feature h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature p {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── Reveal on scroll ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ── Big widget feature row ───────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-top: 1px solid var(--hairline);
}
.feature-row:nth-child(even) { direction: rtl; }
.feature-row:nth-child(even) > * { direction: ltr; }
@media (max-width: 920px) {
  .feature-row { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; direction: ltr; }
}
.feature-row .copy h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.feature-row .copy .section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.feature-row .copy p {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.feature-row .visual {
  position: relative;
  padding: 30px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-end) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 320px;
}
.feature-row .visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 50% 0%, rgba(246, 200, 75, 0.15) 0%, transparent 60%);
}
.feature-row .visual img {
  max-width: 80%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-row .visual:hover img { transform: scale(1.03); }

/* ── Privacy callout ─────────────────────────────────────────── */
.privacy-callout {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-end) 100%);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.privacy-callout::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(246, 200, 75, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.privacy-callout h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  position: relative;
  line-height: 1.1;
}
.privacy-callout h2 .gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.privacy-callout p {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  line-height: 1.55;
}
.privacy-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}
.privacy-badge svg { width: 14px; height: 14px; color: var(--gold); }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 140px 0;
}
.cta-section h2 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.cta-section h2 .gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, #ffe6a3 50%, var(--gold-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-section p {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 40px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand p {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.5;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 56px;
}
.footer-links a {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}
.footer-links a:hover { color: var(--gold); opacity: 1; }
.footer-fine {
  border-top: 1px solid var(--hairline);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.6;
}

/* ── Legal pages ─────────────────────────────────────────────── */
.legal { padding: 80px 0 64px; }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  line-height: 1.05;
  background: linear-gradient(180deg, #fff 0%, #a1a1a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.legal .updated {
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 600;
}
.legal h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
  color: var(--ink);
}
.legal h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--ink);
}
.legal p, .legal li {
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); font-weight: 700; }

.disclaimer-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.02) 100%);
  border: 1px solid rgba(239, 68, 68, 0.32);
  border-radius: 18px;
  padding: 24px;
  margin: 32px 0;
}
.disclaimer-box h3 {
  color: #f87171;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.disclaimer-box p { color: var(--ink); font-size: 15px; margin-bottom: 0; }

.placeholder {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(246, 200, 75, 0.12);
  border: 1px solid rgba(246, 200, 75, 0.32);
  color: var(--gold);
  font-size: 0.9em;
  font-weight: 600;
}

/* ── Contact page ────────────────────────────────────────────── */
.contact-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-end) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  margin: 32px auto;
  max-width: 640px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(246, 200, 75, 0.18) 0%, transparent 70%);
}
.contact-card > * { position: relative; }
.contact-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(246, 200, 75, 0.18) 0%, rgba(246, 200, 75, 0.04) 100%);
  border: 1px solid rgba(246, 200, 75, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--gold);
}
.contact-card .icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; }
.contact-card h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.contact-card p { color: var(--ink-muted); margin-bottom: 28px; }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-weight: 700;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: all 0.2s;
}
.contact-email:hover {
  background: rgba(246, 200, 75, 0.08);
  border-color: rgba(246, 200, 75, 0.4);
  transform: translateY(-2px);
  opacity: 1;
}
.contact-meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
@media (max-width: 480px) { .contact-meta { grid-template-columns: 1fr; } }
.contact-meta-item {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}
.contact-meta-item .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-meta-item .val {
  font-size: 15px;
  color: var(--ink);
  margin-top: 4px;
  font-weight: 600;
}

/* ── Contact tiles (Email + Instagram side-by-side) ──────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 40px auto 0;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-tile {
  display: block;
  position: relative;
  padding: 32px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-end) 100%);
  border: 1px solid var(--border);
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
}
.contact-tile::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(246, 200, 75, 0.18) 0%, transparent 70%);
  opacity: 0.6;
  transition: opacity 0.4s;
}
.contact-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 200, 75, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 1;
}
.contact-tile:hover::before { opacity: 1; }
.contact-tile > * { position: relative; z-index: 1; }

.contact-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(246, 200, 75, 0.18) 0%, rgba(246, 200, 75, 0.04) 100%);
  border: 1px solid rgba(246, 200, 75, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-tile:hover .contact-tile-icon { transform: scale(1.08) rotate(-6deg); }
.contact-tile-icon svg { width: 26px; height: 26px; }

.contact-tile-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-tile-handle {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  word-break: break-all;
}
.contact-tile-meta {
  font-size: 13px;
  color: var(--ink-faint);
  font-weight: 500;
}

/* ── Footer social row ───────────────────────────────────────── */
.footer-social {
  display: inline-flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: rgba(246, 200, 75, 0.08);
  border-color: rgba(246, 200, 75, 0.4);
  color: var(--gold);
  transform: translateY(-2px);
  opacity: 1;
}
.footer-social svg { width: 18px; height: 18px; }

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
