/* Lichca landing styles. Tokens come from tokens.css (copy of nv-link-call/docs/design/tokens.css).
   Layout spec: docs/LAYOUT.md. No JavaScript, no third-party requests. */

/* Page-local tokens, same 1.25 scale and 4px grid as tokens.css */
:root {
  --fs-5: 3.052rem;   /* 49px, desktop H1 only */
  --space-9: 96px;    /* desktop section padding only */
  --container: 1120px;
  --shadow-shot: 0 24px 48px rgba(11, 11, 12, 0.18);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --shadow-shot: 0 0 0 0 transparent; }
}

@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Inter"; src: url(/assets/fonts/inter-cyrillic.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-sans); font-size: var(--fs-0); line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: inherit; }
p { max-width: 36rem; }

:focus-visible { outline: var(--focus-ring) solid var(--color-focus); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: 16px; top: -64px; z-index: var(--z-toast);
  min-height: var(--tap-min); display: inline-flex; align-items: center; padding: 0 var(--space-4);
  background: var(--color-accent); color: var(--color-on-accent); font-weight: var(--fw-semibold);
  border-radius: var(--radius-md); text-decoration: none; }
.skip:focus { top: 8px; }

/* BRAND-SWAP ---------------------------------------------------------
   Logo: final set v1.0, wordmark with the integrated i (chosen by the Creator 25.10.2026 05:07; files from _Deliverables/pq-link-calls/naming/logo-final).
   To swap the logo: replace logo-light.svg and logo-dark.svg in /assets/brand/ (wordmark
   ratio 215:72, minimum height 32 px, set --logo-w/--logo-h below if it changes) and favicon.svg, favicon.ico,
   apple-touch-icon.png under the same names. To go back to the text wordmark: delete the
   "LOGO ON" rules. The HTML does not change: the link text "Lichca" stays in the DOM. */
.wordmark { display: inline-flex; align-items: center; min-height: var(--tap-min);
  font: var(--fw-bold) var(--fs-1)/1 var(--font-sans); letter-spacing: -0.02em;
  color: var(--color-text); text-decoration: none; }
/* LOGO ON */
.wordmark { --logo-w: 96px; --logo-h: 32px; position: relative; width: var(--logo-w); height: var(--logo-h);
  min-height: 0; margin-block: 6px; background: url(/assets/brand/logo-light.svg) left center / contain no-repeat; }
.wordmark__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wordmark { background-image: url(/assets/brand/logo-dark.svg); } }
@media (min-width: 1024px) { .wordmark { --logo-w: 119px; --logo-h: 40px; } }
/* -------------------------------------------------------------------- */

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; margin-inline: auto; padding-inline: var(--space-4); }
.section { padding-block: var(--space-7); }
.kicker { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs--1);
  font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--color-accent-text); line-height: 1.2; }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--color-accent); flex: none; }
h1 { font-size: var(--fs-3); line-height: var(--lh-tight); font-weight: var(--fw-bold); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-2); line-height: var(--lh-tight); font-weight: var(--fw-bold); margin-top: var(--space-2); }
h3 { font-size: var(--fs-1); line-height: 1.3; font-weight: var(--fw-semibold); }
.lead { font-size: var(--fs-1); line-height: var(--lh-base); margin-top: var(--space-4); }
.muted { color: var(--color-text-muted); }
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; color: var(--color-accent-text); }

/* ---------- Header ---------- */
.header { border-bottom: 1px solid var(--color-border); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.header .lang { margin-right: calc(-1 * var(--space-3)); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap-min);
  min-height: var(--tap-min); font-weight: var(--fw-semibold); text-decoration: none; }
.lang:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding-top: var(--space-5); padding-bottom: var(--space-7); }
.hero p.lead { margin-top: var(--space-4); }
.chips li:first-child { flex-basis: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.chip { display: inline-flex; align-items: center; height: 36px; padding-inline: var(--space-3);
  border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  background: var(--color-surface); font-weight: var(--fw-medium); }
.chip--lock { min-height: var(--tap-min); gap: var(--space-2); background: var(--color-accent-soft); color: var(--color-accent-text);
  border-color: var(--color-accent-text); font-weight: var(--fw-semibold); text-decoration: none; }
.chip--lock .icon { width: 18px; height: 18px; color: inherit; }
.chip--lock:hover { background: var(--color-bg); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.lead strong { font-weight: var(--fw-semibold); }
.cta-row { margin-top: var(--space-6); }
.cta-note { margin-top: var(--space-2); color: var(--color-text-muted); }

/* CTA-SWAP -----------------------------------------------------------
   State "soon" (now). To go live:
   1. put the app URL into public/open/index.html (marked CTA-SWAP there);
   2. here, swap the two display lines below (.cta--live shown, .cta--soon hidden);
   3. optionally change the #cta-note text in both pages.
   Find every place with: grep -rn CTA-SWAP public/ */
.cta--live { display: none; }
.cta--soon { display: inline-flex; }
/* -------------------------------------------------------------------- */

.cta { align-items: center; justify-content: center; gap: var(--space-2); width: 100%;
  min-height: var(--btn-height); padding-inline: var(--space-5); border-radius: var(--radius-md);
  font: var(--fw-semibold) var(--fs-1)/1 var(--font-sans); text-decoration: none; cursor: pointer;
  border: 0; }
.cta--live { background: var(--color-accent); color: var(--color-on-accent); }
.cta--live:hover { background: var(--color-accent-hover); }
.cta--soon { background: var(--color-accent-soft); color: var(--color-accent-text);
  border: 1.5px dashed var(--color-accent-text); cursor: not-allowed; }
.cta--soon .icon { width: 20px; height: 20px; color: inherit; }
@media (forced-colors: active) { .cta--soon { color: GrayText; border-color: GrayText; } }

/* ---------- Product shots ---------- */
.shot { --shot-w: 248px; width: var(--shot-w); margin: var(--space-6) auto 0;
  padding: calc(var(--shot-w) * 0.0267 + 1px); }
.shot img { display: block; width: 100%; height: auto; border-radius: calc(var(--shot-w) * 0.1173);
  box-shadow: 0 0 0 calc(var(--shot-w) * 0.0267) var(--nv-black),
              0 0 0 calc(var(--shot-w) * 0.0267 + 1px) var(--gray-500), var(--shadow-shot); }
.shot--rescue { --shot-w: 232px; }
.shot--sheet { width: 100%; max-width: 343px; padding: 0; aspect-ratio: 375 / 520; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--color-border); }
.shot--sheet img { height: 100%; object-fit: cover; object-position: 50% 100%; border-radius: 0; box-shadow: none; }

/* ---------- Trust band ---------- */
.band { background: var(--color-bg); color: var(--color-text); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band { background: var(--color-surface); border-block: 1px solid var(--color-border); }
}
.lock-badge { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.lock-badge__disc { width: 72px; height: 72px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid var(--color-accent-text); background: var(--color-accent-soft); }
.lock-badge__disc .icon { width: 36px; height: 36px; }
.lock-badge__t { font-size: var(--fs-1); font-weight: var(--fw-semibold); line-height: 1.25; }
.lock-badge__s { margin-top: var(--space-1); color: var(--color-text-muted); }
.band h2 { margin-top: var(--space-2); }
.facts { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.fact { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); align-items: start; align-content: start; }
.fact p { margin-top: var(--space-1); color: var(--color-text-muted); }
details { margin-top: var(--space-6); }
summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: var(--tap-min); font-weight: var(--fw-semibold); cursor: pointer; list-style: none; max-width: 36rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 6px; flex: none; }
details[open] summary::after { transform: rotate(-135deg); }
details p { margin-top: var(--space-2); color: var(--color-text-muted); }
code { font-family: var(--font-mono); font-size: 0.94em; }

/* ---------- Lobby, rescue ---------- */
.points { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.point { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; }
.point .icon { width: 20px; height: 20px; margin-top: 2px; }
.section p + p { margin-top: var(--space-3); }
.section .lead + p { margin-top: var(--space-3); }

/* ---------- Network card ---------- */
.card { background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-5); }
.card .icon { width: 28px; height: 28px; }
.net h2 { font-size: var(--fs-1); margin-top: var(--space-3); }
.net p { margin-top: var(--space-2); color: var(--color-text-muted); }
@media (min-width: 1024px) { .net p { max-width: 36rem; } }

/* ---------- Roadmap ---------- */
.road { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.road .card { padding: var(--space-4) var(--space-5); }
.badge { display: inline-flex; align-items: center; height: 24px; padding-inline: var(--space-2);
  border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent-text);
  font-size: var(--fs--1); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; line-height: 1; border: 1px solid var(--color-accent-text); background: transparent; }
.road h3 { margin-top: var(--space-2); }
.road p { margin-top: var(--space-1); color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--color-border); padding-block: var(--space-6); }
.footer .wrap { display: grid; gap: var(--space-2); }
.footer p { color: var(--color-text-muted); }
.footer .by { color: var(--color-text); font-weight: var(--fw-semibold); }
.footer .by span { font-weight: var(--fw-regular); }
.copy { font-size: var(--fs--1); }

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .wrap { max-width: 640px; }
  h1 { font-size: var(--fs-4); }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .wrap { max-width: var(--container); padding-inline: var(--space-6); }
  .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-6); }
  .section { padding-block: var(--space-9); }
  .header .wrap { min-height: 72px; }
  h1 { font-size: var(--fs-5); line-height: 1.1; letter-spacing: -0.02em; }
  h2 { font-size: var(--fs-4); line-height: 1.15; }

  .hero { padding-top: var(--space-8); }
  .hero .text { grid-column: 1 / 8; align-self: center; }
  .hero .lead { margin-top: var(--space-5); }
  .chips { margin-top: var(--space-6); }
  .cta-row { margin-top: 40px; }
  .cta { width: auto; min-width: 240px; }
  .cta-note { margin-top: var(--space-3); }
  .hero .shot { grid-column: 9 / 13; --shot-w: 320px; justify-self: center; margin: 0; }

  .band .head { grid-column: 1 / 9; grid-row: 1; align-self: center; }
  .lock-badge { grid-column: 9 / 13; grid-row: 1; flex-direction: column; text-align: center; justify-self: center; margin: 0; }
  .lock-badge__disc { width: 160px; height: 160px; }
  .lock-badge__disc .icon { width: 72px; height: 72px; }
  .lock-badge__s { max-width: 20rem; }
  .band summary { max-width: none; }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); column-gap: var(--space-6); margin-top: 48px; }
  .fact { grid-template-columns: 1fr; gap: 0; }
  .fact .icon { width: 28px; height: 28px; }
  .fact h3 { margin-top: var(--space-4); }
  .fact p { margin-top: var(--space-2); }
  .band details { grid-column: 1 / 9; margin-top: 48px; border-top: 1px solid var(--color-border); padding-top: var(--space-5); }

  .lobby .text { grid-column: 1 / 7; align-self: center; }
  .lobby .shot { grid-column: 8 / 12; --shot-w: 300px; justify-self: center; margin: 0; }
  .shot--sheet { width: var(--shot-w); max-width: none; padding: calc(var(--shot-w) * 0.0267 + 1px); aspect-ratio: auto;
    overflow: visible; border: 0; border-radius: 0; }
  .shot--sheet img { height: auto; object-fit: fill; border-radius: calc(var(--shot-w) * 0.1173);
    box-shadow: 0 0 0 calc(var(--shot-w) * 0.0267) var(--nv-black),
                0 0 0 calc(var(--shot-w) * 0.0267 + 1px) var(--gray-500), var(--shadow-shot); }

  .rescue .text { grid-column: 7 / 13; grid-row: 1; align-self: center; }
  .rescue .shot { grid-column: 2 / 6; grid-row: 1; --shot-w: 300px; justify-self: center; margin: 0; }

  .net-section { padding-block: var(--space-7) var(--space-9); }
  .net { grid-column: 1 / -1; display: flex; gap: var(--space-5); align-items: flex-start; padding: var(--space-6); }
  .net .icon { width: 32px; height: 32px; margin-top: 4px; }
  .net h2 { font-size: var(--fs-2); margin-top: 0; }

  .roadmap .head { grid-column: 1 / 9; }
  .roadmap .intro { grid-column: 1 / 8; }
  .road { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: var(--space-6); margin-top: 48px; }
  .road .card { padding: var(--space-5); }

  .footer .wrap { grid-template-columns: 1fr auto; align-items: baseline; }
  .footer .left { display: grid; gap: var(--space-2); }
  .footer .right { display: flex; gap: var(--space-5); align-items: baseline; }
}

/* ---------- Dark page: hairline for the black bezel handled by --gray-500 ring ---------- */

@media (prefers-contrast: more) {
  .chip, .card { border-color: var(--color-border-strong); }
}

/* ---------- 404 and open ---------- */
.plain { padding-block: var(--space-8); }
.plain h1 { font-size: var(--fs-3); }
.plain p { margin-top: var(--space-3); }
.plain a { font-weight: var(--fw-semibold); }
