/*
 * likan.veldris.io: the application's tokens (apps/ui/src/tokens.css)
 * and typefaces (third_party/, SIL OFL 1.1), self-hosted. Light by default, dark and high
 * contrast from the system's settings, forced colours respected, motion reduced on request.
 */
@font-face { font-family: "Newsreader"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/assets/fonts/newsreader-latin-standard-normal.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: "Newsreader"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/assets/fonts/newsreader-latin-ext-standard-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 100 700; src: url("/assets/fonts/ibm-plex-sans-latin-wght-normal.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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 100 700; src: url("/assets/fonts/ibm-plex-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #1b262c;
  --ink-display: #0e191f;
  --muted: #626a70;
  --accent: #3e5fad;
  --accent-fill: #5c82da;
  --accent-soft: #e5efff;
  --rule: #d9dfe3;
  --surface: #fbfaf7;
  --surface-raised: #fefdfc;
  --surface-sunken: #f5f4f1;
  --success: #007757;
  --focus: #009871;
  --border: #626a70;
  --on-accent: #081116;
  --band: #0e191f;
  --band-ink: #dfdeda;
  --band-muted: #a9b0b5;
  --band-accent: #9ebdff;
  --shadow: 0 10px 32px rgba(13, 24, 30, 0.14), 0 2px 6px rgba(13, 24, 30, 0.08);
  --font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Newsreader", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 10px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #dfdeda;
    --ink-display: #f1f0ed;
    --muted: #9aa1a6;
    --accent: #9ebdff;
    --accent-fill: #6d95ee;
    --accent-soft: #172137;
    --rule: #252f36;
    --surface: #081116;
    --surface-raised: #0e191f;
    --surface-sunken: #050b10;
    --success: #64d6af;
    --focus: #64d6af;
    --border: #6d767c;
    --on-accent: #081116;
    --band: #050b10;
    --shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

@media (prefers-contrast: more) {
  :root { --muted: var(--ink); --rule: var(--border); --band-muted: var(--band-ink); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--ink-display); line-height: 1.12; margin: 0 0 0.5em; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
code { font-family: var(--font-mono); font-size: 0.92em; background: var(--surface-sunken); padding: 0.1em 0.35em; border-radius: 3px; }
mark { background: #ffe58a; color: #1b262c; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--surface-raised); color: var(--ink-display); padding: 10px 16px; border: 2px solid var(--focus); border-radius: var(--radius); z-index: 10; }
.skip:focus { top: 12px; }

/* Header. */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.home { text-decoration: none; color: var(--ink-display); margin-right: auto; }
.lockup { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.lockup .company { display: inline-flex; align-items: center; gap: 8px; font: 500 1.3rem/1 var(--font-display); }
.lockup .vault { width: 20px; height: 20px; }
.lockup .product { display: inline-flex; align-items: center; gap: 8px; padding-left: 12px; border-left: 1px solid var(--border); color: var(--accent); font: 500 0.82rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.lockup .glyph { width: 20px; height: 20px; }
.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 920px) { .site-header nav { display: none; } }
@media (max-width: 420px) { .lockup .company span { display: none; } }

/* Buttons. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); border: 1px solid var(--accent-fill); background: var(--accent-fill); color: var(--on-accent); font-weight: 600; text-decoration: none; transition: background-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.button:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); text-decoration: none; }
.button.secondary { background: transparent; color: var(--ink-display); border-color: var(--border); }
.button.secondary:hover { background: var(--surface-sunken); color: var(--ink-display); }
.button.small { min-height: 40px; padding: 6px 16px; font-size: 0.95rem; }
.button.large { min-height: 52px; padding: 12px 24px; font-size: 1.05rem; }
.arrow { width: 16px; height: 16px; flex: none; }
@media (forced-colors: active) { .button { border: 2px solid ButtonText; } .button:not(.secondary) { border-color: Highlight; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 0.82rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow .glyph { width: 20px; height: 20px; }
.lede { font-size: 1.2rem; color: var(--ink); max-width: 40em; }

/* Hero. */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-note { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.shot { margin: 0; }
.shot img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--rule); background: var(--surface-raised); }

/* At a glance. */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface-raised); }
.proof-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0 auto; padding-top: 24px; padding-bottom: 24px; }
.proof-list li { display: flex; flex-direction: column; gap: 2px; }
.proof-list strong { color: var(--ink-display); }
.proof-list span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 820px) { .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sections. */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--surface-sunken); }
.section.dark { background: var(--band); color: var(--band-ink); }
.section.dark h2 { color: #f1f0ed; }
.section.dark .eyebrow { color: var(--band-accent); }
.page-head { padding-top: clamp(40px, 6vw, 72px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.more { margin-top: 28px; }
.more a, .split a { display: inline-flex; align-items: center; gap: 8px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { border-top: 2px solid var(--accent-fill); padding-top: 18px; }
.step-number { font: 500 0.82rem/1 var(--font-mono); color: var(--accent); display: block; margin-bottom: 12px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.features li { background: var(--surface-raised); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px; }
.features p { margin: 0; color: var(--ink); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 48px; border: 1px solid #2f3b42; border-radius: var(--radius); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 8px; border-left: 2px solid var(--band-accent); border-bottom: 2px solid var(--band-accent); transform: rotate(-45deg); }
.section.dark p { color: var(--band-ink); }

/* Requirements. */
.table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--surface-raised); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
thead th { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { color: var(--ink-display); font-weight: 600; width: 18%; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 18px; max-width: 60em; }

/* FAQ. */
.faq { margin-top: 28px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink-display); list-style-position: outside; }
.faq details p { margin: 0 0 18px; }

/* Stores. */
.download-band { background: var(--surface-sunken); }
.stores { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.store { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-lg); border: 1px dashed var(--border); background: var(--surface-raised); }
.store.is-available { border: 2px solid var(--accent-fill); box-shadow: var(--shadow); }
.store-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.store-head h2, .store-head h3 { font-family: var(--font); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; margin: 0; }
.status { font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.status.available { color: var(--success); }
.status.soon { color: var(--muted); }
.store-platform { margin: 4px 0 0; font-weight: 600; color: var(--ink-display); }
.store-detail { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.store .button { align-self: flex-start; }
.text-link { margin-top: 8px; font-size: 0.92rem; }
.soon-note { color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 1040px) { .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stores { grid-template-columns: minmax(0, 1fr); } }

/* Long text: the privacy policy and the accessibility statement. */
.prose { overflow-wrap: anywhere; }
.prose h1 { margin-bottom: 0.6em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol, .bullets, .numbered { padding-left: 1.3em; }
.prose li, .bullets li, .numbered li { margin-bottom: 0.5em; }

/* Footer. */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface-raised); padding: 48px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; }
.footer-lockup { color: var(--ink-display); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
