/* LaneWise: the "opening soon" page. One page, no scripts, nothing loaded from anywhere else.
   The look follows the UK road-sign system used across LaneWise: motorway blue on white
   panels, and yellow kept for temporary things, the way temporary road signs are yellow. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/AtkinsonHyperlegibleNext-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-900: #0a2550;
  --brand-700: #1150b4;
  --yellow-500: #ffd21f;
  --ink: #131a26;
  --ink-2: #424c5c;
  --line: #d4dae4;
  --bg: #eef1f6;
  --surface: #ffffff;
  --ok-700: #0b6b3c;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(1rem, 4vw, 3rem) 1rem;
  background: var(--bg);
  color: var(--ink);
  font: 1.125rem/1.55 "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.sign {
  width: 100%;
  max-width: 40rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3rem) 0;
  overflow: hidden;
}

.brand { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 2rem; }
.brand__mark { display: block; flex: none; }
.brand__name { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.01em; }

/* A temporary sign: black on yellow with a black edge. */
.temporary {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.3125rem 0.875rem;
  background: var(--yellow-500);
  color: #000;
  border: 2px solid #000;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead { margin: 0 0 1.5rem; color: var(--ink-2); font-size: 1.1875rem; max-width: 34rem; }

.points { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.625rem; }
.points li { position: relative; padding-left: 2rem; }
.points li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.375rem;
  width: 0.5rem;
  height: 0.9375rem;
  border: solid var(--ok-700);
  border-width: 0 0.1875rem 0.1875rem 0;
  transform: rotate(45deg);
}

.action { margin: 0 0 0.75rem; }

.button {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  background: var(--brand-700);
  color: #fff;
  border-radius: 0.625rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 3rem;
}
.button:hover { background: var(--brand-900); }

a { color: var(--brand-700); }
a:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; border-radius: 0.25rem; }
.button:focus-visible { outline-color: #000; }

.small { margin: 0 0 2.5rem; color: var(--ink-2); font-size: 1rem; }

/* The road: a strip of motorway blue with a broken white centre line. */
.road {
  height: 3.5rem;
  margin: 0 calc(-1 * clamp(1.25rem, 5vw, 3rem));
  background:
    linear-gradient(90deg, #fff 55%, transparent 55%) center / 4.5rem 0.3125rem repeat-x,
    var(--brand-700);
}

footer { max-width: 40rem; text-align: center; color: var(--ink-2); font-size: 0.9375rem; }
footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 120ms ease; }
}

@media print {
  body { background: #fff; }
  .road, .action { display: none; }
}
