@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --bg:      #120D1E;
  --bg2:     #1A1228;
  --bg3:     #221832;
  --bg4:     #2A1F3D;
  --accent:  #C4B5F4;
  --accent2: #9B7FEA;
  --green:   #7DD4A8;
  --text:    #EDE9FA;
  --muted:   rgba(237,233,250,0.80);
  --faint:   rgba(237,233,250,0.55);
  --border:  rgba(196,181,244,0.15);
  --border2: rgba(196,181,244,0.28);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* TYPOGRAPHY */
.serif { font-family: 'DM Serif Display', serif; }

h1, .h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 400;
}
h2, .h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 400;
}
h3, .h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
}
p { line-height: 1.75; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
}
.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.text-accent  { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-green   { color: var(--green); }
.text-muted   { color: var(--muted); }

/* LAYOUT */
.container { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand-icon {
  height: 40px;
  width: auto;
  display: block;
  /* Crop white bg: the icon is centered in a white square, 
     use object-fit + clip to show just the mark */
  border-radius: 4px;
  /* We'll swap to transparent PNG once user uploads true transparent version */
}
.nav-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  padding: 9px 22px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: 0.2s;
}

/* ANIMATED TICKER */
.ticker {
  background: var(--green);
  overflow: hidden;
  white-space: nowrap;
  height: 44px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  animation: ticker-scroll 36s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tick {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #051A10;
  white-space: nowrap;
  padding: 0 6px;
}
.tick-sep {
  font-size: 14px;
  color: rgba(5,26,16,0.35);
  margin: 0 16px;
  flex-shrink: 0;
}

/* SECTION DIVIDER */
.divider { height: 0.5px; background: var(--border); }

/* SPLIT BAND */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--border);
}
.band-left {
  padding: 64px 48px;
  border-right: 0.5px solid var(--border);
}
.band-right {
  padding: 64px 48px;
  background: var(--bg2);
}
.band-label { margin-bottom: 20px; }
.band-h { margin-bottom: 20px; }
.band-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}

/* MECH LIST */
.mech-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--border);
}
.mech-item:last-child { border-bottom: none; }
.mech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
  flex-shrink: 0;
}
.mech-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}
.mech-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--faint);
  margin-top: 3px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 30px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--green);
  color: #051A10;
}
.btn-primary:hover { background: #5EC492; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 0.5px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* FOOTER */
.footer {
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-brand-icon {
  height: 28px;
  width: auto;
  display: block;
  border-radius: 3px;
  opacity: 0.9;
}
.footer-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--accent);
}
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }
.footer-legal {
  font-size: 14px;
  font-weight: 400;
  color: var(--faint);
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.badge-purple {
  background: rgba(155,127,234,0.15);
  color: var(--accent);
}
.badge-green {
  background: rgba(125,212,168,0.12);
  color: var(--green);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: var(--bg2);
    padding: 24px;
    gap: 20px;
    border-bottom: 0.5px solid var(--border);
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .container { padding: 0 24px; }
  .grid-2, .band { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .band-left { border-right: none; border-bottom: 0.5px solid var(--border); }
  .band-left, .band-right { padding: 40px 24px; }
  .footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}
