@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #f2f7fb;
  --muted: #9db0c2;
  --navy: #03101d;
  --panel: #0b2135;
  --line: #1b3a54;
  --blue: #168cff;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--ink); font-family: "Sora", Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 10; padding: 10px; background: white; color: #000; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.topbar { height: 76px; padding: 0 max(20px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; background: #020b14; border-bottom: 1px solid #183047; position: sticky; top: 0; z-index: 5; }
.tyler-brand, .coach-tracker-brand { display: flex; align-items: center; gap: 10px; }
.tyler-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 1px solid #315978; background: #f5f8fb; }
.tyler-brand > span, .coach-tracker-brand > span { display: flex; flex-direction: column; gap: 2px; }
.tyler-brand strong, .coach-tracker-brand strong { font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.tyler-brand small, .coach-tracker-brand small { color: #74bfff; font-size: 8px; letter-spacing: .16em; }
.coach-tracker-brand { justify-self: end; }
.coach-tracker-brand img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
nav { display: flex; gap: 24px; }
nav a { color: #a8bac8; font-size: 12px; }
nav a:hover { color: white; }

.hero { min-height: 590px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 82% 24%, #123c61 0, #071a2c 29%, #020b14 72%); border-bottom: 1px solid #17344c; }
.hero-layout { padding: 68px 0; display: grid; grid-template-columns: 1fr 280px; align-items: center; gap: 74px; }
.hero-copy { max-width: 730px; }
.hero-avatar { width: min(100%, 250px); aspect-ratio: 1; justify-self: center; object-fit: cover; object-position: center 18%; border-radius: 50%; border: 2px solid #315b7b; box-shadow: 0 26px 70px rgba(0,0,0,.34); background: #f5f8fb; }
.eyebrow { margin: 0 0 14px; color: #4fb0ff; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.hero h1, .section h2, .audiences h2, .how h2, .webapp h2, dialog h2 { margin: 0; letter-spacing: -.045em; line-height: .98; }
.hero h1 { font-size: clamp(52px, 7.2vw, 86px); }
.lede { margin: 24px 0 0; color: #c3d0da; font-size: 17px; line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { min-height: 47px; padding: 0 18px; border: 1px solid transparent; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-weight: 800; font-size: 12px; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #319aff; }
.secondary { border-color: #49657b; background: rgba(3,16,29,.55); color: #e2edf5; }
.credential { margin-top: 22px; color: #8399ab; font-size: 11px; }

.proof { background: #061624; border-bottom: 1px solid #18364e; }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof p { margin: 0; padding: 20px 24px; border-left: 1px solid #17364f; display: flex; flex-direction: column; gap: 4px; }
.proof p:first-child { border-left: 0; }
.proof strong { font-size: 17px; }
.proof span { color: #8298aa; font-size: 10px; }

.section { padding: 70px 0; }
.section-intro { max-width: 700px; }
.section-intro h2, .tyler-story h2 { font-size: clamp(35px, 5vw, 54px); }
.section-intro > p:last-child, .section-intro.split > p, .story-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }

.tyler-story { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; }
.tyler-story { min-height: 0; height: auto; padding-top: 28px; padding-bottom: 28px; align-content: start; }
.tyler-story figure { margin: 0; padding: 10px; background: #071827; border: 1px solid #23455e; }
.tyler-story img { width: 100%; max-height: 330px; display: block; object-fit: cover; }
.tyler-story figcaption { padding: 10px 4px 2px; color: #7f97aa; font-size: 10px; }

.cycle-list { margin: 38px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.cycle-list li { min-height: 170px; padding: 20px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.cycle-list li:last-child { border-right: 1px solid var(--line); }
.cycle-list span { color: #55b4ff; font-size: 10px; font-weight: 900; }
.cycle-list strong { margin-top: 26px; font-size: 18px; }
.cycle-list small { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.guide { background: #071a2b; border-block: 1px solid #16364f; }
.guide-phone-gallery { margin-top: 34px; display: flex; flex-direction: column; align-items: center; }
.guide-tabs { margin-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.guide-tabs button { padding: 9px 14px; border: 1px solid #28506f; border-radius: 999px; background: #0a2033; color: #b8cddd; font: inherit; font-size: 10px; font-weight: 900; cursor: pointer; }
.guide-tabs button:hover, .guide-tabs button.is-active { border-color: #55b4ff; background: #168cff; color: #fff; }
.guide-phone-frame { width: min(100%, 390px); padding: 30px 11px 12px; position: relative; border: 7px solid #020b13; border-radius: 44px; background: #020b13; box-shadow: 0 24px 60px rgba(0,0,0,.42); }
.guide-phone-speaker { width: 74px; height: 5px; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); border-radius: 99px; background: #4c6174; }
.guide-phone-screen { height: 610px; overflow-y: auto; overscroll-behavior: contain; border-radius: 25px; background: #edf6fc; scrollbar-width: thin; scrollbar-color: #55758b transparent; }
.guide-phone-screen img { width: 100%; height: auto; display: block; }
.guide-phone-hint { margin: 12px 0 0; color: #748da0; font-size: 10px; }
.guide-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; color: #748da0; font-size: 10px; }
.guide-footer p { margin: 0; }
.guide-footer a { color: #6dbfff; font-weight: 800; }

.feature-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.feature-grid article { min-height: 190px; padding: 22px; border: 1px solid #173a54; background: #071827; }
.feature-grid span { color: #4dacfa; font-size: 9px; font-weight: 900; }
.feature-grid h3 { margin: 24px 0 9px; font-size: 17px; }
.feature-grid p { margin: 0; color: #91a7b8; font-size: 11px; line-height: 1.55; }

.audiences { padding: 0; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, var(--max)); }
.audience-grid article { padding: 56px; background: #0b2135; border: 1px solid #23455e; }
.audience-grid article + article { background: #071827; }
.audience-grid h2 { font-size: clamp(34px, 4vw, 48px); }
.audience-grid article > p:not(.eyebrow) { color: #a5b7c5; line-height: 1.62; }
.text-link { margin-top: 10px; padding: 0; border: 0; background: none; color: #59b5ff; cursor: pointer; font-weight: 900; font-size: 12px; }

.assessment { display: grid; grid-template-columns: 1fr .75fr .75fr; align-items: center; gap: 42px; }
.assessment h2 { font-size: clamp(38px, 5vw, 60px); }
.assessment > div > p:last-child { color: #9eb1bf; line-height: 1.55; }
.assessment ul { margin: 0; padding: 0; list-style: none; }
.assessment li { padding: 13px 0; border-top: 1px solid #193a52; display: flex; flex-direction: column; gap: 4px; }
.assessment li span { color: #8399aa; font-size: 10px; }
.launch-card { padding: 24px; background: #0a2033; border: 1px solid #28506f; }
.launch-card > span { color: #65bdff; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.launch-card p { color: #a4b7c6; font-size: 11px; line-height: 1.5; }
.launch-card .button { width: 100%; margin-top: 8px; }

.how { background: #061625; border-block: 1px solid #18374f; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.how-grid > div { padding: 34px; border: 1px solid #21435d; background: #081d30; }
.how h2 { font-size: 36px; }
.how ol { margin: 28px 0 0; padding: 0; list-style: none; }
.how li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #1a3c56; }
.how li > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); font-size: 10px; font-weight: 900; }
.how li p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.how li small { color: #879fb2; }

.webapp { padding: 58px 0; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.webapp > div:first-child { max-width: 680px; }
.webapp h2 { font-size: 46px; }
.webapp p:last-child { color: #9eb1c0; line-height: 1.55; }
.status-actions { display: flex; gap: 10px; flex-wrap: wrap; }

footer { padding: 42px 0 22px; background: #020b14; border-top: 1px solid #16324a; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid > div:first-child { display: flex; flex-direction: column; gap: 7px; }
.footer-grid strong { letter-spacing: .13em; }
.footer-grid span { color: #6f8799; font-size: 10px; }
.footer-grid > div:last-child { display: flex; flex-wrap: wrap; gap: 20px; color: #9eb2c1; font-size: 10px; }
.footer-email-button { padding: 9px 14px; border: 1px solid #4e7696; border-radius: 5px; color: white; font-weight: 700; }
.footer-email-button:hover { background: #0c2b47; border-color: #76bfff; }
.copyright { margin-top: 30px; padding-top: 15px; border-top: 1px solid #153047; color: #557185; font-size: 9px; }

dialog { max-width: 460px; padding: 32px; border: 1px solid #315774; border-radius: 8px; background: #081d30; color: white; box-shadow: 0 30px 100px #000; }
dialog::backdrop { background: rgba(0,6,12,.78); }
dialog h2 { font-size: 40px; }
dialog > p:not(.eyebrow) { color: #a9bdcb; line-height: 1.55; }
.dialog-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: #9bb2c2; font-size: 28px; cursor: pointer; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr 1fr; }
  .topbar nav { display: none; }
  .hero-layout { grid-template-columns: 1fr 210px; gap: 40px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof p:nth-child(3) { border-left: 0; border-top: 1px solid #17364f; }
  .proof p:nth-child(4) { border-top: 1px solid #17364f; }
  .split, .assessment, .tyler-story { grid-template-columns: 1fr; gap: 30px; }
  .tyler-story figure { max-width: 680px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .webapp { align-items: flex-start; flex-direction: column; }
  .status-actions { width: 100%; }
  .status-actions .button { flex: 1; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .topbar { height: 66px; padding-inline: 14px; gap: 10px; }
  .tyler-brand img, .coach-tracker-brand img { width: 34px; height: 34px; }
  .tyler-brand strong, .coach-tracker-brand strong { font-size: 10px; }
  .hero { min-height: auto; }
  .hero-layout { padding: 52px 0; grid-template-columns: 1fr; gap: 30px; }
  .hero-avatar { width: 145px; grid-row: 1; justify-self: start; }
  .hero h1 { font-size: 52px; }
  .lede { font-size: 15px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .proof p { padding: 15px; }
  .section { padding: 52px 0; }
  .tyler-story { padding-top: 36px; padding-bottom: 36px; }
  .section-intro h2, .tyler-story h2 { font-size: 38px; }
  .cycle-list { grid-template-columns: 1fr; }
  .cycle-list li { min-height: 0; padding: 16px; display: grid; grid-template-columns: 32px 88px 1fr; align-items: start; }
  .cycle-list li:last-child { border-right: 0; }
  .cycle-list strong, .cycle-list small { margin: 0; }
  .feature-grid, .audience-grid, .how-grid { grid-template-columns: 1fr; }
  .guide-phone-screen { height: 520px; }
  .guide-tabs button { flex: 1 1 auto; }
  .guide-footer { flex-direction: column; }
  .audience-grid article { padding: 38px 24px; }
  .webapp { padding: 46px 0; }
  .webapp h2 { font-size: 38px; }
  .footer-grid { flex-direction: column; }
  .footer-grid > div:last-child { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
