/* Shepherds IT Support – Windows 10 date checker. Mobile-first, no external fonts. */
:root {
  --bg: #fbf8f1;        /* soft cream: easier on the eyes than pure white */
  --text: #1c1c1c;
  --muted: #4a4a4a;
  --card: #ffffff;
  --brand: #0b4f8a;
  --brand-dark: #083a66;
  --accent: #ffd34d;
  --border: #c9c3b5;
  --error: #a30000;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; } /* 18px base */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
  word-spacing: 0.06em;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
h1, h2, h3 { line-height: 1.3; margin: 1.2em 0 0.5em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
p, li { max-width: 34em; }
a { color: var(--brand); text-underline-offset: 0.15em; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--text); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.site-header { background: var(--brand); color: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.25rem 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand { margin: 0; font-weight: bold; }
.header-contact { margin: 0; }
.site-header a { color: #fff; font-weight: bold; }

.lead { font-size: 1.05rem; margin: 0.4em 0; }
.card { background: var(--card); border: 2px solid var(--border); border-radius: var(--radius); padding: 1rem 1rem 1.25rem; margin: 1.5rem 0; }
.card > h2:first-child, legend h2 { margin-top: 0.2em; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; width: 100%; }
legend h2 { margin-bottom: 0.6em; }
.progress { margin: 0 0 0.25rem; color: var(--muted); font-weight: bold; }

.choice {
  display: flex; align-items: center; gap: 0.75rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 0.8rem 1rem; margin: 0 0 0.6rem; cursor: pointer;
  min-height: 3.2rem; background: #fff;
}
.choice:hover { border-color: var(--brand); }
.choice input { width: 1.4rem; height: 1.4rem; margin: 0; flex: none; accent-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: #eaf2fb; font-weight: bold; }
.choice:has(input:focus-visible) { outline: 3px solid var(--text); outline-offset: 2px; }

.nav-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.btn {
  display: inline-block; font: inherit; font-weight: bold; text-decoration: none; text-align: center;
  background: var(--brand); color: #fff; border: 2px solid var(--brand);
  border-radius: var(--radius); padding: 0.7rem 1.4rem; min-height: 3rem; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); }
.btn-secondary:hover { background: #eaf2fb; color: var(--brand-dark); }
.btn-big { width: 100%; font-size: 1.1rem; padding: 0.9rem 1.4rem; margin-top: 0.5rem; }
.link-btn { font: inherit; background: none; border: 0; padding: 0.5rem 0; color: var(--brand); text-decoration: underline; cursor: pointer; }

.result { border-color: var(--brand); border-width: 3px; }
.date-box { background: #fff6d6; border-left: 6px solid var(--accent); padding: 0.8rem 1rem; border-radius: 6px; }
.date-box strong { display: block; font-size: 1.4rem; }
.date-box span { display: block; }
.result ul { padding-left: 1.2rem; }
.result li { margin-bottom: 0.5em; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: bold; margin-bottom: 0.25rem; }
.field input { width: 100%; font: inherit; padding: 0.7rem; border: 2px solid var(--muted); border-radius: 6px; background: #fff; color: var(--text); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.hint { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }
.error { color: var(--error); font-weight: bold; }
.notice { background: #fff6d6; padding: 1rem; border-radius: 6px; }
.small { font-size: 0.9rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.contact-list .btn { width: 100%; overflow-wrap: anywhere; }
.privacy, .sources { margin: 2rem 0; }
.site-footer { border-top: 2px solid var(--border); margin-top: 2rem; padding: 1rem 0; font-size: 0.9rem; }

[hidden] { display: none !important; }

@media (min-width: 48em) {
  html { font-size: 118.75%; } /* 19px */
  h1 { font-size: 2rem; }
  .card { padding: 1.5rem 1.75rem 1.75rem; }
  .btn-big { width: auto; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ===== Computer guide additions ===== */
.tip { margin-top: 1rem; background: #fff6d6; border-radius: 6px; padding: 0.6rem 1rem; }
.tip summary { cursor: pointer; font-weight: bold; color: var(--brand); min-height: 2.5rem; display: flex; align-items: center; }
.tip p { margin: 0.5rem 0; }
.choice span { min-width: 0; overflow-wrap: anywhere; }
.result h3 { margin-top: 1.5em; }
.kit-tier { font-weight: bold; margin: 0.8em 0 0.2em; }
#plan .contact-list { margin-top: 1rem; }
