/* Lokk8 landing page. Fonts are self-hosted subsets (see assets/fonts/licences). */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/space-grotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-grotesk-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/space-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-mono-700.woff2') format('woff2'); }
/* Inter is used for the wordmark only, subset to the glyphs l o k 8. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500-wordmark.woff2') format('woff2'); }

[hidden] { display: none !important; }
html { background: #0A0A0B; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root { color-scheme: dark; }
body { margin: 0; background: #0A0A0B; }
.v4 { container: v4 / inline-size; width: 100%; background: #0A0A0B; color: #FAFAFA; font-family: 'DM Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
.v4 * { box-sizing: border-box; }
.v4 .wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.v4 .mono { font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; }
.v4 .mute { color: rgba(250,250,250,0.55); }
.v4 .sec { color: rgba(250,250,250,0.72); }
.v4 .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v4 a:focus-visible, .v4 button:focus-visible { outline: 2px solid #FF6B1A; outline-offset: 2px; }
.v4 button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.v4 .disp { margin: 0; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 40px; font-size: clamp(40px, 6cqw, 72px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.v4 .h2 { margin: 0; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 32px; font-size: clamp(32px, 4.2cqw, 56px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.v4 .h3 { margin: 0; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.v4 .frame { position: relative; border-radius: 16px; overflow: hidden; background: #1A1A1D; aspect-ratio: 1 / 1; }
.v4 .frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Header */
.v4 .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.v4 .brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.v4 .word { font-family: 'Inter', system-ui, sans-serif; font-weight: 500; letter-spacing: -0.03em; font-size: 28px; line-height: 1; color: #FAFAFA; }
.v4 .word b { font-weight: 500; color: #FF6B1A; }
.v4 .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.v4 .nav a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(250,250,250,0.72); text-decoration: none; }
.v4 .nav a:hover { color: #FAFAFA; }
.v4 .nav .loc { display: none; }

/* Hero slideshow */
.v4 .hero { padding-top: 16px; padding-bottom: 32px; }
.v4 .slides { display: grid; }
.v4 .slide { grid-area: 1 / 1; display: grid; gap: 24px; align-items: center; opacity: 0; visibility: hidden; transition: opacity 600ms ease, visibility 0s linear 600ms; }
.v4 .slide.on { opacity: 1; visibility: visible; transition: opacity 600ms ease; }
.v4 .scopy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.v4 .pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid rgba(250,250,250,0.18); color: rgba(250,250,250,0.72); }
.v4 .gdot { width: 8px; height: 8px; border-radius: 50%; background: #1F8A6D; flex: none; }
.v4 .slead { margin: 0; max-width: 30em; font-size: 18px; color: rgba(250,250,250,0.72); }
.v4 .deckrow { display: flex; justify-content: flex-end; margin-top: 20px; }
.v4 .ctrl { margin-top: 48px; padding-top: 48px; padding-bottom: 32px; border-top: 1px solid rgba(250,250,250,0.12); display: flex; }
.v4 .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.v4 .btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 12px; background: #FF6B1A; color: #0A0A0B; text-decoration: none; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.v4 .btn:hover { background: #ff7d36; }
.v4 .soonrow { display: flex; flex-wrap: wrap; gap: 0 18px; }
.v4 .ctas { flex: 1 1 520px; min-width: 0; }

/* Waitlist */
.v4 .wl, .v4 .wldone { flex: 1 1 100%; max-width: 600px; display: flex; flex-direction: column; gap: 14px; }
.v4 .wlrow { display: flex; flex-wrap: wrap; gap: 8px; }
.v4 .inp { flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(250,250,250,0.22); background: #1A1A1D; color: #FAFAFA; font-family: 'DM Sans', system-ui, sans-serif; font-size: 17px; }
.v4 .inp::placeholder { color: rgba(250,250,250,0.55); }
.v4 .inp:hover { border-color: rgba(250,250,250,0.4); }
.v4 .inp:focus-visible { outline: 2px solid #FF6B1A; outline-offset: 2px; border-color: rgba(250,250,250,0.4); }
.v4 .inp.bad { border-color: #FAFAFA; }
.v4 .inp:disabled { opacity: 0.6; }
.v4 .wl .btn { border: 0; cursor: pointer; flex: 0 0 auto; }
.v4 .wl .btn:disabled { cursor: progress; opacity: 0.8; }
.v4 .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.v4 .wlmsg { margin: 0; min-height: 22px; font-size: 14px; line-height: 1.5; color: rgba(250,250,250,0.72); }
.v4 .wlmsg.bad { color: #FAFAFA; }
.v4 .wlmsg.bad::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; border: 1.5px solid #FAFAFA; font-size: 11px; font-weight: 700; vertical-align: -2px; }
.v4 .wldone { padding: 20px; border-radius: 16px; background: #1A1A1D; border: 1px solid rgba(250,250,250,0.12); }
.v4 .wldone .h3 { margin: 0; }
.v4 .wldone .mono { display: inline-flex; align-items: center; gap: 10px; }
.v4 .wlnote { margin: 0; font-size: 15px; color: rgba(250,250,250,0.72); }
.v4 .ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(250,250,250,0.22); color: #FAFAFA; text-decoration: none; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 500; font-size: 16px; }
.v4 .ghost:hover { border-color: rgba(250,250,250,0.5); }

/* Step 01 visual: the three inputs, shown as a worked example */
.v4 .stepart .frame.panel { aspect-ratio: auto; padding: 28px 32px; display: flex; flex-direction: column; }
.v4 .phead { display: flex; justify-content: space-between; padding-bottom: 16px; }
.v4 .prow { flex: 1 1 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: center; padding: 20px 0; border-top: 1px solid rgba(250,250,250,0.1); }
.v4 .plab { color: #FAFAFA; font-weight: 700; }
.v4 .pbody { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.v4 .opts { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 6px; }
.v4 .opt { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.v4 .og { display: block; height: 24px; width: auto; }
.v4 .soon { display: inline-flex; align-items: center; min-height: 44px; color: rgba(250,250,250,0.55); cursor: default; }
.v4 .deck { display: flex; align-items: center; gap: 4px; }
.v4 .count { min-width: 64px; color: rgba(250,250,250,0.72); }
.v4 .dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.v4 .dot i { position: relative; display: block; width: 32px; height: 3px; border-radius: 2px; background: rgba(250,250,250,0.22); overflow: hidden; }
.v4 .dot i b { position: absolute; inset: 0; width: 0; background: #FAFAFA; }
.v4 .dot.on i b { width: 100%; }
.v4 .run .dot.on i b { width: 0; animation: v4prog 6s linear forwards; }
.v4 .paused .dot.on i b { animation-play-state: paused; }
.v4 .ibtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(250,250,250,0.18); }
.v4 .ibtn:hover { border-color: rgba(250,250,250,0.5); }
@keyframes v4prog { from { width: 0; } to { width: 100%; } }

/* Street scene: pin runs, green car chases, pin lands, man walks to it. One 14s loop, transforms and opacity only, no JS */
.v4 .mini { width: 100%; max-width: 360px; border-radius: 12px; overflow: hidden; }
.v4 .mini svg { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 180; }
.v4 .sc-pin { animation: v4pin 14s linear infinite; }
.v4 .sc-hop { animation: v4hop 0.6s ease-in-out infinite; }
.v4 .sc-car { animation: v4car 14s linear infinite; }
.v4 .sc-wheel { transform-box: fill-box; transform-origin: center; animation: v4spin 0.45s linear infinite; }
.v4 .sc-man { animation: v4man 14s linear infinite; }
.v4 .sc-bob { animation: v4bob 0.35s ease-in-out infinite alternate; }
.v4 .sc-a, .v4 .sc-b { transform-box: fill-box; transform-origin: 50% 0; animation: v4swa 0.7s ease-in-out infinite; }
.v4 .sc-b { animation-name: v4swb; }
@keyframes v4pin {
  0% { transform: translate(-820px, 0); opacity: 1; }
  34% { transform: translate(500px, 0); opacity: 1; }
  35% { transform: translate(500px, 0); opacity: 0; }
  36% { transform: translate(0, -260px); opacity: 0; }
  44% { transform: translate(0, -260px); opacity: 1; animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
  50% { transform: translate(0, 0); opacity: 1; }
  96% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 0; }
}
@keyframes v4hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes v4car {
  0%, 6% { transform: translateX(-520px); }
  40%, 100% { transform: translateX(1100px); }
}
@keyframes v4spin { to { transform: rotate(360deg); } }
@keyframes v4man {
  0%, 42% { transform: translateX(-800px); opacity: 1; }
  97% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}
@keyframes v4bob { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes v4swa { 0%, 100% { transform: rotate(22deg); } 50% { transform: rotate(-22deg); } }
@keyframes v4swb { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }

/* Step slideshow */
.v4 .how { padding-top: 96px; padding-bottom: 96px; }
.v4 .sechead { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.v4 .stepgrid { display: grid; gap: 24px; }
.v4 .stepart { display: grid; }
.v4 .stepart .frame { grid-area: 1 / 1; opacity: 0; transition: opacity 500ms ease; }
.v4 .stepart .frame.on { opacity: 1; }
.v4 .tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v4 .tab { display: block; width: 100%; text-align: left; padding: 20px 0; border-top: 1px solid rgba(250,250,250,0.12); }
.v4 .tab .row { display: flex; align-items: baseline; gap: 16px; }
.v4 .tab .n { font-weight: 700; color: rgba(250,250,250,0.55); }
.v4 .tab .h3 { color: rgba(250,250,250,0.55); transition: color 300ms ease; }
.v4 .tab p { margin: 8px 0 0 40px; font-size: 16px; line-height: 1.5; color: rgba(250,250,250,0.72); display: none; }
.v4 .tab .pb { display: none; margin: 16px 0 0 40px; height: 2px; background: rgba(250,250,250,0.16); position: relative; overflow: hidden; }
.v4 .tab .pb b { position: absolute; inset: 0; width: 100%; background: #FAFAFA; }
.v4 .run .tab.on .pb b { width: 0; animation: v4prog 6s linear forwards; }
.v4 .paused .tab.on .pb b { animation-play-state: paused; }
.v4 .tab.on .h3 { color: #FAFAFA; }
.v4 .tab.on .n { color: #FAFAFA; }
.v4 .tab.on p, .v4 .tab.on .pb { display: block; }
.v4 .tab:hover .h3 { color: #FAFAFA; }

/* Pillars */
.v4 .what { padding-bottom: 96px; }
.v4 .pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.v4 .pil { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #1A1A1D; border-radius: 16px; }
.v4 .pil .n { font-weight: 700; color: rgba(250,250,250,0.72); }
.v4 .pil .viz { height: 96px; flex: none; display: flex; align-items: center; margin-bottom: 8px; border-bottom: 1px solid rgba(250,250,250,0.08); }
.v4 .pil .viz svg { display: block; width: 100%; max-width: 240px; height: 80px; }
.v4 .pil p { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(250,250,250,0.72); }
.v4 .pil .demo { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.v4 .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.v4 .chip { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid rgba(250,250,250,0.22); font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 500; font-size: 14px; line-height: 1; color: rgba(250,250,250,0.72); cursor: default; user-select: none; pointer-events: none; }
.v4 .chip.on { background: #FAFAFA; border-color: #FAFAFA; color: #0A0A0B; }

/* Band */
.v4 .band { background: #1A1A1D; padding-top: 80px; padding-bottom: 80px; }
.v4 .bandin { display: grid; gap: 40px; align-items: center; }
.v4 .poster { margin: 0; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 48px; font-size: clamp(48px, 7.5cqw, 112px); line-height: 0.94; letter-spacing: -0.03em; }
.v4 .poster span { color: rgba(250,250,250,0.55); }
.v4 .band .frame { background: #0A0A0B; aspect-ratio: 4 / 3; }

/* Footer */
.v4 .foot { padding-top: 48px; }
.v4 .frow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding-bottom: 24px; border-bottom: 1px solid rgba(250,250,250,0.12); }
.v4 .fcol { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: rgba(250,250,250,0.72); }
.v4 .mail { display: inline-flex; align-items: center; min-height: 44px; color: #FAFAFA; font-size: 18px; text-decoration: underline; text-decoration-color: rgba(250,250,250,0.35); text-underline-offset: 5px; }
.v4 .mail:hover { text-decoration-color: #FAFAFA; }
.v4 .copy { margin: 0; padding-top: 16px; padding-bottom: 32px; font-size: 14px; color: rgba(250,250,250,0.72); }

@media (prefers-reduced-motion: reduce) {
  .v4 .slide, .v4 .slide.on, .v4 .stepart .frame { transition: none; }
  .v4 .sc-pin, .v4 .sc-hop, .v4 .sc-car, .v4 .sc-wheel, .v4 .sc-man, .v4 .sc-bob, .v4 .sc-a, .v4 .sc-b { animation: none; }
}

@container v4 (min-width: 600px) {
  .v4 .nav .loc { display: inline-flex; }
  .v4 .slide .frame { aspect-ratio: 6 / 5; }
}
@container v4 (min-width: 960px) {
  .v4 .wrap { padding-left: 40px; padding-right: 40px; }
  .v4 .slide { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
  .v4 .scopy { grid-column: 1 / span 6; }
  .v4 .slide .frame { grid-column: 7 / span 6; }
  .v4 .sechead { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .v4 .prow { grid-template-columns: 112px minmax(0, 1fr); align-items: start; column-gap: 24px; }
  .v4 .plab { padding-top: 39px; }
  .v4 .stepgrid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: center; }
  .v4 .tabs { grid-column: 1 / span 5; }
  .v4 .stepart { grid-column: 6 / span 7; grid-row: 1; }
  .v4 .stepart .frame { aspect-ratio: 6 / 5; }
  .v4 .bandin { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
  .v4 .bandin .l { grid-column: 1 / span 6; }
  .v4 .band .frame { grid-column: 7 / span 6; }
}

/* Static-site additions */
.v4 .follow { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
