/* ============================================
   SOLVONIT — Design Tokens + Base
   Aus Brand Book: Color, Typography, Layout
   ============================================ */

:root {
  /* Brand Colors */
  --navy: #0F1C2A;
  --navy-80: #2a3645;
  --navy-60: #5a6573;
  --navy-40: #9098a2;
  --green: #29CC8D;
  --green-soft: #d9f5e7;
  --blue: #1A73EA;
  --gray: #E7EAEC;
  --gray-soft: #F4F6F7;
  --paper: #FAFBFC;
  --white: #ffffff;

  /* Type */
  --font-display: 'Orbitron', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --container: 1320px;
  --gutter: 32px;

  /* Misc */
  --radius: 4px;
  --radius-lg: 12px;
  --line: 1px solid rgba(15, 28, 42, 0.08);
  --line-strong: 1px solid rgba(15, 28, 42, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Utility */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--green);
}

.display {
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}
.display em { font-style: normal; font-weight: 500; }

h1.display { font-size: clamp(48px, 7vw, 104px); }
h2.display { font-size: clamp(32px, 4.5vw, 60px); }
h3.display { font-size: clamp(22px, 2.2vw, 32px); }

.display-mono {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy-80);
  max-width: 56ch;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: var(--line);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
}
.nav > .brand {
  grid-column: 1;
  justify-self: start;
}
.nav > nav {
  grid-column: 2;
  justify-self: center;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--navy);
}
.brand img { height: 50px; width: auto; display: block; }
.site-footer .brand img { height: 60px; }
.nav-links {
  display: flex; gap: 48px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--green);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green); color: var(--navy); }
.nav-cta svg { width: 14px; height: 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--green); color: var(--navy); }
.btn-ghost { color: var(--navy); border: 1px solid rgba(15,28,42,0.2); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn .arrow {
  width: 28px; height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ===== Section header pattern ===== */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; margin-bottom: 64px;
}
.section-head .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--navy-60);
  text-transform: uppercase;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: var(--gray);
  padding: 96px 0 32px;
  margin-top: 120px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.2s; }
.site-footer a:hover { color: var(--green); }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.footer-tag {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 20ch;
  margin-top: 20px;
}
.footer-tag em { font-style: normal; color: var(--green); font-weight: 400; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .links { display: flex; gap: 32px; }

/* ===== Marquee divider ===== */
.marquee {
  border-top: var(--line);
  border-bottom: var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--white);
}
.marquee-track {
  display: flex; gap: 64px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--navy-60);
  display: inline-flex; align-items: center; gap: 64px;
}
.marquee-item::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== CTA band (shared) ===== */
.cta-band { background: var(--navy); color: var(--white); padding: 120px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(41,204,141,0.18), transparent 70%); pointer-events: none; }
.cta-band h2 { font-family: var(--font-body); font-size: clamp(36px, 5vw, 72px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; max-width: 20ch; color: var(--white); }
.cta-band h2 em { font-style: normal; color: var(--green); }
.cta-band .row { display: flex; justify-content: space-between; align-items: center; gap: 64px; }
.cta-band .btn-primary { background: var(--green); color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--white); }
.cta-band .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.cta-band-light { background: var(--paper); color: var(--navy); }
.cta-band-light::before { content: none; }
.cta-band-light h2 { color: var(--navy); }

/* ===== Mobile nav toggle ===== */
.menu-toggle { display: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav > nav { display: contents; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    grid-column: 2; justify-self: end;
    width: 44px; height: 44px;
    color: var(--navy);
  }
  .nav-links {
    display: none;
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(250, 251, 252, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: var(--line);
    box-shadow: 0 16px 28px rgba(15, 28, 42, 0.07);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: var(--line);
  }
  .nav-links a.active::after { display: none; }

  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .cta-band .row { flex-direction: column; align-items: flex-start; gap: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
