/* earbloom.co: the app's own palette and type (Earbloom-handoff/tokens/design-tokens.json), light only. */
:root {
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --border: #E3E8EF;
  --soft: #EEF2F7;
  --text: #1B2638;
  --text-2: #5E6B80;
  --text-3: #8A95A8;
  --brand: #EA6A0A;
  --brand-edge: #B9520A;
  --link: #075E8F;
  --radius: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 22px; }
.logo img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Home */
.hero { text-align: center; padding-top: 64px; padding-bottom: 40px; }
.hero .app-icon { width: 128px; height: 128px; border-radius: 28px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(27, 38, 56, 0.10); }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.12; font-weight: 900; margin: 28px auto 14px; max-width: 14em; letter-spacing: -0.01em; }
.hero h1 span { color: var(--brand); }
.hero p { color: var(--text-2); font-size: 19px; max-width: 34em; margin: 0 auto; }
.store-button {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  background: var(--text); color: #fff; text-decoration: none; font-weight: 800; font-size: 17px;
  padding: 14px 26px; border-radius: 16px; box-shadow: 0 4px 0 #0B1220;
}
.store-button:hover { background: #26344B; }
.store-button svg { width: 20px; height: 20px; fill: currentColor; }
.small-print { display: block; margin-top: 12px; color: var(--text-3); font-size: 14px; }

.section-title { text-align: center; font-size: 28px; font-weight: 900; margin: 56px 0 8px; }
.section-lead { text-align: center; color: var(--text-2); margin: 0 auto 28px; max-width: 34em; }

.trainers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; }
.trainer img { width: 56px; height: 56px; }
.trainer h3 { margin: 12px 0 4px; font-size: 18px; font-weight: 900; line-height: 1.3; }
.trainer p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 64px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Legal and support pages */
.doc { padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 900; line-height: 1.15; margin: 0 0 6px; }
.doc .updated { color: var(--text-3); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 22px; font-weight: 900; margin: 40px 0 10px; line-height: 1.3; }
.doc h3 { font-size: 18px; font-weight: 800; margin: 24px 0 6px; }
.doc p, .doc li { color: #2C3A50; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .card { margin: 20px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.doc th { font-weight: 800; }
.table-scroll { overflow-x: auto; }
.contact-card { text-align: center; }
.contact-card a.email { font-size: 22px; font-weight: 900; text-decoration: none; word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.site-footer a { color: var(--text-2); text-decoration: none; font-weight: 700; margin-right: 16px; }
.site-footer a:hover { color: var(--text); }
