/* Kairos marketing site.
   Brand: navy #0C1426, gold #C8A03C, blue #2878E6.
   Restraint is the point: this sells software whose value is that it does less than its
   competitors, so the page should not be busy. */

:root {
  --navy: #0c1426;
  --navy-2: #16203a;
  --ink: #1b2438;
  --body: #454f63;
  --muted: #6b7689;
  --gold: #c8a03c;
  --blue: #2878e6;
  --green: #1e7a49;
  --red: #8d2b2b;
  --line: #e2e6ee;
  --panel: #f5f7fb;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  color: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -.015em; }
h3 { font-size: 1.05rem; margin-bottom: .4em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 82px 0; }
.lede { font-size: 1.16rem; max-width: 62ch; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.alt { background: var(--panel); border-block: 1px solid var(--line); }

/* header */
header { position: sticky; top: 0; z-index: 50; background: rgba(12,20,38,.93);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .brand img { height: 25px; display: block; }
.nav nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav nav a { color: #c4cddd; text-decoration: none; font-size: .93rem; }
.nav nav a:hover { color: #fff; }

.btn { display: inline-block; border-radius: 7px; padding: 13px 24px; font-weight: 600;
  font-size: .96rem; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease; }
.btn-primary { background: var(--gold); color: #16130a; }
.btn-primary:hover { background: #d8b055; }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #e8edf6; }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* hero */
.hero { background: var(--navy); color: #cdd6e4; padding: 88px 0 92px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { font-size: 1.18rem; max-width: 56ch; color: #a9b3c5; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .note { margin-top: 22px; font-size: .89rem; color: #7d8798; }

/* interactive demo */
.demo { background: #0a1020; border-top: 1px solid rgba(255,255,255,.07); padding: 0 0 84px; }
.demo-grid { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.demo-panel { background: #12182a; border: 1px solid rgba(255,255,255,.09); border-radius: 10px;
  padding: 18px; }
.demo-panel h3 { color: #e8edf6; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: #7d8798; margin-bottom: 12px; }
.demo-list { list-style: none; margin: 0; padding: 0; }
.demo-list li { display: flex; gap: 10px; align-items: baseline; padding: 8px 6px; border-radius: 6px;
  cursor: pointer; font-size: .9rem; color: #c4cddd; }
.demo-list li:hover { background: rgba(255,255,255,.05); }
.demo-list .num { font-weight: 700; color: #fff; min-width: 34px; }
.demo-list .st { margin-left: auto; font-size: .76rem; }
.ok { color: #57c98a; }
.no { color: #d98080; }
.demo-input { display: flex; gap: 8px; margin-top: 14px; }
.demo-input input { flex: 1; background: #0a1020; border: 1.5px solid var(--gold); border-radius: 6px;
  color: #fff; font-size: 1.2rem; font-weight: 700; padding: 9px 12px; width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.demo-input input:focus { outline: 2px solid rgba(200,160,60,.4); }
.demo-msg { margin-top: 12px; font-size: .86rem; color: #9aa5b8; min-height: 2.6em; }
.demo-screen { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: .74rem;
  letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: #fff; background: #2a2f3a; }
.demo-bar.live { background: var(--green); }
.demo-stage { aspect-ratio: 16/10; background: #000; display: flex; align-items: center;
  justify-content: center; }
.demo-stage img { width: 100%; height: 100%; object-fit: contain; }
.demo-stage .blank { color: #333c4d; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.demo-hint { color: #6b7689; font-size: .84rem; margin-top: 12px; }

/* cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card .mark { width: 30px; height: 3px; background: var(--gold); border-radius: 2px;
  display: block; margin-bottom: 14px; }

/* refusal list */
.refuse { border-top: 1px solid var(--line); }
.refuse div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0;
  border-bottom: 1px solid var(--line); }
.refuse strong { color: var(--ink); }

/* status pills */
.pill { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; vertical-align: middle;
  margin-left: 8px; }
.pill-now { background: #e4f3ea; color: #1e7a49; }
.pill-next { background: #eef1f7; color: #6b7689; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; }
.tier h3 { margin-bottom: 6px; }
.tier .who { font-size: .9rem; color: var(--muted); min-height: 3.2em; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none;
  display: flex; align-items: center; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; color: var(--gold); font-weight: 700; font-size: 1.2rem; }
details[open] summary::before { content: "\2013"; }
details p { margin: 12px 0 0 26px; }

/* form */
.cta { background: var(--navy); color: #b9c3d4; }
.cta h2 { color: #fff; }
form { display: grid; gap: 14px; max-width: 520px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: .82rem; font-weight: 600; color: #9aa5b8; letter-spacing: .04em; }
input, select, textarea { width: 100%; background: #0a1020; border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px; color: #fff; padding: 11px 13px; font-size: .96rem; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
select option { background: #0a1020; }
.form-note { font-size: .84rem; color: #7d8798; }
.form-status { font-size: .93rem; min-height: 1.6em; }

footer { background: #070c17; color: #6b7689; padding: 40px 0; font-size: .88rem; }
.footer-in { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-in img { height: 20px; opacity: .8; }
.footer-in .sp { margin-left: auto; }
footer a { color: #8e9ab0; text-decoration: none; }
footer a:hover { color: #c4cddd; }

@media (max-width: 900px) {
  .g3, .g2, .tiers { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .refuse div { grid-template-columns: 1fr; gap: 4px; }
  .nav nav { display: none; }
  section { padding: 60px 0; }
}

/* Utility classes.
   These exist because the site ships a strict Content-Security-Policy without
   style-src 'unsafe-inline'. Inline style attributes are blocked by that policy, which
   silently breaks layout, so every rule lives here instead. */
.pb-tight { padding-bottom: 34px; }
.mt-lg { margin-top: 34px; }
.mt-xl { margin-top: 38px; }
.narrow { max-width: 820px; }
.on-dark { color: #fff; }
.on-dark-body { color: #a9b3c5; }
.fineprint { margin-top: 24px; font-size: .92rem; color: var(--muted); }
.offscreen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* A centred hero reads better than a left column with dead space beside it. */
.hero .wrap { text-align: center; }
.hero h1, .hero p { margin-inline: auto; }
.hero .actions { justify-content: center; }
.hero .note { max-width: 60ch; margin-inline: auto; }
