/* The public website (CK-049) in OG's look: the same palette, font and logo as the app. */
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format('woff2'); }
:root {
  color-scheme: dark;
  --bg: #111516; --surface: #1b2224; --border: #334044; --text: #f3f6f4; --muted: #b2bec1;
  --primary: #238190; --primary-hover: #217783; --accent: #57b4c4; --tint: rgba(87, 180, 196, .10);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f5f4; --surface: #ffffff; --border: #d3dcdb; --text: #111516; --muted: #4b5759;
  --primary: #146979; --primary-hover: #105b69; --accent: #146979; --tint: rgba(20, 105, 121, .10);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
.logo { display: block; height: auto; }
.logo.on-light { display: none; }
:root[data-theme="light"] .logo.on-dark { display: none; }
:root[data-theme="light"] .logo.on-light { display: block; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 12px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.brand .logo { width: 64px; }
.brand span { font-size: 15px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.bar .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.hero { padding: 72px 0 40px; max-width: 760px; }
.kicker { margin: 0 0 12px; color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
.lead { margin: 20px 0 0; font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

.skills { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 24px; }
.skills span { padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--accent); font-size: 14px; font-weight: 700; }

.block { padding: 48px 0; border-top: 1px solid var(--border); }
h2 { margin: 0 0 24px; font-size: clamp(26px, 4vw, 34px); letter-spacing: -.01em; }
h3 { margin: 0 0 6px; font-size: 19px; }
p { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%;
  background: var(--tint); color: var(--accent); font-weight: 800; }
.steps p, .card p { color: var(--muted); font-size: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.final { text-align: center; }
.final h2 { margin-bottom: 10px; }
.final p { color: var(--muted); margin-bottom: 24px; }

.foot { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 32px 20px calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.foot .logo { width: 40px; }
@media (max-width: 480px) {
  .brand span { display: none; }
  .hero { padding-top: 48px; }
  .cta .btn { flex: 1 1 100%; }
}
