/* UK Delivery Date Calculator — mobile-first, no frameworks, system fonts. */
:root {
  --ink: #1a1d21;
  --muted: #5a6169;
  --accent: #0b5394;
  --accent-ink: #ffffff;
  --card: #ffffff;
  --bg: #f4f6f8;
  --border: #d4dae0;
  --alert-bg: #fdf0f0;
  --alert-ink: #8f1d1d;
  --success-bg: #edf7ed;
  --success-ink: #205c20;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
.site-header, main, footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem;
}
.site-header { padding-top: 1.75rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin: 0 0 .75rem; }
h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.tagline { color: var(--muted); margin: 0; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 1px 3px rgba(20, 30, 40, .06);
}
.field { margin: 0 0 1rem; border: 0; padding: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: .35rem; }
.hint { color: var(--muted); font-weight: 400; font-size: .9rem; margin: .3rem 0 0; }
input[type="date"], input[type="time"], input[type="number"], input[type="email"],
input[type="text"], select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: .6rem .7rem;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
textarea { min-height: auto; }
input:focus, select:focus, textarea:focus, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(11, 83, 148, .45);
  outline-offset: 1px;
}
.days { display: flex; flex-wrap: wrap; gap: .5rem; }
.days label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; margin: 0;
  border: 1px solid var(--border); border-radius: 999px;
  padding: .55rem .9rem; min-height: 3rem; cursor: pointer; background: #fff;
}
.days input[type="checkbox"] { width: 1.25rem; height: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
button {
  font: inherit; font-weight: 700; cursor: pointer;
  min-height: 3.2rem; padding: .7rem 1.4rem;
  border-radius: 10px; border: 1px solid transparent; width: 100%;
}
button.primary { background: var(--accent); color: var(--accent-ink); }
button.primary:hover { filter: brightness(1.08); }
button.secondary { background: #fff; color: var(--accent); border-color: var(--accent); width: auto; }
button:disabled { opacity: .55; cursor: default; }
details summary { cursor: pointer; font-weight: 600; min-height: 3rem; display: flex; align-items: center; }
.result { margin-top: 1.5rem; border-top: 2px solid var(--border); padding-top: 1rem; }
.result-label { font-weight: 600; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.result-range { font-size: 1.65rem; font-weight: 800; line-height: 1.25; margin: .3rem 0; }
.estimate-note { font-weight: 600; }
.steps { margin: .5rem 0 1rem; padding-left: 1.4rem; }
.steps li { margin-bottom: .35rem; }
.credit { color: var(--muted); font-size: .9rem; }
.alert {
  background: var(--alert-bg); color: var(--alert-ink);
  border-radius: 8px; padding: .7rem .9rem; margin: 1rem 0;
}
.prose ul { padding-left: 1.3rem; }
footer { color: var(--muted); font-size: .92rem; padding-bottom: 2rem; }
footer a, main a { color: var(--accent); }

/* --- staging additions (2026-11-05): owners section + FAQ --- */
.owners { border-left: 4px solid var(--accent); }
.cta-link { font-weight: 600; color: var(--accent); }
.cta-link:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#owners-waitlist { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
#faq-heading + h3 { margin-top: 1rem; }
.shot { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; }
table.compare { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
table.compare th, table.compare td { border: 1px solid var(--border); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
table.compare th { background: var(--bg); }
.notice { background: var(--success-bg); color: var(--success-ink); border-radius: 8px; padding: 0.75rem 1rem; }
