/* ===== LANDING PAGE — Design Tokens & Custom CSS ===== */
/* Scoped under .lp (landing page) to avoid Tailwind conflicts */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

.lp {
  --kurd-green:   #14a05a;
  --kurd-green-2: #1ec76e;
  --kurd-yellow:  #f6c64a;
  --kurd-yellow-2:#f8d26e;
  --kurd-red:     #e2433d;
  --kurd-red-2:   #e96560;

  --bg-0: #07090c;
  --bg-1: #0d1117;
  --bg-2: #121820;
  --bg-3: #1a212b;

  --fg-0: #f0f4f8;
  --fg-1: #c8d4e0;
  --fg-2: #8fa8be;
  --fg-3: #6b7890;

  --line:   rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.12);

  --radius-md: 10px;
  --radius-lg: 16px;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Instrument Serif', Georgia, serif;

  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--fg-1);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Accent palette variants */
.lp[data-accent="emerald"] {
  --kurd-green: #10b981; --kurd-green-2: #34d399;
  --kurd-yellow: #fbbf24; --kurd-yellow-2: #fcd34d;
  --kurd-red: #ef4444; --kurd-red-2: #f87171;
}
.lp[data-accent="muted"] {
  --kurd-green: #5a8a6b; --kurd-green-2: #7aa589;
  --kurd-yellow: #c8a557; --kurd-yellow-2: #d6b97a;
  --kurd-red: #b35c52; --kurd-red-2: #c87a72;
}
.lp[data-accent="bold"] {
  --kurd-green: #00c853; --kurd-green-2: #1aff7d;
  --kurd-yellow: #ffd600; --kurd-yellow-2: #ffeb3b;
  --kurd-red: #ff1744; --kurd-red-2: #ff4569;
}

/* Density variants */
.lp[data-density="cozy"]    .lp-section { padding: 80px 0; }
.lp[data-density="spacious"] .lp-section { padding: 160px 0; }

/* ===== GRAIN ===== */
.lp-grain {
  pointer-events: none;
  position: fixed; inset: 0; z-index: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ===== CONTAINER ===== */
.lp-container {
  width: min(1440px, 92vw);
  margin: 0 auto;
  padding: 0 clamp(20px, 2.5vw, 56px);
}

/* ===== NAV ===== */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: color-mix(in oklab, var(--bg-0) 85%, transparent);
}
.lp-nav-inner {
  display: flex; align-items: center; height: 100%; gap: 32px;
}
.lp-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.lp-logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: conic-gradient(
    var(--kurd-red) 0deg 120deg,
    var(--fg-0) 120deg 180deg,
    var(--kurd-green) 180deg 240deg,
    var(--fg-0) 240deg 300deg,
    var(--kurd-yellow) 300deg 360deg
  );
  position: relative;
}
.lp-logo-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--bg-0);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--kurd-yellow) 40%, transparent);
}
.lp-logo-text {
  font-size: 16px; font-weight: 700;
  color: var(--fg-0); letter-spacing: -0.02em;
}
.lp-nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.lp-nav-link {
  padding: 6px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--fg-1);
  text-decoration: none; transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.lp-nav-link:hover { color: var(--fg-0); background: var(--line-2); }
.lp-nav-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.lp-status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in oklab, var(--bg-2) 70%, transparent);
  border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-2);
}
.lp-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--kurd-green);
  box-shadow: 0 0 6px var(--kurd-green);
  animation: lp-pulse 2.4s ease-in-out infinite;
}
@keyframes lp-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--kurd-green); }
  50%       { opacity: 0.5; box-shadow: 0 0 2px var(--kurd-green); }
}
.lp-btn-citizen {
  padding: 8px 18px; border-radius: 8px;
  background: var(--kurd-green); color: #fff;
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.lp-btn-citizen:hover { background: var(--kurd-green-2); transform: translateY(-1px); }

/* Wallet button */
.lp-wallet-connected { display: flex; align-items: center; gap: 2px; }
.lp-btn-wallet {
  padding: 7px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all 0.15s; white-space: nowrap;
}
.lp-btn-wallet--off {
  background: color-mix(in oklab, var(--kurd-red) 15%, transparent);
  color: var(--kurd-red);
  border-color: color-mix(in oklab, var(--kurd-red) 35%, transparent);
}
.lp-btn-wallet--off:hover {
  background: color-mix(in oklab, var(--kurd-red) 25%, transparent);
  border-color: var(--kurd-red);
}
.lp-btn-wallet--on {
  background: color-mix(in oklab, var(--kurd-green) 20%, transparent);
  color: var(--kurd-green-2);
  border-color: color-mix(in oklab, var(--kurd-green) 50%, transparent);
  box-shadow: 0 0 8px -2px color-mix(in oklab, var(--kurd-green) 30%, transparent);
}
.lp-btn-wallet--on:hover {
  background: color-mix(in oklab, var(--kurd-green) 28%, transparent);
  border-color: var(--kurd-green);
}
.lp-wallet-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--kurd-green);
  box-shadow: 0 0 6px var(--kurd-green);
  animation: lp-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.lp-wallet-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
.lp-btn-wallet-dc {
  padding: 6px 9px; border-radius: 8px;
  background: color-mix(in oklab, var(--kurd-red) 12%, transparent);
  color: var(--kurd-red-2);
  border: 1.5px solid color-mix(in oklab, var(--kurd-red) 30%, transparent);
  cursor: pointer;
  display: inline-flex; align-items: center;
  transition: all 0.15s;
  title: "Disconnect wallet";
}
.lp-btn-wallet-dc:hover {
  background: color-mix(in oklab, var(--kurd-red) 22%, transparent);
  border-color: var(--kurd-red);
  color: #fff;
  transform: scale(1.05);
}

/* Login button */
.lp-btn-login {
  padding: 7px 16px; border-radius: 8px;
  background: transparent; color: var(--fg-2);
  font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--line-2); cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
}
.lp-btn-login:hover { color: var(--fg-0); border-color: var(--fg-3); background: var(--line); }

/* ===== SECTION COMMON ===== */
.lp-section { padding: 120px 0; }
.lp-section-head {
  text-align: center; max-width: 720px; margin: 0 auto 64px;
}
.lp-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--kurd-green-2);
  display: block; margin-bottom: 20px;
}
.lp-section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.1; margin: 0 0 16px;
  color: var(--fg-0);
}
.lp-section-head h2 em {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
}
.lp-section-head p {
  font-size: 17px; color: var(--fg-2); line-height: 1.65;
  margin: 0;
}

/* ===== HERO ===== */
.lp-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; position: relative; overflow: hidden;
  padding-bottom: 0;
}
.lp-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 30%,
    color-mix(in oklab, var(--kurd-green) 8%, transparent),
    transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 70%,
    color-mix(in oklab, var(--kurd-yellow) 4%, transparent),
    transparent 70%);
}
.lp-hero-content {
  position: relative; z-index: 1;
  padding-top: 120px; padding-bottom: 0;
}

/* V1 grid */
.lp-hero-v1-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--line-2);
  font-size: 13px; color: var(--fg-2);
  margin-bottom: 28px;
}
.lp-hero-badge .pill {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
  background: color-mix(in oklab, var(--kurd-green) 18%, transparent);
  color: var(--kurd-green-2);
  border: 1px solid color-mix(in oklab, var(--kurd-green) 30%, transparent);
  letter-spacing: 0.08em;
}
.lp-hero-h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--fg-0); margin: 0 0 24px;
}
.lp-hero-h1 .accent { color: var(--kurd-green); }
.lp-hero-sub {
  font-size: 17px; line-height: 1.65;
  color: var(--fg-2); max-width: 520px; margin: 0 0 36px;
}
.lp-hero-cta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.lp-btn {
  padding: 12px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.18s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.lp-btn-accent {
  background: var(--kurd-green); color: #fff;
}
.lp-btn-accent:hover { background: var(--kurd-green-2); transform: translateY(-1px); }
.lp-btn-outline {
  background: transparent; color: var(--fg-1);
  border: 1px solid var(--line-2);
}
.lp-btn-outline:hover { background: var(--bg-2); color: var(--fg-0); }

/* Kurdish Sun */
.lp-hero-side {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-1); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.lp-sun-bg {
  position: absolute; inset: 0;
  background: conic-gradient(
    from 0deg at 50% 60%,
    transparent 0 35%,
    color-mix(in oklab, var(--kurd-yellow) 14%, transparent) 35% 38%,
    transparent 38% 41%,
    color-mix(in oklab, var(--kurd-yellow) 14%, transparent) 41% 44%,
    transparent 44% 100%
  );
  animation: lp-spin 80s linear infinite;
  opacity: 0.6;
}
@keyframes lp-spin {
  to { transform: rotate(360deg); }
}
.lp-sun-disc {
  position: absolute;
  left: 50%; top: 60%;
  width: 44%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--kurd-yellow) 0%, var(--kurd-red) 70%);
  box-shadow: 0 0 80px color-mix(in oklab, var(--kurd-yellow) 50%, transparent);
  filter: blur(0.5px);
}
.lp-sun-rings {
  position: absolute; inset: 20px;
  border: 1px dashed color-mix(in oklab, var(--fg-2) 40%, transparent);
  border-radius: 50%;
  animation: lp-orbit 60s linear infinite reverse;
}
@keyframes lp-orbit {
  to { transform: rotate(360deg); }
}
.lp-sun-rings::before {
  content: ""; position: absolute; inset: 36px;
  border: 1px dashed color-mix(in oklab, var(--fg-2) 30%, transparent);
  border-radius: 50%;
}
.lp-hero-side-meta {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-2);
  letter-spacing: 0.08em;
}

/* ===== HERO STATBAR ===== */
.lp-statbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.lp-stat-tile {
  padding: 20px 24px; border-right: 1px solid var(--line);
  transition: background 0.18s;
}
.lp-stat-tile:last-child { border-right: none; }
.lp-stat-tile:hover { background: var(--bg-1); }
.lp-stat-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-2); margin-bottom: 10px;
}
.lp-stat-head .ico {
  width: 18px; height: 18px; color: var(--fg-2); flex-shrink: 0;
}
.lp-stat-head .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.lp-stat-val {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
  color: var(--fg-0); line-height: 1.1;
}
.lp-stat-meta {
  font-size: 11px; color: var(--fg-2);
  font-family: var(--font-mono); margin-top: 4px;
}
.lp-stat-hash { font-size: 10px; color: var(--fg-2); letter-spacing: 0.04em; }
.lp-conn-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  background: color-mix(in oklab, var(--kurd-green) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--kurd-green) 30%, transparent);
  color: var(--kurd-green-2);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
}
.lp-conn-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--kurd-green); flex-shrink: 0;
}

/* Hero V2 — centered */
.lp-hero-v2-content {
  max-width: 700px; margin: 0 auto; text-align: center; padding-bottom: 48px;
}
.lp-hero-v2-terminal {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  font-family: var(--font-mono); font-size: 13px;
  overflow: hidden; max-width: 680px; margin: 0 auto 60px;
}
.lp-terminal-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.lp-terminal-bar span:nth-child(-n+3) {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-2);
}
.lp-terminal-bar .label {
  font-size: 11px; color: var(--fg-3); margin-left: 8px; letter-spacing: 0.04em;
  flex: 1; text-align: center;
}
.lp-terminal-body {
  padding: 20px 24px; line-height: 1.9;
  color: var(--fg-2);
}
.lp-terminal-body .prompt { color: var(--kurd-green-2); font-weight: 700; }
.lp-terminal-body .key    { color: var(--kurd-yellow); }
.lp-terminal-body .str    { color: var(--kurd-green-2); }
.lp-terminal-body .ok     { color: var(--kurd-green); }
.lp-terminal-body .dim    { color: var(--fg-3); }
.lp-terminal-cursor {
  border-right: 2px solid var(--kurd-green-2);
  animation: lp-blink 1s steps(2) infinite;
  padding-right: 1px;
}
@keyframes lp-blink { 50% { border-color: transparent; } }

/* Hero V3 — mosaic */
.lp-hero-v3-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.lp-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
}
.lp-hm-tile {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-2);
  padding: 16px 12px;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  font-family: var(--font-mono);
  transition: border-color 0.18s, background 0.18s;
  min-height: 80px;
  cursor: default;
}
.lp-hm-tile:hover { background: var(--bg-3); border-color: var(--line-2); }
.lp-hm-tile .num {
  font-size: 20px; font-weight: 700; color: var(--fg-0);
  line-height: 1; display: block;
}
.lp-hm-tile span:last-child {
  font-size: 10px; color: var(--fg-3); letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 4px;
}
.lp-hm-tile.span2 { grid-column: span 2; }
.lp-hm-tile.span2v { grid-row: span 2; }
.lp-hm-tile.green { border-color: color-mix(in oklab, var(--kurd-green) 35%, transparent); background: color-mix(in oklab, var(--kurd-green) 8%, var(--bg-2)); }
.lp-hm-tile.yellow { border-color: color-mix(in oklab, var(--kurd-yellow) 35%, transparent); background: color-mix(in oklab, var(--kurd-yellow) 8%, var(--bg-2)); }
.lp-hm-tile.red { border-color: color-mix(in oklab, var(--kurd-red) 35%, transparent); background: color-mix(in oklab, var(--kurd-red) 8%, var(--bg-2)); }

/* ===== TICKER ===== */
.lp-ticker-band {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-2);
  overflow: hidden;
  height: 38px; display: flex; align-items: center;
}
.lp-ticker {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: lp-ticker 60s linear infinite;
}
@keyframes lp-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.lp-ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px;
  font-family: var(--font-mono); font-size: 11.5px;
}
.lp-ticker-item .label { color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
.lp-ticker-item .val   { color: var(--fg-0); font-weight: 700; }
.lp-ticker-item .up    { color: var(--kurd-green-2); }
.lp-ticker-item .dn    { color: var(--kurd-red-2); }
.lp-ticker-sep {
  width: 1px; height: 18px;
  background: color-mix(in oklab, var(--fg-3) 50%, transparent);
  flex-shrink: 0;
}

/* ===== LIVE STATS ===== */
.lp-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.lp-stat-cell {
  padding: 36px 32px; border-right: 1px solid var(--line);
  position: relative; transition: background 0.2s;
}
.lp-stat-cell:last-child { border-right: none; }
.lp-stat-cell:hover { background: var(--bg-1); }
.lp-accent-bar {
  position: absolute; left: 0; top: 24px; bottom: 24px;
  width: 2px; border-radius: 0 2px 2px 0;
  background: var(--kurd-green);
  opacity: 0; transition: opacity 0.2s;
}
.lp-stat-cell:hover .lp-accent-bar { opacity: 1; }
.lp-stat-cell .label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-2); margin-bottom: 12px;
}
.lp-stat-cell .val {
  font-family: var(--font-mono); font-size: 40px; font-weight: 700;
  color: var(--fg-0); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 8px;
}
.lp-stat-cell .val .unit { font-size: 22px; color: var(--fg-3); }
.lp-stat-cell .meta { font-size: 12px; color: var(--fg-2); }
.lp-stat-cell .meta .up { color: var(--kurd-green-2); }

/* ===== FEATURES ===== */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.lp-feat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  padding: 32px;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.lp-feat-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.lp-feat-card.span-7 { grid-column: span 7; }
.lp-feat-card.span-5 { grid-column: span 5; }
.lp-feat-card.featured {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, color-mix(in oklab, var(--kurd-green) 16%, transparent), transparent 60%),
    var(--bg-1);
}
.lp-feat-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-2); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 32px;
  display: flex; align-items: center; gap: 8px;
}
.lp-feat-eyebrow .num { color: var(--fg-0); font-weight: 700; }
.lp-feat-card h3 {
  font-size: 28px; line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 600; color: var(--fg-0); margin: 0 0 12px; max-width: 360px;
}
.lp-feat-card.featured h3 { font-size: 38px; max-width: 560px; }
.lp-feat-card p {
  font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 0 0 24px; max-width: 380px;
}
.lp-feat-link {
  color: var(--fg-0); font-size: 14px; text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--fg-3); padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
  background: none; border-top: none; border-left: none; border-right: none;
  cursor: pointer;
}
.lp-feat-link:hover { gap: 10px; border-color: var(--fg-0); }

/* Feature artwork — block panel below content */
.lp-art {
  margin-top: 32px; height: 140px;
  border-radius: var(--radius-md);
  background: var(--bg-2); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.lp-feat-card.featured .lp-art { height: 220px; }

/* Vote bars */
.lp-art-vote {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; gap: 4px; padding: 16px;
}
.lp-art-vote span {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--kurd-green), color-mix(in oklab, var(--kurd-green) 50%, transparent));
}
.lp-art-vote span:nth-child(3n+2) {
  background: linear-gradient(to top, var(--kurd-yellow), color-mix(in oklab, var(--kurd-yellow) 50%, transparent));
}
.lp-art-vote span:nth-child(3n+3) {
  background: linear-gradient(to top, var(--kurd-red), color-mix(in oklab, var(--kurd-red) 50%, transparent));
}

/* Citizen pixel grid */
.lp-art-citizen {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr;
  gap: 3px; padding: 12px;
}
.lp-art-citizen span { background: var(--bg-3); border-radius: 3px; }
.lp-art-citizen span.on1 { background: var(--kurd-green); }
.lp-art-citizen span.on2 { background: var(--kurd-yellow); }
.lp-art-citizen span.on3 { background: var(--kurd-red); }

/* Trade wave */
.lp-art-trade {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.lp-art-trade-wave {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,
      transparent 0%,
      color-mix(in oklab, var(--kurd-green) 40%, transparent) 25%,
      transparent 50%,
      color-mix(in oklab, var(--kurd-red) 40%, transparent) 75%,
      transparent 100%);
  clip-path: polygon(0 70%, 5% 50%, 10% 40%, 15% 28%, 20% 18%, 25% 14%, 30% 20%, 35% 36%, 40% 50%, 45% 40%, 50% 26%, 55% 16%, 60% 24%, 65% 38%, 70% 52%, 75% 45%, 80% 32%, 85% 20%, 90% 30%, 95% 48%, 100% 58%, 100% 100%, 0 100%);
}

/* Validator bar chart */
.lp-art-validator {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
}
.lp-art-validator .col { display: flex; flex-direction: column; gap: 6px; }
.lp-art-validator .row {
  height: 8px; border-radius: 4px;
  background: linear-gradient(90deg,
    var(--kurd-green) 0%, var(--kurd-green) var(--w, 80%),
    var(--bg-3) var(--w, 80%), var(--bg-3) 100%);
  width: 140px;
}
.lp-art-validator .col:last-child {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--fg-3); text-align: right; gap: 8px;
}
.lp-art-validator .col:last-child div { line-height: 8px; }

/* ===== ARCHITECTURE ===== */
.lp-arch-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.lp-arch-chains {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.lp-arch-chain {
  border: 1px solid var(--line);
  border-top: 3px solid var(--chain-accent, var(--line-2));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--bg-2);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-arch-chain:hover {
  border-color: var(--chain-accent, var(--line-2));
  box-shadow: 0 8px 32px -8px color-mix(in oklab, var(--chain-accent, var(--bg-0)) 20%, transparent);
}
.lp-arch-chain:nth-child(1) { --chain-accent: var(--kurd-green); }
.lp-arch-chain:nth-child(2) { --chain-accent: var(--kurd-yellow); }
.lp-arch-chain:nth-child(3) { --chain-accent: var(--kurd-red); }
.lp-chain-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--chain-accent, var(--fg-2));
  box-shadow: 0 0 5px var(--chain-accent, transparent);
  flex-shrink: 0;
}
.lp-chain-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.08em;
  color: var(--fg-1); margin-bottom: 16px;
  padding: 4px 10px; border-radius: 99px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
}
.lp-arch-chain h4 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--fg-0); margin: 0 0 10px;
}
.lp-arch-chain p {
  font-size: 13.5px; color: var(--fg-2); line-height: 1.6; margin: 0 0 20px;
}
.lp-chain-stats {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
}
.lp-chain-stats .k { color: var(--fg-2); display: block; margin-bottom: 2px; font-size: 10px; }
.lp-chain-stats .v { color: var(--fg-0); font-weight: 700; font-size: 14px; }
.lp-chain-stats > div { display: flex; flex-direction: column; }

/* ===== TOKENOMICS ===== */
.lp-tok-tabs {
  display: inline-flex;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 48px;
}
.lp-tok-tab {
  padding: 8px 20px; border-radius: 7px;
  font-size: 14px; font-weight: 600;
  color: var(--fg-2); background: transparent;
  border: none; cursor: pointer;
  transition: all 0.18s;
  display: flex; align-items: center; gap: 8px;
}
.lp-tok-tab .dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.lp-tok-tab[data-tok="hez"] .dot { background: var(--kurd-green); }
.lp-tok-tab[data-tok="pez"] .dot { background: var(--kurd-yellow); }
.lp-tok-tab.active {
  background: var(--bg-3); color: var(--fg-0);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.lp-tok-panel { display: none; }
.lp-tok-panel.active { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.lp-tok-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; margin-bottom: 28px;
}
.lp-tok-meta .item {
  background: var(--bg-1); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.lp-tok-meta .k { font-size: 10.5px; color: var(--fg-2); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.lp-tok-meta .v { font-size: 15px; color: var(--fg-0); font-weight: 600; }
.lp-tok-meta .v.italic { font-family: var(--font-display); font-style: italic; }
.lp-tok-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.lp-tok-row:last-child { border-bottom: none; }
.lp-tok-row .swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.lp-tok-row .name { flex: 1; color: var(--fg-1); }
.lp-tok-row .pct { font-family: var(--font-mono); font-weight: 700; color: var(--fg-0); font-size: 13px; }
.lp-tok-row .amt { font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); min-width: 90px; text-align: right; }
.lp-tok-chart {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  aspect-ratio: 1;
}
.lp-tok-chart svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-tok-chart .center {
  position: absolute; text-align: center;
}
.lp-tok-chart .big {
  font-family: var(--font-mono); font-size: 26px;
  font-weight: 700; color: var(--fg-0);
}
.lp-tok-chart .clabel {
  font-size: 11px; color: var(--fg-2);
  font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== REFERRAL STEPS ===== */
.lp-ref-head {
  text-align: center; max-width: 680px; margin: 0 auto 56px;
}
.lp-ref-head h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.1;
  color: var(--fg-0); margin: 0 0 14px;
}
.lp-ref-head h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.lp-ref-head p { font-size: 17px; color: var(--fg-2); line-height: 1.55; }
.lp-ref-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; position: relative;
}
.lp-ref-steps::before {
  content: ""; position: absolute;
  top: 38%; left: 14%; right: 14%; height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    color-mix(in oklab, var(--kurd-green) 60%, transparent) 25%,
    color-mix(in oklab, #60a5fa 60%, transparent) 50%,
    color-mix(in oklab, #e879f9 60%, transparent) 75%,
    transparent 100%);
  z-index: 0;
}
.lp-ref-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.lp-ref-card {
  width: 100%; aspect-ratio: 4/5;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f4f5f7 100%);
  overflow: hidden; margin-bottom: 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 32px -16px rgba(0,0,0,0.6);
  position: relative;
}
.lp-ref-step:hover .lp-ref-card {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.7);
}
.lp-ref-num {
  position: absolute; top: 16px; left: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 18px;
  z-index: 3; box-shadow: 0 4px 16px -2px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.9);
}
.lp-ref-step.s1 .lp-ref-num { background: var(--kurd-green); color: #fff; }
.lp-ref-step.s2 .lp-ref-num { background: #2563eb; color: #fff; }
.lp-ref-step.s3 .lp-ref-num { background: #c026d3; color: #fff; }
.lp-ref-illus {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 18px; gap: 4px;
}
.lp-ref-char { flex: 0 0 46%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lp-ref-char img { max-width: 100%; max-height: 90%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18)); }
.lp-ref-wallet { flex: 0 0 50%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lp-ref-wallet img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 0 0 2px rgba(20,20,30,0.85), 0 16px 36px -10px rgba(0,0,0,0.55); }
.lp-step-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.lp-ref-step.s1 .lp-step-label { color: var(--kurd-green-2); }
.lp-ref-step.s2 .lp-step-label { color: #60a5fa; }
.lp-ref-step.s3 .lp-step-label { color: #e879f9; }
.lp-ref-step h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg-0); margin: 0 0 8px; }
.lp-ref-step p { font-size: 14px; color: var(--fg-2); line-height: 1.55; max-width: 280px; margin: 0; }

/* ===== CTA BAND ===== */
.lp-cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%,
      color-mix(in oklab, var(--kurd-green) 6%, transparent),
      transparent 70%),
    var(--bg-1);
  position: relative; overflow: hidden;
}
.lp-cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--line-2) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.5;
}
.lp-cta-band > * { position: relative; z-index: 1; }
.lp-cta-band h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600; letter-spacing: -0.03em; color: var(--fg-0);
  margin: 0 0 16px;
}
.lp-cta-band h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.lp-cta-band p { font-size: 17px; color: var(--fg-2); max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }
.lp-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.lp-services-block h4 {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--fg-2); margin: 0 0 20px;
}
.lp-services-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.lp-service-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--line-2);
  color: var(--fg-1); text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: all 0.18s;
  background: color-mix(in oklab, var(--bg-2) 80%, transparent);
}
.lp-service-link:hover {
  color: var(--fg-0);
  border-color: color-mix(in oklab, var(--kurd-green) 45%, var(--line-2));
  background: var(--bg-2);
}
.lp-service-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; flex-shrink: 0; }
.lp-login-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  padding: 2px 5px; border-radius: 4px;
  background: color-mix(in oklab, var(--kurd-yellow) 18%, transparent);
  color: var(--kurd-yellow-2);
  border: 1px solid color-mix(in oklab, var(--kurd-yellow) 35%, transparent);
  text-transform: uppercase;
}

/* ===== PALLET GRID ===== */
.lp-pallet-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.lp-pallet-card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg-1) 92%, transparent), var(--bg-1));
  padding: 28px 26px 22px; overflow: hidden;
}
.lp-pallet-card::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--p-accent, var(--kurd-green));
}
.lp-pallet-card.finance   { --p-accent: var(--kurd-green); --p-soft: color-mix(in oklab, var(--kurd-green) 14%, transparent); }
.lp-pallet-card.governance{ --p-accent: var(--kurd-red);   --p-soft: color-mix(in oklab, var(--kurd-red) 14%, transparent); }
.lp-pallet-card.social    { --p-accent: #60a5fa;           --p-soft: color-mix(in oklab, #60a5fa 14%, transparent); }
.lp-pallet-card.education { --p-accent: var(--kurd-yellow);--p-soft: color-mix(in oklab, var(--kurd-yellow) 14%, transparent); }
.lp-pallet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.lp-pallet-head-l { display: flex; align-items: center; gap: 12px; }
.lp-pallet-head h3 {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-0); margin: 0;
}
.lp-glyph-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--p-soft, transparent);
  color: var(--p-accent, var(--kurd-green));
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  border: 1px solid color-mix(in oklab, var(--p-accent, var(--kurd-green)) 35%, transparent);
}
.lp-pallet-count {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); letter-spacing: 0.1em;
}
.lp-pallet-count b { color: var(--p-accent); }
.lp-pallet-items {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.lp-pallet-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 14px 6px 12px;
  border-radius: 12px; text-align: center; color: var(--fg-1);
  background: transparent; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.lp-pallet-item:hover {
  background: var(--bg-2);
  border-color: color-mix(in oklab, var(--p-accent, var(--kurd-green)) 35%, var(--line));
  color: var(--fg-0); transform: translateY(-2px);
}
.lp-pallet-item:hover .lp-ico-frame {
  border-color: var(--p-accent); background: var(--p-soft); color: var(--p-accent);
}
.lp-ico-frame {
  width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--p-accent, var(--kurd-green));
  display: grid; place-items: center; transition: inherit;
}
.lp-ico-frame svg { width: 30px; height: 30px; overflow: visible; }
.lp-pallet-item .nm {
  font-size: 12px; font-weight: 600; letter-spacing: -0.005em; color: inherit;
}
.lp-pallet-item.locked { cursor: not-allowed; opacity: 0.5; }
.lp-pallet-item.locked:hover {
  transform: none; background: transparent;
  border-color: transparent; color: var(--fg-1);
}
.lp-pallet-item.locked:hover .lp-ico-frame { background: var(--bg-2); border-color: var(--line-2); color: var(--fg-3); }
.lp-lock-icon { position: absolute; top: 6px; right: 8px; width: 11px; height: 11px; color: var(--fg-3); }

/* ===== FOOTER ===== */
.lp-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 48px; margin-top: 80px;
}
.lp-foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
.lp-foot-brand h4 { font-size: 18px; margin: 0 0 12px; font-weight: 600; color: var(--fg-0); }
.lp-foot-brand p { color: var(--fg-2); font-size: 14px; line-height: 1.55; max-width: 280px; margin: 0 0 20px; }
.lp-foot-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-2); margin: 0 0 18px; font-weight: 600;
}
.lp-foot-col ul { list-style: none; padding: 0; margin: 0; }
.lp-foot-col li { margin-bottom: 10px; }
.lp-foot-col a { color: var(--fg-1); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.lp-foot-col a:hover { color: var(--fg-0); }
.lp-foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-2);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.lp-foot-flag {
  width: 36px; height: 24px; border-radius: 3px; overflow: hidden;
  display: inline-flex;
  background: linear-gradient(to bottom, var(--kurd-red) 0 33%, var(--fg-0) 33% 66%, var(--kurd-green) 66% 100%);
  position: relative;
}
.lp-foot-flag::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; transform: translate(-50%,-50%);
  border-radius: 50%; background: var(--kurd-yellow);
  box-shadow: 0 0 6px color-mix(in oklab, var(--kurd-yellow) 60%, transparent);
}
.lp-wallet-error {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: color-mix(in oklab, var(--kurd-red) 15%, var(--bg-2));
  border: 1px solid color-mix(in oklab, var(--kurd-red) 40%, transparent);
  color: var(--kurd-red-2);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  max-width: 260px;
  white-space: normal;
  text-align: center;
  z-index: 100;
  pointer-events: none;
}

.lp-foot-kurdish-text {
  background: linear-gradient(to right, var(--kurd-green), var(--kurd-yellow), var(--kurd-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== REVEAL ANIMATIONS ===== */
.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.lp-reveal.lp-in { opacity: 1; transform: translateY(0); }
.lp-reveal.d1 { transition-delay: 0.08s; }
.lp-reveal.d2 { transition-delay: 0.16s; }
.lp-reveal.d3 { transition-delay: 0.24s; }
.lp-reveal.d4 { transition-delay: 0.32s; }

/* ===== SVG SPRITE STYLES ===== */
.lp-sprite { width: 0; height: 0; position: absolute; overflow: hidden; }
.lp-sprite symbol .stk { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lp-sprite symbol .fill   { fill: currentColor; stroke: none; }
.lp-sprite symbol .soft   { fill: currentColor; stroke: none; opacity: 0.18; }
.lp-sprite symbol .softer { fill: currentColor; stroke: none; opacity: 0.10; }
.lp-sprite symbol .pop    { fill: #fbbf24; stroke: none; }
.lp-sprite symbol .pop2   { fill: #f97316; stroke: none; }
.lp-sprite symbol .pop3   { fill: #ef4444; stroke: none; }
.lp-sprite symbol .pop4   { fill: #22c55e; stroke: none; }
.lp-sprite symbol .pop5   { fill: #3b82f6; stroke: none; }
.lp-sprite symbol .pop6   { fill: #a855f7; stroke: none; }
.lp-sprite symbol .ink    { fill: #ffffff; stroke: none; }
