/* LatiGen — styles.css
   No external dependencies (system fonts, inline SVG). Drop-in for static hosting. */

:root {
  --ink: #0b2545;
  --body: #3b4a63;
  --muted: #67768f;
  --bg: #ffffff;
  --surface: #f3f7fc;
  --surface-2: #e9f1fa;
  --line: #dbe5f1;
  --primary: #0b2545;        /* navy — CTAs (white text, high contrast) */
  --primary-hover: #143a63;
  --accent: #0ea5e9;         /* sky/cyan — accents, marks, links */
  --accent-deep: #0284c7;
  --accent-soft: #e0f2fe;
  --ok: #1d8a6e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 10px 28px rgba(11,37,69,.07);
  --grad: linear-gradient(90deg, #0b2545 0%, #0284c7 55%, #38bdf8 100%);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Accent bar ---------- */
.accent-bar { height: 4px; background: var(--grad); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; flex: 0 0 auto; line-height: 0; }
.brand-mark svg { display: block; border-radius: 7px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .96rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--surface); text-decoration: none; }
.nav .nav-cta { background: var(--primary); color: #fff; padding: 9px 16px; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--primary-hover); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(760px 340px at 4% 0%, rgba(2,132,199,.10), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 8vw, 88px);
}
.hero-inner { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--accent-deep); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.05rem, 5vw, 3.25rem); font-weight: 800; margin-bottom: .35em; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--body); max-width: 64ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 700; font-size: 1rem; padding: 13px 24px; border-radius: 10px; border: 2px solid transparent; transition: transform .08s ease, background .15s, border-color .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 8vw, 88px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head-left { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.cards-3 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); margin-bottom: 12px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.18rem; font-weight: 750; margin-bottom: .45em; }
.card p { color: var(--body); margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.step-num { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 0 0 4px rgba(56,189,248,.14); }
.step h3 { font-size: 1.14rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--body); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.about-grid p { font-size: 1.06rem; }
.focus-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.focus-list li { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; color: var(--body); }
.focus-list strong { color: var(--ink); }

/* ---------- Disclaimer ---------- */
.disclaimer { background: var(--surface-2); border: 1px solid var(--line); border-left: 5px solid var(--accent-deep); border-radius: var(--radius); padding: 26px 28px; max-width: 860px; }
.disclaimer h2 { font-size: 1.15rem; margin-bottom: .5em; }
.disclaimer p { margin: 0; color: var(--body); font-size: 1rem; }

/* ---------- Contact ---------- */
.section-contact { background: var(--ink); color: #cdd9e8; }
.section-contact .section-head h2 { color: #fff; }
.section-contact .section-head p { color: #9fb2c9; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-contact .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section-contact .btn-ghost:hover { border-color: #fff; }
.contact-meta { margin-top: 20px; color: #9fb2c9; font-weight: 600; font-style: normal; }
.contact-meta a { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #071a2f; color: #93a6bd; }
.footer-inner { padding: 40px 0; }
.brand-footer { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.footer-tag { margin: 0 0 8px; max-width: 60ch; }
.footer-legal { margin: 0; font-size: .9rem; color: #6f86a0; }

/* ---------- Responsive ---------- */
/* Nav collapses to the menu button at 900px (sooner than the 760px content
   breakpoint) so the longer "Launch pilot planner" CTA can't crowd the brand. */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 760px) {
  .cards-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
