/* =========================================================
   INUMINATI — styles
   ========================================================= */

:root {
  --bg: #0a0b0a;
  --surface: #111311;
  --surface-2: #181b18;
  --surface-3: #222622;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);

  --text: #eceeea;
  --muted: #959b94;
  --faint: #636862;

  --accent: #66e23c;
  --accent-hover: #7cea57;
  --accent-ink: #081306;
  --accent-soft: rgba(102, 226, 60, .1);
  --pale: #d4efc5;
  --danger: #ea6b61;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 68px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.035em; }
h3 { font-size: 18px; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 520px; }
.muted { color: var(--muted); }
.note { color: var(--faint); font-size: 13px; margin-top: 16px; }
.note.center { text-align: center; margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn:disabled { opacity: .4; transform: none; }

.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: var(--radius-sm); color: var(--muted);
  transition: color .2s, background-color .2s;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled, body.menu-open .nav {
  background: rgba(10, 11, 10, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.brand img { width: 32px; height: 32px; }

.nav-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mc-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; white-space: nowrap;
}
.mc-label { color: var(--faint); font-weight: 500; }
.mc-val { font-family: var(--mono); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }

.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.burger { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); position: relative; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 90;
  background: var(--bg);
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu-links a {
  display: block; padding: 16px 0;
  font-size: 26px; font-weight: 500; letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
}
.menu-foot { display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 72px) 0 0; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 460px at 74% 40%, rgba(102, 226, 60, .07), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 48px;
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px; margin-bottom: 28px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 13px; font-weight: 500;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; }
.status-dot.on, .status-dot.live { position: relative; background: var(--accent); animation: live-pulse 2s ease-in-out infinite; }
.status-dot.on::after, .status-dot.live::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); animation: live-ring 2s ease-out infinite;
}
@keyframes live-pulse {
  0%, 100% { transform: scale(.85); box-shadow: 0 0 4px rgba(102, 226, 60, .45); }
  50% { transform: scale(1.2); box-shadow: 0 0 10px rgba(102, 226, 60, .9); }
}
@keyframes live-ring {
  0% { transform: scale(1); opacity: .5; }
  70%, 100% { transform: scale(2.8); opacity: 0; }
}

.hero h1 {
  font-size: clamp(52px, 8.6vw, 112px);
  font-weight: 600; letter-spacing: -.05em; line-height: .92;
  margin-left: -.04em;
}
.hero-sub { margin-top: 24px; max-width: 460px; color: var(--muted); font-size: 19px; line-height: 1.55; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Contract address */
.ca {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; max-width: 460px; height: 50px; padding: 0 6px 0 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.ca-label { color: var(--faint); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.ca-text {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.ca-copy {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; flex: none;
  border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 500;
  transition: color .2s, background-color .2s;
}
.ca-copy svg { width: 14px; height: 14px; }
.ca-copy:hover { color: var(--text); background: var(--surface-2); }
.ca-copy.ok { color: var(--accent); }

/* Dog */
.hero-visual { display: flex; justify-content: center; }
.eye-stage { position: relative; width: min(100%, 480px); aspect-ratio: 1; }
.eye-float { position: absolute; inset: 0; will-change: transform; }
.dog { width: 100%; height: 100%; user-select: none; -webkit-user-select: none; pointer-events: none; }
/* Pupil sits between the artwork and the eyelid overlay, so the lids always stay on top */
.pupil {
  position: absolute; left: 51.637%; top: 20.937%; width: 6.37%; height: 6.37%;
  border-radius: 50%; background: #000;
  transform: translate(-50%, -50%);
  pointer-events: none; will-change: transform;
}
.pupil::after {
  content: ""; position: absolute; left: 30.5%; top: 22.7%; width: 22.1%; height: 22.1%;
  border-radius: 50%; background: #d8f8c8;
}
.lids {
  position: absolute; left: 43.5185%; top: 15.7407%; width: 16.6667%; height: 11.1111%;
  pointer-events: none; user-select: none; -webkit-user-select: none;
}

/* Market facts */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts > div { padding: 22px 0 22px 24px; border-left: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { color: var(--faint); font-size: 13px; }
.facts dd { margin-top: 4px; font-family: var(--mono); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.facts dd.up { color: var(--accent); }
.facts dd.down { color: var(--danger); }

/* ---------- Sections ---------- */
.section { padding: 128px 0 0; }
.split-head {
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px;
  margin-bottom: 56px;
}
.split-head .lead { justify-self: end; }

/* About */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.feature { background: var(--bg); padding: 32px; }
.feature-icon {
  width: 22px; height: 22px; margin-bottom: 48px;
  fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Tokenomics */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card > .muted { margin-top: 6px; font-size: 15px; }
.fee-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 64px; }
.card-foot { margin-top: 24px; color: var(--faint); font-size: 14px; max-width: 400px; }

.split-bar { display: flex; gap: 4px; height: 12px; margin-bottom: 24px; }
.split-bar span { flex: 1; border-radius: 4px; }
.seg-burn, .sw-burn { background: var(--accent); }
.seg-lp, .sw-lp { background: var(--pale); }

.split-legend li {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-top: 1px solid var(--line); font-size: 15px;
}
.split-legend span { flex: 1; color: var(--muted); }
.split-legend b { font-family: var(--mono); font-weight: 500; }
.sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }

/* How to buy */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.step-n { display: block; margin-bottom: 40px; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step-links { display: flex; gap: 16px; margin-top: 14px; font-size: 14px; font-weight: 500; }
.step-links a { color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.step-links a:hover { border-color: var(--text); }

.buy-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 64px; }
.buy-panel-actions { flex: 1; min-width: 0; max-width: 520px; }
.buy-panel .ca { margin-top: 0; max-width: none; }
.buy-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }

/* ---------- Closing ---------- */
.closing { padding-bottom: 128px; }
.closing-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 80px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
}
.closing-card img { width: 72px; height: 72px; margin-bottom: 28px; }
.closing-card h2 { max-width: 640px; }
.closing-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 32px; padding-top: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.footer .brand { font-size: 14px; }
.footer .brand img { width: 28px; height: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 auto; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.copy { color: var(--faint); font-size: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 300;
  max-width: calc(100vw - 32px); padding: 12px 16px;
  background: var(--surface-3); border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  font-size: 14px;
  opacity: 0; transform: translate(-50%, 8px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .burger { display: block; }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-visual { order: -1; }
  .eye-stage { width: min(78vw, 360px); }
  .hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .ca { width: 100%; }

  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .facts > div { padding: 18px 0 18px 20px; }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section { padding-top: 96px; }
  .split-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .split-head .lead { justify-self: start; }

  .features { grid-template-columns: 1fr; }
  .feature-icon { margin-bottom: 24px; }


  .fee-card { grid-template-columns: 1fr; gap: 32px; }
  .buy-panel { flex-direction: column; align-items: stretch; gap: 24px; }
  .buy-panel-actions { max-width: none; }


  .closing { padding-bottom: 96px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { margin: 0; justify-content: center; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .brand > span { font-size: 14px; }
  .nav-left { gap: 10px; }
  .nav-actions .icon-btn { display: none; }
  .hero h1 { font-size: clamp(44px, 14.5vw, 72px); }
  .hero-sub { font-size: 17px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .lead { font-size: 16px; }

  .card { padding: 24px 20px; }
  .feature { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step-n { margin-bottom: 16px; }
  .buy-buttons { grid-template-columns: 1fr; }


  .closing-card { padding: 56px 20px; border-radius: 20px; }
  .closing-cta { width: 100%; }
  .closing-cta .btn { flex: 1 1 100%; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
