/* Triple Peaks Coach: site styles for the redesigned pages (warm background,
   two-tone headlines, pastel moment cards, bento tiles). Fonts are self-hosted,
   so the site makes no third-party requests. */
@font-face { font-family: 'Inter'; font-weight: 400 700; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500 700; font-display: swap; src: url('/fonts/montserrat-latin.woff2') format('woff2'); }

:root {
  --bg: #f6f2ea;          /* warm page */
  --card: #fffdf9;
  --ink: #14201a;
  --mute: #a39d92;        /* second tone of headlines */
  --body: #5d5a53;
  --line: #e6dfd2;
  --green: #145A32;
  --green-tint: #e3efe6;
  --orange: #FF6B00;
  --orange-tint: #fbe7d6;
  --ai-tint: #ece5f8;
  --sky-tint: #e2ebf2;
  --dark: #101814;
  --r: 28px;
  --display: 'Montserrat', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Two-tone headline: dark line, then muted line */
.h { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; font-size: clamp(2rem, 7.5vw, 3.6rem); text-wrap: balance; }
.h span { display: block; color: var(--mute); }
.h--sm { font-size: clamp(1.6rem, 5.5vw, 2.6rem); }
.center { text-align: center; }
.lede { color: var(--body); font-size: 1.08rem; max-width: 34rem; text-wrap: pretty; }
.center .lede { margin-inline: auto; }
section { padding-block: 72px; scroll-margin-top: 84px; }
section.pt-0 { padding-top: 0; }
section.pt-s { padding-top: 24px; }
@media (min-width: 900px) { section { padding-block: 112px; } section.pt-0 { padding-top: 0; } section.pt-s { padding-top: 24px; } }

/* Nav: slim, sticky, one pill */
.nav { position: sticky; top: 10px; z-index: 10; margin-top: 10px; }
.nav-in { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; background: rgba(255,253,249,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border: 1px solid var(--line); border-radius: 999px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; text-decoration: none; margin-right: auto; }
.logo img { width: 26px; height: 26px; border-radius: 7px; }
.logo b { color: var(--green); }
.logo i { font-style: normal; font-weight: 500; color: var(--body); }
.logo span { white-space: nowrap; }
@media (max-width: 360px) { .logo i { display: none; } }
.nav-links { display: none; gap: 22px; font-size: .92rem; color: var(--body); margin-right: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 760px) { .nav-links { display: flex; } }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.pill--ink { background: var(--ink); color: #fff; }
.pill--green { background: var(--green); color: #fff; }
.pill--green:hover { background: #0f4526; }
.pill--ghost { background: transparent; border: 1px solid #d6cebf; }
.pill--lg { padding: 14px 24px; font-size: 1rem; }
.pill svg { width: 16px; height: 16px; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 0; overflow: hidden; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.hero .h { font-size: clamp(2.4rem, 10vw, 4.6rem); }
.hero .lede { margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.note { margin-top: 12px; font-size: .85rem; color: var(--mute); }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 0; margin-top: 48px; height: clamp(360px, 92vw, 560px); }
.phones img { width: clamp(180px, 50vw, 270px); filter: drop-shadow(0 30px 40px rgba(20,32,26,.18)); }
.phones .side { margin-top: 48px; width: clamp(150px, 42vw, 240px); }
.phones .l { margin-right: -14%; transform: rotate(-4deg); }
.phones .r { margin-left: -14%; transform: rotate(4deg); }
.phones .mid { position: relative; z-index: 2; }
@media (min-width: 760px) { .phones .l { margin-right: 2%; transform: none; } .phones .r { margin-left: 2%; transform: none; } }

/* Trust row */
.trust { border-top: 1px solid var(--line); padding-block: 22px; }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: .9rem; color: var(--body); }
.trust b { color: var(--ink); }

/* Moments: pastel cards, swipe on phones, 2x2 on desktop */
.moments-track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 16px; margin: 40px -16px 0; scrollbar-width: none; }
.moments-track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .moments-track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; margin: 56px 0 0; padding: 0; gap: 20px; } }
.moment { scroll-snap-align: center; border-radius: var(--r); padding: 26px 26px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.moment .when { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.moment h3 { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; margin-top: 6px; letter-spacing: -.01em; }
.moment p { color: var(--body); margin-top: 8px; font-size: .98rem; }
.moment img { width: 72%; max-width: 300px; margin: 24px auto 0; margin-bottom: -38%; filter: drop-shadow(0 18px 26px rgba(20,32,26,.18)); }
@media (min-width: 900px) { .moment { min-height: 0; height: 560px; } .moment img { width: 50%; margin-bottom: 0; } }
.t-orange { background: var(--orange-tint); }
.t-green { background: var(--green-tint); }
.t-sky { background: var(--sky-tint); }
.t-ai { background: var(--ai-tint); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #cfc6b6; }
.dots i.on { background: var(--ink); }
@media (min-width: 900px) { .dots { display: none; } }

/* Bento */
.bento { display: grid; gap: 14px; margin-top: 40px; }
.bento.mt-0 { margin-top: 0; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; overflow: hidden; position: relative; }
.tile p { color: var(--body); }
.tile p b, .run b { color: var(--ink); font-weight: 600; }
.run { font-size: 1.12rem; line-height: 1.5; color: var(--mute); text-wrap: pretty; }   /* Rex-style: bold lead, grey run-on */
.tile--phone { display: flex; flex-direction: column; padding-bottom: 0; }
.tile--phone img { width: 66%; max-width: 280px; margin: 26px auto -30%; filter: drop-shadow(0 18px 26px rgba(20,32,26,.16)); }
@media (min-width: 900px) {
  .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
  .tile--wide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 40px; }
  .tile--wide img { margin: 0 auto -40%; width: 78%; }
}
.phases { display: flex; height: 10px; border-radius: 6px; overflow: hidden; margin: 18px 0 10px; }
.phases i:nth-child(1) { flex: 5; background: #5aa36f; } .phases i:nth-child(2) { flex: 6; background: var(--orange); } .phases i:nth-child(3) { flex: 3; background: #d6336c; } .phases i:nth-child(4) { flex: 1; background: #4a9bd8; }
.tile-note { margin-top: 16px; font-size: .92rem; }
.phase-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--mute); }
.partner { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--body); }
.partner .badge { display: block; flex: none; margin: 12px 0; } /* RacePeak clear space: half the mark height */
.tile .partner .badge img { height: 40px; width: auto; max-width: none; margin: 0; filter: none; }

/* Dark coach tile */
.dark { background: var(--dark); color: #eef2ef; border-color: var(--dark); }
.dark .run { color: #7d8a83; } .dark .run b { color: #fff; }
.chat { display: grid; gap: 10px; margin-top: 26px; }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.45; }
.bubble.you { justify-self: end; background: #2a3530; border-bottom-right-radius: 6px; }
.bubble.coach { background: #e9e2fb; color: #1d1530; border-bottom-left-radius: 6px; }
.bubble.coach::before { content: attr(data-who); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6d3fd6; margin-bottom: 2px; }

/* And more: icon grid */
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; margin-top: 40px; }
@media (min-width: 900px) { .more { grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin-top: 56px; } }
.more svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.more h4 { font-size: .98rem; margin-top: 10px; }
.more p { font-size: .9rem; color: var(--body); margin-top: 2px; }

/* Pricing */
.prices { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 760px) { .prices { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin-inline: auto; margin-top: 56px; } }
.price { border-radius: var(--r); padding: 30px; background: var(--card); border: 1px solid var(--line); }
.price.feat { background: var(--green); color: #fff; border-color: var(--green); }
.price .lbl { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.price .amt { font-family: var(--display); font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.price .amt small { font-size: 1rem; font-weight: 500; }
.price .sub { opacity: .8; }
.price ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; font-size: .95rem; }
.price li::before { content: '✓'; margin-right: 10px; font-weight: 700; color: var(--green); }
.price.feat li::before { color: #9fe0b5; }
.aside { text-align: center; color: var(--mute); font-size: .92rem; margin-top: 22px; }

/* Founder + closing */
.founder { display: grid; gap: 22px; align-items: center; }
@media (min-width: 760px) { .founder { grid-template-columns: 200px 1fr; gap: 40px; max-width: 860px; margin-inline: auto; } }
.founder { text-align: center; justify-items: center; }
@media (min-width: 760px) { .founder { text-align: left; justify-items: start; } }
.founder img { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.founder blockquote { font-size: clamp(1.02rem, 3.2vw, 1.2rem); line-height: 1.6; font-weight: 500; color: var(--ink); }
.founder cite { display: block; margin-top: 12px; font-style: normal; color: var(--body); font-size: .92rem; }
.closing { background: var(--ink); color: #fff; border-radius: var(--r); padding: 56px 24px; text-align: center; }
.closing .h span { color: #7d8a83; }
.closing .note { color: #7d8a83; }
.get { display: grid; gap: 12px; margin: 30px auto 0; max-width: 640px; text-align: left; }
@media (min-width: 760px) { .get { grid-template-columns: 1fr 1fr; } }
.get-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #1f2a24; text-decoration: none; transition: background .15s; }
.get-card:hover { background: #29362f; }
.get-card:first-child { background: #1a7a44; } .get-card:first-child:hover { background: #1f8a4e; }
.get-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.get-ico svg { width: 20px; height: 20px; }
.get-card:nth-child(2) .get-ico { color: #3ddc84; }
.get-card b { display: block; font-size: 1.02rem; }
.get-card small { display: block; font-size: .84rem; opacity: .75; margin-top: 2px; }
.contact { text-align: center; padding: 56px 0 8px; }
.contact .run { max-width: 30rem; margin: 0 auto; }
.mail { display: inline-block; margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 5vw, 1.9rem); letter-spacing: -.01em; color: var(--green); text-decoration: none; border-bottom: 2px solid var(--green-tint); }
.mail:hover { border-color: var(--green); }

footer { padding: 48px 0 40px; font-size: .9rem; color: var(--body); }
.foot { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1fr auto auto auto; gap: 56px; } }
.foot-tag { margin-top: 8px; }
.fine .lang a { text-decoration: none; }
.fine .lang a.active { color: var(--ink); font-weight: 600; }
.foot h5 { font-size: .8rem; color: var(--mute); font-weight: 600; margin-bottom: 8px; }
.foot a:not(.logo) { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--ink); }
.fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--mute); font-size: .82rem; }

/* season loop */
.loop { list-style: none; margin: 32px auto 0; max-width: 1040px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 22px; counter-reset: s; }
.loop li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.loop li:last-child { border-bottom: 0; }
.loop li::before { counter-increment: s; content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font: 700 .9rem var(--display); }
.loop b { font: 700 1.02rem/1.2 var(--display); color: var(--ink); }
.loop span { color: var(--body); font-size: .92rem; line-height: 1.4; }
.loop-note { text-align: center; color: var(--body); font-size: .92rem; margin-top: 14px; }
.loop-note svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--green); }
@media (min-width: 900px) {
  .loop { display: grid; grid-template-columns: repeat(5, 1fr); padding: 28px 18px; margin-top: 48px; }
  .loop li { grid-template-columns: 1fr; align-content: start; border: 0; padding: 0 14px; position: relative; row-gap: 4px; }
  .loop li::before { grid-row: auto; margin-bottom: 8px; }
  .loop li:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 16px; width: 12px; height: 2px; background: var(--line); }
}

/* Inner pages: short hero, then content */
.page-hero { padding-top: 48px; }
.page-hero .lede { margin-top: 16px; }
.page-hero .mail { margin-top: 22px; }
@media (min-width: 900px) { .page-hero { padding-top: 80px; padding-bottom: 72px; } }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 600 1.02rem/1.35 var(--display); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green); font: 600 1.1rem/1 var(--sans); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 20px; color: var(--body); }
.faq-body a { color: var(--green); }
.faq-body strong { color: var(--ink); font-weight: 600; }

/* Legal pages: one readable column */
.legal-wrap { max-width: 760px; }
.page-hero--legal { padding-bottom: 32px; }
.page-hero--legal .note { margin-top: 10px; }
.legal { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 22px; color: var(--body); }
@media (min-width: 760px) { .legal { padding: 44px 48px; } }
.legal .legal-intro { font-size: 1.08rem; color: var(--ink); }
.legal h2 { font: 700 1.25rem/1.3 var(--display); color: var(--ink); letter-spacing: -.01em; margin: 32px 0 10px; }
.legal h3 { font: 700 1.05rem/1.3 var(--display); color: var(--ink); margin: 22px 0 8px; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 1.2em; margin: 10px 0; display: grid; gap: 8px; }
.legal a { color: var(--green); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal > :first-child { margin-top: 0; }

/* What's new: one card per month, one quiet row per change */
.release-list { max-width: 760px; }
.release-month { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 8px; margin-bottom: 16px; }
@media (min-width: 760px) { .release-month { padding: 32px 40px 12px; } }
.release-month-title { font: 700 1.35rem/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.release { padding: 14px 0; border-bottom: 1px solid var(--line); }
.release:last-child { border-bottom: 0; }
.release-head time { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.release-items { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.release-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; }
.release-tag { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.release-item--new .release-tag { background: var(--green-tint); color: var(--green); }
.release-item--improved .release-tag { background: var(--ai-tint); color: #5b3cc4; }
.release-item--fixed .release-tag { background: var(--orange-tint); color: #a34400; }
.release-text h3 { font: 600 1rem/1.35 var(--sans); color: var(--ink); }
.release-text p { font-size: .94rem; color: var(--body); margin-top: 2px; }
.release-platform { display: inline-block; margin-top: 4px; font-size: .78rem; color: var(--mute); }
.release-older { margin-top: 8px; }
.release-older > summary { list-style: none; cursor: pointer; text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.release-older > summary::-webkit-details-marker { display: none; }
.release-older > summary:hover { border-color: var(--ink); }
.release-empty { text-align: center; color: var(--mute); }
@media (max-width: 520px) { .release-item { grid-template-columns: 1fr; } .release-tag { justify-self: start; } }

/* 404 */
.notfound { padding-bottom: 96px; }
@media (min-width: 900px) { .notfound { padding-block: 120px 140px; } }
