/* ============================================================
   TRAANIX — shared stylesheet
   Strong, structural, engineering-credible.
   ============================================================ */

:root {
  --navy-950: #081120;
  --navy-900: #0C1B2F;
  --navy-800: #10233C;
  --navy-700: #16324F;
  --blue-600: #2B5CA8;
  --blue-500: #3D6FC0;
  --blue-300: #6FA0D8;
  --orange-600: #D95B14;
  --orange-500: #E97425;
  --orange-300: #F0955C;
  --rust: #C4460F;
  --bg: #F5F7FA;
  --bg-alt: #EDF1F6;
  --card: #FFFFFF;
  --ink: #14243A;
  --muted: #51627A;
  --line: #E2E8F1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(8, 17, 32, 0.04), 0 8px 24px rgba(8, 17, 32, 0.07);
  --shadow-lift: 0 2px 4px rgba(8, 17, 32, 0.06), 0 16px 40px rgba(8, 17, 32, 0.12);
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--orange-600); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
  display: block;
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--orange-600); }
.site-nav a.active { color: var(--orange-600); border-bottom-color: var(--orange-500); }

.site-nav a.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 14px;
  border-radius: 8px;
  border-bottom: none;
  color: #fff;
}
.site-nav a.nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--orange-500);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 91, 20, 0.35);
}

.btn-dark {
  background: var(--navy-900);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 36, 58, 0.25);
}
.btn-ghost:hover { border-color: var(--orange-500); color: var(--orange-600); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover { border-color: var(--orange-300); color: var(--orange-300); }

/* ---------- dark hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 82% 30%, rgba(233, 116, 37, 0.16), transparent 60%),
    radial-gradient(700px 420px at 12% 85%, rgba(111, 160, 216, 0.14), transparent 60%),
    radial-gradient(1200px 700px at 50% -10%, #12263F 0%, transparent 70%),
    var(--navy-950);
  color: #E8EEF6;
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 2; }

.hero-mark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 44vw);
  opacity: 0.92;
  filter: drop-shadow(0 0 55px rgba(233, 116, 37, 0.28)) drop-shadow(0 0 120px rgba(111, 160, 216, 0.22));
  pointer-events: none;
  z-index: 1;
}

.hero-inner { padding: 108px 0 96px; max-width: 640px; }

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--orange-500); }

.hero p.lede {
  font-size: 19px;
  line-height: 1.7;
  color: #B9C7DA;
  margin-bottom: 34px;
}

.hero .eyebrow { color: var(--orange-300); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* subhero dark band (inner pages) */
.page-hero { padding-bottom: 72px; }
.page-hero .hero-inner { padding: 84px 0 0; }

/* ---------- two-path cards (home) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.path-card {
  display: block;
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.path-card .eyebrow { margin-bottom: 10px; }
.path-card h3 { font-size: 25px; margin-bottom: 10px; }
.path-card p { font-size: 16px; margin-bottom: 22px; }
.path-card .go {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
}

.path-dark { background: linear-gradient(140deg, var(--navy-900), var(--navy-700)); }
.path-dark h3 { color: #fff; }
.path-dark p { color: #B9C7DA; }
.path-dark .go { color: var(--orange-300); }
.path-dark .eyebrow { color: var(--blue-300); }

.path-orange { background: linear-gradient(140deg, #E06A1B, var(--rust)); }
.path-orange h3 { color: #fff; }
.path-orange p { color: #FFE0C9; }
.path-orange .go { color: #fff; }
.path-orange .eyebrow { color: #FFD3B0; }

/* ---------- lane / feature cards ---------- */
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.lane-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.lane-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.lane-card.lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 26px;
  align-items: start;
  background: linear-gradient(135deg, #FFFFFF 55%, #FDF3EA);
  border: 1px solid #F3D9C2;
}

.lane-icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 18px; }
.lane-card.lead .lane-icon { width: 96px; height: 96px; margin: 0; }

.lane-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: #FCEADB;
  border: 1px solid #F3D0B0;
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.lane-card h3 { font-size: 20px; margin-bottom: 10px; }
.lane-card.lead h3 { font-size: 24px; }
.lane-card p { font-size: 15.5px; color: var(--muted); }
.lane-card .lane-link { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 15px; font-family: var(--font-head); }

/* ---------- trust strip ---------- */
.trust {
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(233, 116, 37, 0.12), transparent 60%),
    var(--navy-950);
  color: #E8EEF6;
  border-radius: 0;
}

.trust-inner { padding: 76px 0; }

.trust blockquote {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  max-width: 780px;
  margin-bottom: 16px;
}

.trust blockquote .accent { color: var(--orange-500); }

.trust > .wrap > p { color: #B9C7DA; max-width: 640px; margin-bottom: 40px; }

.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.trust-point {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 22px 24px;
}
.trust-point .num {
  font-family: var(--font-mono);
  color: var(--orange-300);
  font-size: 13px;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 8px;
}
.trust-point h4 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.trust-point p { color: #A9B9CE; font-size: 14.5px; }

/* ---------- proof strip ---------- */
.proof { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-inner { padding: 52px 0; }
.proof-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.proof-items { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.proof-chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-dev { background: var(--blue-500); }
.dot-pilot { background: var(--orange-500); }

/* ---------- status badges ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 13px;
}
.badge-dev { color: var(--blue-600); background: #E8F0FB; border: 1px solid #CBDCF3; }
.badge-pilot { color: var(--orange-600); background: #FCEADB; border: 1px solid #F3D0B0; }

/* ---------- service blocks (what we build) ---------- */
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px 40px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 32px;
  align-items: start;
}

.service.lead-service {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border: 1px solid var(--navy-700);
}
.service.lead-service h3, .service.lead-service h4 { color: #fff; }
.service.lead-service p, .service.lead-service li { color: #B9C7DA; }
.service.lead-service .service-facts { border-color: rgba(255, 255, 255, 0.12); }

.service-icon { width: 108px; height: 108px; object-fit: contain; }

.service h3 { font-size: 26px; margin-bottom: 6px; }
.service .service-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-500);
  display: block;
  margin-bottom: 10px;
}

.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; margin-top: 18px; }
.service-cols h4 {
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 6px;
}
.service.lead-service .service-cols h4 { color: var(--orange-300); }
.service-cols p { font-size: 15px; color: var(--muted); }
.service-cols .col { margin-bottom: 12px; }

/* ---------- product cards ---------- */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.product-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border: none;
}
.product-card.featured h3 { color: #fff; font-size: 28px; }
.product-card.featured p { color: #B9C7DA; }
.product-card.featured .product-meta span { color: #8FA5C0; }

.product-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.product-icon { width: 64px; height: 64px; object-fit: contain; }

.product-card h3 { font-size: 22px; margin-bottom: 4px; }
.product-lane {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange-600);
  display: block;
  margin-bottom: 12px;
}
.product-card.featured .product-lane { color: var(--orange-300); }
.product-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 16px; }

.product-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.product-card.featured .product-meta { border-color: rgba(255, 255, 255, 0.12); }
.product-meta strong { font-weight: 600; color: inherit; }

/* ---------- about ---------- */
.pairing {
  font-family: var(--font-head);
  font-size: clamp(21px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.45;
  max-width: 860px;
  color: var(--ink);
}
.pairing .accent { color: var(--orange-600); }

.founder {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 42px;
  margin-bottom: 28px;
}

.founder-head { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.founder-avatar.orange { background: linear-gradient(135deg, var(--orange-500), var(--rust)); }

.founder h3 { font-size: 26px; }
.founder .role {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
}

.founder .bio p { color: #3C4D66; font-size: 16px; margin-top: 16px; }

.cred-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cred-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--navy-700);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 14px;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }

.contact-info h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 22px; }

.contact-line { display: flex; gap: 12px; align-items: baseline; margin-bottom: 10px; font-size: 15.5px; }
.contact-line .k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 64px;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }

.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 20%, rgba(111, 160, 216, 0.14), transparent 60%),
    radial-gradient(700px 300px at 85% 80%, rgba(233, 116, 37, 0.16), transparent 60%),
    var(--navy-950);
  color: #fff;
}
.cta-inner { padding: 76px 0; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta-inner p { color: #B9C7DA; max-width: 560px; margin: 0 auto 32px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #8FA5C0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 42px; }
.footer-brand .wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.12em;
  color: #fff;
}

.footer-tag { font-size: 14.5px; max-width: 300px; }
.footer-tag .accent { color: var(--orange-300); }

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a { display: block; color: #8FA5C0; font-size: 14.5px; padding: 4px 0; }
.footer-col a:hover { color: var(--orange-300); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- light decorative background ---------- */
.curves {
  position: relative;
}
.curves::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 800' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M-100 620 C 300 480 700 760 1500 520' fill='none' stroke='%233D6FC0' stroke-opacity='0.10' stroke-width='2'/%3E%3Cpath d='M-100 680 C 350 560 800 820 1500 600' fill='none' stroke='%23E97425' stroke-opacity='0.10' stroke-width='2'/%3E%3Cpath d='M-100 160 C 400 320 900 40 1500 260' fill='none' stroke='%2316324F' stroke-opacity='0.07' stroke-width='2'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}
.curves > * { position: relative; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .lanes { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-mark { opacity: 0.22; width: 60vw; right: -18vw; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .paths, .lanes, .products-grid, .trust-points { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 18px; padding: 30px 26px; }
  .service-icon { width: 84px; height: 84px; }
  .service-cols { grid-template-columns: 1fr; }
  .lane-card.lead { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-inner { padding: 76px 0 68px; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 6px;
    box-shadow: var(--shadow-lift);
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 17px; padding: 10px 0; width: 100%; }
  .site-nav a.nav-cta { margin: 10px 0 0; text-align: center; }
}
