/* Kitkeep landing page. Same tokens as the app; follows the system's light or dark. */
@font-face { font-family: Inter; src: url(/_landing/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --canvas: #f6f7fb; --surface: #ffffff; --surface-2: #f1f3f8; --line: #e3e6ee;
  --ink: #111827; --muted: #5b6476; --accent: #4f46e5; --accent-2: #7c3aed; --accent-ink: #3730a3;
  --accent-soft: #eef0ff; --on-accent: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b1020; --surface: #151b2b; --surface-2: #1c2438; --line: #273049;
    --ink: #e7eaf3; --muted: #9aa3b5; --accent: #818cf8; --accent-2: #c084fc; --accent-ink: #c7d2fe;
    --accent-soft: #1e2347; --on-accent: #0b1020;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: var(--canvas); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.row { display: flex; align-items: center; gap: 24px; height: 68px; }
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--canvas) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); } .top nav a:hover { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.brand.small { font-size: 16px; } .mark { width: 32px; height: 32px; } .brand.small .mark { width: 24px; height: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; color: var(--on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px -12px var(--accent); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px var(--accent); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.g1 { width: 520px; height: 520px; left: -160px; top: -200px; background: var(--accent); }
.g2 { width: 480px; height: 480px; right: -140px; bottom: -220px; background: var(--accent-2); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
h1 { margin: 0; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-shot { position: relative; padding-bottom: 40px; }
.hero-shot .phone { position: absolute; width: 26%; left: -6%; bottom: 0; }
.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(30, 27, 75, .45); }
.browser .bar { height: 34px; display: flex; gap: 7px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.phone { padding: 8px; border-radius: 34px; background: #0a0d16; box-shadow: 0 24px 50px -20px rgba(15, 12, 50, .6), inset 0 0 0 1.5px #2a3145; }
.phone img { border-radius: 26px; }
.band { padding: 80px 0; } .band.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { margin: 0 0 36px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.15; }
.grid { display: grid; gap: 18px; } .grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.band.alt .card { background: var(--surface-2); }
.card h3 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -0.01em; } .card p { margin: 0; color: var(--muted); font-size: 15px; }
.chip-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
@media (prefers-color-scheme: dark) { .chip-icon { color: #0b1020; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps .card { position: relative; }
.num { position: absolute; right: 20px; top: 14px; font-size: 44px; font-weight: 800; color: var(--line); }
.gallery-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 20px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.gallery { margin: 0; }
.phones { display: flex; justify-content: center; gap: 40px; } .phones .phone { width: min(300px, 44%); }
.stack-title { margin: 48px 0 14px; font-size: 18px; }
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stack li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--muted); }
.demo .lead { margin: -20px 0 32px; }
.role { text-decoration: none; transition: transform .2s, border-color .2s; } .role:hover { transform: translateY(-2px); border-color: var(--accent); }
.go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 32px; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; } .grid.four { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; }
  .top nav { display: none; } .top .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .grid.four { grid-template-columns: 1fr; } .hero { padding-top: 40px; } .band { padding: 56px 0; }
  .glow { opacity: .14; } /* behind the text on phones: keep it readable */
  .hero-shot .phone { width: 34%; left: -2%; }
}
