/* ──────────────────────────────────────────────────────────
   TwinVision Systems — public landing.
   Single-page scroll, dark hero, light content, dark CTA + footer.
   Industrial-confidence aesthetic; no product UI on the public surface.
   ──────────────────────────────────────────────────────── */

:root {
  --ink:        #0d141c;
  --ink-deep:   #0a1424;
  --ink-deep2:  #15263f;
  --muted:      #6b7785;
  --muted-soft: #9aa3b1;
  --navy:       #1a4ea0;
  --accent:     #2c6bd1;
  --cyan:       #22c4cc;
  --line:       #e3e7ee;
  --line-2:     #cfd6e0;
  --soft:       #f4f6f9;
  --soft-2:     #e7ecf4;
  --white:      #ffffff;
  --shadow:     0 2px 4px rgba(15,27,46,0.04), 0 12px 28px rgba(15,27,46,0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: Arial, "Helvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 20, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
.nav .brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark {
  width: 10px; height: 10px;
  background: var(--cyan);
  display: inline-block;
}
.brand-name {
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.nav-cta:hover { background: #3a7fdf; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 32vh;
  background: linear-gradient(180deg, #0a1424 0%, #0f1f3a 50%, #0a1424 100%);
  color: #fff;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 28px 32px;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-content { position: relative; z-index: 1; max-width: 980px; }

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker.cyan { color: var(--cyan); }
.kicker.centered { text-align: center; }

.hero .kicker {
  color: var(--cyan);
}
.wordmark {
  font-family: Arial, "Helvetica", sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: clamp(1.5px, 0.3vw, 4px);
  margin: 0 0 16px;
  line-height: 1.0;
  color: var(--cyan);
}
.hero .lede {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255,255,255,0.9);
  margin: 0 0 10px;
  font-weight: 400;
}
.hero .sub {
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,0.6);
  margin: 0 0 40px;
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--cyan);
  color: var(--ink-deep);
}
.btn-primary:hover { background: #3dd6dd; }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* ── SECTIONS ───────────────────────────────────────── */
.section {
  padding: 96px 32px;
  position: relative;
}
.section-light { background: var(--white); }
.section-soft  { background: var(--soft); }
.section-dark  { background: var(--ink-deep); color: #fff; }
.section-cta   {
  background: linear-gradient(135deg, #0a1424 0%, #143160 100%);
  color: #fff;
}

.display {
  font-family: Arial, "Helvetica", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--ink);
}
.display.centered { text-align: center; }
.display.light { color: #fff; }

.intro {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
  max-width: 820px;
  margin: 0 0 56px;
  line-height: 1.65;
}
.intro.centered { margin: 0 auto 56px; text-align: center; }

.big-body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
}
.big-body-light {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 720px;
}

/* ── OPPORTUNITY stats ─────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat {
  padding: 36px 32px;
  background: linear-gradient(135deg, #1a4ea0 0%, #22c4cc 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stat:nth-child(2) {
  background: linear-gradient(135deg, #2c6bd1 0%, #3da4dc 130%);
}
.stat:nth-child(3) {
  background: linear-gradient(135deg, #3da4dc 0%, #22c4cc 130%);
}
.stat-num {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.stat-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.stat-src {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 12px;
}

/* ── TWO-COLUMN POSITIONING ────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.abstract-art {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 40px;
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.abstract-art svg { width: 100%; height: auto; max-height: 320px; }
.check-list, .bold-list {
  list-style: none; padding: 0; margin: 24px 0 0;
}
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  background: var(--accent);
}
.bold-list li {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hl { color: var(--accent); }

/* ── TIMELINE (Why CAD models?) ────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.era {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.era-active {
  background: var(--ink-deep);
  color: #fff;
  border-color: var(--ink-deep);
}
.era-year {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--ink);
}
.era-active .era-year { color: var(--cyan); }
.era-body ul {
  list-style: none; padding: 0; margin: 0;
}
.era-body li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}
.era-body li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
}
.era-active .era-body li { color: rgba(255,255,255,0.82); }
.era-active .era-body li::before { color: var(--cyan); }
.timeline-axis {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.axis-line { flex: 1; height: 2px; background: var(--line); }

/* ── HOW IT WORKS — 4 steps ──────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.step {
  text-align: center;
  padding: 24px 16px;
}
.step-icon {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
}
.step-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}
.step h3 {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--ink);
}
.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ── COMPARE TABLE ─────────────────────────────────── */
.compare {
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,0.12);
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-head {
  background: rgba(255,255,255,0.06);
}
.compare-head > div {
  padding: 18px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.compare-head > div:first-child {
  color: rgba(255,255,255,0.6);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.compare-row > div {
  padding: 22px 28px;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-row > div:first-child {
  color: rgba(255,255,255,0.55);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.compare-row > div:last-child {
  color: #fff;
  font-weight: 700;
}
.compare-row:last-child > div { border-bottom: none; }

/* ── CAPABILITIES grid ──────────────────────────────── */
.caps-grid, .ext-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.cap, .ext {
  background: var(--white);
  padding: 32px 24px;
  border: 1px solid var(--line);
}
.cap-icon {
  width: 72px; height: 72px;
  background: var(--soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.cap-icon svg { width: 56px; height: 56px; }
.cap h3, .ext h3 {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 17px;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.3;
}
.cap p, .ext p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.ext {
  border-left: 4px solid var(--accent);
}

/* ── VERTICALS ──────────────────────────────────────── */
.vert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.vert {
  background: var(--white);
  padding: 28px 24px;
  border: 1px solid var(--line);
  position: relative;
}
.vert-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--ink-deep);
  padding: 4px 8px;
  margin-bottom: 16px;
}
.vert h3 {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--ink);
}
.vert p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.vert-also {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.vert-also-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.vert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vert-tags span {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--ink);
}

/* ── TEAM ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.member {
  background: var(--soft);
  padding: 36px 28px;
  text-align: left;
  position: relative;
}
.member-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  margin-bottom: 20px;
  /* Note: this is a placeholder. Replace with actual founder photo via
     background-image: url('assets/brad.jpg'); background-size: cover; */
}
.member h3 {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--ink);
}
.member-title {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.member ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.member li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}
.member li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── CTA ────────────────────────────────────────────── */
.cta-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

/* ── FOOTER ─────────────────────────────────────────── */
.foot {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.6);
  padding: 64px 32px 32px;
}
.foot .brand { color: #fff; }
.foot-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 16px 0 0;
  max-width: 280px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot-cols h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
}
.foot-cols a, .foot-cols p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.foot-cols a:hover { color: #fff; }
.muted { color: rgba(255,255,255,0.45) !important; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .stat-row, .timeline, .steps, .caps-grid, .ext-grid, .vert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 12px 18px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 64px 18px; }
  .wrap { padding: 0 18px; }
  .stat-row, .timeline, .steps, .caps-grid, .ext-grid, .vert-grid {
    grid-template-columns: 1fr;
  }
  .compare-head, .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-head > div:first-child,
  .compare-row > div:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}
