/* lekuko.dev — coming-soon page
   No build step, no frameworks. Plain CSS, custom properties for theming,
   mobile-first, one breakpoint. Same structure and type as iteko.dev; the
   colours are Lekuko's own (the app's neutral surfaces, Lekuko blue as the
   one accent, and the seven logo beads as a spectrum line). */

:root {
  --bg: #f6f7fa;
  --surface: #ffffff;
  --ink: #151a24;
  --ink-soft: #4b5563;
  --ink-faint: #8a8f98;
  --border: #e3e6ec;
  /* Lekuko blue: the app's accent (Color.lekuko) and the logo's blue bead. */
  --accent: #2b63db;
  --accent-ink: #1d4bb0;
  --shadow: 0 1px 2px rgba(21, 26, 36, 0.04), 0 12px 32px -12px rgba(21, 26, 36, 0.18);
  --radius-md: 14px;
  --radius-sm: 8px;
  /* The app's typeface: San Francisco through the system stack. */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Cascadia Code", Consolas, monospace;
  --max-width: 1120px;

  /* The logo's beads, red to purple (LekukoUI's bead colours). */
  --bead-1: #ff4d57;
  --bead-2: #ff9314;
  --bead-3: #ffcc1f;
  --bead-4: #4cc35a;
  --bead-5: #22bfb0;
  --bead-6: #2b63db;
  --bead-7: #8e52f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111418;
    --surface: #1a1f27;
    --ink: #f2f4f8;
    --ink-soft: #b7bfc9;
    --ink-faint: #7c8590;
    --border: #2a313c;
    --accent: #6694fa;
    --accent-ink: #a9c2ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Blinking cursor on the monospace eyebrow -- the page's one animation. */
.caret::after {
  content: "";
  display: inline-block;
  width: 0.55ch;
  height: 1em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.15em;
  animation: caret-blink 1.05s steps(1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .caret::after { animation: none; opacity: 1; }
}
@keyframes caret-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.header-row .badge { margin-left: auto; }

/* The app's spectrum line: the seven beads, under the header. */
.spectrum {
  height: 3px;
  background: linear-gradient(90deg,
    var(--bead-1), var(--bead-2), var(--bead-3), var(--bead-4),
    var(--bead-5), var(--bead-6), var(--bead-7));
}

/* Logo: the light artwork, swapped for the dark one in dark mode. */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent-ink);
  white-space: nowrap;
}

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  gap: 40px;
}
.eyebrow {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.lede {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 50ch;
}

/* "Coming soon": a text pill, not Apple's badge -- that artwork is only
   for apps already on the App Store. */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--ink);
  color: var(--bg);
}
.soon svg { width: 18px; height: 18px; fill: currentColor; }

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.platform-row li { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.language-label {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.language-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.language-row li { display: flex; align-items: center; gap: 6px; }
.language-row img { border-radius: 2px; }
.language-soon { color: var(--ink-faint); }

.hero-art { min-width: 0; }
.hero-art img { margin: 0 auto; width: min(100%, 240px); height: auto; }

@media (min-width: 860px) {
  .hero { padding: 96px 0 56px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .hero-art img { width: min(100%, 420px); }
}

/* Three short points under the hero */
.points {
  display: grid;
  gap: 16px;
  padding-bottom: 72px;
}
.point {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 22px 22px 26px;
  position: relative;
  overflow: hidden;
}
/* A bead-coloured stripe on each card, like the app's area colours. */
.point::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--stripe, var(--accent));
}
.point:nth-child(1) { --stripe: var(--bead-5); }
.point:nth-child(2) { --stripe: var(--bead-4); }
.point:nth-child(3) { --stripe: var(--bead-7); }
.point h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.point p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
@media (min-width: 760px) {
  .points { grid-template-columns: repeat(3, 1fr); }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.footer-copy {
  color: var(--ink-faint);
  font-size: 0.85rem;
}
@media (min-width: 640px) {
  .footer-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Document pages (privacy policy, etc.) — a plain readable article
   instead of the landing page's card/section rhythm: a single measured
   column, real heading hierarchy, disc bullets restored for lists (the
   base reset strips list-style everywhere else on the site). */
.doc-section { padding: 56px 0 96px; }
.doc-wrap { max-width: 720px; }
.doc-title {
  margin-top: 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.doc-meta {
  margin-top: 8px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.doc-lede {
  margin-top: 28px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 65ch;
}
.doc-wrap h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.doc-wrap p {
  margin-top: 14px;
  max-width: 65ch;
  color: var(--ink-soft);
}
.doc-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 65ch;
}
.doc-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
}
.doc-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.doc-wrap a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.doc-wrap strong { color: var(--ink); }
.footer-link {
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 4px;
}
.footer-link:hover { color: var(--ink-soft); }

/* 404 */
.not-found { padding: 96px 0; }
.nf-shrug {
  font-size: clamp(2.6rem, 8vw, 4rem);
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.nf-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.btn {
  display: inline-flex;
  margin-top: 30px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--accent);
  color: #ffffff;
}
@media (prefers-color-scheme: dark) {
  .btn { color: #0b1220; }
}
