/* 7am Sites. The same build as 7am Tenders' site (apps/alerts-site/src/site.css), with its own colour. */
:root {
  --ink: #16181d;
  --muted: #5b616e;
  --line: #e3e5ea;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-text: #1d4ed8;
  --warn: #9a3b00;
  --line-2: #cfd3da;
  --shadow: 0 24px 60px rgba(16, 24, 40, .16);
  --dot-ok: #1f9d55;
  --dot-bad: #d14343;
  --radius: 10px;
}
:root[data-theme="dark"] { --ink: #eef0f3; --muted: #a6acb8; --line: #2c3038; --bg: #121418; --soft: #1a1d23; --accent: #7aa7ff; --accent-ink: #0b1220; --accent-text: #8fb5ff; --warn: #ffb27a; --line-2: #3a404b; --shadow: 0 24px 60px rgba(0, 0, 0, .5); --dot-ok: #3fbf74; --dot-bad: #f07a7a; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 12px 0 16px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
p { margin: 0 0 14px; }
a { color: var(--accent-text); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.brand { font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand img { border-radius: 7px; }
.price { margin: 18px 0 0; font-weight: 600; }
.hint { font-size: 14px; color: var(--muted); }
input[type=text], input[type=email] { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); color: var(--ink); }
/* A field people never see: a bot fills it in (the sign-up's `fax`). */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button, .button { display: inline-block; font: inherit; font-weight: 600; border: 0; border-radius: 8px; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; }
button:disabled { opacity: 0.6; cursor: default; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--soft); }
.msg.err { color: var(--warn); }
footer { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* The home page: a two-column hero with the check and an example email, then full-width sections. */
body[data-page=home] main { max-width: none; padding: 0; }
body[data-page=home] footer { max-width: 1160px; padding-left: 24px; padding-right: 24px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav nav a { color: var(--ink); text-decoration: none; }
.nav nav a:hover { color: var(--accent-text); }
.nav nav a.button { color: var(--accent-ink); padding: 9px 15px; font-size: 15px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero h1 { font-size: clamp(32px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 22px; }
.hero .lead { font-size: 19px; line-height: 1.6; }
.hero .price { font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts b { display: block; font-size: 15px; margin-bottom: 5px; }
.facts span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
.example { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px 20px 14px; font-size: 14px; line-height: 1.4; margin-top: 8px; }
.example-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.example .pill { flex: none; font-size: 12px; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.example .sub { margin: 3px 0 10px; font-size: 12.5px; color: var(--muted); }
.example table { width: 100%; border-collapse: collapse; }
.example th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 6px 8px 6px 0; }
.example td { padding: 9px 8px 9px 0; border-top: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.example td:first-child { white-space: normal; font-weight: 550; }
.example td small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.example .foot { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--dot-ok); vertical-align: 1px; }
.dot.bad { background: var(--dot-bad); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; }
.section .lead { max-width: 680px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; margin-top: 44px; }
.features > div { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.features h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; margin: 18px 0 8px; }
.features p { margin: 0; font-size: 16px; color: var(--muted); }
.icon { width: 28px; height: 28px; fill: none; stroke: var(--accent-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.counts { list-style: none; padding: 0; margin: 28px 0 0; max-width: 680px; }
.counts li { display: flex; gap: 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.counts b { flex: none; width: 2.2em; text-align: right; font-size: 22px; font-variant-numeric: tabular-nums; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding: 26px 0 0; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); font-weight: 650; font-size: 15px; }
.steps h3 { font-size: 19px; margin: 14px 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.faq { max-width: 760px; margin-top: 28px; }
.faq h3 { font-size: 18px; margin: 26px 0 6px; }
.faq p { color: var(--muted); }
@media (max-width: 900px) {
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); }
  .features, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding-bottom: 22px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav nav a:not(.button) { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body[data-page=home] footer { padding-left: 16px; padding-right: 16px; }
}

/* The free check: the form, and what came back. */
.check-form { margin: 28px 0 0; }
.check-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check-row input { flex: 1 1 240px; width: auto; }
.check-row button { flex: none; }
.check-form .hint { margin: 10px 0 0; }
.result { margin-top: 26px; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.result[hidden] { display: none; }
.result h2 { margin: 0 0 4px; font-size: 22px; overflow-wrap: anywhere; }
/* The script moves focus to the heading so a screen reader reads the result; it is no control, so it takes no ring. */
.result h2:focus { outline: none; }
.result .when { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.result .verdict { font-weight: 650; font-size: 18px; margin: 0 0 12px; }
.result h3 { font-size: 17px; margin: 0 0 6px; }
.faults, .seen { list-style: none; padding: 0; margin: 0 0 8px; }
.faults li { padding: 12px 0 12px 14px; border-left: 3px solid var(--dot-bad); margin: 0 0 12px; background: var(--soft); border-radius: 0 8px 8px 0; padding-right: 14px; }
.faults p { margin: 0 0 6px; font-size: 15px; overflow-wrap: anywhere; }
.faults p:last-child { margin: 0; color: var(--muted); }
.seen li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-size: 15px; position: relative; }
.seen li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--dot-ok); }
.seen li.note::before { background: var(--line-2); }
.offer { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.signup-form { margin: 14px 0 0; position: relative; }
.signup-form label, .account label { display: block; font-weight: 600; margin-bottom: 8px; }
.account { margin-top: 24px; }
.account .row { margin: 0 0 18px; }
.account .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
button.quiet { background: var(--soft); color: var(--ink); border: 1px solid var(--line-2); }

/* Light by default; dark only when the visitor picks it (theme.js sets data-theme on <html>). */
:root { color-scheme: light; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 999px; background: transparent; color: var(--ink); border: 1px solid var(--line); }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun { display: none; }
.theme-toggle[hidden] { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
