/* Chemathletes site: same look as the app (Plus Jakarta Sans, brand blue). */
:root {
  --brand: #2f4898;
  --brand-tint: #e9edfa;
  --bg: #f8faff;
  --surface: #ffffff;
  --ink: #141b2d;
  --muted: #545d74;
  --outline: #e2e6f0;
  --accent: #ee6f55;
  --radius: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(248 250 255 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--outline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--brand); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--outline); }

.hero { padding: 88px 0 80px; text-align: center; }
.hero-logo { width: 112px; height: 112px; margin: 0 auto 24px; }
h1, h2, h3 { color: var(--brand); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.lead strong { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split p { color: var(--muted); font-size: 18px; margin: 0; }
.split ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.split li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--outline); border-radius: 14px;
  padding: 12px 16px; font-weight: 600; color: var(--ink);
}
.split li::before {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px;
  border-radius: 50%; background: var(--accent);
}
/* Transparent phone mockups: the shadow follows the phone, not the image box. */
.shot { justify-self: center; width: min(320px, 100%); filter: drop-shadow(0 20px 28px rgb(20 27 45 / 0.18)); }
.shot.wide { width: min(460px, 100%); }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: flex-start; margin-top: 32px; }
.stores a, .stores .soon { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.stores img { height: 52px; width: auto; }
.stores .soon img { opacity: 0.55; }
.stores .soon span { font-size: 13px; font-weight: 600; color: var(--muted); }

.cta { text-align: center; }
.cta h2 { max-width: 640px; margin-inline: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--outline); padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

/* Privacy policy */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); font-weight: 800; margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 26px; margin-top: 48px; padding-top: 8px; }
.doc h3 { font-size: 20px; margin-top: 32px; }
.doc h4 { font-size: 17px; color: var(--ink); margin: 24px 0 8px; }
.doc p, .doc li { color: #2b3346; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc .summary { background: var(--brand-tint); border-radius: 16px; padding: 4px 24px 8px; margin: 28px 0 8px; }
.doc .summary h2 { font-size: 20px; margin-top: 20px; }
.doc .summary li { color: var(--ink); }
.doc .card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }

@media (max-width: 760px) {
  section { padding: 56px 0; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .split.reverse > :first-child { order: 0; }
  .split li { text-align: left; }
}
