/* AIO Relocate. Colours are sampled from the logo: blue #064A8B, charcoal #2A2E34. */
:root {
  --blue: #064a8b;
  --blue-dark: #043867;
  --ink: #2a2e34;
  --muted: #5d6470;
  --line: #d9dee6;
  --bg: #f4f6f9;
  --card: #ffffff;
  --ok: #1d7a46;
  --bad: #b3261e;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand img { display: block; width: 220px; }

.btn {
  display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: 999px;
  padding: 13px 26px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7fb0e6; outline-offset: 2px; }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-wide { width: 100%; margin-top: 6px; font-size: 18px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero: the photo (made by Hearth's picture door, see tools/make_pictures.py) sits behind the words on a wide
   screen, darkened on the left where the words are; on a phone it is a banner above them. */
.hero { position: relative; background: var(--ink); padding: 0 0 48px; overflow: hidden; }
.hero-bg img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: 75% 35%; }
.hero-grid { position: relative; display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.hero-copy { color: #fff; padding-top: 28px; }
.hero-copy h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
@media (min-width: 900px) {
  .hero { padding: 56px 0 64px; min-height: 640px; }
  .hero-bg, .hero-bg img { position: absolute; inset: 0; height: 100%; }
  .hero-bg::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 22, 40, .86) 0%, rgba(10, 22, 40, .6) 42%, rgba(10, 22, 40, .15) 75%); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; z-index: 1; }
  .hero-copy { padding-top: 40px; }
}
.lead { font-size: 19px; color: #dbe3ee; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; font-weight: 550; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #6fd39b; font-weight: 800; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(20, 40, 70, .08); }
.form { padding: 24px 20px; }
@media (min-width: 600px) { .form { padding: 28px; } }
.form h2 { margin-bottom: 2px; }
.hint { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px; font: inherit; font-weight: 400;
  color: var(--ink); background: #fff; border: 1px solid #b9c1cd; border-radius: 8px;
}
.form textarea { resize: vertical; }
.form .bad { border-color: var(--bad) !important; background: #fff6f5 !important; }
.opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 480px) { .row2 { grid-template-columns: 1fr 1fr; } }

.contact-pref { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-pref legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; width: 100%; }
.form .pill {
  margin: 0; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border: 1px solid #b9c1cd; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.form .pill:has(input:checked) { border-color: var(--blue); background: #e8f0fa; color: var(--blue); }
.pill input { accent-color: var(--blue); margin: 0; }

.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { background: #fff6f5; border: 1px solid #f0c4c0; color: var(--bad); padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 15px; }

.how { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how h2 { text-align: center; margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--bg); border-radius: var(--radius); padding: 0 22px 22px; overflow: hidden; }
.steps li img { display: block; width: calc(100% + 44px); max-width: none; margin: 0 -22px 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.steps p { margin: 0; color: var(--muted); }
.n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 10px; }

.why { padding: 56px 0; }
.why-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .why-grid { grid-template-columns: 1.1fr 1fr; } }
.truck { border-radius: var(--radius); width: 100%; display: block; }
.why p { color: var(--muted); max-width: 38em; }

.faq { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); }
.narrow { max-width: 760px; }
.faq h2 { text-align: center; margin-bottom: 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* the checklist page */
.check h2 { margin-top: 28px; font-size: 21px; color: var(--blue); }
.check ul { padding-left: 0; list-style: none; }
.check li { position: relative; padding: 6px 0 6px 32px; }
.check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border: 2px solid #9aa6b8; border-radius: 5px; }
.check .cta { margin-top: 32px; padding: 20px; background: #e8f0fa; border-radius: var(--radius); text-align: center; }
@media print { .top, .foot, .cta { display: none; } body { background: #fff; } .page .card { border: 0; box-shadow: none; } }

.foot { background: var(--ink); color: #cfd4dc; padding: 28px 0; font-size: 15px; }
.foot a { color: #fff; }
.foot p { margin: 4px 0; }
.small { font-size: 13px; color: #9aa2ae; max-width: 50em; }

.page { padding: 40px 0 64px; }
.page .card { padding: 28px 22px; max-width: 760px; margin: 0 auto; }
.page h1 { font-size: clamp(26px, 4vw, 36px); }
.center { text-align: center; }
.big-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 16px; }
