:root {
  color-scheme: light;
  --background: #f8f9fc;
  --text: #192455;
  --muted: #59647a;
  --accent: #e30613;
  --line: #26348b20;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  font-synthesis: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; position: relative; min-width: 320px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--background); }
.shell { width: min(100% - 96px, 1080px); margin-inline: auto; }
.landscape { position: absolute; top: 65px; left: 0; width: 100%; height: 640px; z-index: -1; pointer-events: none; overflow: hidden; }
.landscape::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--background), transparent 25%, transparent 62%, var(--background)); }
.landscape svg { width: 100%; height: 100%; }
.masthead { height: 104px; visibility: hidden; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.brand svg { width: 35px; height: 32px; color: var(--accent); }
.hero { text-align: center; padding-top: 57px; }
h1 { margin: 0; font-weight: 600; }
.race-name { display: flex; justify-content: center; align-items: center; gap: 18px; font-size: clamp(22px, 5.7vw, 68px); font-weight: 700; letter-spacing: -2.5px; line-height: 1.15; white-space: nowrap; color: #26348b; }
.race-logo { width: 72px; height: auto; flex-shrink: 0; }
.race-date { display: flex; justify-content: center; align-items: center; gap: 9px; font-size: 28px; font-weight: 600; margin-top: 29px; letter-spacing: .2px; }
.race-date svg { width: 25px; height: 25px; stroke: var(--accent); stroke-width: 1.6; }
.timezone { color: var(--muted); font-size: 12px; letter-spacing: 0; margin: 10px 0 0; }
.countdown-panel { margin: 34px auto 0; max-width: 650px; padding: 23px 34px 25px; border: 1px solid #26348b24; border-top: 4px solid #ffcd00; border-radius: 16px; background: #ffffffed; box-shadow: 0 18px 60px #00000012; backdrop-filter: blur(10px); }
.countdown-caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 16px; color: #26348b; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #e3061320; }
.countdown { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; gap: 10px; }
.time-unit { display: grid; gap: 6px; min-width: 0; }
.time-value { font-family: inherit; font-size: clamp(38px, 5vw, 61px); font-weight: 500; letter-spacing: -2px; line-height: 1.12; font-variant-numeric: tabular-nums; }
.seconds { color: var(--accent); }
.preview-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.separator { color: #26348b60; font-size: 27px; line-height: 2; font-weight: 300; }
.time-label { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.no-script { max-width: 600px; margin: 35px auto 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.tracking { margin: 52px auto 0; max-width: 880px; }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 19px; }
.section-heading h2 { font-size: 18px; font-weight: 600; margin: 0; }
.section-rule { height: 1px; background: var(--line); flex: 1; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tracking-card { display: flex; flex-direction: column; padding: 24px 27px 0; border: 1px solid #26348b24; border-top: 4px solid var(--accent); border-radius: 14px; background: #fff; box-shadow: 0 8px 30px #26348b08; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s, background .2s; }
a.tracking-card:hover { border-color: #e3061380; border-top-color: var(--accent); transform: translateY(-4px); background: #fff; }
a.tracking-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.card-top { display: flex; align-items: center; gap: 12px; }
.card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #e3061309; color: var(--accent); border: 1px solid #e3061320; }
.card-icon svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.card-service { font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.external-arrow { margin-left: auto; color: var(--muted); font-size: 23px; font-weight: 300; }
.tracking-card h3 { font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; margin: 22px 0 26px; text-wrap: pretty; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 57px; border-top: 1px solid var(--line); margin-top: auto; font-size: 12px; font-weight: 600; color: var(--accent); }
.card-bottom svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; }
.garmin .card-icon { color: #26348b; background: #26348b09; border-color: #26348b20; }
.garmin .card-bottom { color: #26348b; }
.pending { background: #fcfcff; }
.pending-pill { margin-left: auto; padding: 5px 8px; border: 1px solid #26348b30; border-radius: 4px; font-size: 8px; letter-spacing: 1px; color: var(--muted); }
.pending-label { display: flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 400; }
.hollow-dot { width: 6px; height: 6px; border: 1px solid #92a1a9; border-radius: 50%; }
.footer { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 51px; padding-block: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-location { font-size: 12px; letter-spacing: .5px; color: #26348b; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 1500px) { .hero { padding-top: 70px; } .tracking { margin-top: 62px; } }
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .masthead { height: 79px; }
  .brand { font-size: 11px; letter-spacing: .6px; gap: 9px; }
  .brand svg { width: 29px; }
  .hero { padding-top: 42px; }
  .race-name { font-size: clamp(20px, 6.2vw, 43px); letter-spacing: -1px; gap: 8px; }
  .race-logo { width: clamp(32px, 8vw, 48px); }
  .race-date { font-size: 20px; margin-top: 24px; gap: 7px; }
  .timezone { font-size: 11px; }
  .countdown-panel { margin-top: 28px; padding: 21px 16px; }
  .countdown { gap: 5px; }
  .time-value { font-size: clamp(32px, 8vw, 48px); letter-spacing: -1px; }
  .separator { font-size: 20px; line-height: 1.8; }
  .time-label { font-size: 10px; }
  .countdown-caption { font-size: 11px; }
  .tracking { margin-top: 38px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 17px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .tracking-card { padding: 22px 23px 0; }
  .tracking-card h3 { font-size: 20px; margin-top: 18px; }
  .footer { margin-top: 35px; flex-direction: column; align-items: flex-end; gap: 12px; }
  .landscape { top: 100px; height: 600px; }
}
@media (prefers-reduced-motion: reduce) { .tracking-card { transition: none; } a.tracking-card:hover { transform: none; } }
