/* Palette and fonts match the pitch deck. */
:root {
  --navy: #0b1f3a;
  --ink: #14213d;
  --blue: #2f6bff;
  --blue-soft: #e6eeff;
  --slate: #5b6b82;
  --mist: #f4f6fa;
  --amber: #f5a524;
  --line: #dde3ee;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
h1, h2, h3, .wordmark { font-family: Montserrat, Inter, sans-serif; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; margin: 0.3em 0 0.4em; font-weight: 800; }
h1 em { font-style: normal; color: var(--blue); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; margin: 0.2em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.wordmark { font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.wordmark span { font-weight: 600; font-size: 0.75rem; color: var(--slate); margin-left: 6px; letter-spacing: 0.08em; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--navy); }

/* Menu button, shown only on narrow screens */
.menu-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; padding: 10px 9px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; text-decoration: none;
  border: 2px solid var(--blue); transition: background 0.15s, color 0.15s;
}
.btn:hover { background: #1f55e0; border-color: #1f55e0; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue); }
.btn-small { padding: 8px 18px; font-size: 0.95rem; }
.actions, .callout-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  padding: 96px 0 88px;
  background: radial-gradient(circle at 85% 10%, var(--blue-soft), transparent 55%), var(--mist);
}
.lede { font-size: 1.25rem; color: var(--slate); max-width: 720px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600;
  color: var(--blue); margin: 0;
}
.tag {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px;
  background: #fff4dc; color: #8a5a00; letter-spacing: 0.04em; text-transform: none; font-weight: 600;
}

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--mist); }
.section-lede { color: var(--slate); max-width: 760px; font-size: 1.1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }

.cards { display: grid; gap: 20px; margin: 32px 0; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 2px rgba(11, 31, 58, 0.04);
}
.card p { color: var(--slate); margin: 0; }
.step {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.feature .card { border-top: 4px solid var(--blue); }

.callout {
  display: grid; grid-template-columns: 1.6fr auto; gap: 32px; align-items: center;
  background: var(--navy); color: #dfe7f5; border-radius: var(--radius); padding: 32px 36px;
}
.callout h3 { color: #fff; }
.callout p { margin: 0; }
.callout .btn-ghost { color: #fff; border-color: #7fa2ff; }
.callout .btn-ghost:hover { background: rgba(127, 162, 255, 0.15); }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 500; }

.standards { font-weight: 600; color: var(--navy); }
.note { color: var(--slate); }

.app .status {
  display: inline-block; margin-top: 14px; font-size: 0.85rem; font-weight: 600;
  color: #0e8f82; background: #e3f6f3; padding: 3px 12px; border-radius: 999px;
}

.role { color: var(--slate); font-weight: 600; }
.creds { padding-left: 1.1em; }
.creds li { margin-bottom: 0.5em; }
.values { border-left: 4px solid var(--amber); padding-left: 16px; font-weight: 500; color: var(--navy); }

.contact { text-align: center; }
.contact .section-lede { margin: 0 auto 24px; }
.place { color: var(--slate); margin-top: 18px; }

/* Footer with rotating verse */
.site-footer { background: var(--navy); color: #b4c1d8; padding: 56px 0 36px; text-align: center; }
.verse { margin: 0 auto 28px; max-width: 760px; }
.verse blockquote {
  margin: 0 0 10px; font-family: Montserrat, Inter, sans-serif; font-size: 1rem;
  line-height: 1.5; color: #fff; font-weight: 600;
}
.verse figcaption { color: #7fa2ff; font-weight: 600; font-size: 0.95rem; }
.fine { font-size: 0.75rem; color: #8ea0bd; margin: 4px 0; }

/* Small screens */
@media (max-width: 960px) {
  .header-row { gap: 12px; }
  .menu-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(11, 31, 58, 0.08);
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--mist); }
  .nav a:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  .two-col, .cards.three, .cards.two, .callout { grid-template-columns: 1fr; }
  .two-col { gap: 8px; }
  .hero { padding: 64px 0; }
  .section { padding: 56px 0; }
}
