/* Scova Labs app shell (app.scovalabs.com). Same tokens as the shared identity layer (design/identity/scova-identity.css)
   and the website: lime is the one highlight, warn and risk for states only, no glow, corner brackets instead of boxes.
   Fonts are self-hosted; never link fonts.googleapis.com. */
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin-ext-d09800.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin-b291d8.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 200 500; font-display: swap; src: url(../fonts/lexend-latin-ext-83ea95.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 200 500; font-display: swap; src: url(../fonts/lexend-latin-45b4c6.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend Exa'; font-style: normal; font-weight: 200 400; font-display: swap; src: url(../fonts/lexend-exa-latin-ext-a2f3ac.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend Exa'; font-style: normal; font-weight: 200 400; font-display: swap; src: url(../fonts/lexend-exa-latin-8a2a5f.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Share Tech Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/share-tech-mono-latin-de0fcc.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #080909; --surface: #121413; --surface-2: #1A1D1C;
  --line: rgba(240,241,237,0.12); --line-strong: rgba(240,241,237,0.28);
  --text: #F0F1ED; --muted: #929A96;
  --signal: #B4FC00; --signal-text: #B4FC00; --signal-ink: #080909;
  --warn: #FF7A00; --warn-text: #FF7A00; --risk: #FF2D55;
  --id-ink: 240, 241, 237;
  --display: "Lexend Exa", "Lexend", system-ui, sans-serif;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --term: "Share Tech Mono", "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --mark-dot: var(--signal);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F3F3EF; --surface: #E9EAE5; --surface-2: #DFE0DA;
  --line: rgba(8,9,9,0.12); --line-strong: rgba(8,9,9,0.3);
  --text: #0B0C0C; --muted: #5C6360;
  --signal: #6DC200; --signal-text: #4A7200; --signal-ink: #0B0C0C; --warn-text: #B34700;
  --id-ink: 8, 9, 9;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 300; line-height: 1.5; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--signal-ink); }
h1, h2, h3 { font-weight: 200; margin: 0; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
b { font-weight: 400; }
.wrap { max-width: 1360px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--text); color: var(--bg); padding: 8px 12px; font-family: var(--mono); font-size: 12px; }
.skip:focus { top: 8px; }

/* product marks (marks.js) */
.pm { width: 100%; height: 100%; overflow: visible; }
.pm .l { fill: none; stroke: currentColor; stroke-linejoin: miter; stroke-linecap: square; }
.pm .d { fill: var(--mark-dot); }
.pm .f { fill: currentColor; opacity: 0.55; }
.pm .k { opacity: 0.55; }

/* wordmark: crossbar-less A drawn as a lambda (same as the website) */
.mark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 300; font-size: 16px; letter-spacing: 0.32em; text-decoration: none; white-space: nowrap; }
.mark .lam { height: 0.7em; width: 0.7em; overflow: visible; margin-right: 0.12em; }
.mark .lam path { fill: none; stroke: currentColor; stroke-width: 7.5; stroke-linejoin: miter; }
.mark i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); display: inline-block; margin-left: -0.05em; }
.mark .prod { margin-left: 0.9em; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 2px; background: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.go { background: var(--text); color: var(--bg); border-color: var(--text); }
@media (hover: hover) { .btn:hover { border-color: var(--text); } }

/* preview strip: only outside a real session */
.pv { border-bottom: 1px solid var(--line); background-image: repeating-linear-gradient(135deg, rgba(var(--id-ink), 0.07) 0 1px, transparent 1px 6px); }
.pv .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-block: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.pv .tag { text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.pv label { display: inline-flex; gap: 8px; align-items: center; min-width: 0; }
.pv select { font: inherit; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 2px; padding: 6px 8px; min-height: 32px; max-width: 100%; }
@media (max-width: 640px) { .pv label { flex: 1 1 100%; } .pv select { flex: 1; min-width: 0; width: 100%; } }

/* top bar */
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; position: relative; }
.top-r { margin-left: auto; }
.me { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; font-family: var(--mono); font-size: 12px; cursor: pointer; }
.menu { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: 58px; width: 250px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 2px; padding: 6px; z-index: 30; }
.menu .who { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu .who small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.menu a, .menu button { display: flex; width: 100%; align-items: center; padding: 10px; min-height: 40px; text-decoration: none; background: none; border: 0; text-align: left; font-size: 14px; cursor: pointer; border-radius: 2px; }
.menu a:hover, .menu button:hover, .menu a:focus-visible { background: var(--surface-2); }

/* hello + the four products */
main { padding-block: clamp(24px, 6vh, 64px) 48px; }
.hello { margin-bottom: 28px; }
.hello h1 { font-size: clamp(26px, 4vw, 40px); }
.hello p { color: var(--muted); margin-top: 6px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 1100px) { .grid.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid.n1 { grid-template-columns: minmax(0, 360px); }

/* corner brackets (identity 14); they close in on the tile under the hand */
.br { --bk: rgba(var(--id-ink), 0.4); --o: 0px; position: relative; }
.br::before, .br::after { content: ""; position: absolute; inset: var(--o); pointer-events: none; transition: inset 120ms var(--ease);
  background: linear-gradient(var(--bk), var(--bk)) 0 0 / 12px 1px, linear-gradient(var(--bk), var(--bk)) 0 0 / 1px 12px, linear-gradient(var(--bk), var(--bk)) 100% 0 / 12px 1px, linear-gradient(var(--bk), var(--bk)) 100% 0 / 1px 12px; background-repeat: no-repeat; }
.br::after { background: linear-gradient(var(--bk), var(--bk)) 0 100% / 12px 1px, linear-gradient(var(--bk), var(--bk)) 0 100% / 1px 12px, linear-gradient(var(--bk), var(--bk)) 100% 100% / 12px 1px, linear-gradient(var(--bk), var(--bk)) 100% 100% / 1px 12px; background-repeat: no-repeat; }

.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 22px 22px; background: var(--surface); border-radius: 2px; text-decoration: none; min-height: 250px; }
.tile .ic { width: 64px; height: 64px; margin-bottom: 18px; }
.tile h2 { font-family: var(--display); font-size: 17px; font-weight: 300; letter-spacing: 0.04em; }
.tile .job { color: var(--muted); font-size: 13.5px; }
.tile .go, .tile .why { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.tile.open { cursor: pointer; }
@media (hover: hover) { .tile.open:hover { --bk: var(--text); --o: -5px; } }
.tile.open:focus-visible { --bk: var(--text); --o: -5px; outline: none; }
.tile.locked { background: none; box-shadow: inset 0 0 0 1px var(--line); }
.tile.locked .ic { opacity: 0.4; --mark-dot: transparent; }
.tile.locked .ic .d { stroke: currentColor; stroke-width: 1.6; }
.tile.locked .why { color: var(--muted); }
.tile .lk { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); cursor: pointer; text-align: left; }
@media (hover: hover) { .tile .lk:hover { text-decoration-color: currentColor; } }

/* request to the club owner */
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(8,9,9,0.6); display: grid; place-items: start center; padding: 14vh max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
.sheet .body { width: min(480px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 2px; padding: 20px; display: grid; gap: 14px; font-size: 14px; }
.sheet textarea { width: 100%; background: none; color: var(--text); border: 1px solid var(--line-strong); border-radius: 2px; font: inherit; padding: 10px; }
.sheet .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; background: var(--text); color: var(--bg); font-size: 13px; padding: 10px 14px; border-radius: 2px; max-width: calc(100% - 32px); }

/* start-up: dots gather into the four marks, then fly into their tiles (launcher.js boot()) */
.boot { position: fixed; inset: 0; z-index: 60; background: var(--bg); transition: background-color 380ms var(--ease); }
.boot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.boot .cap { position: absolute; left: 0; right: 0; bottom: calc(14vh + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 12px; transition: opacity 200ms; }
.boot .st { font-family: var(--term); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); min-height: 1.4em; }
.boot.fly { background-color: transparent; }
.boot.fly .cap { opacity: 0; }
body.booting main, body.booting .top { visibility: hidden; }
body.booting.landing main { visibility: visible; }
body.booting.landing .tile .ic { visibility: hidden; }
body.booting.landing .tile { animation: rise 380ms var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 599px) { .grid { gap: 10px; } .tile { padding: 18px 14px 16px; min-height: 0; } .tile .ic { width: 48px; height: 48px; margin-bottom: 12px; } .tile h2 { font-size: 14px; } .tile .job { font-size: 12.5px; } .tile .lk { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .br::before, .br::after { transition: none; } .boot { display: none; } }

/* sign-in, activation and account pages */
.auth [hidden] { display: none !important; }
.auth { max-width: 460px; padding-top: 56px; padding-bottom: 80px; display: grid; gap: 18px; }
.auth h1 { font-size: 32px; }
.auth form { display: grid; gap: 10px; }
.auth label, .auth dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.auth input { font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0; padding: 12px 14px; min-height: 48px; width: 100%; }
.auth input:focus-visible { outline: 1px solid var(--signal); outline-offset: 0; }
.auth input:disabled, .auth button:disabled { opacity: 0.5; }
.auth .btn { min-height: 48px; justify-self: start; text-decoration: none; display: inline-flex; align-items: center; }
.auth .lk { background: none; border: 0; padding: 4px 0; text-decoration: underline; color: var(--muted); justify-self: start; cursor: pointer; }
.auth .small { font-size: 13px; }
.auth .mono { font-family: var(--mono); font-size: 13px; }
.auth #msg:empty { display: none; }
.auth #msg.bad { color: var(--warn-text); }
.auth .facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.auth .facts dd { margin: 0; }
.auth .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.hello .btn { margin-top: 18px; display: inline-flex; text-decoration: none; }
