:root {
  color-scheme: light;
  --background: #f2f5ef;
  --paper: rgba(255, 255, 255, 0.74);
  --paper-strong: #ffffff;
  --navy: #142b4a;
  --navy-soft: #243b59;
  --orange: #cf6329;
  --mint: #a8d1c2;
  --mint-strong: #5db5a5;
  --sky: #9ec7e6;
  --coral: #e06652;
  --gold: #edb040;
  --ink: #172235;
  --muted: #617084;
  --line: rgba(20, 43, 74, 0.14);
  --shadow: 0 18px 50px rgba(20, 43, 74, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, #edf8f2 0%, #eaf2fb 48%, #fbf1e4 100%);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: 0;
  height: 210px;
  background: linear-gradient(100deg, rgba(158, 199, 230, 0.22), rgba(168, 209, 194, 0.16));
  clip-path: polygon(0 0, 100% 0, 100% 52%, 69% 76%, 29% 58%, 0 82%);
}

body::after {
  bottom: 0;
  height: 180px;
  background: linear-gradient(100deg, rgba(237, 176, 64, 0.16), rgba(224, 102, 82, 0.10));
  clip-path: polygon(0 34%, 34% 58%, 68% 39%, 100% 72%, 100% 100%, 0 100%);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(242, 245, 239, 0.84);
  border-bottom: 1px solid rgba(20, 43, 74, 0.10);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.brand-link img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(20, 43, 74, 0.16);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a,
.footer-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--navy-soft);
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"],
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(20, 43, 74, 0.08);
  outline: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(430px, 74svh, 660px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.home-hero {
  background:
    image-set(
      url("images/coach-desk-middle.png") 1x
    ) center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 20, 35, 0.88) 0%, rgba(10, 26, 45, 0.72) 45%, rgba(8, 20, 35, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 20, 35, 0.36), rgba(8, 20, 35, 0.12));
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 46px 0 50px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 10vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.2vw, 1.34rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #fff;
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero .button-primary {
  color: var(--navy);
  background: #fff;
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-points div {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
}

.hero-points dt {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 900;
}

.hero-points dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.section-intro {
  padding-top: clamp(34px, 5vw, 56px);
}

.intro-grid,
.product-grid,
.contact-grid,
.content-grid {
  display: grid;
  gap: clamp(24px, 5vw, 58px);
}

.intro-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.72fr);
  align-items: end;
}

.section h2,
.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section p,
.page-hero p,
.legal-copy p,
.content-card p {
  color: var(--muted);
}

.intro-grid > p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
}

.feature-band {
  background: rgba(255, 255, 255, 0.34);
  border-block: 1px solid rgba(20, 43, 74, 0.08);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.content-card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(168, 209, 194, 0.58);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(158, 199, 230, 0.58);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(237, 176, 64, 0.42);
}

.feature-card h3,
.content-card h2 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 1.26rem;
  line-height: 1.15;
}

.feature-card p,
.content-card p {
  margin: 0;
}

.product-grid {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 342px);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(20, 43, 74, 0.22) 32%, rgba(7, 15, 25, 0.96) 72%),
    #091522;
  box-shadow:
    0 30px 80px rgba(20, 43, 74, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone-frame::before,
.phone-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 4px;
  border-radius: 999px;
  background: rgba(20, 43, 74, 0.32);
}

.phone-frame::before {
  left: -4px;
  top: 118px;
  height: 78px;
}

.phone-frame::after {
  right: -4px;
  top: 168px;
  height: 112px;
}

.phone-shot {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.42);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--navy-soft);
  font-weight: 720;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--mint-strong);
  border-bottom: 3px solid var(--mint-strong);
  transform: rotate(-45deg);
}

.contact-strip {
  padding-block: clamp(38px, 6vw, 64px);
  background: var(--navy);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.contact-strip h2,
.contact-strip p {
  color: #fff;
}

.contact-strip p {
  max-width: 650px;
  margin-bottom: 0;
  opacity: 0.76;
}

.contact-strip .button-primary {
  color: var(--navy);
  background: #fff;
}

.site-footer {
  background: #f8faf7;
  border-top: 1px solid rgba(20, 43, 74, 0.10);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  min-height: 128px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-hero {
  padding: clamp(64px, 10vw, 112px) 0 clamp(42px, 7vw, 68px);
  background: linear-gradient(135deg, rgba(168, 209, 194, 0.25), rgba(158, 199, 230, 0.18));
  border-bottom: 1px solid rgba(20, 43, 74, 0.08);
}

.page-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 1.12rem;
  font-weight: 650;
}

.page-hero .button {
  margin-top: 26px;
}

.support-section {
  padding-top: 46px;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-section {
  padding-top: 48px;
}

.legal-copy {
  max-width: 790px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.legal-copy h2 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.2;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin: 0;
}

.legal-copy a {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav-shell {
    min-height: 66px;
  }

  .brand-link span {
    max-width: 160px;
    white-space: normal;
    line-height: 1.05;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: clamp(430px, 72svh, 590px);
  }

  .hero-content {
    padding-block: 38px 42px;
  }

  .hero-points {
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .intro-grid,
  .product-grid,
  .contact-grid,
  .content-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 38px;
  }

  .contact-grid .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: min(100% - 24px, var(--max));
    gap: 10px;
  }

  .brand-link img {
    width: 38px;
    height: 38px;
  }

  .brand-link span {
    max-width: 118px;
    font-size: 0.94rem;
  }

  .nav-links a {
    padding-inline: 7px;
    font-size: 0.84rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
  }

  .phone-frame {
    max-width: 315px;
    border-radius: 42px;
    padding: 9px;
  }

  .phone-shot {
    border-radius: 34px;
  }
}

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

  .button {
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
