/* =============================================================
   kiniq.ai — site.css
   Identity site + apps showcase
   ============================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-word {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.brand-word .ai {
  opacity: 0.45;
  font-weight: 300;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-size: 14px;
  color: var(--ink-3);
  transition: color 180ms cubic-bezier(.22, 1, .36, 1);
}
.nav-link:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  padding: 144px 0 96px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  max-width: 900px;
}
.hero h1 .dim {
  color: var(--ink-3);
  font-weight: 300;
}
.hero p.lede {
  margin-top: 40px;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 600px;
}

/* ---------- ticker band ---------- */
.band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  background: var(--paper);
}
.band-inner {
  display: flex;
  gap: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
}

/* ---------- section ---------- */
.section {
  padding: 112px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  gap: 24px;
}
.section-head h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-head .count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- apps grid ---------- */
.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 720px) {
  .apps { grid-template-columns: 1fr; }
}
.app {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 180ms cubic-bezier(.22, 1, .36, 1),
              transform 320ms cubic-bezier(.22, 1, .36, 1),
              box-shadow 320ms cubic-bezier(.22, 1, .36, 1);
}
.app:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.06), 0 2px 4px rgba(10, 10, 10, 0.04);
}
.app .vis {
  height: 260px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-3);
}
.app .vis image-slot {
  width: 100%;
  height: 100%;
  display: block;
}
.app .body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app .meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.app .meta-row .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app .meta-row .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
}
.app .meta-row .dot.beta { background: var(--ink-3); }
.app .meta-row .dot.soon { background: transparent; border: 1px solid var(--ink-3); width: 6px; height: 6px; }
.app h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.app p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}
.app .open {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 180ms;
}
.app .open:hover { opacity: 0.6; }
.app .open.disabled {
  color: var(--ink-4);
  pointer-events: none;
}

/* ---------- about ---------- */
.about {
  border-top: 1px solid var(--rule);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
.about h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}
.about p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 1.2em;
}
.about p:last-child { margin-bottom: 0; }
.about p strong { font-weight: 500; color: var(--ink); }

/* ---------- contact (lightweight, no custom-work pitch) ---------- */
.contact-line {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.contact-line a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.contact-line a:hover { opacity: 0.6; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  gap: 16px;
  flex-wrap: wrap;
}
.footer .brand-word { font-family: var(--font-sans); font-size: 14px; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.footer .links { display: flex; gap: 24px; }
.footer .links a { color: var(--ink-3); transition: color 180ms; }
.footer .links a:hover { color: var(--ink); }
