/* Hard Hat Weather: product pages (landing, dashboard, terms).
   A service of La Porte Weather Now. System fonts: fast everywhere, crisp on Windows and phones. */

:root {
  --ink: #111316;
  --ink-2: #2a2e33;
  --muted: #555b63;
  --faint: #636970;
  --bg: #f6f5f1;
  --bg-2: #eeece5;
  --card: #ffffff;
  --line: #e2dfd6;
  --line-2: #cfcbbf;
  --night: #0e1013;
  --night-2: #181b20;
  --night-line: #2b2f36;
  --on-night: #f3f2ee;
  --on-night-muted: #b6bac1;
  --accent: #ff8a00;
  --accent-2: #ffb400;
  --accent-text: #9a4f00;
  --go: #177245;
  --go-bg: #e5f3ea;
  --go-soft: #bfe3cc;
  --delay: #f2a900;
  --delay-text: #7d4500;
  --delay-bg: #fff4dc;
  --delay-soft: #f7dc9c;
  --stop: #b3261e;
  --stop-bg: #fdecea;
  --stop-soft: #f3c3be;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 19, 22, 0.05), 0 10px 30px rgba(17, 19, 22, 0.07);
  --shadow-lg: 0 2px 4px rgba(17, 19, 22, 0.06), 0 24px 60px rgba(17, 19, 22, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: #fff; color: var(--ink); font-weight: 800; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); text-decoration: none; }
.skip-link:focus { top: 12px; }

.wd-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wd-wrap { padding: 0 16px; } }

/* ---------- Header ---------- */
.wd-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.wd-header .wd-wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.wd-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wd-logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.wd-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.wd-logo-name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.wd-logo-by { font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: 0.01em; }
.wd-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.wd-nav a { font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.wd-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.wd-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.wd-header .wd-btn { margin-left: 4px; }
@media (max-width: 860px) {
  .wd-nav a.wd-nav-opt { display: none; }
}
.wd-logo-name { white-space: nowrap; }
@media (max-width: 560px) {
  .wd-header .wd-wrap { gap: 12px; min-height: 60px; justify-content: space-between; }
  .wd-logo-by { display: none; }
  .wd-nav { display: none; }
  .wd-header .wd-btn { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 380px) {
  .wd-logo-name { font-size: 16px; }
  .wd-header .wd-btn { padding: 9px 10px; font-size: 13px; }
}
@media (max-width: 340px) {
  .wd-header .wd-logo svg { display: none; }
}

/* ---------- Buttons ---------- */
.wd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1;
  padding: 13px 20px; border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, transform 0.05s;
}
.wd-btn:active { transform: translateY(1px); }
.wd-btn-primary { background: var(--ink); color: #fff; }
.wd-btn-primary:hover { background: #2a2e33; }
.wd-btn-accent { background: var(--accent); color: #111316; }
.wd-btn-accent:hover { background: var(--accent-2); }
.wd-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.wd-btn-ghost:hover { border-color: var(--ink); }
.wd-on-night .wd-btn-ghost { color: var(--on-night); border-color: #4a4f57; }
.wd-on-night .wd-btn-ghost:hover { border-color: var(--on-night); }
.wd-btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.wd-btn[disabled] { opacity: 0.6; cursor: progress; }
.wd-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wd-linkbtn:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.wd-hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 138, 0, 0.22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(23, 114, 69, 0.18), transparent 60%),
    var(--night);
  color: var(--on-night);
  padding: 72px 0 84px;
  overflow: hidden;
}
.wd-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.wd-launch { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 22px; padding: 6px 14px 6px 6px; border: 1px solid #3a3f47; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-night); background: rgba(255, 255, 255, 0.04); }
.wd-launch span { background: var(--accent); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.wd-hint a { color: inherit; }
.wd-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.wd-hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 22px; }
.wd-hero h1 .wd-hl { color: var(--accent-2); }
.wd-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: #d9dbe0; max-width: 600px; margin-bottom: 30px; }
.wd-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.wd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: var(--on-night-muted); }
.wd-trust li { display: inline-flex; align-items: center; gap: 8px; }
.wd-trust svg { width: 18px; height: 18px; color: #4cc38a; flex-shrink: 0; }
@media (max-width: 900px) {
  .wd-hero { padding: 48px 0 60px; }
  .wd-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ---------- Phone ---------- */
.wd-phone-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.wd-phone {
  width: 100%; max-width: 330px;
  background: #1c1f24;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 0 0 1px #33373e, 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #0b0c0e;
}
.wd-phone-screen { background: #f2f2f6; border-radius: 36px; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; color: #111; }
.wd-phone-status { display: flex; justify-content: space-between; padding: 14px 26px 6px; font-size: 13px; font-weight: 700; }
.wd-phone-contact { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0 14px; border-bottom: 1px solid #dcdce2; background: rgba(250, 250, 252, 0.9); }
.wd-phone-contact svg { width: 42px; height: 42px; }
.wd-phone-contact span { font-size: 12px; font-weight: 600; color: #333; }
.wd-phone-body { padding: 14px 14px 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; flex: 1; }
.wd-delivered { align-self: flex-start; font-size: 11px; color: #8a8a92; font-weight: 600; margin: 0 0 0 8px; }
.wd-phone-time { text-align: center; font-size: 11px; color: #5f5f66; font-weight: 600; margin: 4px 0 2px; }
.wd-bubble { align-self: flex-start; max-width: 88%; background: #e6e6eb; color: #111; border-radius: 20px 20px 20px 6px; padding: 10px 14px; font-size: 14.5px; line-height: 1.38; white-space: pre-line; margin: 0; overflow-wrap: anywhere; }
.wd-phone-caption { font-size: 14px; color: var(--on-night-muted); text-align: center; max-width: 330px; margin: 0; }
.wd-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: #7ee2a8; text-transform: uppercase; }
.wd-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: wd-pulse 2s 2; }
.wd-live.wd-example { color: var(--on-night-muted); }
.wd-live.wd-example::before { background: #8b9098; animation: none; }
@keyframes wd-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@media (prefers-reduced-motion: reduce) { .wd-live::before { animation: none; } }

/* ---------- Sections ---------- */
.wd-section { padding: 88px 0; }
.wd-section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wd-section-night { background: var(--night); color: var(--on-night); }
@media (max-width: 700px) { .wd-section { padding: 56px 0; } }
.wd-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.wd-section-night .wd-kicker { color: var(--accent-2); }
.wd-h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; }
.wd-sub { font-size: 18px; color: var(--muted); max-width: 720px; margin-bottom: 36px; }
.wd-section-night .wd-sub { color: var(--on-night-muted); }
.wd-center { text-align: center; }
.wd-center .wd-sub { margin-left: auto; margin-right: auto; }

/* Value cards */
.wd-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wd-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .wd-grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .wd-grid-2 { grid-template-columns: minmax(0, 1fr); } }
.wd-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.wd-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.wd-card p:last-child { margin-bottom: 0; }
.wd-card p { color: var(--muted); }
.wd-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); margin-bottom: 16px; }
.wd-icon svg { width: 24px; height: 24px; }

/* ---------- Live check ---------- */
.wd-check { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; gap: 24px 32px; align-items: start; }
.wd-check > form { grid-column: 1; grid-row: 1; }
.wd-check > .wd-result { grid-column: 2; grid-row: 1 / span 2; }
.wd-check > .wd-how { grid-column: 1; grid-row: 2; margin-top: 0; }
@media (max-width: 960px) {
  .wd-check { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .wd-check > form, .wd-check > .wd-result, .wd-check > .wd-how { grid-column: 1; grid-row: auto; }
}
.wd-form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.wd-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wd-field label, .wd-field .wd-field-label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.wd-field .wd-hint { font-size: 13px; color: var(--faint); font-weight: 500; }
.wd-input, .wd-select {
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; width: 100%; min-height: 48px;
}
.wd-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111316' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.wd-input:hover, .wd-select:hover { border-color: #9e998c; }
.wd-input:focus, .wd-select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.35); }
.wd-row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 420px) { .wd-row-2 { grid-template-columns: minmax(0, 1fr); } }
.wd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 18px; }
.wd-chip { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2); cursor: pointer; }
.wd-chip:hover { border-color: var(--ink); color: var(--ink); }
.wd-form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wd-matches { margin-top: 14px; font-size: 14px; color: var(--muted); }
.wd-how { margin-top: 18px; background: var(--bg-2); border-radius: var(--radius); padding: 18px 20px; font-size: 15px; color: var(--ink-2); }
.wd-how h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.wd-how ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.wd-check > * { min-width: 0; }
.wd-matches ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.wd-matches button { font: inherit; font-size: 14px; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; width: 100%; }
.wd-matches button:hover { border-color: var(--ink); }
.wd-error { color: var(--stop); font-weight: 600; font-size: 15px; margin: 12px 0 0; }

.wd-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; min-height: 280px; }
.wd-result[aria-busy="true"] { opacity: 0.7; }
.wd-result-place { font-size: 14px; color: var(--faint); font-weight: 600; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.wd-result-place strong { color: var(--ink); font-size: 16px; }
.wd-result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.wd-result-day { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.wd-result-meta { font-size: 14px; color: var(--faint); font-weight: 600; margin-top: 2px; }
.wd-headline { font-size: 17px; color: var(--ink-2); margin-bottom: 14px; }
.wd-note { font-size: 14px; background: var(--delay-bg); border: 1px solid var(--delay-soft); color: #5a3400; border-radius: 10px; padding: 10px 12px; }
.wd-note a { font-weight: 700; }
.wd-source { font-size: 13px; color: var(--faint); margin: 16px 0 0; }
.wd-source a { color: var(--accent-text); font-weight: 700; }
.wd-label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.wd-daytabs { display: inline-flex; background: var(--bg-2); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.wd-daytabs button { font: inherit; font-size: 14px; font-weight: 700; border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.wd-daytabs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.wd-cta-inline { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.wd-cta-inline p { margin: 0; font-weight: 700; }
.wd-skeleton { display: flex; flex-direction: column; gap: 12px; }
.wd-skeleton span { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, #eeece5, #f7f6f2, #eeece5); background-size: 200% 100%; animation: wd-shimmer 1.2s 4 linear; }
@keyframes wd-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .wd-skeleton span { animation: none; } }

/* Call pills */
.wd-pill { display: inline-flex; align-items: center; font-weight: 800; font-size: 13px; letter-spacing: 0.06em; line-height: 1.2; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.wd-pill-big { font-size: 17px; padding: 10px 18px; }
.wd-go { background: var(--go); color: #fff; }
.wd-delay { background: var(--delay); color: #1c1300; }
.wd-stop { background: var(--stop); color: #fff; }
.wd-unknown { background: #d9d6ce; color: var(--ink); }
@media (max-width: 480px) { .wd-pill-big { font-size: 15px; padding: 9px 14px; white-space: normal; } }

/* Reasons */
.wd-reasons { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.wd-reason { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.wd-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.wd-reason-stop .wd-dot { background: var(--stop); }
.wd-reason-watch .wd-dot { background: var(--delay); }
.wd-reason-ok .wd-dot { background: var(--go); }

/* Hour strip */
.wd-strip-wrap { position: relative; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 4px; -webkit-overflow-scrolling: touch; }
.wd-strip-legend { display: grid; grid-template-rows: 18px 10px 20px 20px 20px; gap: 4px; font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 1px; flex-shrink: 0; min-width: 44px; }
.wd-strip { display: flex; gap: 3px; list-style: none; padding: 0; margin: 0; }
.wd-hr { position: relative; display: grid; grid-template-rows: 18px 10px 20px 20px 20px; gap: 4px; min-width: 44px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.wd-hr-time { font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.wd-hr-bar { border-radius: 4px; background: var(--go-soft); }
.wd-hr-watch .wd-hr-bar { background: var(--delay); }
.wd-hr-stop .wd-hr-bar { background: var(--stop); }
.wd-hr-nodata .wd-hr-bar { background: repeating-linear-gradient(45deg, #ddd9cf, #ddd9cf 3px, #eeece5 3px, #eeece5 6px); }
.wd-hr-ok .wd-hr-bar { background: var(--go); opacity: 0.85; }
.wd-hr-pop, .wd-hr-gust, .wd-hr-temp { color: var(--ink-2); }
.wd-strip-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--faint); margin: 4px 0 0; padding: 0; list-style: none; }
.wd-strip-key span { display: inline-flex; align-items: center; gap: 6px; }
.wd-strip-key i { width: 14px; height: 8px; border-radius: 3px; display: inline-block; }

/* SMS preview (inside cards) */
.wd-result-sms { margin-top: 18px; }
.wd-sms { background: #f2f2f6; border-radius: 16px; padding: 12px; }
.wd-sms-from { font-size: 12px; font-weight: 700; color: #6b6b73; margin: 0 0 6px 6px; }
.wd-sms-bubble { background: #e3e3e8; border-radius: 18px 18px 18px 6px; padding: 10px 14px; margin: 0; font-size: 14.5px; line-height: 1.4; max-width: 520px; overflow-wrap: anywhere; }

/* ---------- Steps / timeline ---------- */
.wd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: wd-step; }
@media (max-width: 960px) { .wd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wd-steps { grid-template-columns: minmax(0, 1fr); } }
.wd-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.wd-step-time { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--accent-text); background: #fff1df; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.wd-step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.wd-step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Message examples ---------- */
.wd-msgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
@media (max-width: 960px) { .wd-msgs { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.wd-msg-card { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.wd-msg-card h3 { font-size: 17px; font-weight: 800; color: var(--on-night); }
.wd-msg-card p.wd-msg-when { font-size: 14px; color: var(--on-night-muted); margin: 0; }
.wd-msg-card .wd-bubble { max-width: 100%; }

/* ---------- Trades ---------- */
.wd-trades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .wd-trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .wd-trades { grid-template-columns: minmax(0, 1fr); } }
.wd-trade { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.wd-trade h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.wd-trade dl { margin: 0; display: grid; gap: 10px; }
.wd-trade dt { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.wd-trade dt::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.wd-trade dt.wd-t-stop { color: var(--stop); }
.wd-trade dt.wd-t-stop::before { background: var(--stop); }
.wd-trade dt.wd-t-watch { color: var(--delay-text); }
.wd-trade dt.wd-t-watch::before { background: var(--delay); }
.wd-trade dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.wd-trades-note { margin-top: 22px; font-size: 15px; color: var(--muted); }
.wd-trade-other { background: var(--bg); border-style: dashed; display: flex; flex-direction: column; justify-content: center; }
.wd-trade-other p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.wd-trade-other a { color: var(--accent-text); font-weight: 700; }

/* ---------- Proof ---------- */
.wd-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .wd-proof { grid-template-columns: minmax(0, 1fr); } }
.wd-proof-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; }
.wd-proof-list li { display: flex; gap: 12px; align-items: flex-start; }
.wd-proof-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--go); }
.wd-report { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.wd-report-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.wd-report-head strong { font-size: 16px; }
.wd-report-head span { font-size: 13px; color: var(--faint); font-weight: 600; }
.wd-report table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.wd-report th, .wd-report td { text-align: left; padding: 10px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wd-report th { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); background: var(--bg); }
.wd-report tr:last-child td { border-bottom: 0; }
.wd-report .wd-pill { font-size: 11.5px; padding: 4px 9px; }
.wd-hit { color: var(--go); font-weight: 800; }
.wd-miss { color: var(--stop); font-weight: 800; }
.wd-report-foot { padding: 12px 20px; font-size: 13px; color: var(--faint); background: var(--bg); }
.wd-report-scroll { overflow-x: auto; position: relative; }
@media (max-width: 520px) {
  .wd-report th, .wd-report td { padding: 9px 10px; }
  .wd-report .wd-pill { white-space: normal; }
  .wd-report table { font-size: 13.5px; }
}

/* ---------- Pricing ---------- */
.wd-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .wd-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }
.wd-plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); position: relative; }
.wd-plan-featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.wd-plan-badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.wd-plan h3 { font-size: 20px; font-weight: 800; }
.wd-price { display: flex; align-items: baseline; gap: 6px; }
.wd-price strong { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.wd-price span { color: var(--faint); font-weight: 600; }
.wd-plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.wd-plan li { display: flex; gap: 10px; font-size: 15.5px; }
.wd-plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--go); }
.wd-plans-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 15px; }

/* ---------- FAQ ---------- */
.wd-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.wd-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.wd-faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.wd-faq summary::-webkit-details-marker { display: none; }
.wd-faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.wd-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.wd-faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Sign-up ---------- */
.wd-signup { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .wd-signup { grid-template-columns: minmax(0, 1fr); } }
.wd-signup .wd-form-card { padding: 28px; }
.wd-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 6px 0 18px; }
.wd-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.wd-consent label { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.wd-consent a, .wd-fine a { color: var(--accent-text); font-weight: 700; }
.wd-fine { font-size: 13px; color: var(--faint); margin: 14px 0 0; }
.wd-next { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; counter-reset: wd-next; }
.wd-next li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.wd-next li::before { counter-increment: wd-next; content: counter(wd-next); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.wd-next h3 { font-size: 17px; font-weight: 800; margin: 8px 0 4px; }
.wd-next p { color: var(--muted); margin: 0; font-size: 15.5px; }
.wd-field-error { color: var(--stop); font-size: 14px; font-weight: 600; min-height: 0; }

/* ---------- Footer ---------- */
.wd-footer { background: var(--night); color: var(--on-night-muted); padding: 56px 0 40px; font-size: 15px; }
.wd-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); gap: 32px; }
@media (max-width: 760px) { .wd-footer-grid { grid-template-columns: minmax(0, 1fr); } }
.wd-footer .wd-logo { color: var(--on-night); }
.wd-footer .wd-logo-by { color: var(--on-night-muted); }
.wd-footer h2 { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night); margin-bottom: 12px; }
.wd-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.wd-footer a { color: var(--on-night-muted); text-decoration: none; }
.wd-footer a:hover { color: #fff; text-decoration: underline; }
.wd-footer-legal { border-top: 1px solid var(--night-line); margin-top: 36px; padding-top: 20px; font-size: 13px; line-height: 1.6; }

/* ---------- Dashboard ---------- */
.wd-app-bar { background: var(--night); color: var(--on-night); padding: 22px 0; }
.wd-app-bar .wd-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.wd-app-title { display: flex; flex-direction: column; gap: 2px; }
.wd-app-title h1 { font-size: 24px; font-weight: 800; }
.wd-app-title span { font-size: 14px; color: var(--on-night-muted); }
.wd-sample-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: #2c3037; color: var(--accent-2); padding: 3px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }
.wd-app-status { display: flex; flex-wrap: wrap; gap: 10px; }
.wd-status-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 999px; padding: 7px 12px; color: var(--on-night); }
.wd-status-chip svg { width: 16px; height: 16px; }
.wd-dash { padding: 28px 0 72px; }
.wd-dash-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.wd-summary { font-size: 18px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.wd-summary .wd-pill { font-size: 12.5px; }
.wd-daypick { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 0 20px; }
.wd-daypick button { font: inherit; flex-shrink: 0; border: 1.5px solid var(--line-2); background: #fff; border-radius: 12px; padding: 8px 12px; cursor: pointer; text-align: left; min-width: 92px; }
.wd-daypick button span { display: block; font-size: 12px; color: var(--faint); font-weight: 600; }
.wd-daypick button strong { font-size: 15px; }
.wd-daypick button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.wd-daypick button[aria-pressed="true"] span { color: #c9ccd2; }
.wd-week { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; margin-bottom: 26px; }
.wd-week table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 14px; }
.wd-week caption { text-align: left; padding: 16px 18px 6px; font-weight: 800; font-size: 16px; }
.wd-week th, .wd-week td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.wd-week thead th { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); border-top: 0; }
.wd-week tbody th { font-weight: 700; white-space: nowrap; }
.wd-week tbody th span { display: block; font-size: 12.5px; color: var(--faint); font-weight: 600; }
.wd-week td button { font: inherit; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.wd-week td .wd-pill { font-size: 11px; padding: 4px 8px; }
.wd-week td small { font-size: 12px; color: var(--muted); line-height: 1.3; max-width: 130px; }
.wd-sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .wd-sites { grid-template-columns: minmax(0, 1fr); } }
.wd-site { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; }
.wd-site-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.wd-site h2 { font-size: 19px; font-weight: 800; }
.wd-site-meta { font-size: 13.5px; color: var(--faint); font-weight: 600; margin-top: 3px; }
.wd-site details { margin-top: 14px; }
.wd-site summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--accent-text); }
.wd-site-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.wd-add { margin-top: 28px; }
.wd-add .wd-form-card { max-width: 760px; }
.wd-add-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
@media (max-width: 640px) { .wd-add-grid { grid-template-columns: minmax(0, 1fr); } }
.wd-empty { background: var(--card); border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.wd-banner { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }
.wd-banner p { margin: 0; font-size: 15.5px; }

/* ---------- Legal pages ---------- */
.wd-legal { max-width: 800px; }
.wd-legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin-bottom: 10px; }
.wd-legal h2 { font-size: 23px; font-weight: 800; margin: 38px 0 10px; scroll-margin-top: 90px; }
.wd-legal p, .wd-legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.wd-legal ul { padding-left: 22px; }
.wd-legal a { color: var(--accent-text); font-weight: 700; }
.wd-legal .wd-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 16px 0; }
.wd-legal .wd-box p:last-child { margin-bottom: 0; }
.wd-updated { color: var(--faint); font-weight: 600; }

@media print {
  .wd-header, .wd-footer, .wd-cta-row, .wd-skip { display: none; }
  body { background: #fff; }
}

/* Dark sections: keep secondary text and step numbers readable */
.wd-on-night .wd-next p { color: var(--on-night-muted); }
.wd-on-night .wd-next li::before { background: var(--accent); color: var(--ink); }
.wd-on-night .wd-next h3, .wd-on-night .wd-next h2 { color: var(--on-night); }
.wd-section-night .wd-sub a { color: var(--accent-2); font-weight: 700; }

/* ---------- Share ---------- */
.wd-share { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.wd-share h2 { margin: 6px 0 10px; }
.wd-share-lede { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0 0 18px; max-width: 56ch; }
.wd-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.wd-share-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 700; color: var(--go); }
.wd-share-post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 10px; }
.wd-share-post label { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.wd-share-post textarea { width: 100%; font: inherit; font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; resize: vertical; }
.wd-share-post .wd-btn { justify-self: start; }
@media (max-width: 820px) { .wd-share { grid-template-columns: 1fr; gap: 22px; } }

/* Contact lines (Text ... or email ...): let long numbers and addresses wrap on phones. */
[data-wd-contact], [data-wd-contact] a { overflow-wrap: anywhere; word-break: break-word; }
/* Small phones: the header button was 14px too wide at 390px. Shrink it so nothing scrolls sideways. */
@media (max-width: 440px) {
  .wd-header .wd-wrap { gap: 8px; }
  .wd-header .wd-btn { margin-left: 0; padding-left: 12px; padding-right: 12px; font-size: 14px; white-space: normal; text-align: center; line-height: 1.2; max-width: 150px; }
  .wd-header .wd-logo { min-width: 0; }
}
