/* Kolo landing page. Theme v3 "Poster, flat" (design/art-direction.md): cobalt world, Barlow,
   content on plain rules, no cards, no shadows, no gradient decoration, one quiet reveal. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/fonts/barlow-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-semi-condensed-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-semi-condensed-latin-700.woff2") format("woff2"); }

:root {
  --cobalt: #2f2bf2;
  --cobalt-deep: #1b17a8;
  --navy: #14125e;
  --night: #0c0a3d;
  --taxi: #ffd23f;
  --peach: #f49a5c;
  --white: #fff;
  --mist: rgba(255, 255, 255, 0.8);
  --faint: rgba(255, 255, 255, 0.6);
  --rule: rgba(255, 255, 255, 0.28);
  --display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cobalt); color: var(--white); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
p { margin: 0; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--taxi); outline-offset: 3px; }
.soft { color: var(--mist); }
.wrap { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }

/* Hero: the approved cover art, text in its calm cobalt sky. */
.hero { position: relative; min-height: min(88vh, 900px); display: flex; align-items: flex-start; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 70%; }
.hero-text { position: relative; padding: clamp(28px, 6vh, 64px) var(--gutter); max-width: 760px; display: grid; gap: 22px; animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.mark { width: 132px; color: var(--white); }
.lede { font-size: 21px; color: var(--mist); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Three paths on solid cobalt right under the art: plain rules, the whole cell is the link. */
.start { background: var(--cobalt); padding: 8px 0 clamp(40px, 6vw, 72px); }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); border-top: 1px solid var(--rule); }
.path { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.path b { font-family: var(--display); font-weight: 600; font-size: 26px; }
.path span { grid-column: 1; color: var(--mist); font-size: 16px; }
.path::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 26px; color: var(--taxi); transition: transform 200ms; }
.path:hover::after { transform: translateX(4px); }

/* Sections */
.band { padding: clamp(64px, 10vw, 128px) 0; background: var(--cobalt-deep); }
.band.dark { background: var(--night); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.two > div { display: grid; gap: 16px; }
.rules { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.rules > div { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(150px, 0.4fr) 1fr; gap: 6px 24px; }
.rules dt { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; }
.rules dd { margin: 0; color: var(--mist); }

.split { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; background: var(--cobalt); }
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split.reverse img { order: 2; }
.split-text { padding: clamp(40px, 6vw, 88px) var(--gutter); display: grid; gap: 18px; align-content: center; }
.split-text .rules { margin-top: 6px; }
.split-text .rules > div { grid-template-columns: minmax(120px, 0.35fr) 1fr; }
.go { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 26px; background: var(--white); color: var(--night); font-family: var(--display); font-weight: 600; font-size: 20px; text-decoration: none; margin-top: 6px; }
.go::after { content: "→"; }
.go:hover { background: var(--taxi); }

/* Status tags carry information (live / coming / legal check), so they stay; sentence case. */
.tag { font-style: normal; font-family: var(--body); font-weight: 600; font-size: 13px; padding: 2px 9px; border-radius: 10px; border: 1px solid var(--faint); color: var(--mist); white-space: nowrap; margin-left: 4px; }
.tag.live { color: var(--night); background: var(--taxi); border-color: var(--taxi); }
.tag-line { margin-top: 4px; }

/* The platform as a road: one line, every app a stop on it. */
.road { list-style: none; margin: 40px 0 0; padding: 0 0 0 28px; border-left: 3px dashed var(--peach); display: grid; gap: 0; }
.road li { position: relative; display: grid; grid-template-columns: minmax(200px, 0.35fr) 1fr auto; gap: 4px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.road li::before { content: ""; position: absolute; left: -38px; top: 22px; width: 15px; height: 15px; border-radius: 4px; background: var(--night); border: 3px solid var(--peach); }
.road li:has(.live)::before { background: var(--taxi); border-color: var(--taxi); }
.road b { font-family: var(--display); font-weight: 600; font-size: 22px; }
.road span { color: var(--mist); }
.band h2 + p { margin-top: 14px; }

.foot { background: var(--night); border-top: 1px solid var(--rule); padding: 28px 0; font-size: 15px; color: var(--faint); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .two, .split { grid-template-columns: 1fr; }
  .split.reverse img { order: 0; }
  .split img { min-height: 260px; max-height: 360px; }
  /* Phones: words on solid cobalt first, the art below them (no text over the skyline). */
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-text { order: 0; padding-bottom: 8px; }
  .hero-art { position: static; order: 1; height: 44vh; min-height: 260px; object-position: 78% 88%; }
  .paths { grid-template-columns: 1fr; }
  .rules > div, .split-text .rules > div { grid-template-columns: 1fr; }
  .road li { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hero-text { animation: none; } html { scroll-behavior: auto; } .path::after { transition: none; } }
