/* koomo.in one-page home. Same palette and font as the Koomo Buddy website (apps/buddy/site/src/styles/tokens.css). */
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/satoshi-var.woff2') format('woff2');
}

:root {
  --canvas: #fbfaf8;
  --surface: #ffffff;
  --line: #e4e1da;
  --ink: #16162a;
  --ink2: #43435a;
  --p50: #efeefe;
  --p600: #4443f6;
  --p700: #2f2ec4;
  --on: #1f7a44;
  --on-bg: #e3f4e9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0a0a0b;
    --surface: #121214;
    --line: #27272b;
    --ink: #f4f4f6;
    --ink2: #c4c4cb;
    --p50: #1c1b38;
    --p600: #9a99ff;
    --p700: #bdbcff;
    --on: #8fe0ad;
    --on-bg: #12291b;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--p700); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--p600); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.small { font-size: 14px; color: var(--ink2); margin: 8px 0 0; }

.lg-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .lg-light { display: none; }
  .lg-dark { display: block; }
}

.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .row { height: 64px; }
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--ink2); text-decoration: none; font-weight: 600; }
.top nav a:hover { color: var(--ink); }

.hero { padding: 56px 16px 40px; text-align: center; }
.mascot { margin: 0 auto 16px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; max-width: 18ch; margin: 0 auto; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink2); max-width: 60ch; margin: 18px auto 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.btn-p { background: var(--p600); color: #fff; }
.btn-p:hover { background: var(--p700); }
@media (prefers-color-scheme: dark) { .btn-p { color: #0a0a0b; } }
.btn-g { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }

#products { padding-top: 24px; padding-bottom: 24px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin-bottom: 20px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.card.live { border-color: var(--p600); }
.card h3 { font-size: 20px; font-weight: 800; margin-top: 14px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; } /* whole card is the link */
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--p600); outline-offset: 2px; }
.card p { margin: 6px 0 0; color: var(--ink2); font-size: 15.5px; }
.card .tag { color: var(--ink); font-weight: 700; font-size: 16px; }
.card .foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.url { font-size: 14px; color: var(--ink2); }
.chip { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--p50); color: var(--p700); }
.chip.on { background: var(--on-bg); color: var(--on); }

.mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 20px; color: #16162a;
}
.m1 { background: #dcdbff; } .m2 { background: #ffe1c7; } .m3 { background: #d6efff; }
.m4 { background: #ffd8d2; } .m5 { background: #ffd6ec; } .m6 { background: #d3f3e1; }
.m7 { background: #e8dcff; } .m8 { background: #e2e2ea; } .m9 { background: #f6e9c4; }
.m10 { background: #cfeee9; } .m11 { background: #dff3c8; }

.how { padding-top: 32px; padding-bottom: 56px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.points li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; color: var(--ink2); }
.points b { color: var(--ink); display: block; }

.foot-main { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 40px; }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 640px) {
  .wrapcol { flex-direction: column; align-items: flex-start; }
}
