/* Part 107 Coach — josesiman.com/part107 */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --surface: #ffffff;
  --text: #0f1729;
  --text-muted: #55617a;
  --border: #e3e8f2;
  --accent: #0b6bd3;
  --accent-strong: #0a58ad;
  --accent-soft: #e6f0fc;
  --on-accent: #ffffff;
  --violet: #6a3fc2;
  --good: #1f9d55;
  --shadow: 0 10px 30px rgba(15, 23, 41, 0.08);
  --radius: 18px;
  --max: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f19;
    --bg-alt: #111827;
    --surface: #151c2c;
    --text: #eef2fb;
    --text-muted: #9aa7c2;
    --border: #253049;
    --accent: #4ea2ff;
    --accent-strong: #7ab8ff;
    --accent-soft: #14294a;
    --on-accent: #06122a;
    --violet: #a585ff;
    --good: #4cc483;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b0f19;
  --bg-alt: #111827;
  --surface: #151c2c;
  --text: #eef2fb;
  --text-muted: #9aa7c2;
  --border: #253049;
  --accent: #4ea2ff;
  --accent-strong: #7ab8ff;
  --accent-soft: #14294a;
  --on-accent: #06122a;
  --violet: #a585ff;
  --good: #4cc483;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 80% -10%, var(--accent-soft), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--violet); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 18px; }
.hero p.lead { font-size: 19px; color: var(--text-muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 13px; color: var(--text-muted); margin-top: 14px; }

.phones { display: flex; justify-content: center; gap: 18px; }
.phone {
  width: 46%; max-width: 250px;
  border-radius: 34px; overflow: hidden;
  border: 6px solid #10131b;
  box-shadow: var(--shadow);
  background: #10131b;
}
.phone:nth-child(2) { margin-top: 48px; }

/* Stats */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.stat strong { display: block; font-size: 30px; letter-spacing: -0.02em; }
.stat span { color: var(--text-muted); font-size: 14px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.15; margin: 8px 0 12px; }
.section-head p { color: var(--text-muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card .icon { font-size: 26px; line-height: 1; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Screenshots */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.shots img { border-radius: 26px; border: 5px solid #10131b; box-shadow: var(--shadow); }
.shots figcaption { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 10px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); position: relative; }
.badge {
  position: absolute; top: -12px; left: 20px;
  background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .04em;
}
.plan h3 { margin: 4px 0 4px; }
.price { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.plan ul { padding-left: 18px; margin: 14px 0 0; color: var(--text-muted); font-size: 15px; }
.plan li { margin-bottom: 6px; }

/* Cheat sheet CTA */
.cheat { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.cheat .sheet { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 18px; border: 1px solid var(--border); }
.cheat .sheet img { border-radius: 4px; }

/* FAQ */
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--text-muted); margin: 10px 0 0; }

/* Document pages (privacy, support) */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .meta { color: var(--text-muted); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text-muted); }
.doc strong { color: var(--text); }
.callout {
  background: var(--accent-soft); border-radius: 14px; padding: 18px 20px; margin: 24px 0;
  color: var(--text);
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 44px; font-size: 14px; color: var(--text-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--text-muted); }
.disclaimer { flex-basis: 100%; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .cheat { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  section { padding: 60px 0; }
  .grid, .pricing { grid-template-columns: 1fr; }
  .phone { border-radius: 26px; border-width: 5px; }
  .phone:nth-child(2) { margin-top: 32px; }
  .shots figure { flex-basis: 180px; }
}
