/* Vaghasiya Vipulbhai Chhaganbhai — shared site styles */

:root {
  --bg: #FBF7EF;
  --bg-alt: #F4EDE0;
  --surface: #FFFFFF;
  --surface-2: #FBF5EA;
  --ink: #1B1712;
  --ink-2: #4A4136;
  --muted: #7A6F61;
  --line: #E9DFCE;
  --accent: #D9900F;
  --accent-strong: #B87408;
  --accent-soft: #FCEFD6;
  --accent-ink: #7A4D04;
  --on-accent: #1B1712;
  --success: #1F7A4D;
  --success-soft: #E3F4EA;
  --danger: #B3261E;
  --danger-soft: #FCE8E6;
  --dark: #181818;
  --dark-2: #1F1F1F;
  --dark-3: #272727;
  --dark-ink: #F5F1EA;
  --dark-muted: #A59C8F;
  --hero-from: #000000;
  --hero-to: #666666;
  --glass: rgba(255, 255, 255, 0.72);
  --overlay: rgba(251, 247, 239, 0.86);
  --shadow: 0 1px 2px rgba(27, 23, 18, 0.04), 0 8px 24px rgba(27, 23, 18, 0.06);
  --shadow-lg: 0 24px 64px rgba(27, 23, 18, 0.12);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131209;
    --bg-alt: #181818;
    --surface: #1F1F1F;
    --surface-2: #272727;
    --ink: #F5F1EA;
    --ink-2: #D6CEC2;
    --muted: #A59C8F;
    --line: #313131;
    --accent: #F0A92A;
    --accent-strong: #F5BC52;
    --accent-soft: #2E2410;
    --accent-ink: #F5BC52;
    --success: #5CC98F;
    --success-soft: #16281E;
    --danger: #F2837A;
    --danger-soft: #2D1715;
    --dark: #000000;
    --dark-2: #181818;
    --dark-3: #272727;
    --hero-from: #FFFFFF;
    --hero-to: #9B9B9B;
    --glass: rgba(31, 31, 31, 0.72);
    --overlay: rgba(0, 0, 0, 0.82);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131209;
  --bg-alt: #181818;
  --surface: #1F1F1F;
  --surface-2: #272727;
  --ink: #F5F1EA;
  --ink-2: #D6CEC2;
  --muted: #A59C8F;
  --line: #313131;
  --accent: #F0A92A;
  --accent-strong: #F5BC52;
  --accent-soft: #2E2410;
  --accent-ink: #F5BC52;
  --success: #5CC98F;
  --success-soft: #16281E;
  --danger: #F2837A;
  --danger-soft: #2D1715;
  --dark: #000000;
  --dark-2: #181818;
  --dark-3: #272727;
  --hero-from: #FFFFFF;
  --hero-to: #9B9B9B;
  --glass: rgba(31, 31, 31, 0.72);
  --overlay: rgba(0, 0, 0, 0.82);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 700; letter-spacing: -0.02em; }
p, li { text-wrap: pretty; }
em, i, cite { font-style: normal; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  background: var(--ink); color: var(--bg);
  padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600;
  text-decoration: none; transition: top 0.4s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
@media (max-width: 768px) { .section { padding: 64px 0; } .section--tight { padding: 48px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 12px; border-radius: 9999px;
  border: 1px solid transparent;
}
.section--dark .eyebrow { background: rgba(240, 169, 42, 0.12); color: #F5BC52; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--accent); position: relative; }
.eyebrow .dot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--accent);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 36px; line-height: 40px; margin: 16px 0 12px; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 28px; }
.section--dark .section-head p { color: var(--dark-muted); }
@media (max-width: 640px) { .section-head h2 { font-size: 30px; line-height: 36px; } .section-head p { font-size: 16px; line-height: 24px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; min-height: 48px; padding-left: 24px; padding-right: 24px;
  border-radius: 9999px; border: 1px solid transparent;
  font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease), color 0.7s var(--ease), border-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
}
.btn i { font-size: 20px; transition: transform 0.7s var(--ease); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); border-radius: inherit; transition: transform 0.7s var(--ease);
}
.btn--primary:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(217, 144, 15, 0.32); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(217, 144, 15, 0.32); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--dark .btn--ghost { color: var(--dark-ink); border-color: #313131; }
.section--dark .btn--ghost:hover { border-color: var(--dark-ink); }
.btn--sm { min-height: 40px; font-size: 14px; line-height: 20px; padding: 8px 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn.is-loading::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: sheen 1.2s linear infinite;
}
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.link {
  color: var(--accent-ink); font-weight: 600; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.7s var(--ease);
}
.link:hover { background-size: 100% 1px; }

/* ---------- Floating island nav ---------- */
.nav-shell { position: fixed; top: 0; left: 0; right: 0; z-index: 120; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  margin-top: 24px; width: max-content; max-width: 100%;
  display: flex; align-items: center; gap: 8px;
  padding: 8px; padding-left: 16px;
  border-radius: 9999px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.7s var(--ease), margin 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.nav.is-scrolled { margin-top: 12px; box-shadow: var(--shadow-lg); }
.nav.is-hidden { transform: translateY(-140%); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: 8px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9999px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.02em; flex-shrink: 0;
}
.brand-text { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: -0.01em; max-width: 180px; }
.brand-text small { display: block; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 9999px;
  font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; color: var(--ink-2);
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-user { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent-ink); padding: 0 8px; }
.burger {
  display: none; width: 40px; height: 40px; border-radius: 9999px; border: 1px solid var(--line); background: var(--surface);
  position: relative; cursor: pointer; flex-shrink: 0;
  transition: background-color 0.7s var(--ease);
}
.burger span {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 0.7s var(--ease), top 0.7s var(--ease), opacity 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: var(--overlay);
  backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px);
  display: flex; flex-direction: column; justify-content: center; padding: 96px 24px 48px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-overlay ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.menu-overlay li { overflow: hidden; }
.menu-overlay li a {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
  transform: translateY(48px); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), color 0.7s var(--ease);
}
.menu-overlay li a[aria-current="page"] { color: var(--accent); }
.menu-overlay.open li a { transform: translateY(0); opacity: 1; }
.menu-overlay.open li:nth-child(1) a { transition-delay: 100ms; }
.menu-overlay.open li:nth-child(2) a { transition-delay: 150ms; }
.menu-overlay.open li:nth-child(3) a { transition-delay: 200ms; }
.menu-overlay.open li:nth-child(4) a { transition-delay: 250ms; }
.menu-overlay.open li:nth-child(5) a { transition-delay: 300ms; }
.menu-overlay.open li:nth-child(6) a { transition-delay: 350ms; }
.menu-meta { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; line-height: 20px;
  transform: translateY(24px); opacity: 0; transition: transform 0.7s var(--ease) 400ms, opacity 0.7s var(--ease) 400ms; }
.menu-overlay.open .menu-meta { transform: none; opacity: 1; }
.menu-meta a { text-decoration: none; color: var(--ink); font-weight: 600; }
.menu-auth { display: flex; gap: 8px; margin-top: 24px; }

@media (max-width: 1020px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: block; }
  .nav { width: 100%; justify-content: space-between; }
}
@media (max-width: 480px) { .brand-text { max-width: 150px; } .brand-text small { display: none; } }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 130; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }
.reveal[data-delay="5"] { transition-delay: 500ms; }

/* ---------- Hero ---------- */
.hero { padding: 160px 0 96px; position: relative; overflow: hidden; }
.hero--page { padding: 160px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-title {
  font-size: 60px; line-height: 1; letter-spacing: -0.035em; margin: 24px 0; max-width: 680px;
  color: var(--ink); padding-bottom: 8px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 4px; }
.hero-title .line > span {
  display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards;
  background: linear-gradient(90deg, var(--hero-from), var(--hero-to));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.hero-title .line:nth-child(2) > span { animation-delay: 120ms; }
.hero-title .line:nth-child(3) > span { animation-delay: 240ms; }
@keyframes rise { to { transform: translateY(0); } }
.hero-title .accent-word { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hero-sub { font-size: 18px; line-height: 28px; color: var(--ink-2); max-width: 680px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 9999px; border: 2px solid var(--bg);
  display: grid; place-items: center; font-size: 12px; line-height: 16px; font-weight: 700; color: #1B1712;
}
.avatars span + span { margin-left: -12px; }
.hero-proof p { font-size: 14px; line-height: 20px; color: var(--muted); }
.hero-proof strong { color: var(--ink); }
.fade-in { opacity: 0; transform: translateY(24px); animation: fadeUp 1.2s var(--ease) forwards; }
.fade-in.d1 { animation-delay: 300ms; } .fade-in.d2 { animation-delay: 450ms; } .fade-in.d3 { animation-delay: 600ms; } .fade-in.d4 { animation-delay: 750ms; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: 48px; }
}
@media (max-width: 640px) {
  .hero { padding: 128px 0 64px; }
  .hero--page { padding: 128px 0 48px; }
  .hero-title { font-size: 36px; line-height: 40px; }
  .hero-sub { font-size: 16px; line-height: 24px; }
  .hero-cta .btn { width: 100%; }
}

/* Hero grid backdrop */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.hero-bg .orb { position: absolute; border-radius: 9999px; filter: blur(80px); opacity: 0.45; animation: drift 18s ease-in-out infinite alternate; }
.hero-bg .orb.a { width: 420px; height: 420px; background: #F5BC52; top: -120px; right: -80px; }
.hero-bg .orb.b { width: 320px; height: 320px; background: #F2D8A7; bottom: -120px; left: -80px; animation-delay: -6s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 32px) scale(1.08); } 100% { transform: translate(24px, -24px) scale(0.96); } }

/* Hero visual: dispatch board */
.board-stage { position: relative; perspective: 1400px; }
.board {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 16px;
  box-shadow: var(--shadow-lg);
  transform: rotateX(6deg) rotateY(-10deg); transform-style: preserve-3d;
  transition: transform 1s var(--ease);
  opacity: 0; animation: boardIn 1.4s var(--ease) 400ms forwards;
}
@keyframes boardIn { from { opacity: 0; transform: rotateX(20deg) rotateY(-20deg) translateY(64px); } to { opacity: 1; } }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 16px; border-bottom: 1px solid var(--line); }
.board-head strong { font-size: 14px; line-height: 20px; }
.board-head span { font-size: 12px; line-height: 16px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--success); background: var(--success-soft); padding: 2px 8px; border-radius: 9999px; }
.live i { width: 8px; height: 8px; border-radius: 9999px; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.board-rows { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.board-row {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  padding: 8px; border-radius: 16px; background: var(--surface-2);
  opacity: 0; transform: translateX(24px); animation: slideIn 1s var(--ease) forwards;
}
.board-row:nth-child(1) { animation-delay: 900ms; } .board-row:nth-child(2) { animation-delay: 1050ms; }
.board-row:nth-child(3) { animation-delay: 1200ms; } .board-row:nth-child(4) { animation-delay: 1350ms; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.board-row .ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 20px; }
.board-row b { display: block; font-size: 14px; line-height: 20px; }
.board-row small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.bar { height: 4px; border-radius: 9999px; background: var(--line); margin-top: 4px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: inherit; width: 0; animation: fill 2.4s var(--ease-out) forwards; }
.board-row:nth-child(1) .bar > span { --w: 100%; animation-delay: 1.2s; }
.board-row:nth-child(2) .bar > span { --w: 72%; animation-delay: 1.35s; }
.board-row:nth-child(3) .bar > span { --w: 41%; animation-delay: 1.5s; }
.board-row:nth-child(4) .bar > span { --w: 18%; animation-delay: 1.65s; }
@keyframes fill { to { width: var(--w); } }
.tag { font-size: 12px; line-height: 16px; font-weight: 700; padding: 2px 8px; border-radius: 9999px; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.tag--ok { background: var(--success-soft); color: var(--success); }
.tag--go { background: var(--accent-soft); color: var(--accent-ink); }
.board-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.board-foot div { padding: 12px; border-radius: 16px; border: 1px solid var(--line); }
.board-foot b { display: block; font-size: 20px; line-height: 28px; font-family: 'Geist Mono', ui-monospace, monospace; font-weight: 600; }
.board-foot small { font-size: 12px; line-height: 16px; color: var(--muted); }
.board-caption { margin-top: 40px; text-align: center; font-size: 12px; line-height: 16px; color: var(--muted); }

.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 9999px; padding: 8px 12px; padding-right: 16px;
  font-size: 14px; line-height: 20px; font-weight: 700; box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-chip i { font-size: 20px; color: var(--accent); }
.float-chip.c1 { top: -24px; left: -24px; }
.float-chip.c2 { bottom: 8px; right: 24px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 640px) { .float-chip { display: none; } .board { transform: none; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 24px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.marquee-item i { font-size: 24px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.7s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 144, 15, 0.14), transparent 60%);
  transition: opacity 0.7s var(--ease);
}
.card.spot:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 24px; margin-bottom: 24px;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: var(--on-accent); }
.card h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .num { position: absolute; top: 24px; right: 24px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; line-height: 16px; color: var(--muted); }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.ticks li i { color: var(--success); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.card-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-foot small { font-size: 12px; line-height: 16px; color: var(--muted); }

/* ---------- Problem / solution ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } }
.pane { border-radius: 24px; padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.pane--bad h3 { color: var(--danger); }
.pane--good { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pane h3 { display: flex; gap: 8px; align-items: center; font-size: 20px; line-height: 28px; margin-bottom: 24px; }
.pane ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pane li { display: flex; gap: 12px; align-items: flex-start; }
.pane li i { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.pane--bad li i { color: var(--danger); }
.pane--good li i { color: var(--accent); }
.pane--bad li { color: var(--ink-2); }

/* ---------- Tagline reveal ---------- */
.tagline { font-size: 60px; line-height: 1; letter-spacing: -0.035em; font-weight: 700; max-width: 960px; }
.tagline .w { color: var(--ink); opacity: 0.25; transition: opacity 0.9s var(--ease), color 0.9s var(--ease); }
.tagline .w.on { opacity: 1; }
.tagline .w.hl.on { color: var(--accent); }
.section--dark .tagline .w { color: var(--dark-ink); }
.section--dark .tagline .w.hl.on { color: #F5BC52; }
@media (max-width: 1020px) { .tagline { font-size: 48px; } }
@media (max-width: 640px) { .tagline { font-size: 36px; line-height: 40px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.stat { padding: 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.stat b span.suffix { color: var(--accent); }
.stat p { color: var(--muted); margin-top: 12px; font-size: 14px; line-height: 20px; }
.section--dark .stats { background: var(--dark-2); border-color: #313131; }
.section--dark .stat { border-color: #313131; }
.section--dark .stat p { color: var(--dark-muted); }
@media (max-width: 1020px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .stat { padding: 24px; } .stat b { font-size: 36px; line-height: 40px; } }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-line { position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: #313131; overflow: hidden; }
.steps-line span { display: block; height: 100%; width: 100%; background: #F0A92A; transform: scaleX(0); transform-origin: 0 50%; transition: transform 2.4s var(--ease); }
.steps.in .steps-line span { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-dot {
  width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 9999px; display: grid; place-items: center;
  background: var(--dark-3); border: 1px solid #313131; color: #F5BC52; font-size: 24px; position: relative; z-index: 1;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease), transform 0.7s var(--ease);
}
.step:hover .step-dot { background: #F0A92A; color: #1B1712; transform: scale(1.08); }
.step small { display: block; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; line-height: 16px; color: #F5BC52; margin-bottom: 8px; }
.step h3 { font-size: 18px; line-height: 28px; margin-bottom: 8px; }
.step p { color: var(--dark-muted); font-size: 14px; line-height: 20px; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } .steps-line { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; gap: 24px; }
.quote-card .stars { display: flex; gap: 2px; color: var(--accent); font-size: 16px; }
.quote-card blockquote { font-size: 18px; line-height: 28px; color: var(--ink); font-weight: 600; flex: 1; }
.person { display: flex; align-items: center; gap: 12px; }
.person .av { width: 48px; height: 48px; border-radius: 9999px; display: grid; place-items: center; font-weight: 700; font-size: 14px; line-height: 20px; color: #1B1712; flex-shrink: 0; }
.person b { display: block; font-size: 16px; line-height: 24px; }
.person small { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.faq details[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px; font-weight: 700; font-size: 16px; line-height: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; border-radius: 9999px; background: var(--bg-alt); display: grid; place-items: center; flex-shrink: 0; transition: transform 0.7s var(--ease), background-color 0.7s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.faq .answer { padding: 0 24px 24px; color: var(--ink-2); display: grid; grid-template-rows: 0fr; animation: open 0.7s var(--ease) forwards; }
.faq .answer > div { overflow: hidden; }
@keyframes open { to { grid-template-rows: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--dark); color: var(--dark-ink);
  padding: 80px 48px; text-align: center;
}
.cta-band h2 { font-size: 48px; line-height: 1; letter-spacing: -0.03em; max-width: 680px; margin: 16px auto; }
.cta-band p { color: var(--dark-muted); max-width: 560px; margin: 0 auto; font-size: 18px; line-height: 28px; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn--primary { background: #F0A92A; color: #1B1712; }
.cta-band .btn--primary::before { background: #FFFFFF; }
.cta-band .btn--ghost { color: var(--dark-ink); border-color: #313131; }
.cta-band .btn--ghost:hover { border-color: var(--dark-ink); }
.cta-rings { position: absolute; inset: 0; pointer-events: none; }
.cta-rings span { position: absolute; left: 50%; top: 100%; border: 1px solid #313131; border-radius: 9999px; transform: translate(-50%, -50%); animation: ringPulse 6s var(--ease) infinite; }
.cta-rings span:nth-child(1) { width: 400px; height: 400px; }
.cta-rings span:nth-child(2) { width: 700px; height: 700px; animation-delay: 1s; }
.cta-rings span:nth-child(3) { width: 1000px; height: 1000px; animation-delay: 2s; }
@keyframes ringPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; border-color: rgba(240, 169, 42, 0.35); } }
.guarantees { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 32px; font-size: 14px; line-height: 20px; color: var(--dark-muted); position: relative; }
.guarantees span { display: inline-flex; align-items: center; gap: 8px; }
.guarantees i { color: #F5BC52; font-size: 16px; }
.cta-band > *:not(.cta-rings) { position: relative; }
@media (max-width: 640px) { .cta-band { padding: 64px 24px; border-radius: 24px; } .cta-band h2 { font-size: 30px; line-height: 36px; } .cta-band p { font-size: 16px; line-height: 24px; } }

/* ---------- Info list / credentials ---------- */
.cred-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 8px; }
.cred-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: 16px; transition: background-color 0.7s var(--ease); text-decoration: none; color: inherit; }
a.cred-row:hover { background: var(--bg-alt); }
.cred-row .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.cred-row small { display: block; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cred-row b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; word-break: break-word; }
.cred-row span.note { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }
.cred-row + .cred-row { border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 16px; line-height: 24px; transition: border-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(217, 144, 15, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12); }
.field .err { font-size: 12px; line-height: 16px; color: var(--danger); display: none; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.check.invalid { color: var(--danger); }
.alert { display: none; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 600; }
.alert.show { display: flex; gap: 8px; align-items: flex-start; }
.alert--error { background: var(--danger-soft); color: var(--danger); }
.alert--ok { background: var(--success-soft); color: var(--success); }
.alert i { font-size: 20px; flex-shrink: 0; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.48); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease); }
.modal.show { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg);
  transform: translateY(48px) scale(0.96); transition: transform 0.7s var(--ease); }
.modal.show .modal-box { transform: none; }
.modal-box h2 { font-size: 24px; line-height: 32px; margin-bottom: 4px; }
.modal-box > p { color: var(--muted); margin-bottom: 24px; font-size: 14px; line-height: 20px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 9999px; border: 0; background: var(--bg-alt); cursor: pointer; display: grid; place-items: center; font-size: 20px;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease); }
.modal-close:hover { transform: rotate(90deg); background: var(--line); }
.modal-switch { margin-top: 24px; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }
.modal-switch button { background: none; border: 0; cursor: pointer; }
.success-view { text-align: center; padding: 16px 0; }
.success-view .tick { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 9999px; background: var(--success-soft); color: var(--success); display: grid; place-items: center; font-size: 32px; animation: pop 0.8s var(--ease); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.success-view p { color: var(--muted); margin: 8px 0 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--dark-ink); padding: 80px 0 32px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; }
@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer .brand { color: var(--dark-ink); }
.footer .brand-mark { background: #F0A92A; color: #1B1712; }
.footer .brand-text small { color: var(--dark-muted); }
.footer p { color: var(--dark-muted); font-size: 14px; line-height: 20px; margin-top: 16px; }
.footer h4 { font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: #F5BC52; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer ul span { color: var(--dark-ink); text-decoration: none; font-size: 14px; line-height: 20px; display: inline-flex; gap: 8px; align-items: flex-start; transition: color 0.7s var(--ease); word-break: break-word; }
.footer ul a:hover { color: #F5BC52; }
.footer ul i { color: #F5BC52; font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-big { font-size: 96px; line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: #272727; margin: 64px 0 32px; white-space: nowrap; overflow: hidden; user-select: none; }
.footer-big span { display: inline-block; animation: marquee 50s linear infinite; }
@media (max-width: 640px) { .footer-big { font-size: 48px; } }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #272727; font-size: 14px; line-height: 20px; color: var(--dark-muted); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { color: var(--dark-muted); text-decoration: none; transition: color 0.7s var(--ease); }
.footer-bottom a:hover { color: var(--dark-ink); }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 9999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; font-size: 20px; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background-color 0.7s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-lg);
  transform: translateY(150%); transition: transform 0.9s var(--ease); }
.cookie.show { transform: none; }
.cookie p { font-size: 14px; line-height: 20px; color: var(--ink-2); margin-bottom: 16px; }
.cookie div { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 480px) { .cookie { right: 16px; max-width: none; } }

/* ---------- Page specifics ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 1020px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }
.prose p { color: var(--ink-2); font-size: 18px; line-height: 28px; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 36px; line-height: 40px; margin: 16px 0 24px; }
@media (max-width: 640px) { .prose p { font-size: 16px; line-height: 24px; } .prose h2 { font-size: 30px; line-height: 36px; } }

.photo-panel { position: relative; border-radius: 24px; overflow: hidden; background: var(--dark); color: var(--dark-ink); padding: 32px; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.photo-panel .pattern { position: absolute; inset: 0; background-image: radial-gradient(#313131 1px, transparent 1px); background-size: 24px 24px; }
.photo-panel .big-icon { position: absolute; top: 32px; right: 32px; font-size: 128px; color: #F0A92A; opacity: 0.9; animation: bob 7s ease-in-out infinite; }
.photo-panel > *:not(.pattern) { position: relative; }
.photo-panel h3 { font-size: 30px; line-height: 36px; }
.photo-panel p { color: var(--dark-muted); margin-top: 8px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill-list span { font-size: 14px; line-height: 20px; font-weight: 600; padding: 4px 12px; border-radius: 9999px; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }

.cat-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); align-items: start; }
.cat-detail:first-of-type { border-top: 0; }
.cat-detail h3 { font-size: 30px; line-height: 36px; margin: 16px 0 12px; }
.cat-detail > div > p { color: var(--ink-2); font-size: 18px; line-height: 28px; }
.cat-detail .card-icon { margin-bottom: 0; }
.cat-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-meta .meta { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.cat-meta .meta small { display: block; font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.cat-meta .meta b { font-size: 14px; line-height: 20px; font-weight: 600; }
.cat-meta .meta.wide { grid-column: 1 / -1; }
@media (max-width: 1020px) { .cat-detail { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 480px) { .cat-meta { grid-template-columns: 1fr; } }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; position: sticky; top: 96px; z-index: 5; }
.tabs a { padding: 8px 16px; border-radius: 9999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; transition: background-color 0.7s var(--ease), color 0.7s var(--ease), border-color 0.7s var(--ease); display: inline-flex; gap: 8px; align-items: center; }
.tabs a:hover, .tabs a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 1020px) { .tabs { position: static; } }

.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.hours li:last-child { border-bottom: 0; }
.hours li.today { color: var(--accent-ink); font-weight: 700; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 700; padding: 4px 12px; border-radius: 9999px; }
.open-badge.is-open { background: var(--success-soft); color: var(--success); }
.open-badge.is-closed { background: var(--danger-soft); color: var(--danger); }
.open-badge i { width: 8px; height: 8px; border-radius: 9999px; background: currentColor; }

.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--bg-alt); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.skeleton { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-alt), var(--surface-2), var(--bg-alt)); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }

.copy-btn { border: 0; background: var(--bg-alt); border-radius: 9999px; width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; margin-left: auto; color: var(--ink-2); transition: background-color 0.7s var(--ease); }
.copy-btn:hover { background: var(--accent); color: var(--on-accent); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 250; transform: translate(-50%, 160%); background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; transition: transform 0.7s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* Legal */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 112px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.toc h4 { font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 16px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 8px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: background-color 0.7s var(--ease), color 0.7s var(--ease); }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); }
.toc a:hover { background: var(--bg-alt); }
.toc a.on { background: var(--accent-soft); color: var(--accent-ink); }
.legal-body section { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 112px; }
.legal-body section:first-child { padding-top: 0; }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: 24px; line-height: 32px; margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.legal-body h2 i { color: var(--accent); font-size: 24px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p, .legal-body .table-wrap + p, .legal-body p + .table-wrap { margin-top: 16px; }
.legal-body ul { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.legal-body strong { color: var(--ink); }
.legal-body .caps { font-size: 14px; line-height: 20px; letter-spacing: 0.01em; }
.note-box { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); margin-top: 16px; font-size: 14px; line-height: 20px; font-weight: 600; }
.note-box i { font-size: 20px; flex-shrink: 0; }
@media (max-width: 1020px) { .legal { grid-template-columns: 1fr; gap: 32px; } .toc { position: static; } }

.meta-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.meta-strip span { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; line-height: 20px; font-weight: 600; padding: 8px 12px; border-radius: 9999px; background: var(--surface); border: 1px solid var(--line); }
.meta-strip i { color: var(--accent); font-size: 16px; }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 128px 16px 64px; }
.notfound .code { font-size: 128px; line-height: 1; font-weight: 700; letter-spacing: -0.06em; background: linear-gradient(90deg, var(--hero-from), var(--hero-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .box { display: inline-block; font-size: 64px; color: var(--accent); animation: bob 4s ease-in-out infinite; }

/* Tilt */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-title .line > span { transform: none; }
  .fade-in, .board, .board-row { opacity: 1; transform: none; }
  .bar > span { width: var(--w); }
  .tagline .w { opacity: 1; }
  .marquee-track, .footer-big span { animation: none; }
}
