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

:root {
  --navy: #0a0f1e;
  --navy-2: #0f172a;
  --navy-3: #1e293b;
  --navy-4: #334155;
  --indigo: #3f7d2a;
  --indigo-2: #5ea93c;
  --indigo-pale: #f0f7ec;
  --green: #16a34a;
  --green-pale: #f0fdf4;
  --amber: #d97706;
  --amber-pale: #fffbeb;
  --red: #dc2626;
  --red-pale: #fef2f2;
  --cyan: #52616f;
  --cyan-pale: #f1f5f9;
  --text: #0f172a;
  --text-2: #334155;
  --text-3: #64748b;
  --text-4: #94a3b8;
  --border: #e5e7eb;
  --border-2: #f1f5f9;
  --surface: #f8fafc;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  --cortega-green: #7ed348;
  --charcoal: #111827;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100; min-height: 64px;
  background: rgba(10, 15, 30, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; padding: 0 40px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: 34px; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  padding: 7px 12px; font-size: 13px; font-weight: 600; color: #94a3b8;
  text-decoration: none; border-radius: 999px; transition: color 0.15s, background 0.15s;
}
.nav-link:hover, .nav-link.active { color: #f8fafc; background: rgba(255,255,255,0.06); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-menu-toggle {
  display: none; width: 36px; height: 36px; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px; background: transparent;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 7px; cursor: pointer;
}
.nav-menu-toggle span { display: block; width: 16px; height: 2px; background: #94a3b8; border-radius: 999px; }
.nav-btn { padding: 8px 15px; font-size: 13px; font-weight: 700; border-radius: 7px; text-decoration: none; white-space: nowrap; }
.nav-btn-ghost { color: #cbd5e1; border: 1px solid rgba(255,255,255,0.16); }
.nav-btn-primary { background: #3f7d2a; color: #fff; }

/* ===== LAYOUT ===== */
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-inner-wide { max-width: 1160px; margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.eyebrow.center { text-align: center; }
.section-title {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 850; letter-spacing: -0.9px;
  line-height: 1.08; color: var(--text); max-width: 760px;
}
.section-title.center { margin: 0 auto; text-align: center; }
.section-sub { font-size: 17px; color: var(--text-3); line-height: 1.65; max-width: 690px; margin-top: 18px; }
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.band { padding: 86px 40px; }
.band.alt { background: var(--surface); }
.band.dark { background: var(--navy); }
.band.compact { padding: 58px 40px; }

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; min-height: 46px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 800; transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #3f7d2a; color: #fff; }
.btn-secondary { color: #e2e8f0; border: 1px solid rgba(255,255,255,0.18); }
.btn-light { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.btn-cta { display: inline-flex; align-items: center; padding: 13px 26px; font-size: 15px; font-weight: 800; border-radius: 9px; text-decoration: none; background: #3f7d2a; color: #fff; border: none; transition: all 0.15s; }
.btn-cta:hover { background: #2d5a1b; transform: translateY(-1px); }

/* ===== HERO (shared for homepage & subpages) ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(126,211,72,0.11), rgba(10,15,30,0) 42%), var(--navy);
  padding: 86px 40px 56px;
}
.hero-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr minmax(420px, 0.9fr); gap: 56px; align-items: start;
}
.hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 880; letter-spacing: -1.2px; line-height: 1.05; color: #f8fafc; margin-bottom: 24px; }
.hero h1 span { color: #7ed348; font-weight: 900; }
.hero-copy { font-size: 18px; color: #aab7ca; line-height: 1.68; max-width: 650px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero .eyebrow { color: #bbf7d0; }

.page-hero {
  background: linear-gradient(180deg, rgba(126,211,72,0.10), rgba(10,15,30,0) 45%), var(--navy);
  padding: 78px 40px;
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; }
.page-hero h1 { color: #f8fafc; font-size: clamp(38px, 5vw, 64px); font-weight: 880; letter-spacing: -1.3px; line-height: 1; margin-bottom: 20px; }
.page-hero h1 em { font-style: normal; color: #bbf7d0; }
.page-hero h1 span { color: #bbf7d0; }
.page-hero p { color: #aab7ca; font-size: 18px; line-height: 1.65; }
.page-hero .eyebrow { color: #bbf7d0; }

/* ===== PROOF PILLS ===== */
.proof-row { display: flex; flex-wrap: wrap; gap: 9px; }
.proof-pill {
  display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 750;
}
.proof-pill::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: #7ed348; }

/* ===== TRAFFIC CONSOLE ===== */
.traffic-console { background: rgba(15,23,42,0.86); border: 1px solid rgba(148,163,184,0.22); border-radius: 14px; box-shadow: 0 34px 90px rgba(0,0,0,0.38); overflow: hidden; }
.console-top { min-height: 42px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(148,163,184,0.16); padding: 0 16px; color: #cbd5e1; font-size: 12px; font-weight: 800; }
.status-live { color: #bbf7d0; background: rgba(22,163,74,0.14); border: 1px solid rgba(34,197,94,0.28); border-radius: 999px; padding: 4px 9px; }
.traffic-body { padding: 18px; }
.traffic-flow { display: grid; grid-template-columns: 1fr 44px 1.1fr 44px 1fr; align-items: center; gap: 10px; margin-bottom: 16px; }
.flow-node { min-height: 104px; border: 1px solid rgba(148,163,184,0.18); background: rgba(255,255,255,0.035); border-radius: 10px; padding: 14px; }
.flow-label { color: #94a3b8; font-size: 10.5px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.tool-list { display: grid; gap: 7px; }
.tool-chip { color: #e2e8f0; background: rgba(148,163,184,0.08); border: 1px solid rgba(148,163,184,0.14); border-radius: 7px; padding: 8px 9px; font-size: 12px; font-weight: 700; }
.flow-core { min-height: 132px; border-color: rgba(126,211,72,0.4); background: linear-gradient(180deg, rgba(126,211,72,0.14), rgba(255,255,255,0.035)); }
.arrow { height: 1px; background: rgba(148,163,184,0.34); position: relative; }
.arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 1px solid rgba(148,163,184,0.58); border-right: 1px solid rgba(148,163,184,0.58); transform: rotate(45deg); }
.decision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.decision { background: rgba(10,15,30,0.72); border: 1px solid rgba(148,163,184,0.14); border-radius: 8px; padding: 10px; }
.decision b { display: block; color: #f8fafc; font-size: 12px; margin-bottom: 6px; }
.decision span { color: #94a3b8; font-size: 11px; line-height: 1.4; }
.event-stack { display: grid; gap: 8px; margin-top: 12px; }
.event-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; color: #cbd5e1; background: rgba(255,255,255,0.035); border: 1px solid rgba(148,163,184,0.13); border-radius: 8px; padding: 9px 10px; font-size: 12px; }
.event-row strong { color: #f8fafc; }
.event-row code { color: #9fe870; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 4px 8px; font-size: 10.5px; font-weight: 850; white-space: nowrap; }
.badge.green { color: #166534; background: #dcfce7; }
.badge.red { color: #991b1b; background: #fee2e2; }
.badge.amber { color: #92400e; background: #fef3c7; }
.badge.indigo { color: #235314; background: #dcfce7; }
.badge.dark { color: #cbd5e1; background: rgba(148,163,184,0.12); border: 1px solid rgba(148,163,184,0.18); }

/* ===== LOGO BAR ===== */
/* Scrolling logo marquee */
.logo-track-wrap {
  overflow: hidden; margin-top: 24px;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-track {
  display: flex; align-items: flex-start; gap: 28px;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}
.logo-mark {
  height: 48px; width: auto; display: block; margin: 0 auto;
}
.logo-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex-shrink: 0; opacity: 0.95; padding: 0 8px;
}
.logo-item small {
  font-size: 10.5px; font-weight: 600; color: var(--text-4);
  white-space: nowrap; letter-spacing: 0.2px;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-note { color: var(--text-4); font-size: 12.5px; line-height: 1.55; text-align: center; max-width: 640px; margin: 22px auto 0; }

/* ===== COMPARISON TABLE ===== */
.cmp-wrap { margin-top: 34px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 16px 50px rgba(15,23,42,0.08); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { text-align: center; padding: 14px 14px; border-bottom: 1px solid var(--border-2); font-size: 13px; }
.cmp thead th { vertical-align: bottom; color: var(--text); font-size: 14px; font-weight: 850; border-bottom: 2px solid var(--border); }
.cmp thead th span { display: block; color: var(--text-3); font-size: 11px; font-weight: 650; margin-top: 4px; }
.cmp td:first-child, .cmp th.cmp-cap { text-align: left; color: var(--text); font-weight: 700; line-height: 1.4; }
.cmp .cmp-us, .cmp th.cmp-us { background: #eef7e8; }
.cmp thead th.cmp-us { color: #2d5a1b; border-bottom-color: #3f7d2a; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp i { font-style: normal; font-weight: 900; font-size: 16px; }
.cmp i.yes { color: #2d5a1b; }
.cmp i.no { color: #d1d5db; }
.cmp i.mid { color: var(--amber); }

/* ===== CAPABILITY GRID ===== */
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.capability { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.capability h3 { font-size: 15px; margin-bottom: 9px; line-height: 1.3; }
.capability p { color: var(--text-3); font-size: 13.5px; line-height: 1.6; }
.capability.accent-indigo { border-top: 3px solid var(--indigo); }
.capability.accent-green { border-top: 3px solid var(--green); }
.capability.accent-amber { border-top: 3px solid var(--amber); }
.capability.accent-red { border-top: 3px solid var(--red); }
.capability.accent-cyan { border-top: 3px solid var(--cyan); }

/* ===== USECASE CARDS ===== */
.usecase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.usecase-card { display: flex; flex-direction: column; gap: 14px; min-height: 238px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-decoration: none; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.usecase-card:hover { transform: translateY(-2px); border-color: #c7d2fe; box-shadow: 0 18px 45px rgba(15,23,42,0.08); }
.quote { font-size: 17px; font-weight: 830; line-height: 1.28; color: var(--text); }
.usecase-card p { color: var(--text-3); line-height: 1.55; font-size: 13.5px; }
.usecase-meta { margin-top: auto; display: flex; gap: 7px; flex-wrap: wrap; }

/* ===== DEPLOY / PLANE CARDS ===== */
.edge-core { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.plane-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.deploy-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.deploy-card h3 { font-size: 16px; margin-bottom: 10px; }
.deploy-card p { color: var(--text-3); font-size: 13.5px; line-height: 1.6; }

/* ===== SHADOW CALLOUT ===== */
.shadow-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 30px; padding: 26px 28px; background: var(--navy-2); border-radius: var(--radius-lg); }
.shadow-callout h3 { color: #f8fafc; font-size: 20px; letter-spacing: -0.3px; margin-bottom: 8px; }
.shadow-callout p { color: #94a3b8; font-size: 14px; line-height: 1.6; max-width: 620px; }
.shadow-callout .btn { flex-shrink: 0; }

/* ===== PROOF LINE ===== */
.proof-line { margin-top: 26px; padding: 14px 18px; border-left: 3px solid var(--cortega-green); background: rgba(126,211,72,0.07); border-radius: 0 8px 8px 0; color: #d7e5cf; font-size: 14px; font-weight: 650; line-height: 1.55; }

/* ===== CONTEXT SHOT ===== */
.context-shot { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 26px; align-items: center; margin-top: 34px; }
.context-shot.reverse { grid-template-columns: 1.05fr 0.95fr; }
.context-shot.reverse .context-copy { order: 2; }
.context-shot.reverse .product-shot { order: 1; }
.context-copy h3 { font-size: 21px; margin-bottom: 10px; }
.context-copy p { color: var(--text-3); font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.context-list { list-style: none; display: grid; gap: 8px; }
.context-list li { color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.context-list li::before { content: "→ "; color: #3f7d2a; font-weight: 900; }

/* ===== PRODUCT SHOTS ===== */
.product-shot { background: #0b111c; border: 1px solid #243044; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.product-shot img { display: block; width: 100%; height: auto; }
.shot-caption { border-top: 1px solid #243044; padding: 13px 15px; background: #111827; }
.shot-caption b { display: block; color: #f8fafc; font-size: 13.5px; margin-bottom: 5px; }
.shot-caption span { color: #9ca3af; font-size: 12.5px; line-height: 1.45; }

/* ===== ARCHITECTURE ===== */
.architecture-panel { margin-top: 36px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08); }
.arch-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.arch-title p { color: var(--text-3); font-size: 13.5px; line-height: 1.55; max-width: 680px; }
.arch-graph { position: relative; min-height: 520px; border: 1px solid var(--border-2); border-radius: var(--radius); background: linear-gradient(90deg, rgba(15,23,42,0.035) 1px, transparent 1px), linear-gradient(180deg, rgba(15,23,42,0.035) 1px, transparent 1px), #fbfdff; background-size: 42px 42px; overflow: hidden; }
.arch-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.traffic-edge { fill: none; stroke: #64748b; stroke-width: 2; opacity: 0.52; }
.control-edge { fill: none; stroke: #3f7d2a; stroke-width: 2; stroke-dasharray: 8 8; opacity: 0.78; }
.graph-pulse { fill: var(--cortega-green); filter: drop-shadow(0 0 8px rgba(126,211,72,0.7)); }
.graph-pulse.control { fill: #3f7d2a; }
.graph-pulse.p1 { offset-path: path("M144 96 C235 112 270 128 362 154"); animation: graphTravel 3.2s linear infinite; }
.graph-pulse.p2 { offset-path: path("M146 190 C250 190 292 184 394 190"); animation: graphTravel 3.8s linear infinite 0.5s; }
.graph-pulse.p3 { offset-path: path("M145 395 C250 385 305 352 404 304"); animation: graphTravel 4.2s linear infinite 1s; }
.graph-pulse.p4 { offset-path: path("M613 118 C594 160 588 205 588 270"); animation: graphTravel 4.8s linear infinite 0.3s; }
@keyframes graphTravel { from { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }
.graph-node { position: absolute; width: 142px; min-height: 66px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08); padding: 12px; z-index: 2; }
.graph-node span { display: block; color: var(--text); font-size: 13.5px; font-weight: 850; margin-bottom: 5px; }
.graph-node small { display: block; color: var(--text-3); font-size: 11.5px; line-height: 1.35; }
.graph-node.surface { border-left: 4px solid #64748b; }
.graph-node.gateway { border-left: 4px solid var(--cortega-green); background: #fbfef9; }
.graph-node.resource { border-left: 4px solid #d97706; }
.graph-node.management { width: 178px; background: #111827; border-color: #263244; border-left: 4px solid var(--cortega-green); }
.graph-node.management span { color: #f8fafc; }
.graph-node.management small { color: #9ca3af; }
.n-phone { left: 3%; top: 9%; }
.n-browser { left: 3.5%; top: 28%; }
.n-pc { left: 3%; top: 49%; }
.n-agent { left: 3.5%; top: 72%; }
.n-edge { left: 39%; top: 24%; }
.n-core { left: 40%; top: 51%; }
.n-mgmt { left: 58%; top: 33%; }
.n-cloud { right: 4%; top: 8%; }
.n-database { right: 4%; top: 33%; }
.n-mcp { right: 4%; top: 67%; }
.n-model { right: 4%; top: 82%; }
.graph-legend { position: absolute; left: 16px; bottom: 14px; z-index: 3; display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-3); font-size: 11.5px; font-weight: 750; }
.graph-legend span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.82); border: 1px solid var(--border); border-radius: 999px; padding: 5px 8px; }
.graph-legend i { width: 18px; height: 2px; display: inline-block; background: #64748b; }
.graph-legend i.control { background: repeating-linear-gradient(90deg, #3f7d2a 0 5px, transparent 5px 8px); }

/* ===== DETAIL LAYOUT (for subpages) ===== */
.detail { padding: 88px 40px; }
.detail-alt { background: #fafafa; }
.detail-layout { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.detail-layout.flipped { grid-template-columns: 1fr 380px; }
.detail-layout.flipped .detail-desc { order: 2; }
.detail-layout.flipped .detail-cards { order: 1; }
.detail-left h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; margin-bottom: 18px; color: var(--text); }
.detail-left p { font-size: 16px; color: var(--text-3); line-height: 1.7; }
.detail-right, .detail-cards { display: flex; flex-direction: column; gap: 14px; }
.dcard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; border-left: 3px solid transparent; }
.dcard-red { border-left-color: #ef4444; }
.dcard-indigo { border-left-color: var(--indigo); }
.dcard-green { border-left-color: var(--green); }
.dcard-amber { border-left-color: #fcd34d; }
.dcard-blue { border-left-color: #93c5fd; }
.dcard h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.dcard p { font-size: 13.5px; color: var(--text-3); line-height: 1.65; }

.section-label { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.label-red { color: #ef4444; }
.label-indigo { color: var(--indigo); }
.label-green { color: var(--green); }
.label-amber { color: var(--amber); }
.label-blue { color: #2563eb; }
.label-slate { color: #64748b; }

/* ===== CARDS ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card-green-top { border-top: 3px solid var(--green); }
.card-indigo-top { border-top: 3px solid var(--indigo); }
.card-amber-top { border-top: 3px solid var(--amber); }
.card-icon { font-size: 24px; margin-bottom: 14px; display: block; }
.card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 12px; color: var(--text); }
.card p { font-size: 14px; color: var(--text-3); line-height: 1.65; }

/* ===== JOURNEY STEPS ===== */
.journey-steps { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.journey-step { display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--border-2); }
.journey-step:last-child { border-bottom: none; }
.step-num-col { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 4px; }
.step-num-badge { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.badge-indigo { background: var(--indigo-pale); color: var(--indigo); border: 2px solid #b7e6a2; }
.badge-green-step { background: var(--green-pale); color: var(--green); border: 2px solid #bbf7d0; }
.badge-amber-step { background: var(--amber-pale); color: var(--amber); border: 2px solid #fde68a; }
.step-connector { width: 2px; height: 40px; background: var(--border); }
.step-body h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 10px; color: var(--text); }
.step-body .step-phase { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.step-body p { font-size: 15px; color: var(--text-3); line-height: 1.7; margin-bottom: 16px; }
.step-checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.step-checklist li { font-size: 14px; color: var(--text-2); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.check-dot { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 10px; font-weight: 800; }
.check-indigo { background: var(--indigo-pale); color: var(--indigo); }
.check-green { background: var(--green-pale); color: var(--green); }
.check-amber { background: var(--amber-pale); color: var(--amber); }
.step-tag { display: inline-flex; align-items: center; margin-top: 14px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.tag-indigo { color: var(--indigo); background: var(--indigo-pale); border: 1px solid #b7e6a2; }
.tag-green { color: var(--green); background: var(--green-pale); border: 1px solid #bbf7d0; }
.tag-amber { color: var(--amber); background: var(--amber-pale); border: 1px solid #fde68a; }

/* ===== INDUSTRY GRID ===== */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.industry-card .ind-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.industry-card .pc-type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-4); }
.industry-card h3 { font-size: 17px; font-weight: 800; margin: 8px 0 10px; }
.industry-card p { font-size: 13.5px; color: var(--text-3); line-height: 1.65; margin-bottom: 16px; }
.industry-card .use-cases { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.industry-card .use-cases li { font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.industry-card .use-cases li::before { content: '→'; color: var(--indigo); font-weight: 700; }
.industry-card .ind-badge { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 20px; }
.ind-badge-green { color: var(--green); background: var(--green-pale); border: 1px solid #bbf7d0; }
.ind-badge-indigo { color: var(--indigo); background: var(--indigo-pale); border: 1px solid #b7e6a2; }

/* ===== PRODUCT SWITCHER ===== */
.prod-switcher { position: sticky; top: 64px; z-index: 90; background: var(--white); border-bottom: 1px solid var(--border); padding: 0 40px; display: flex; gap: 0; }
.prod-tab { padding: 16px 24px; font-size: 14px; font-weight: 600; color: var(--text-3); text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.15s; display: inline-block; }
.prod-tab:hover { color: var(--text); }
.prod-tab-fl:hover, .prod-tab-fl.active { color: var(--indigo); border-bottom-color: var(--indigo); }
.prod-tab-wf:hover, .prod-tab-wf.active { color: var(--green); border-bottom-color: var(--green); }
.prod-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.prod-badge-fl { background: var(--indigo-pale); color: #235314; }
.prod-badge-wf { background: var(--green-pale); color: #14532d; }
.prod-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.prod-left h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.7px; color: var(--text); line-height: 1.25; margin-bottom: 12px; }
.prod-left p { font-size: 15px; color: var(--text-3); line-height: 1.7; margin-bottom: 24px; }
.prod-stats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; padding: 18px; background: #fafafa; border: 1.5px solid var(--border); border-radius: var(--radius); }
.prod-stat { font-size: 13px; color: var(--text-2); font-weight: 600; }
.prod-stat span { color: var(--text-3); font-weight: 400; }
.feat-group { margin-bottom: 32px; }
.feat-group-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.feat-group-label-red { color: #ef4444; }
.feat-group-label-indigo { color: var(--indigo); }
.feat-group-label-green { color: var(--green); }
.feat-group-label-amber { color: var(--amber); }
.feat-items { display: flex; flex-direction: column; gap: 10px; }
.feat-item { padding: 16px 18px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); }
.feat-item-red { border-left: 3px solid #ef4444; }
.feat-item-indigo { border-left: 3px solid #b7e6a2; }
.feat-item-green { border-left: 3px solid var(--green); }
.feat-item-amber { border-left: 3px solid #fcd34d; }
.feat-item h4 { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.feat-item p { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

/* ===== RISK CARDS ===== */
.risk-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.risk-desc h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; margin-bottom: 18px; }
.risk-desc p { font-size: 16px; color: var(--text-3); line-height: 1.7; }
.risk-cards { display: flex; flex-direction: column; gap: 14px; }
.rcard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.rcard-red { border-left: 3px solid #ef4444; }
.rcard-amber { border-left: 3px solid var(--amber); }
.rcard-indigo { border-left: 3px solid var(--indigo); }
.rcard h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.rcard p { font-size: 13.5px; color: var(--text-3); line-height: 1.65; }

/* ===== PARTNER CARDS ===== */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.partner-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.partner-card .pc-logo { width: 48px; height: 48px; border-radius: 10px; background: var(--navy-3); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.partner-card h3 { font-size: 18px; font-weight: 800; color: var(--text); }
.partner-card .pc-type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-4); }
.partner-card p { font-size: 14px; color: var(--text-3); line-height: 1.65; }
.partner-card .pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pc-tag { font-size: 11.5px; font-weight: 600; color: var(--indigo); background: var(--indigo-pale); border: 1px solid #b7e6a2; padding: 3px 10px; border-radius: 20px; }
.partner-cta-note { margin-top: 32px; padding: 24px 28px; background: var(--indigo-pale); border: 1px solid #b7e6a2; border-radius: var(--radius-lg); display: flex; align-items: center; gap: 20px; }
.partner-cta-note p { font-size: 15px; color: #235314; line-height: 1.6; }
.partner-cta-note a { white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--indigo); text-decoration: underline; }

/* ===== USE CASE SECTIONS ===== */
.usecase-section { padding: 72px 40px; }
.usecase-section.alt { background: var(--surface); }
.case-layout { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr); gap: 54px; align-items: start; }
.case-sticky { position: sticky; top: 132px; }
.case-num { color: var(--text-4); font-size: 11px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.case-question { border-left: 3px solid var(--indigo); padding-left: 18px; font-size: clamp(21px, 2.3vw, 30px); font-weight: 850; line-height: 1.18; letter-spacing: -0.4px; }
.case-who { margin-top: 16px; color: var(--text-3); font-size: 13px; line-height: 1.55; }
.case-content { display: grid; gap: 14px; }
.approach { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.case-card h3 { font-size: 14.5px; margin-bottom: 8px; }
.case-card p, .case-card li { color: var(--text-3); font-size: 13.5px; line-height: 1.6; }
.case-card ul { list-style: none; display: grid; gap: 7px; }
.case-card li::before { content: "→ "; color: var(--indigo); font-weight: 900; }
.case-proof { background: #0b111c; border: 1px solid #253244; border-radius: var(--radius); overflow: hidden; margin-top: 2px; }
.case-proof img { display: block; width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; object-position: left top; }
.case-proof span { display: block; color: #cbd5e1; background: #111827; border-top: 1px solid #253244; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; }
.control-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.control-pill { text-decoration: none; color: #235314; background: var(--indigo-pale); border: 1px solid #b7e6a2; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }

/* ===== JUMP BAR ===== */
.jump-bar { position: sticky; top: 64px; z-index: 80; background: rgba(248,250,252,0.96); border-bottom: 1px solid var(--border); padding: 14px 40px; }
.jump-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump-inner::-webkit-scrollbar { display: none; }
.jump-link { white-space: nowrap; text-decoration: none; color: var(--text-2); background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; font-size: 12.5px; font-weight: 750; }
.jump-link:hover { color: var(--indigo); border-color: #b7e6a2; }

/* ===== CONTACT ===== */
.contact { background: var(--navy); padding: 88px 40px; }
.contact-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-left h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #f1f5f9; letter-spacing: -0.6px; line-height: 1.2; margin-bottom: 18px; }
.contact-left p { font-size: 16px; color: #64748b; line-height: 1.7; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid var(--navy-4); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ci-body h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 4px; }
.ci-body p { font-size: 13px; color: #64748b; line-height: 1.55; }
.contact-form { background: rgba(255,255,255,0.03); border: 1px solid var(--navy-3); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-form h3 { font-size: 17px; font-weight: 700; color: #e2e8f0; margin-bottom: 4px; }

/* ===== CTA ===== */
.cta-section { background: var(--navy-2); padding: 82px 40px; text-align: center; }
.cta-section h2 { color: #f8fafc; font-size: clamp(28px, 3.3vw, 42px); font-weight: 850; letter-spacing: -0.8px; line-height: 1.1; margin-bottom: 16px; }
.cta-section p { color: #94a3b8; font-size: 16px; line-height: 1.65; max-width: 600px; margin: 0 auto 30px; }
.cta-form { max-width: 620px; margin: 0 auto; display: grid; gap: 14px; text-align: left; background: rgba(255,255,255,0.03); border: 1px solid var(--navy-3); border-radius: var(--radius-lg); padding: 28px; }
.cta-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.cta-form label { display: block; color: #94a3b8; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.cta-form input, .cta-form textarea, .cta-form select { width: 100%; padding: 11px 14px; font: inherit; font-size: 14px; color: #e2e8f0; background: var(--navy); border: 1px solid var(--navy-3); border-radius: 7px; outline: none; resize: none; }
.cta-form input:focus, .cta-form textarea:focus, .cta-form select:focus { border-color: #818cf8; }
.cta-form button { background: #3f7d2a; color: #fff; border: none; border-radius: 8px; padding: 13px 18px; font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; }
.form-success { display: none; padding: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; color: #15803d; font-size: 14px; font-weight: 700; text-align: center; }

/* ===== COMPARISON PANELS (before/after) ===== */
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.comparison-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.comparison-panel h3 { font-size: 16px; margin-bottom: 16px; }
.comparison-panel ul { list-style: none; display: grid; gap: 10px; }
.comparison-panel li { color: var(--text-2); font-size: 14px; line-height: 1.5; display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.comparison-panel li::before { content: ""; width: 8px; height: 8px; border-radius: 99px; margin-top: 6px; background: var(--text-4); }
.comparison-panel.after { border-color: #b7e6a2; background: #fbfef9; }
.comparison-panel.after li::before { background: var(--cortega-green); }

/* ===== PROOF METRICS ===== */
.proof-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.proof-metric { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.proof-metric b { display: block; font-size: 24px; margin-bottom: 8px; color: var(--text); }
.proof-metric span { display: block; color: var(--text-3); font-size: 13px; line-height: 1.45; }

/* ===== BELIEFS (about page) ===== */
.beliefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.belief { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.belief-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-4); margin-bottom: 10px; }
.belief h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.belief p { font-size: 14px; color: var(--text-3); line-height: 1.65; }

.body-text { font-size: 17px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.body-text:last-child { margin-bottom: 0; }

/* ===== TRUST ROW ===== */
.trust-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.trust-item { font-size: 12.5px; font-weight: 600; color: #475569; display: flex; align-items: center; gap: 7px; }
.trust-item::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #7ed348; }

/* ===== TRAFFIC MODEL ===== */
.traffic-model { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 34px; }
.model-column { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.model-column h3 { font-size: 15px; margin-bottom: 14px; }
.model-list { display: grid; gap: 8px; }
.model-item { color: var(--text-2); background: var(--surface); border: 1px solid var(--border-2); border-radius: 7px; padding: 10px; font-size: 13px; font-weight: 650; }

/* ===== PROD SECTION ===== */
.prod-section { padding: 80px 40px; }
.prod-section-alt { background: #fafafa; }
.prod-divider { display: flex; align-items: center; gap: 16px; padding: 32px 40px; background: var(--white); }
.prod-divider::before, .prod-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-2); }
.prod-divider span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-4); white-space: nowrap; }

/* ===== FOOTER ===== */
footer { background: var(--navy-2); padding: 48px 40px 32px; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 240px 1fr; gap: 54px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-3); }
.footer-brand .logo { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; color: #fff; }
.footer-brand p { color: #64748b; font-size: 13px; line-height: 1.6; margin-top: 10px; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h5 { color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: 0.9px; margin-bottom: 13px; }
.footer-col a { display: block; color: #94a3b8; text-decoration: none; font-size: 13px; margin-bottom: 9px; }
.footer-col a:hover { color: #f8fafc; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { color: #64748b; font-size: 12.5px; }
.footer-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-pill { color: #94a3b8; border: 1px solid var(--navy-4); background: var(--navy-3); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; }

/* ===== REVEAL ANIMATIONS ===== */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ===== PRODUCT SHOWCASE ===== */
.product-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 18px; margin-top: 36px; }
.shot-stack { display: grid; gap: 18px; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.screenshot-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.screenshot-strip .product-shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav { padding: 10px 20px; flex-wrap: wrap; gap: 10px; }
  .nav-logo { margin-right: 0; }
  .nav-links { display: none; order: 3; flex: 0 0 100%; flex-direction: column; align-items: stretch; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav.nav-open .nav-links { display: flex; }
  .nav-link { padding: 10px 0; border-radius: 0; }
  .nav-actions { margin-left: auto; gap: 6px; }
  .nav-menu-toggle { display: inline-flex; }
  .nav-btn { padding: 8px 10px; font-size: 12px; }
  .hero, .band, .page-hero, .usecase-section, .cta-section, .detail, .prod-section { padding-left: 20px; padding-right: 20px; }
  .hero-grid, .split, .case-layout, .detail-layout, .detail-layout.flipped, .risk-layout, .contact-inner, .prod-inner { grid-template-columns: 1fr; gap: 34px; }
  .detail-layout.flipped .detail-desc, .detail-layout.flipped .detail-cards { order: initial; }
  .context-shot, .context-shot.reverse { grid-template-columns: 1fr; }
  .context-shot.reverse .context-copy, .context-shot.reverse .product-shot { order: initial; }
  .arch-graph { min-height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
  .arch-lines { display: none; }
  .graph-node { position: static; width: auto; min-height: 72px; }
  .graph-node.management { width: auto; grid-column: 1 / -1; }
  .graph-legend { position: static; grid-column: 1 / -1; }
  .traffic-flow { grid-template-columns: 1fr; }
  .arrow { width: 1px; height: 28px; margin: 0 auto; }
  .arrow::after { right: -4px; top: 19px; transform: rotate(135deg); }
  .usecase-grid, .plane-grid, .cards-3, .industry-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
  .comparison-grid, .proof-metrics, .edge-core, .capability-grid, .product-showcase, .screenshot-strip { grid-template-columns: 1fr; }
  .shadow-callout { flex-direction: column; align-items: flex-start; }
  .case-sticky { position: static; }
  .journey-step { grid-template-columns: 56px 1fr; gap: 18px; padding: 32px 0; }
  .jump-bar { top: 64px; padding-left: 20px; padding-right: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .prod-switcher { padding: 0 20px; overflow-x: auto; }
  .prod-tab { padding: 14px 18px; white-space: nowrap; }
}

@media (max-width: 640px) {
  .hero { padding-top: 58px; }
  .hero h1, .page-hero h1 { letter-spacing: -0.9px; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .usecase-grid, .plane-grid, .capability-grid, .cards-3, .industry-grid, .proof-metrics, .partner-grid { grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr 1fr; }
  .event-row { grid-template-columns: 1fr; gap: 6px; }
  .architecture-panel { padding: 18px; }
  .arch-graph { grid-template-columns: 1fr; }
  .case-proof img { aspect-ratio: 16 / 10; }
  .footer-links { grid-template-columns: 1fr; }
  .journey-step { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { display: none; }
}

.arch-video {
  width: 100%; border-radius: var(--radius-lg); margin-top: 24px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
