/* Coming soon page. Same look as the main home page (public/home.css): navy and teal, red/amber/green for verdicts only.
   Fonts are self-hosted under the SIL Open Font Licence (see fonts/*-OFL.txt). No scripts: the page is HTML and CSS only. */
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(/fonts/dm-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --cream: #f5f7fa; --paper: #ffffff; --sand: #eef2f6; --line: #e2e8f0;
  --ink: #0f172a; --ink-soft: #334155; --stone: #5b6678; --mist: #94a3b8;
  --night: #0f1f33; --night-3: #1c3352;
  --ultra: #0f766e; --ultra-deep: #0b5f58; --ultra-soft: #e6f4f2;
  --green: #16a34a;
  --sans: "Jakarta", ui-sans-serif, system-ui, sans-serif; --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 24px; --ease: cubic-bezier(.22, .8, .26, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
h1 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--ultra); outline-offset: 3px; border-radius: 6px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand .logo { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.6px currentColor; }
.brand svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ultra); color: #fff; font: 600 15px/1 var(--sans); text-decoration: none; transition: background .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--ultra-deep); }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: color-mix(in srgb, var(--paper) 70%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--paper); }

.bar { position: relative; z-index: 3; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

/* Hero: the real M2 5PD check as a large map, fading in from the left behind the words. */
.hero { position: relative; flex: 1; display: flex; align-items: center; padding: 48px 0 88px; min-height: 620px; }
.heromap { position: absolute; inset: -76px 16px 0; border-radius: 0 0 36px 36px; overflow: hidden; background: var(--sand); }
.heromap img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 46%; }
.heromap .fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 22%, color-mix(in srgb, var(--cream) 88%, transparent) 36%, color-mix(in srgb, var(--cream) 40%, transparent) 54%, transparent 72%), linear-gradient(180deg, color-mix(in srgb, var(--cream) 80%, transparent), transparent 18%), linear-gradient(0deg, color-mix(in srgb, var(--cream) 70%, transparent), transparent 22%); }
.credit { position: absolute; right: 30px; bottom: 12px; z-index: 2; font-size: 10.5px; color: var(--stone); background: #ffffffe6; padding: 3px 8px; border-radius: 8px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; }
.hcopy { max-width: 720px; }
.hcopy > * { animation: rise .9s var(--ease) both; }
.hcopy > :nth-child(2) { animation-delay: .08s; } .hcopy > :nth-child(3) { animation-delay: .16s; } .hcopy > :nth-child(4) { animation-delay: .22s; } .hcopy > :nth-child(5) { animation-delay: .3s; }
.card { animation: rise 1s .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-soft); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--ultra); }
.pill b { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--ultra); border-radius: 999px; padding: 6px 10px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 68px); margin: 26px 0 24px; }
/* Two-line heading, teal phrase on line 2, as on the home page. */
.hero h1 span { display: block; color: var(--ultra); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 36ch; }
.lead.soft { margin-top: 10px; color: var(--stone); }
/* Same font size and width as .lead, so the button sits centred under the paragraph. */
.acts { display: flex; justify-content: center; margin-top: 34px; font-size: 19px; max-width: 36ch; }

/* Launch card */
.card { justify-self: end; width: min(100%, 340px); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--r); padding: 20px 20px 0; box-shadow: 0 40px 80px -40px #0f172a55, inset 0 0 0 1px var(--line); }
.card .top { display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.card .top span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.card .top b { font-weight: 500; }
.card .head { margin-top: 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.card ul { list-style: none; margin: 14px -20px 0; padding: 0; border-top: 1px solid var(--line); }
.card li { display: flex; align-items: center; gap: 12px; padding: 10px 20px; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.card li.next { color: var(--ink); font-weight: 600; }
.card li.next::after { content: "Soon"; margin-left: auto; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ultra); background: var(--ultra-soft); border-radius: 999px; padding: 5px 8px; }
.card .note { padding: 12px 0 14px; font-size: 12.5px; line-height: 1.5; color: var(--stone); }
.dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--mist); }
.dot.green { background: var(--green); }
.dot.live { background: var(--ultra); }
.dot.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ultra); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .5; } to { transform: scale(3.2); opacity: 0; } }

.foot { background: var(--night); color: #d5dde8; border-radius: 36px 36px 0 0; margin: 0 16px; padding: 30px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot .brand { color: #fff; }
.foot p { font-size: 13px; color: #8a9bb3; }
.foot a { color: #d5dde8; }
.foot a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { .hcopy > *, .card, .dot.live::after { animation: none; } }

/* Tablet and phone: the map sits on top and fades down into the words. */
@media (max-width: 960px) {
  .hero { display: block; min-height: 0; padding: 300px 0 64px; }
  .heromap { inset: -76px 8px auto; height: 470px; border-radius: 0 0 28px 28px; }
  .heromap img { object-position: 66% 50%; }
  .heromap .fade { background: linear-gradient(180deg, color-mix(in srgb, var(--cream) 80%, transparent), transparent 22%), linear-gradient(0deg, var(--cream) 0%, var(--cream) 10%, color-mix(in srgb, var(--cream) 60%, transparent) 32%, transparent 60%); }
  .credit { top: 4px; bottom: auto; left: 18px; right: auto; max-width: calc(100% - 36px); }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .card { justify-self: start; }
  .foot { margin: 0 8px; border-radius: 28px 28px 0 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 230px; }
  .heromap { height: 380px; }
  .credit { font-size: 10px; }
  .lead, .acts { font-size: 17px; }
  .pill { font-size: 12px; gap: 8px; }
  .acts .btn { width: 100%; }
  .card { width: 100%; }
}
