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

:root {
  --bg:       #FFFFFF;
  --bg-alt:   #F6F6F3;
  --bg-dark:  #0F0F0F;
  --t1:       #0C0C0C;
  --t2:       #3C3C3C;
  --t3:       #7A7A7A;
  --t4:       #B4B4B4;
  --accent:   #7E33FF;
  --a-bg:     rgba(126,51,255,.07);
  --border:   #E4E4E0;
  --b-dark:   #1E1E1E;
  --font:     'Inter', system-ui, -apple-system, sans-serif;
  --mono:     'JetBrains Mono', 'SF Mono', monospace;
  --max:      1100px;
  --pad:      clamp(24px, 5vw, 80px);
}

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.wrap {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: 128px 0; }

/* ── Animations ── */
[data-r] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  .8s cubic-bezier(.22,1,.36,1),
    transform .8s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
[data-r].in { opacity: 1; transform: translateY(0); }
[data-d="1"] { transition-delay: .08s; }
[data-d="2"] { transition-delay: .16s; }
[data-d="3"] { transition-delay: .24s; }
[data-d="4"] { transition-delay: .32s; }
[data-d="5"] { transition-delay: .40s; }
[data-d="6"] { transition-delay: .48s; }
[data-d="7"] { transition-delay: .56s; }

/* ────────────── NAV ────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 64px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
#nav.stuck {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nav-brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--t1);
  text-decoration: none;
  display: flex;
  align-items: center;
  /* gap: 8px; */
}
.nav-logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  padding-right: 8px;
}
.nav-brand em { font-style: normal; color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--t3);
  text-decoration: none;
  letter-spacing: -.005em;
  transition: color .2s;
}
.nav-link:hover { color: var(--t1); }
.nav-mail {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t3);
  text-decoration: none;
  transition: color .2s;
}
.nav-mail:hover { color: var(--accent); }
@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ────────────── HERO ────────────── */
#hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .45;
  mask-image: linear-gradient(to bottom, transparent 5%, black 22%, black 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 22%, black 78%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

h1 {
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 600;
  letter-spacing: -.038em;
  line-height: 1.0;
  color: var(--t1);
  margin-bottom: 32px;
  max-width: 18ch;
}
h1 .dim { color: var(--t3); }
h1 .dot {
  color: var(--accent);
  display: inline-block;
  animation: dot-bounce 2.4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes dot-bounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-10px); }
  55%       { transform: translateY(-4px); }
  70%       { transform: translateY(-8px); }
  85%       { transform: translateY(-2px); }
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--t2);
  line-height: 1.72;
  max-width: 52ch;
  margin-bottom: 60px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 7px 14px;
  border: 1px solid var(--border);
  color: var(--t2);
  background: var(--bg);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--t4);
}
.sc-line {
  width: 36px;
  height: 1px;
  background: var(--t4);
  position: relative;
  overflow: hidden;
}
.sc-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan {
  0%,100% { transform: translateX(-100%); }
  50%      { transform: translateX(100%); }
}

/* ────────────── SHARED SECTION HEADER ────────────── */
.sh { margin-bottom: 64px; }
.sh-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.04;
  color: var(--t1);
  margin-bottom: 20px;
}
.sh-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--t3);
  max-width: 58ch;
  line-height: 1.72;
}

/* ────────────── PROBLEMS ────────────── */
#problems { background: var(--bg-alt); }
#problems .sh { margin-bottom: 32px; }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 900px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .problems-grid { grid-template-columns: 1fr; }
}

.prob-card {
  background: var(--bg-alt);
  padding: 28px 24px;
  transition: background .25s ease;
}
.prob-card:hover { background: var(--bg); }
.prob-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.prob-icon svg { width: 18px; height: 18px; }
.prob-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--t1);
  margin-bottom: 10px;
}
.prob-card p {
  font-size: 13.5px;
  color: var(--t3);
  line-height: 1.72;
}

/* ── Problems sub-label ── */
.prob-group { margin-bottom: 40px; }
.prob-group:last-of-type { margin-bottom: 0; }
.prob-sublabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.prob-sublabel::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ── Sovereignty card ── */
.sov-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 24px;
  background: var(--bg-alt);
  padding: 28px 28px;
  transition: background .25s ease;
}
.sov-card:hover { background: var(--bg); }
.sov-card .prob-icon { margin-bottom: 0; flex-shrink: 0; }
.sov-body h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--t1);
  margin-bottom: 10px;
}
.sov-body p {
  font-size: 13.5px;
  color: var(--t3);
  line-height: 1.72;
  max-width: 74ch;
}

/* ── Pricing table ── */
.pricing {
  margin-top: 64px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.pricing-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-header h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--t1);
  margin-bottom: 4px;
}
.pricing-header p {
  font-size: 12px;
  color: var(--t4);
  font-family: var(--mono);
}
.pricing-cols {
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--t4);
  padding: 12px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: var(--bg); }
.pricing-model {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}
.badge-us  { background: var(--a-bg); color: var(--accent); }
.badge-oai { background: rgba(16,163,127,.08); color: #10A37F; }
.badge-ggl { background: rgba(66,133,244,.08); color: #4285F4; }
.badge-ds  { background: rgba(91,164,245,.08); color: #5BA4F5; }
.pricing-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t1);
  letter-spacing: -.01em;
}
.pricing-val {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  letter-spacing: -.01em;
}
.pricing-val.hi { color: var(--t1); }
.pricing-val.lo { color: #4EC98A; }
@media (max-width: 640px) {
  .pricing-cols { grid-template-columns: 1fr 100px 100px; padding: 12px 16px; }
  .pricing-row  { grid-template-columns: 1fr 100px 100px; padding: 14px 16px; }
  .pricing-header { padding: 20px 16px 14px; }
}

/* ────────────── METHOD ────────────── */
#method { background: var(--bg); }

.method-layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 80px;
  align-items: start;
}
.method-sticky {
  position: sticky;
  top: 88px;
}
@media (max-width: 820px) {
  .method-layout { grid-template-columns: 1fr; gap: 48px; }
  .method-sticky  { position: static; }
}

.timeline {
  position: relative;
  max-width: 620px;
  margin-top: 72px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  z-index: 0;
}

.tl-item {
  position: relative;
  padding: 0 0 52px 36px;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-node {
  position: absolute;
  left: 0;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  z-index: 1;
  transform: scale(0);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1) .28s;
}
.tl-item.in .tl-node { transform: scale(1); }

.tl-idx {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--t4);
  letter-spacing: .10em;
  margin-bottom: 8px;
}
.tl-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--t1);
  margin-bottom: 8px;
}
.tl-item p {
  font-size: 14px;
  color: var(--t3);
  line-height: 1.72;
}

/* ────────────── PROJECTS ────────────── */
#projects { background: var(--bg-alt); }

.proj-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
}

.proj-content {
  background: var(--bg);
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.proj-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--a-bg);
  padding: 5px 10px;
  margin-bottom: 32px;
  width: fit-content;
}
.proj-content h3 {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.22;
  color: var(--t1);
  margin-bottom: 20px;
}
.proj-content > p {
  font-size: 14px;
  color: var(--t3);
  line-height: 1.76;
  margin-bottom: 36px;
}
.proj-results { display: flex; flex-direction: column; gap: 11px; }
.proj-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.58;
}
.proj-result::before {
  content: '—';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Visual panel ── */
.proj-visual {
  background: var(--bg-dark);
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.terminal {
  width: 100%;
  max-width: 420px;
}
.term-bar {
  background: #1A1A1A;
  border: 1px solid #282828;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.td { width: 11px; height: 11px; border-radius: 50%; }
.td:nth-child(1) { background: #FF5F57; }
.td:nth-child(2) { background: #FFBD2E; }
.td:nth-child(3) { background: #28C840; }
.term-title {
  font-family: var(--mono);
  font-size: 11px;
  color: #505050;
  margin: 0 auto;
  letter-spacing: .04em;
}
.term-body {
  background: #0C0C0C;
  border: 1px solid #282828;
  border-radius: 0 0 6px 6px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tl {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  white-space: pre;
  letter-spacing: 0;
}
.tl-sp { height: 8px; }
.c-dim    { color: #333; }
.c-muted  { color: #555; }
.c-gray   { color: #888; }
.c-white  { color: #D8D8D8; }
.c-blue   { color: #5BA4F5; }
.c-green  { color: #4EC98A; }
.c-yellow { color: #E5BE72; }
.c-accent { color: #6B9FFF; }
.cursor::after {
  content: '▋';
  animation: blink 1.1s step-end infinite;
  color: #5BA4F5;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ────────────── PROJECT CAROUSEL ────────────── */
.proj-carousel { width: 100%; display: flex; flex-direction: column; }

.pc-slides { flex: 1; position: relative; min-height: 400px; }

.pc-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .7s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 3vw, 40px);
}
.pc-slide.active { opacity: 1; pointer-events: auto; }

.pc-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 7px; padding: 18px; flex-shrink: 0;
}
.pc-dot {
  height: 5px; width: 5px; border-radius: 3px;
  background: #2c2c2c; border: none; cursor: pointer; padding: 0;
  transition: background .25s, width .35s cubic-bezier(.34,1.56,.64,1);
}
.pc-dot.active { background: var(--accent); width: 22px; }

/* ── UI card shared ── */
.pcu {
  background: #fff; border-radius: 10px; overflow: hidden; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.pcu-dark { background: #111; }

.pcu-topbar {
  padding: 10px 14px; display: flex; align-items: center; gap: 7px;
  background: #f7f7f5; border-bottom: 1px solid #ebebea;
}
.pcu-dark .pcu-topbar { background: #1a1a1a; border-color: #252525; }
.pcu-td { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.pcu-td:nth-child(1) { background: #FF5F57; }
.pcu-td:nth-child(2) { background: #FFBD2E; }
.pcu-td:nth-child(3) { background: #28C840; }
.pcu-label {
  font-family: var(--mono); font-size: 11px; color: #bbb;
  margin: 0 auto; letter-spacing: .04em;
}
.pcu-dark .pcu-label { color: #444; }

.pcu-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 13px; }

/* ── Slide 1 — Document ── */
.pcu-file {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; background: #f9f9f7;
  border-radius: 7px; border: 1px solid #ededeb;
}
.pcu-file-ico { font-size: 20px; color: var(--accent); flex-shrink: 0; }
.pcu-file-info { flex: 1; min-width: 0; }
.pcu-file-name { font-size: 12px; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcu-file-meta { font-family: var(--mono); font-size: 10.5px; color: #aaa; margin-top: 2px; }
.pcu-ok { font-size: 10.5px; font-weight: 600; color: #16a34a; background: #dcfce7; padding: 3px 8px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }

.pcu-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pcu-field { padding: 9px 11px; background: #f9f9f7; border-radius: 6px; }
.pcu-flabel { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em; color: #bbb; margin-bottom: 3px; }
.pcu-fval { font-size: 12.5px; font-weight: 500; color: #1a1a1a; }
.pcu-fval.acc { color: var(--accent); font-weight: 600; }

.pcu-score-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.pcu-score-lbl { font-size: 11px; color: #999; font-family: var(--mono); }
.pcu-score-num { font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: -.03em; }
.pcu-track { height: 5px; background: #f0f0ee; border-radius: 3px; overflow: hidden; }
.pcu-fill { height: 100%; background: linear-gradient(90deg, #7E33FF, #A470FF); border-radius: 3px; }
.pcu-cta {
  text-align: center; padding: 10px 14px; background: var(--accent);
  color: #fff; border-radius: 7px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  letter-spacing: -.005em;
}

/* ── Slide 2 — Pipeline ── */
.pcu-pipe {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center; gap: 0; padding: 8px 0 14px;
}
.pcu-agent { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 8px; }
.pcu-agent.done   { background: rgba(34,197,94,.08); }
.pcu-agent.run    { background: rgba(126,51,255,.12); }
.pcu-agent.wait   { background: rgba(255,255,255,.03); }
.pcu-aico {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  background: #1e1e1e; color: #444;
}
.done .pcu-aico { background: rgba(34,197,94,.15); color: #4ade80; }
.run  .pcu-aico { background: rgba(126,51,255,.2);  color: #a78bfa; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.run .pcu-aico { animation: spin-slow 2s linear infinite; }
.pcu-aname { font-size: 11px; font-weight: 600; color: #555; }
.pcu-acount { font-family: var(--mono); font-size: 10px; color: #444; }
.done .pcu-aname { color: #4ade80; }
.run  .pcu-aname { color: #c4a0ff; }
.pcu-arr { color: #2a2a2a; font-size: 18px; padding: 0 2px; line-height: 1; }

.pcu-logbox { border-top: 1px solid #1e1e1e; padding-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.pcu-logline { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; }
.pcu-logline.done { color: #3a6a3a; }
.pcu-logline.ok   { color: #4ade80; }
.pcu-logline.run  { color: #a78bfa; }

/* ── Slide 3 — Dashboard ── */
.pcu-dash-head { display: flex; justify-content: space-between; align-items: flex-start; }
.pcu-dash-title { font-size: 13.5px; font-weight: 600; color: #0c0c0c; margin-bottom: 3px; }
.pcu-dash-sub { font-family: var(--mono); font-size: 10.5px; color: #bbb; }
.pcu-live {
  font-size: 10px; font-weight: 600; color: #16a34a;
  background: #dcfce7; padding: 4px 9px; border-radius: 10px;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.pcu-live::before {
  content: ''; width: 5px; height: 5px; background: #22c55e;
  border-radius: 50%; animation: live-pulse 2s ease infinite; flex-shrink: 0;
}
@keyframes live-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.pcu-opps { display: flex; flex-direction: column; gap: 5px; }
.pcu-opp {
  display: grid; grid-template-columns: 68px 1fr 56px 36px 28px;
  align-items: center; gap: 8px;
  padding: 9px 10px; background: #f9f9f7; border-radius: 5px;
}
.pcu-opp-tag {
  font-family: var(--mono); font-size: 9px; color: var(--accent);
  background: var(--a-bg); padding: 2px 6px; border-radius: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcu-opp-name { font-size: 12px; font-weight: 500; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcu-mbar { height: 3px; background: #e8e8e6; border-radius: 2px; overflow: hidden; }
.pcu-mbar div { height: 100%; background: var(--accent); border-radius: 2px; }
.pcu-pct { font-family: var(--mono); font-size: 11px; font-weight: 600; text-align: right; }
.pcu-pct.hi { color: var(--accent); }
.pcu-pct.md { color: #d97706; }
.pcu-pct.lo { color: #9ca3af; }
.pcu-dead { font-family: var(--mono); font-size: 10px; color: #bbb; text-align: right; }
.pcu-footer { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid #f0f0ee; }
.pcu-footer span { font-family: var(--mono); font-size: 10px; color: #ccc; }

/* ────────────── ABOUT ────────────── */
#about { background: var(--bg); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 820px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-sticky  { position: static; }
}

.about-sticky {
  position: sticky;
  top: 88px;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-sticky h2 { margin-bottom: 28px; }

.about-body p {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--t2);
  line-height: 1.82;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.about-body p:first-child { padding-top: 0; border-top: 1px solid var(--border); }

.about-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(126,51,255,.3);
  transition: border-color .2s;
}
.about-link:hover { border-color: var(--accent); }

.about-tagline {
  margin-top: 40px;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  color: var(--t1);
  letter-spacing: -.015em;
  line-height: 1.5;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
}
.about-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 28px;
  background: var(--bg-alt);
  transition: background .2s;
}
.about-card:hover { background: var(--border); }
.about-card-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.04em;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.about-card-label {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.6;
}

/* ────────────── FOOTER ────────────── */
footer {
  padding: 52px var(--pad);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--t1);
  text-decoration: none;
}
.footer-brand em { font-style: normal; color: var(--accent); }
.footer-mail {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t3);
  text-decoration: none;
  transition: color .2s;
}
.footer-mail:hover { color: var(--accent); }
.footer-copy { font-size: 11px; color: var(--t4); }
.footer-makia3d {
  color: var(--t4);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer-makia3d:hover { color: var(--t2); border-color: var(--t3); }

/* ────────────── RESPONSIVE ────────────── */
@media (max-width: 768px) {
  section { padding: 80px 0; }
  #hero    { padding: 88px 0 80px; }
}

@media (max-width: 860px) {
  /* Souveraineté : icône au-dessus */
  .sov-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Projets : une colonne, terminal visible */
  .proj-card {
    grid-template-columns: 1fr;
  }
  .proj-visual {
    display: flex;
    padding: 0;
  }
  .proj-visual .terminal {
    max-width: 100%;
    border-radius: 0;
  }
  .proj-visual .term-bar {
    border-radius: 0;
  }
  .proj-content {
    padding: 28px 20px;
    min-width: 0;
    overflow: hidden;
  }
  .proj-content h3,
  .proj-content > p,
  .proj-result {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* À propos : layout colonne, pas de sticky */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-sticky {
    position: static;
  }
}
