/* LaunchGrade — site styles */
:root {
  --bg: #101418;
  --surface: #151A20;
  --border: #262D36;
  --line: #232A33;
  --text: #F2F4F7;
  --muted: #A9B2BE;
  --faint: #8E98A5;
  --nav: #C3CAD4;
  --accent: #FF8A3D;
  --accent-hover: #FFB27A;
  --on-accent: #1A0D04;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--line { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.muted { color: var(--muted); }
.lead { max-width: 640px; }

.eyebrow { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 56px); line-height: 1.1; letter-spacing: -1px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 38px); line-height: 1.2; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost { border: 1px solid #3A4450; color: var(--text); font-weight: 500; }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); }
.btn--sm { min-height: 44px; padding: 10px 18px; border-radius: 8px; font-size: 15px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-size: 20px; letter-spacing: .5px; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 31px; object-fit: contain; }
.brand b { font-weight: 800; }
.brand span { font-weight: 300; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--nav); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 96px; padding-bottom: 88px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__copy .muted { font-size: 19px; max-width: 560px; }
.hero__art { flex: 1 1 320px; display: flex; justify-content: center; }
.hero__art img { width: 100%; max-width: 400px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Trust row */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; max-width: var(--max); padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 15px; color: var(--nav); }
.trust li { display: flex; align-items: center; gap: 8px; }

/* Cards */
.card { flex: 1 1 300px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.section:not(.section--alt) .card { background: var(--surface); }
.card p { color: var(--muted); font-size: 16px; }
.row--4 .card { flex-basis: 220px; }
.card--featured { border: 2px solid var(--accent); }
.card .price { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--text); line-height: 1.2; }
.card .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.tag { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--accent); }

/* Steps */
.step { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.step__num { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--accent); }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { color: var(--muted); font-size: 16px; }

/* Sample report */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.report { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.report__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; }
.report__head p:first-child { font-family: var(--display); font-weight: 700; font-size: 18px; }
.report__head p:last-child { font-size: 13px; color: var(--faint); }
.finding { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--border); }
.sev { flex: 0 0 76px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--bg); border-radius: 6px; padding: 3px 0; }
.sev--critical { background: #FF7A7A; }
.sev--high { background: var(--accent); }
.sev--medium { background: #FFC857; }
.sev--low { background: #9FB3C8; }
.finding strong { display: block; font-size: 15px; }
.finding span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.finding .sev { color: var(--bg); font-size: 12px; line-height: 1.6; }
ul.list { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }

/* Pilot + checklist panels */
.panel { border-radius: 16px; padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.panel--accent { border: 2px solid var(--accent); }
.panel--quiet { background: var(--surface); border: 1px solid var(--border); }
.panel__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.panel .h2 { font-size: 30px; }

/* Founder */
.founder { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.avatar { flex: 0 0 200px; height: 200px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 56px; color: var(--accent); }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.founder__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.text-link { font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* Form */
.signup { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.signup label { font-size: 14px; color: var(--nav); }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"] { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #3A4450; background: var(--bg); color: var(--text); font-size: 16px; font-family: inherit; }
.signup input[type="email"]:focus { border-color: var(--accent); outline: none; }
.signup small { color: var(--faint); font-size: 13px; }
.hp { position: absolute; left: -9999px; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 32px; }
.faq div { flex: 1 1 460px; display: flex; flex-direction: column; gap: 6px; }
.faq h3 { font-size: 18px; font-weight: 600; }
.faq p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 104px 24px; }
.contact img { width: 88px; }
.contact .h2 { font-size: clamp(34px, 5vw, 44px); font-weight: 800; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--faint); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--faint); }
.site-footer a:hover { color: var(--text); }

/* Simple pages (privacy, terms, thank you) */
.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; display: flex; flex-direction: column; gap: 18px; }
.page h2 { font-family: var(--display); font-size: 22px; margin-top: 18px; }
.page p, .page li { color: var(--muted); }
.notice { background: var(--surface); border: 1px solid var(--accent); border-radius: 10px; padding: 14px 18px; font-size: 15px; }

/* Public checklist page */
.cl-page { max-width: 860px; padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.cl-intro { display: flex; flex-direction: column; gap: 18px; }
.cl-lead { font-size: 19px; }
.cl-section { display: flex; flex-direction: column; gap: 12px; }
.cl-h2 { font-family: var(--display); font-weight: 700; font-size: 26px; display: flex; align-items: center; gap: 12px; }
.cl-h2 span { flex: 0 0 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cl-list { list-style: none; margin: 0; padding: 0; }
.cl-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--border); font-weight: 500; }
.cl-list li:last-child { border-bottom: 1px solid var(--border); }
.cl-num { flex: 0 0 auto; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--accent); }
.cl-signup .h2, .cl-cta .h2 { font-size: 26px; }
.cl-disc { font-size: 14px; color: var(--faint); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .hero__copy { flex-basis: 100%; }
  .hero__copy .muted { font-size: 17px; }
  .hero__art { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .trust ul { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px; }
  .card { padding: 22px; }
  .report { padding: 20px; }
  .finding { gap: 10px; }
  .sev { flex-basis: 68px; }
  .founder { gap: 28px; }
  .avatar { flex: 0 0 auto; width: 120px; height: 120px; align-self: flex-start; font-size: 36px; }
  .split, .founder { flex-direction: column; align-items: stretch; }
  .split > *, .founder__copy { flex-basis: auto; }
  .contact { padding: 72px 24px; }
  .cl-page { padding-top: 40px; gap: 32px; }
  .cl-lead { font-size: 17px; }
  .cl-h2 { font-size: 22px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .panel { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Guide / article pages ---------- */
.article { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.article article { display: flex; flex-direction: column; gap: 18px; }
.article .h1 { font-size: clamp(32px, 5vw, 46px); }
.article h2 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.25; margin-top: 28px; }
.article h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-top: 8px; }
.article p, .article li { font-size: 17px; line-height: 1.7; }
.article ol, .article ul { padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.article a { color: var(--accent); }
.article .btn { color: var(--bg); }
.byline { color: var(--muted); font-size: 14px; }
.answer { background: var(--surface); border-left: 3px solid var(--accent); border-radius: 8px; padding: 20px 22px; }
.article code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; }
.article pre { background: #0B0E11; border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; overflow-x: auto; margin: 6px 0; }
.article pre code { background: none; border: 0; padding: 0; font-size: 14px; line-height: 1.6; white-space: pre; }
.article-cta { margin-top: 32px; }
.article-cta h2 { margin-top: 0; }
.sources { font-size: 15px; }
@media (max-width: 640px) {
  .article { padding-top: 40px; }
  .article p, .article li { font-size: 16px; }
  .article pre code { font-size: 13px; }
}
