/* Kotilo website. Colors and type follow the app's DESIGN_SYSTEM.md (dark theme). */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0c0f;
  --surface-1: #0f1014;
  --surface-2: #111318;
  --surface-3: #14161b;
  --surface-5: #1b1e24;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.08);
  --text: #e7e9ee;
  --text-2: #c9ccd4;
  --text-3: #a3a8b4;
  --text-muted: #7d8290;
  --text-faint: #6f7480;
  --accent: #7c9cff;
  --working: #f2b440;
  --blocked: #ff6b5a;
  --done: #5aa9ff;
  --idle: #46c58a;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* width/height attributes only reserve the aspect ratio; the image scales to its column. */
img { max-width: 100%; height: auto; display: block; }
code, .mono { font-family: "Geist Mono", ui-monospace, monospace; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 12, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--text-3); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface-5);
}
.btn:hover { text-decoration: none; border-color: rgba(255, 255, 255, 0.16); }
.btn-primary { background: var(--accent); color: #0b0c0f; border-color: transparent; }
.btn-primary:hover { background: #95afff; }

/* Hero */
.hero { padding: 88px 0 56px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-3);
  font-size: 13px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.hero h1 {
  margin: 20px auto 16px;
  max-width: 820px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { max-width: 680px; margin: 0 auto; color: var(--text-3); font-size: 18px; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 32px 0 12px; }
.meta { color: var(--text-muted); font-size: 13px; }
.shot {
  margin: 56px auto 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(124, 156, 255, 0.04);
}

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--border); }
.label {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h2 { margin: 8px 0 12px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; line-height: 1.2; }
.section-lead { color: var(--text-3); max-width: 720px; margin: 0 0 40px; }

/* States strip */
.states { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
}

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--text-3); font-size: 15px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { border: 1px solid var(--border-strong); border-radius: 12px; }
.gallery figcaption { margin-top: 10px; color: var(--text-muted); font-size: 14px; }
.gallery figcaption b { color: var(--text-2); font-weight: 600; }
.note { color: var(--text-faint); font-size: 13px; margin-top: 20px; }

/* Agents */
.agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
}
.avatar {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: "Geist Mono", monospace;
  font-weight: 600;
  font-size: 14px;
}
.agent small { display: block; color: var(--text-muted); font-size: 12.5px; }

/* Privacy list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px 32px; }
.checks li { padding-left: 28px; position: relative; color: var(--text-3); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--idle); font-weight: 700; }
.checks b { color: var(--text); font-weight: 600; }

/* Download */
.download { text-align: center; }
.download .section-lead { margin-left: auto; margin-right: auto; }
.callout {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 16px 20px;
  text-align: left;
  border: 1px solid rgba(242, 180, 64, 0.25);
  background: rgba(242, 180, 64, 0.06);
  border-radius: 12px;
  color: var(--text-3);
  font-size: 14.5px;
}
.callout b { color: var(--text); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--text-muted); font-size: 13.5px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
footer .links a { color: var(--text-3); }
footer p { margin: 6px 0; max-width: 860px; }

@media (max-width: 720px) {
  .nav a:not(.nav-keep) { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}
