/* Cadet AI — marketing site styles. Olive/military green + gold, dark theme,
   Oswald display headings. Shared across all pages. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --olive: #4B5320;
  --olive-bright: #6B8E23;
  --green: #2E7D32;
  --green-light: #81C784;
  --gold: #D4AF37;
  --ink-0: #0d0f0c;
  --ink-1: #121412;
  --ink-2: #1a1f17;
  --ink-3: #232a1e;
  --surface: #181d15;
  --surface-2: #20271c;
  --line: #2f3a26;
  --text: #eef2e9;
  --muted: #aebaa0;
  --muted-2: #87967a;
  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
h1, h2, h3, .display {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--green-light); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 3px;
  font-size: .8rem; color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; font-size: .95rem;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(46,125,50,.4); border-color: #3a9a40; }
.btn-primary:hover { background: #34913a; }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn[aria-disabled="true"] { opacity: .9; cursor: default; pointer-events: none; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,15,12,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .name { font-family: 'Oswald', sans-serif; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 1.15rem; color: #fff; }
.brand .name b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; text-decoration: none; }
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(107,142,35,.22), transparent 60%),
    linear-gradient(160deg, #1a1f17 0%, #0f120d 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, #6B8E23 0 12%, transparent 13%),
    radial-gradient(circle at 60% 70%, #4B5320 0 16%, transparent 17%),
    radial-gradient(circle at 85% 20%, #2E7D32 0 10%, transparent 11%);
  background-size: 240px 240px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; align-items: center; }
.note-soon { font-size: .85rem; color: var(--muted-2); margin-top: 14px; }

/* ---- Phone mockup ---- */
.device { justify-self: center; position: relative; width: 280px; }
.device .frame {
  background: #0a0c08; border: 2px solid #313a26; border-radius: 38px; padding: 12px;
  box-shadow: var(--shadow), 0 0 0 6px rgba(107,142,35,.08);
}
.device .screen {
  border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #151a12, #0e110b);
  aspect-ratio: 9/19; display: flex; flex-direction: column; padding: 18px 16px; gap: 12px;
}
.device .scr-top { display: flex; align-items: center; gap: 10px; }
.device .scr-top img { width: 40px; height: 40px; }
.device .scr-top .t { font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; color: var(--gold); }
.device .bubble { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .78rem; color: var(--text); }
.device .bubble.me { background: #0B3D2E; align-self: flex-end; max-width: 80%; }
.device .bubble small { color: var(--green-light); display: block; margin-top: 6px; font-size: .68rem; }
.device .xpbar { margin-top: auto; }
.device .xpbar .track { height: 8px; background: #2a3320; border-radius: 6px; overflow: hidden; }
.device .xpbar .fill { height: 100%; width: 68%; background: linear-gradient(90deg, var(--olive-bright), var(--gold)); }
.device .xpbar .lab { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); margin-top: 6px; }

/* ---- Sections ---- */
section.block { padding: 72px 0; border-bottom: 1px solid var(--line); }
section.block.alt { background: var(--ink-0); }
.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---- Feature grid ---- */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s, transform .15s;
}
.card:hover { border-color: var(--olive-bright); transform: translateY(-3px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(107,142,35,.16); border: 1px solid var(--line); margin-bottom: 14px;
  font-size: 1.4rem;
}
.card h3 { color: #fff; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---- Steps ---- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3,1fr); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: 'Oswald'; font-weight: 700; font-size: 1.1rem; color: var(--ink-0);
  background: var(--gold); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 12px;
}

/* ---- Badge strip ---- */
.badge-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 1px; font-size: .78rem;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: var(--muted);
}

/* ---- CTA band ---- */
.cta-band {
  background: radial-gradient(800px 300px at 50% -40%, rgba(212,175,55,.18), transparent 60%), var(--ink-0);
  text-align: center; padding: 70px 0;
}

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 12px;
  background: var(--surface);
}
.faq details[open] { border-color: var(--olive-bright); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-family: 'Oswald'; font-weight: 600;
  font-size: 1.05rem; color: #fff; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { color: var(--muted); padding: 0 0 16px; }

/* ---- Contact ---- */
.contact-card { max-width: 620px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink-0); padding: 44px 0 30px; color: var(--muted-2); font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-grid .col h4 { font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 1px; color: var(--text); font-size: .9rem; margin: 0 0 10px; }
.footer-grid .col a { display: block; color: var(--muted); margin-bottom: 7px; }
.footer-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.6; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 56px; }
  .device { order: -1; width: 230px; }
  .grid.cols-3, .grid.cols-2, .steps { grid-template-columns: 1fr; }
  .nav-burger { display: block; cursor: pointer; background: none; border: 0; color: #fff; font-size: 1.6rem; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink-0); border-bottom: 1px solid var(--line); padding: 6px 0; display: none;
  }
  .nav-links a { padding: 14px 22px; width: 100%; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
}
