/* MWT Picks site layout. Colours come only from theme.css variables. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg-grad-a); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; white-space: nowrap; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; }
.brand-mark { width: 28px; height: 28px; display: block; }   /* the app icon: the only coloured brand element */
.header-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.header-nav a { color: var(--text-2); text-decoration: none; }
.header-nav a:hover { color: var(--text); }
.header-nav a.btn-primary, .header-nav a.btn-primary:hover { color: var(--on-accent); }
.header-nav .nav-link { display: none; }
@media (min-width: 720px) { .header-nav .nav-link { display: inline; } }

/* Buttons */
.btn { white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--bg-grad-a) 0%, var(--bg-grad-b) 100%); border-bottom: 1px solid var(--border); }
.hero .wrap { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 64px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1fr 1.08fr; padding-top: 80px; padding-bottom: 88px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); border: 1px solid var(--border-strong); border-radius: 999px; padding: 4px 12px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 7vw, 60px); font-weight: 750; }
.hero .sub { margin-top: 18px; font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); max-width: 34em; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-muted); }

/* Sections */
.section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 720; }
.section .lead { margin-top: 12px; color: var(--text-2); font-size: 18px; max-width: 40em; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); font-weight: 700; margin-bottom: 16px; color: var(--text); }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--text-2); }
.kbd { display: inline-block; min-width: 1.6em; text-align: center; font-size: 0.85em; font-weight: 600; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; line-height: 1.5; }

.features { margin-top: 36px; display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { border-top: 1px solid var(--border-strong); padding-top: 18px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--text-2); }

/* Waitlist */
.join { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-grad-a) 100%); }
.join-box { margin-top: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; max-width: 620px; }
@media (max-width: 420px) { .join-box { padding: 20px; } }
.field-label { display: block; font-weight: 600; margin-bottom: 8px; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field-row input[type=email] { flex: 1 1 220px; min-width: 0; }
input[type=email] {
  min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font: inherit;
}
input[type=email]::placeholder { color: var(--text-muted); }
input[type=email][aria-invalid=true] { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--text-2); font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.form-msg { margin-top: 14px; min-height: 1.5em; font-size: 15px; }
.form-msg.is-error { color: var(--danger); }
.fine { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.done[hidden], .waitlist-form[hidden] { display: none; }
.done h3 { font-size: 24px; }
.done p { margin-top: 8px; color: var(--text-2); }
.share-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-url { flex: 1 1 220px; min-width: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; color: var(--text); }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; color: var(--text-2); }

/* Footer */
.site-footer { padding: 40px 0 48px; font-size: 14px; color: var(--text-muted); }
.site-footer .wrap { display: grid; gap: 18px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.badge-18 { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--text-2); color: var(--text); font-weight: 800; font-size: 13px; flex: none; }
.footer-safe { display: flex; gap: 12px; align-items: center; color: var(--text-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-2); }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); }
.legal h2 { font-size: 21px; margin-top: 36px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; margin: 8px 0 0; }
.legal li + li { margin-top: 6px; }
.draft-banner { margin: 20px 0 8px; border: 2px dashed var(--danger); color: var(--text); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.updated { margin-top: 8px; font-size: 14px; color: var(--text-muted); }
