/* xh.kaej.dev — the app's own colors (web/src/index.css), system fonts, no scripts */
:root {
  --bg: #f7f7f9;
  --surface: #ffffff;
  --surface-2: #f1f1f4;
  --line: #e3e3e8;
  --fg: #16161b;
  --muted: #5d5d6a;
  --faint: #8e8e9a;
  --accent: #5b5ff0;
  --accent-hover: #4a4ee0;
  --glow: rgb(91 95 240 / 0.18);
  --shadow: 0 30px 80px -30px rgb(20 20 40 / 0.35), 0 0 0 1px rgb(0 0 0 / 0.06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0e;
    --surface: #131317;
    --surface-2: #1a1a20;
    --line: #26262e;
    --fg: #ececf1;
    --muted: #a0a0ad;
    --faint: #6c6c78;
    --accent: #7c83ff;
    --accent-hover: #9097ff;
    --glow: rgb(124 131 255 / 0.22);
    --shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.06);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; height: auto; }
.sprite { position: absolute; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100vw - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand:hover { color: var(--fg); }
.top nav { display: flex; gap: 22px; margin-right: auto; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 8px 24px -8px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.18);
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.fine { color: var(--faint); font-size: 14px; }

main { padding: 0 16px; }
section { max-width: 1160px; margin: 0 auto; }

.hero { text-align: center; padding: 88px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40px 10% auto; height: 520px; z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; color: var(--muted); font-weight: 600; font-size: 15px; }
.hero h1 { font-size: clamp(44px, 8vw, 84px); font-weight: 800; letter-spacing: -0.045em; }
.lede { max-width: 680px; margin: 22px auto 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 34px 0 56px; }

.window { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.chrome { display: flex; gap: 8px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.chrome i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.chrome i:nth-child(2) { background: #febc2e; }
.chrome i:nth-child(3) { background: #28c840; }
.hero-shot { max-width: 1160px; margin: 0 auto; }

.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center;
  padding: 96px 0 0;
}
.feature.flip .copy { order: 2; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--accent); font-weight: 650; font-size: 15px; }
.feature h2, .download h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 750; }
.feature p { color: var(--muted); }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; }
.feature li { display: flex; align-items: center; gap: 10px; padding-left: 0; }
.feature li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.feature li:has(svg)::before { display: none; }
.feature li svg { color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 110px 0 0; }
.grid article { padding: 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.grid article > svg { width: 26px; height: 26px; color: var(--accent); }
.grid h3 { font-size: 18px; margin: 14px 0 6px; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }

.jobs-strip { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: end; padding: 56px 0 0; }
.phone { margin: 0; border-radius: 36px; overflow: hidden; border: 8px solid #1b1b20; box-shadow: var(--shadow); }

.download { text-align: center; padding: 120px 0 100px; }
.download img { margin: 0 auto 22px; border-radius: 22px; }
.download p { color: var(--muted); margin: 14px 0 26px; }
.download .fine { margin-top: 14px; }

footer { border-top: 1px solid var(--line); padding: 28px max(16px, calc((100vw - 1160px) / 2)); color: var(--faint); font-size: 14px; }
footer p { margin: 0 0 8px; }
footer summary { cursor: pointer; }
footer a { color: var(--muted); }
.credits { margin: 8px 0 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.credits li { break-inside: avoid; margin-bottom: 4px; }

@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding-top: 72px; }
  .feature.flip .copy { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .jobs-strip { grid-template-columns: 1fr; }
  .phone { max-width: 260px; margin: 0 auto; }
  .credits { columns: 1; }
}
@media (max-width: 560px) {
  .top nav { display: none; }
  .top { justify-content: space-between; }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: 1fr; }
  .chrome { padding: 8px 10px; gap: 6px; }
  .chrome i { width: 9px; height: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
