/* ChatAffinity website. Dark only, like the app. No external requests: system fonts, local images. */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #1c1c1e;
  --raised: #2c2c2e;
  --line: #38383a;
  --text: #fff;
  --muted: #a1a1a6;
  --blue: #0a84ff;
  --green: #30d158;
  --orange: #ff9f0a;
  --radius: 22px;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }

/* nav */
header.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 58px; }
.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 nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav nav a.pill { color: #fff; background: var(--blue); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
@media (max-width: 620px) { .nav nav a:not(.pill) { display: none; } }

/* hero */
.hero { padding-block: 84px 40px; text-align: center; }
.hero .icon { width: 104px; height: 104px; margin: 0 auto 26px; }
.hero h1 .warm { color: var(--green); }
.hero h1 .cool { color: var(--orange); }
.hero .lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; font-weight: 650; font-size: 18px;
  padding: 14px 26px; border-radius: 999px;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.soon { background: var(--raised); color: var(--muted); cursor: default; }
.button.soon:hover { filter: none; }
.req { font-size: 14px; color: var(--muted); }
.lock { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 16px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: 15px; }
.lock svg { width: 15px; height: 15px; fill: var(--green); }

/* screenshots */
figure { margin: 0; }
.shot { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 40px 120px rgba(10, 132, 255, 0.16); }
figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.hero-shot { max-width: 860px; margin: 56px auto 0; }

section { padding-block: 84px; }
section .head { max-width: 700px; margin-bottom: 40px; }
section .head p { margin-top: 14px; color: var(--muted); font-size: 19px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; min-width: 0; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.card .num { width: 34px; height: 34px; border-radius: 50%; background: rgba(10, 132, 255, 0.18); color: var(--blue); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; }
.card .glyph { width: 34px; height: 34px; border-radius: 10px; background: rgba(48, 209, 88, 0.16); display: grid; place-items: center; margin-bottom: 16px; }
.card .glyph svg { width: 18px; height: 18px; fill: var(--green); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split p + p { margin-top: 14px; }
.split .copy p { color: var(--muted); }
.split h2 { margin-bottom: 18px; }

.signals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.signals li { background: var(--surface); border-radius: 999px; padding: 8px 15px; font-size: 15px; }

.sources { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.source { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; min-width: 0; }
.source .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 9px; }
.source p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.honest { background: var(--surface); border-radius: 28px; padding: clamp(28px, 5vw, 52px); }
.honest h2 { max-width: 760px; }
.honest ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 760px; }
.honest li { padding-left: 26px; position: relative; color: var(--muted); }
.honest li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--orange); border-radius: 2px; }
.honest li strong { color: var(--text); font-weight: 600; }

details { border-top: 1px solid var(--line); padding: 20px 0; max-width: 760px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 620; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--muted); }

.final { text-align: center; }
.final .head { margin: 0 auto 0; }

footer { border-top: 1px solid var(--line); padding: 34px 0 52px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
footer a { color: var(--muted); }
footer .fine { flex-basis: 100%; font-size: 12.5px; opacity: 0.8; }

/* privacy page */
.doc { max-width: 720px; padding-top: 64px; padding-bottom: 84px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin: 44px 0 12px; }
.doc p, .doc li { color: #d1d1d6; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc .summary { margin-top: 28px; background: var(--surface); border-radius: var(--radius); padding: 22px 24px; }
.todo { color: var(--orange); }
