/* the split landing page: racers (left, bright track scene -> racetiming.au) | lightning bolt | software clients (right -> suite) */
body.landing { background: #0B1430; }
.halves { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.half { position: absolute; inset: 0; display: flex; }
.half .inner { position: relative; z-index: 3; width: 40%; padding: 0 2.5vw; align-self: center; }
.half h1 { font-size: clamp(40px, 5.2vw, 84px); margin: 12px 0 12px; }
.half p { font-size: clamp(16px, 1.25vw, 19px); margin: 0 0 18px; max-width: 30em; }
.half p.small { font-size: 13px; opacity: .8; margin-top: 14px; }
.btn.big { font-size: clamp(20px, 1.7vw, 26px); padding: 12px 24px; }

/* zig-zag halves follow the bolt: 56,0 47,37 55,39 45,70 53,72 44,100 (percent) */
.racers { clip-path: polygon(0 0, 56% 0, 47% 37%, 55% 39%, 45% 70%, 53% 72%, 44% 100%, 0 100%); color: var(--ink);
  background: linear-gradient(180deg, #CFE6FF 0%, #EAF4FF 45%, #FFFFFF 70%); }
.racers .inner { margin-left: 4vw; margin-top: -10vh; }
.racers h1 b { color: var(--blue); }
.racers .btn { background: var(--blue); }
.racers .sky { position: absolute; inset: 0; background:
  radial-gradient(180px 180px at 12% 14%, rgba(255,214,10,.55), transparent 70%),
  radial-gradient(500px 220px at 30% 0%, rgba(255,255,255,.9), transparent 70%); }
.flags { position: absolute; left: 0; right: 50%; top: 0; height: 100%; pointer-events: none; z-index: 1; }
.fl { position: absolute; width: 90px; height: 90px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.18)); }
.fl.f1 { left: 34%; top: 8%; transform: rotate(-8deg); } .fl.f2 { left: 6%; top: 56%; width: 70px; height: 70px; transform: rotate(6deg); }
.fl.f3 { left: 72%; top: 52%; width: 64px; height: 64px; transform: rotate(-4deg); }
.fl .cloth { transform-origin: 8px 20px; animation: wave 1.6s ease-in-out infinite; }
.fl.f2 .cloth { animation-delay: -.5s; } .fl.f3 .cloth { animation-delay: -1s; }
@keyframes wave { 0%, 100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-5deg) scaleX(.94); } }

/* the track along the bottom of the left half */
.track { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 2;
  background: linear-gradient(180deg, transparent 0 18%, #4B5563 18% 100%); }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 18%; height: 10px; background: repeating-linear-gradient(90deg, #E10600 0 30px, #fff 30px 60px); }
.track::after { content: ""; position: absolute; left: 0; right: 0; top: 58%; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 34px, transparent 34px 70px); }
.lane { position: absolute; left: 0; right: 0; height: 30%; }
.lane.l1 { top: 26%; } .lane.l2 { top: 62%; }
.veh { position: absolute; bottom: 0; width: 150px; height: 69px; filter: drop-shadow(0 4px 3px rgba(0,0,0,.35)); animation: drive 9s linear infinite; }
.veh.kart { width: 96px; height: 48px; } .veh.bike { width: 104px; height: 52px; }
.l1 .c1 { animation-delay: 0s; } .l1 .k1 { animation-delay: -3s; } .l1 .b1 { animation-delay: -6s; }
.l2 .veh { animation-duration: 7s; } .l2 .k2 { animation-delay: -1s; } .l2 .c2 { animation-delay: -3.4s; } .l2 .b2 { animation-delay: -5.6s; }
@keyframes drive { from { left: -140px; } to { left: 60%; } }

/* RIGHT: electric data look */
.clients { clip-path: polygon(56% 0, 100% 0, 100% 100%, 44% 100%, 53% 72%, 45% 70%, 55% 39%, 47% 37%); color: #fff; justify-content: flex-end;
  background: radial-gradient(900px 600px at 80% 20%, #1E7BFF 0%, #0052CC 45%, #0A2A7A 100%); }
.clients .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; }
.clients .inner { margin-right: 4vw; margin-top: 30vh; text-align: left; }
.clients h1 b { color: var(--sun); }
.kicker.light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.racers .kicker { color: var(--kerb); }
.logos { display: flex; gap: 8px; margin: 0 0 20px; flex-wrap: wrap; }
.logos img { width: 54px; height: 53px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: transform .15s; }
.logos img:hover { transform: translateY(-3px) scale(1.06); }
.collage { position: absolute; right: 3vw; top: 6vh; width: 44%; height: 34vh; z-index: 1; }
.collage img { position: absolute; border-radius: 8px; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.collage .s1 { width: 70%; right: 18%; top: 0; transform: rotate(-4deg); }
.collage .s2 { width: 56%; right: 0; top: 30%; transform: rotate(3deg); }
.collage .s3 { width: 22%; right: 62%; top: 34%; transform: rotate(-2deg); border-radius: 14px; border-color: #0B1430; }

/* the bolt */
.bolt { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.bolt polyline { fill: none; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.bolt { filter: drop-shadow(0 0 10px rgba(255,214,10,.9)) drop-shadow(0 0 28px rgba(255,184,0,.7)); }
.bolt .glow { stroke: #FFD60A; stroke-width: 34px; opacity: .35; animation: flicker 3.2s infinite; }
.bolt .core { stroke: #FFD60A; stroke-width: 16px; }
.bolt .hot { stroke: #FFFBE0; stroke-width: 5px; }
@keyframes flicker { 0%, 100% { opacity: .45; } 46% { opacity: .45; } 48% { opacity: .95; } 50% { opacity: .3; } 52% { opacity: .9; } 54% { opacity: .45; } }

.lfoot { background: #0B1430; color: #B8C4E0; padding: 12px 0; font-size: 13px; }
.lfoot .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lfoot a { color: #fff; }

/* PHONES: top / bottom with a horizontal bolt */
@media (max-width: 820px) {
  .halves { height: auto; min-height: 0; }
  .half { position: relative; clip-path: none; min-height: 88svh; flex-direction: column; justify-content: center; }
  .half .inner { width: 100%; margin: 0; padding: 40px 18px 24px; }
  .racers { padding-bottom: 150px; }
  .racers .track { height: 150px; }
  .flags { right: 0; } .fl.f1 { left: 74%; top: 4%; width: 64px; height: 64px; }
  .fl.f2, .fl.f3 { display: none; }
  @keyframes drive { from { left: -140px; } to { left: 100%; } }
  .clients { justify-content: flex-start; padding-top: 34vh; }
  .collage { width: 92%; right: 4%; top: 22px; height: 30vh; }
  .bolt { display: none; }
  .clients::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 26px; z-index: 6;
    background: linear-gradient(170deg, transparent 0 40%, #FFF6B0 40% 60%, transparent 60%); filter: drop-shadow(0 0 8px #FFD60A); }
}
@media (prefers-reduced-motion: reduce) { .veh, .fl .cloth, .bolt .glow { animation: none; } .l1 .c1 { left: 6%; } .l1 .k1 { left: 24%; } .l1 .b1 { left: 40%; } .l2 .k2 { left: 14%; } .l2 .c2 { left: 30%; } .l2 .b2 { left: 46%; } }
