/* ============================================================
   ZABIBU FIKRA — MODEL 01 / 2B
   Pixel / halftone system inspired by technical model cards.
   ============================================================ */

:root {
  color-scheme: dark;

  --ink: #050507;
  --ink-2: #0b0b10;
  --paper: #f2f0e9;
  --paper-dim: #d9d5c9;
  --blue: #2b2bff;
  --blue-deep: #1a1ad6;
  --pink: #f0a6ff;
  --pink-soft: #f7d4ff;
  --lav: #c9b8ff;

  --line-dark: rgba(5, 5, 7, 0.18);
  --line-light: rgba(242, 240, 233, 0.2);

  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --pixel: "Silkscreen", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button { font: inherit; }
::selection { color: var(--paper); background: var(--blue); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* ---------- shared ---------- */

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section { padding: clamp(64px, 9vw, 120px) 0; }

.paper { background: var(--paper); color: var(--ink); }
.ink { background: var(--ink); color: var(--paper); }
.blue { background: var(--blue); color: var(--paper); }
.pink { background: var(--pink); color: var(--ink); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--pixel);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: currentColor;
}

.paper .eyebrow { color: var(--blue); }
.ink .eyebrow { color: var(--pink); }
.blue .eyebrow { color: var(--paper); }

h1, h2, h3, p { margin-top: 0; }

h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5.8vw, 82px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 60ch;
  color: inherit;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.copy {
  max-width: 62ch;
  color: inherit;
  opacity: 0.76;
  font-size: 15.5px;
  line-height: 1.7;
}

.blue-text { color: var(--blue); }
.pink-text { color: var(--pink); }

.pixel {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fine {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  opacity: 0.74;
}

.fine a { text-decoration: underline; text-underline-offset: 3px; }
.fine a:hover { opacity: 1; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.skip:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 16px; font-size: 10px; }

.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--pink); }

.btn-blue { background: var(--blue); color: var(--paper); }
.btn-blue:hover { background: var(--blue-deep); }

.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: var(--pink-soft); }

.btn-outline-light { border-color: rgba(242, 240, 233, 0.5); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--paper); background: rgba(242, 240, 233, 0.08); }

.btn-outline-dark { border-color: rgba(5, 5, 7, 0.4); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(5, 5, 7, 0.06); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-light);
  background: rgba(5, 5, 7, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 48px);
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { width: 30px; height: auto; }
.brand-word { font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.brand-tag {
  padding: 4px 7px;
  border: 1px solid rgba(242, 240, 233, 0.3);
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, 0.66);
}

.site-nav a { transition: color 0.2s ease; }
.site-nav a:hover { color: var(--pink); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(242, 240, 233, 0.4) 1.3px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(circle at 78% 38%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 78% 38%, #000 0%, transparent 62%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 7px 10px;
  border: 1px solid rgba(242, 240, 233, 0.45);
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8.4vw, 116px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero h1 .pink-text { color: var(--pink); }

.hero-lede {
  max-width: 54ch;
  margin: 26px 0 0;
  color: rgba(242, 240, 233, 0.84);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.hero-lede strong { color: var(--paper); font-weight: 600; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid rgba(242, 240, 233, 0.32);
}

.hero-stat {
  padding: 16px 16px 0;
  border-left: 1px solid rgba(242, 240, 233, 0.32);
}

.hero-stat:first-child { border-left: 0; padding-left: 0; }

.hero-stat strong {
  display: block;
  font-family: var(--pixel);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-stat span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, 0.8);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 7% 4%;
  border: 1px dashed rgba(242, 240, 233, 0.35);
  border-radius: 50%;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 18% 15%;
  border-radius: 50%;
  background-image: radial-gradient(rgba(240, 166, 255, 0.55) 1.5px, transparent 1.6px);
  background-size: 11px 11px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(circle, transparent 42%, #000 44%, #000 70%, transparent 72%);
  mask-image: radial-gradient(circle, transparent 42%, #000 44%, #000 70%, transparent 72%);
}

.hero-heart {
  position: relative;
  z-index: 1;
  width: min(78%, 420px);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.28));
}

.art-chip {
  position: absolute;
  z-index: 2;
  padding: 7px 9px;
  border: 1px solid rgba(242, 240, 233, 0.4);
  background: rgba(43, 43, 255, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.art-chip-a { top: 9%; left: 0; }
.art-chip-b { right: 0; bottom: 12%; color: var(--pink); }

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: ticker 34s linear infinite;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-track span { white-space: nowrap; }
.ticker-track em { color: var(--pink); font-style: normal; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- model ---------- */

.section-head { max-width: 900px; margin-bottom: clamp(32px, 4vw, 52px); }

.model-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.model-copy .lead { color: var(--ink); }

.model-copy p + p { margin-top: 18px; }

.pull-quote {
  margin: 32px 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--blue);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.pull-quote span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.fact {
  padding: 7px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-card {
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: 1.5rem;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 10px 10px 0 rgba(43, 43, 255, 0.16);
}

.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.spec-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(242, 240, 233, 0.13);
}

.spec-row:last-of-type { border-bottom: 0; }

.spec-row dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, 0.66);
}

.spec-row dd { margin: 0; font-size: 13px; line-height: 1.45; }
.spec-row dd small { display: block; margin-top: 2px; color: rgba(242, 240, 233, 0.55); font-size: 11px; }

.spec-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.model-shot {
  margin-top: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 1.25rem;
  background: var(--ink);
}

.model-shot img { width: 100%; height: auto; }

.model-shot figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-light);
  color: var(--paper);
  font-family: var(--pixel);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.model-shot figcaption span:last-child { color: var(--pink); }

/* ---------- capabilities ---------- */

.verb-stack {
  display: flex;
  flex-direction: column;
  margin: 0 0 clamp(40px, 6vw, 72px);
  font-size: clamp(58px, 11.5vw, 164px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.verb-stack span:nth-child(1) { color: var(--paper); }
.verb-stack span:nth-child(2) { color: var(--pink); }
.verb-stack span:nth-child(3) { color: var(--paper); }
.verb-stack span:nth-child(4) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(242, 240, 233, 0.22);
  background: rgba(242, 240, 233, 0.22);
}

.cap {
  min-height: 230px;
  padding: 26px;
  background: var(--ink);
  transition: background 0.3s var(--ease);
}

.cap:hover { background: var(--blue); }

.cap .n {
  display: block;
  margin-bottom: 34px;
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.cap:hover .n { color: var(--paper); }

.cap h3 { color: var(--paper); }
.cap p { margin: 0; color: rgba(242, 240, 233, 0.74); font-size: 14px; line-height: 1.6; }
.cap:hover p { color: rgba(242, 240, 233, 0.9); }

/* ---------- run ---------- */

.deploy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.code-stack { display: grid; gap: 16px; }

.code-card {
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--ink);
  color: var(--paper);
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(242, 240, 233, 0.14);
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.code-card pre {
  margin: 0;
  padding: 20px 18px;
  overflow-x: auto;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.code-card pre .c { color: rgba(242, 240, 233, 0.62); }
.code-card pre .g { color: var(--pink); }
.code-card pre .b { color: var(--lav); }

.param-card {
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 1.5rem;
  background: transparent;
}

.param-card .pixel { display: block; margin-bottom: 18px; color: var(--blue); }

.param-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 11px;
}

.param-row:last-of-type { border-bottom: 0; }
.param-row span:first-child { text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.62; }
.param-row span:last-child { font-weight: 600; }

.param-note { margin: 20px 0 0; font-size: 13px; line-height: 1.65; opacity: 0.72; }

/* ---------- fikra model 2 ---------- */

.fikra2 {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--ink);
  color: var(--paper);
}

.fikra2-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(240, 166, 255, 0.3);
  border-radius: 2rem;
  background: linear-gradient(135deg, #1a0d24, #0c0912 58%, #180b1e);
}

.fikra2-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(240, 166, 255, 0.45) 1.4px, transparent 1.5px);
  background-size: 13px 13px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(circle at 82% 46%, #000 0%, transparent 58%);
  mask-image: radial-gradient(circle at 82% 46%, #000 0%, transparent 58%);
}

.fikra2-copy { position: relative; z-index: 1; }

.coming {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.coming::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.fikra2 h2 { max-width: 12ch; }
.fikra2 h2 .pink-text { color: var(--pink); }
.fikra2 .lead { color: rgba(242, 240, 233, 0.74); }

.f2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(240, 166, 255, 0.22);
  background: rgba(240, 166, 255, 0.22);
}

.f2 {
  min-height: 150px;
  padding: 18px;
  background: rgba(10, 7, 14, 0.72);
}

.f2 strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.f2 p { margin: 0; color: rgba(242, 240, 233, 0.76); font-size: 13px; line-height: 1.55; }

.fikra2 .cta-row { position: relative; z-index: 1; }

.fikra2-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.fikra2-art .big02 {
  position: relative;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
  font-family: var(--pixel);
  font-size: clamp(110px, 16vw, 210px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  transform: translateX(12%);
}

.fikra2-art img {
  position: absolute;
  z-index: 2;
  width: min(52%, 220px);
  height: auto;
  opacity: 0.94;
  transform: translate(-24%, 14%);
}

.fikra2-art::after {
  content: "VISION / SPEED / NATIVE";
  position: absolute;
  right: 0;
  bottom: 4%;
  color: rgba(240, 166, 255, 0.55);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
}

/* ---------- edge runtime ---------- */

.edge-runtime {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--ink);
}

.edge-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 2rem;
  background: var(--blue);
  color: var(--paper);
}

.edge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(242, 240, 233, 0.42) 1.4px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(circle at 84% 50%, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle at 84% 50%, #000 0%, transparent 60%);
}

.edge-copy { position: relative; z-index: 1; }

.coming.on-blue { border-color: rgba(242, 240, 233, 0.6); color: var(--paper); }
.coming.on-blue::before { background: var(--paper); box-shadow: 0 0 10px rgba(242, 240, 233, 0.8); }

.edge-card h2 { max-width: 13ch; }
.edge-card h2 .pink-text { color: var(--pink); }
.edge-card .lead { color: rgba(242, 240, 233, 0.86); }

.edge-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.edge-feature { padding-top: 14px; border-top: 1px solid rgba(242, 240, 233, 0.4); }

.edge-feature strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--pixel);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edge-feature p { margin: 0; color: rgba(242, 240, 233, 0.88); font-size: 12.5px; line-height: 1.55; }

.edge-note {
  margin: 20px 0 0;
  color: rgba(242, 240, 233, 0.82);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
}

.edge-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  min-height: 400px;
}

.edge-stack { width: min(100%, 380px); }

.edge-layer {
  padding: 16px 14px;
  border: 1px solid rgba(242, 240, 233, 0.6);
  color: var(--paper);
  font-family: var(--pixel);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.edge-layer.main {
  padding: 24px 16px;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.edge-layer.main small {
  display: block;
  margin-top: 9px;
  color: rgba(5, 5, 7, 0.6);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.edge-connector { width: 1px; height: 22px; margin: 0 auto; background: rgba(242, 240, 233, 0.6); }

.edge-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }

.edge-row span {
  padding: 10px 6px;
  border: 1px solid rgba(242, 240, 233, 0.45);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.edge-seal {
  padding: 10px 14px;
  border: 1px dashed rgba(242, 240, 233, 0.55);
  font-family: var(--pixel);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-align: center;
}

.edge-seal span {
  display: block;
  margin-top: 5px;
  color: rgba(242, 240, 233, 0.84);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(40px, 6vw, 72px) 0 28px;
  border-top: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand img { width: 42px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; margin: 0; color: rgba(242, 240, 233, 0.72); font-size: 13.5px; line-height: 1.65; }

.footer-brand .loc {
  margin-top: 18px;
  color: rgba(242, 240, 233, 0.62);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 5px 0;
  color: rgba(242, 240, 233, 0.72);
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(242, 240, 233, 0.64);
  font-family: var(--mono);
  font-size: 10.5px;
}

.footer-bottom .mono { color: var(--pink); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .hero-art { min-height: 340px; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; margin-top: 12px; }
  .hero-heart { width: min(60%, 320px); }
  .model-grid { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
  .fikra2-card { grid-template-columns: 1fr; }
  .fikra2-art { min-height: 260px; order: -1; }
  .edge-card { grid-template-columns: 1fr; }
  .edge-art { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .brand-tag { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-left: 0; border-top: 1px solid rgba(242, 240, 233, 0.32); padding-left: 0; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-top: 0; }
  .hero-stat:nth-child(even) { border-left: 1px solid rgba(242, 240, 233, 0.32); padding-left: 16px; }
  .hero-stat:nth-child(1) { padding-left: 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { min-height: 0; padding: 22px; }
  .edge-features { grid-template-columns: 1fr; gap: 14px; }
  .cap .n { margin-bottom: 18px; }
  .f2-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .spec-row { grid-template-columns: 96px minmax(0, 1fr); }
  .verb-stack { font-size: clamp(52px, 17vw, 86px); }
}

@media (max-width: 430px) {
  .brand-word { font-size: 17px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat, .hero-stat:nth-child(even) { border-left: 0; border-top: 1px solid rgba(242, 240, 233, 0.32); padding-left: 0; }
  .hero-stat:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .code-card pre { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
