/* Kinesis website. Colours match the app (src/ui/theme.ts, dark theme). */
:root {
  --bg: #0A0A0F; --card: #16161E; --card-alt: #1D1D27; --text: #F5F6FA; --body: #C9CBD6; --muted: #A9ACBA;
  --quiet: #8D90A0; --border: #262631; --accent: #4C7DFF; --accent-alt: #7B5CFF; --accent-soft: #1A2447;
  --link: #8FA8FF; --link-hover: #C2D0FF; --glow: rgba(98, 104, 255, 0.26);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  background-image: radial-gradient(900px 480px at 50% -140px, var(--glow), transparent 70%); background-repeat: no-repeat;
  font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 56px 20px 88px; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: 0.04em; }
.brand:hover { color: var(--text); }
.mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-alt)); flex: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 15px; font-weight: 500; }
.nav a { color: #B5B8C6; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav .get { padding: 9px 15px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; }
.nav .get:hover { color: var(--bg); opacity: .9; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 14px; font-weight: 700; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-alt)); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.btn-ghost:hover { color: var(--text); background: var(--card); }

/* Home */
.hero { text-align: center; padding-top: 64px; padding-bottom: 36px; }
.pill { display: inline-block; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--link); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.hero h1 { margin: 0 auto; max-width: 840px; font-size: clamp(38px, 6.4vw, 70px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.hero .lede { margin: 22px auto 0; max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.shots { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 28px; padding-top: 24px; padding-bottom: 80px; }
.shots figure { margin: 0; text-align: center; }
.shots figure:nth-child(even) { margin-bottom: 36px; }
.shots img { width: 220px; height: auto; display: block; border-radius: 34px; border: 6px solid var(--card-alt); box-shadow: 0 30px 60px -20px rgba(76, 125, 255, .35); }
.shots figcaption { margin-top: 14px; font-size: 14px; color: var(--quiet); }
.section-title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.section-sub { margin: 0 0 32px; font-size: 17px; color: var(--muted); }
.trainer { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: center; padding: 40px; margin-bottom: 72px; border-radius: 28px; background: var(--card); border: 1px solid var(--border);
  background-image: radial-gradient(520px 260px at 0 0, rgba(98, 104, 255, 0.18), transparent 70%); background-repeat: no-repeat; }
.trainer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trainer li { display: flex; gap: 14px; align-items: flex-start; color: var(--body); font-size: 16px; line-height: 1.55; }
.trainer li strong { color: var(--text); display: block; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-top: 1px; }
.target { border-radius: 20px; background: var(--bg); border: 1px solid var(--border); padding: 22px; }
.target .lift { font-weight: 700; font-size: 18px; margin: 0 0 14px; }
.target .row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.target .row b { color: var(--text); font-size: 17px; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.badge.pr { background: #33270C; color: #FFC23D; }
.badge.ease { background: #3A1517; color: #FF8A8E; }
.target .why { margin: 14px 0 0; font-size: 14px; color: var(--quiet); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; padding-bottom: 80px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.card h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 700; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.closer { border-radius: 28px; padding: 48px 28px; margin-bottom: 96px; text-align: center; background: var(--card); border: 1px solid var(--border);
  background-image: radial-gradient(600px 260px at 50% 0, rgba(98, 104, 255, 0.22), transparent 70%); background-repeat: no-repeat; }
.closer p { margin: 12px auto 28px; max-width: 520px; font-size: 17px; color: var(--muted); }

/* Document pages */
.eyebrow { margin: 0 0 10px; color: var(--link); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.doc h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.updated { margin: 14px 0 0; color: var(--quiet); font-size: 15px; }
.summary { margin: 32px 0 8px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); }
.summary p { margin: 0 0 10px; font-weight: 700; color: var(--text); }
.summary ul { margin: 0; padding-left: 20px; color: var(--body); font-size: 15px; line-height: 1.75; }
.prose { font-size: 16px; line-height: 1.7; color: var(--body); margin-top: 32px; }
.prose h2 { margin: 40px 0 10px; font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; line-height: 1.3; }
.prose p { margin: 0 0 16px; }
.callout { padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); color: #DCE4FF; }
.callout a { color: #A9BDFF; text-decoration: underline; }

/* Support */
.contact { margin: 32px 0 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); color: var(--text); }
.contact:hover { color: var(--text); border-color: #34344a; }
.contact .what { flex: 1 1 220px; }
.contact .what span { display: block; }
.contact .what span:first-child { font-weight: 700; font-size: 17px; }
.contact .what span:last-child { color: var(--quiet); font-size: 15px; }
.contact .go { padding: 10px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--link); font-weight: 700; font-size: 14px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--border); padding: 18px 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Footer */
.foot { border-top: 1px solid var(--border); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--quiet); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--quiet); }
.foot a:hover { color: var(--text); }

@media (max-width: 560px) {
  .shots img { width: 160px; border-radius: 26px; border-width: 5px; }
  .shots { gap: 16px; }
  .shots figure:nth-child(even) { margin-bottom: 0; }
  .trainer { padding: 24px; }
}
