/* Signal Scout Home: single-page site. No external fonts or scripts. */

:root {
  --ink: #1f2a30;
  --muted: #5f6b70;
  --line: #e3e8ea;
  --bg: #ffffff;
  --bg-alt: #f4f7f7;
  --brand: #0b5d6b;
  --brand-dark: #084550;
  --brand-soft: #e3f1f3;
  --accent: #f2a541;
  --good: #2e7d32;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 48, .06), 0 8px 24px rgba(16, 40, 48, .08);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-block;
  padding: .8em 1.4em;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--brand);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-small { padding: .5em 1.1em; font-size: .95rem; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: Outfit, system-ui, sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-tag { font-size: .78rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--brand); }
.nav a.btn { color: #fff; }

/* ------------------------------------------------------------ hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, #d9eef1 0%, transparent 60%),
    linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
  padding: 72px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: .85rem; letter-spacing: .02em;
}
.lead { font-size: 1.2rem; color: #33424a; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; color: #33424a; }
.hero-points li { padding-left: 28px; position: relative; margin: 6px 0; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.hero-art { margin: 0; background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-art figcaption, .timeline-art figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }

/* ------------------------------------------------------------ sections */
.section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.section-lead { font-size: 1.12rem; color: var(--muted); margin-top: -.2em; max-width: 40em; }
.section-note { margin-top: 28px; color: var(--muted); max-width: 46em; }

/* problems */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.problem {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.problem p { margin: 0; font-weight: 500; }
.p-icon { font-size: 1.5rem; line-height: 1.2; }

/* steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; }
.steps p { color: #3c4a51; margin: 0; font-size: .98rem; }
.step-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px;
}

/* report */
.report-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 40px; }
.report-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.report-card:first-child { border-top: 5px solid var(--brand); }
.report-card:last-child { border-top: 5px solid var(--accent); }
.part-label { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 26px; margin: 8px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); }
.feature p { margin: 0; color: #3c4a51; font-size: .98rem; }
.timeline-art { margin: 44px 0 0; padding: 22px 22px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* who */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.who { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.who p { margin: 0; color: #3c4a51; font-size: .98rem; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; background: #fff; position: relative;
}
.price-card .check-list { flex: 1; margin-bottom: 24px; }
.price-card .btn { text-align: center; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -13px; left: 26px; margin: 0; padding: 3px 12px; border-radius: 999px;
  background: var(--accent); color: #3a2400; font-size: .8rem; font-weight: 700;
}
.price { margin: 4px 0 0; }
.amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.price-note { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.fine-print { margin-top: 26px; color: var(--muted); font-size: .95rem; text-align: center; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin: 12px 0; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: #3c4a51; margin: 0 0 18px; }

/* contact */
.contact { background: linear-gradient(180deg, #0b5d6b 0%, #084550 100%); color: #fff; }
.contact h2, .contact .section-lead { color: #fff; }
.contact .section-lead { opacity: .85; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.c-label { min-width: 120px; opacity: .75; }
.contact-list a { color: #fff; font-weight: 600; }
.contact .btn { background: var(--accent); border-color: var(--accent); color: #3a2400; }
.contact .btn:hover { background: #e8952a; border-color: #e8952a; }
.contact .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.contact .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.contact-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 26px 28px; }
.contact-card ol { padding-left: 20px; margin: 0 0 14px; }
.contact-card li { margin: 6px 0; }
.contact-card p { margin: 0; opacity: .85; }

/* footer */
.site-footer { background: #062f37; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 24px; }
.footer-row p { margin: 0; }
.site-footer strong { color: #fff; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .who-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .feature-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .brand-tag { display: none; }
  .hero { padding: 44px 0; }
  .section { padding: 56px 0; }
  .steps, .who-grid, .problem-grid, .feature-grid, .price-grid, .report-split { grid-template-columns: 1fr; }
  .c-label { min-width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
