:root {
  --paper: #f8fafc;
  --white: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --brand: #4f46e5;
  --brand-bright: #6366f1;
  --brand-soft: #eef2ff;
  --brand-deep: #312e81;
  --line: #e5e7eb;
  --max: 1240px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
body.menu-open .site-header {
  background: rgba(248, 250, 252, 0.96);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 56px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
}

.wordmark,
.footer-brand {
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.96rem;
  font-weight: 500;
}

.desktop-nav a {
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 150ms ease;
}

.desktop-nav a:hover {
  opacity: 1;
}

.header-download {
  margin-left: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 46px;
  padding: 0 25px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  height: calc(100svh - 44px);
  min-height: 680px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  display: block;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.68) 0%, rgba(30, 27, 75, 0.38) 40%, rgba(17, 24, 39, 0.08) 64%),
    linear-gradient(0deg, rgba(30, 27, 75, 0.58) 0%, rgba(17, 24, 39, 0) 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  padding: 120px 0 52px;
}

.hero-copy {
  width: min(580px, 100%);
}

.eyebrow,
.section-tag {
  margin: 0 0 18px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 8.5rem;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-statement {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 3.9rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-description {
  margin: 0 0 32px;
  width: min(450px, 100%);
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 253, 248, 0.86);
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 4px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-light {
  background: var(--brand);
  color: var(--white);
}

.button-light:hover {
  background: var(--brand-bright);
}

.button-glass {
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.52);
  background: rgba(255, 253, 248, 0.06);
}

.hero-meta {
  align-self: flex-end;
  display: grid;
  grid-template-columns: repeat(2, 90px);
  gap: 14px 24px;
  padding-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 253, 248, 0.84);
}

.hero-meta span {
  border-top: 1px solid rgba(255, 253, 248, 0.38);
  padding-top: 12px;
}

.signal-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.signal-inner {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.signal-lead {
  margin: 0;
  max-width: 350px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.08;
}

.signal-items {
  display: flex;
  gap: 52px;
}

.signal-items div {
  display: grid;
  gap: 8px;
}

.signal-items strong {
  font-size: 1.25rem;
  font-weight: 700;
}

.signal-items span {
  font-size: 0.88rem;
  color: var(--muted);
}

.product-section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 112px 0 92px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 52px;
}

.product-copy h2,
.section-heading h2,
.coaching-copy h2,
.download-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

.product-copy h2 {
  font-size: 4.2rem;
  margin-bottom: 22px;
}

.product-copy > p:not(.section-tag) {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.product-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-points div {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.product-points h3 {
  margin: 0 0 9px;
  font-size: 0.98rem;
}

.product-points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.phone-showcase {
  position: relative;
  height: 685px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.phone {
  margin: 0;
  background: #f8f8fa;
  border: 7px solid #171a1a;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(79, 70, 229, 0.12);
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-main {
  width: 272px;
  height: 578px;
  z-index: 2;
}

.phone-left,
.phone-right {
  width: 210px;
  height: 448px;
  border-width: 6px;
  border-radius: 25px;
  opacity: 0.92;
}

.phone-left {
  transform: translateY(42px);
}

.phone-right {
  transform: translateY(-32px);
}

.features-section {
  padding: 92px max(calc((100% - var(--max)) / 2), 28px) 96px;
  background: var(--brand);
  color: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 64px;
}

.section-heading .section-tag {
  margin-bottom: 8px;
  color: rgba(255, 253, 248, 0.62);
}

.section-heading h2 {
  font-size: 4.8rem;
  max-width: 640px;
  text-align: right;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 253, 248, 0.22);
}

.feature-grid article {
  min-height: 262px;
  padding: 34px 34px 22px 0;
  border-right: 1px solid rgba(255, 253, 248, 0.2);
}

.feature-grid article:not(:first-child) {
  padding-left: 34px;
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-number {
  display: block;
  margin-bottom: 56px;
  color: rgba(255, 253, 248, 0.52);
  font-size: 0.8rem;
}

.feature-grid h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  font-weight: 600;
}

.feature-grid p {
  margin: 0;
  max-width: 300px;
  color: rgba(255, 253, 248, 0.7);
  line-height: 1.72;
  font-size: 0.93rem;
}

.capabilities-section {
  padding: 96px max(calc((100% - var(--max)) / 2), 28px) 104px;
  background: var(--white);
  scroll-margin-top: 78px;
}

.capabilities-heading {
  display: grid;
  grid-template-columns: minmax(450px, 0.94fr) minmax(280px, 0.58fr);
  justify-content: space-between;
  align-items: end;
  gap: 74px;
  margin-bottom: 58px;
}

.capabilities-heading .section-tag {
  color: var(--brand);
}

.capabilities-heading h2 {
  margin: 0;
  max-width: 650px;
  font-family: var(--serif);
  font-size: 4.7rem;
  font-weight: 400;
  line-height: 1.03;
}

.capabilities-heading > p {
  margin: 0 0 9px;
  color: var(--muted);
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.capability-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.capability-phone {
  width: min(272px, 100%);
  aspect-ratio: 945 / 2048;
  margin: 0 auto 34px;
  box-shadow: 0 27px 52px rgba(79, 70, 229, 0.16);
}

.capability-phone img {
  object-fit: contain;
  background: var(--white);
}

.capability-copy {
  width: min(300px, 100%);
  min-height: 0;
  padding: 23px 0 0;
  border-top: 1px solid var(--line);
}

.capability-label {
  display: block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.capability-copy h3 {
  margin: 0 0 12px;
  font-size: 1.36rem;
  font-weight: 600;
  line-height: 1.25;
}

.capability-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.coaching-section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 100px 0;
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  align-items: center;
  gap: 100px;
}

.coach-preview {
  min-height: 590px;
  display: grid;
  place-items: center;
  background: #e6e5df;
  border-radius: 6px;
  overflow: hidden;
}

.phone-coach {
  width: 265px;
  height: 548px;
  transform: translateY(45px);
}

.coaching-copy h2 {
  font-size: 4.7rem;
  margin-bottom: 28px;
}

.coaching-copy > p:not(.section-tag) {
  max-width: 485px;
  margin: 0 0 38px;
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid var(--brand);
  padding-bottom: 8px;
}

.download-section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto 82px;
  padding: 68px 72px;
  background: var(--brand-soft);
  color: var(--ink);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
}

.download-copy h2 {
  font-size: 4.8rem;
  margin-bottom: 15px;
}

.download-copy > p:not(.section-tag) {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.7;
}

.store-badge img {
  display: block;
  width: 188px;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
  padding: 58px max(calc((100% - var(--max)) / 2), 28px) 38px;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-top {
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
}

.footer-brand {
  font-size: 2.4rem;
}

.footer-email {
  font-family: var(--serif);
  font-size: 2.2rem;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 28px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.86rem;
}

.social-links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
}

.social-links a,
.legal-links a {
  text-decoration: none;
}

.support-main {
  width: min(920px, calc(100% - 56px));
  margin: 0 auto;
  padding: 150px 0 92px;
}

.support-hero {
  max-width: 820px;
  margin-bottom: 62px;
}

.support-hero .section-tag {
  color: var(--brand);
  margin-bottom: 24px;
}

.support-hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.96;
}

.support-intro {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-outline {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.button-outline:hover {
  color: var(--brand);
  border-color: #c7d2fe;
}

.support-body {
  max-width: 800px;
}

.support-section {
  padding-bottom: 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.support-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.support-section h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.1;
}

.support-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.support-section ul {
  margin: 0;
  padding-left: 23px;
}

.support-section li {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.support-section li:last-child {
  margin-bottom: 0;
}

.support-section strong {
  color: var(--ink);
}

.support-section a {
  color: var(--brand);
  font-weight: 600;
  text-underline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: 6.4rem;
  }

  .hero-statement {
    font-size: 3.1rem;
  }

  .product-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .product-copy {
    max-width: 660px;
  }

  .phone-showcase {
    height: 620px;
  }

  .section-heading h2,
  .coaching-copy h2,
  .download-copy h2 {
    font-size: 3.9rem;
  }

  .coaching-section {
    gap: 50px;
  }

  .capabilities-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .capabilities-heading h2 {
    font-size: 3.9rem;
  }

  .capabilities-heading > p {
    max-width: 560px;
  }

  .capability-copy {
    width: min(270px, 100%);
  }
}

@media (max-width: 760px) {
  .header-inner,
  .hero-inner,
  .signal-inner,
  .product-section,
  .coaching-section,
  .download-section {
    width: min(100% - 36px, var(--max));
  }

  .header-inner {
    height: 68px;
    gap: 0;
  }

  .desktop-nav,
  .header-download {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 7px;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 4px;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 45;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 18px 24px;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  body.menu-open .mobile-menu {
    display: flex;
  }

  .mobile-menu a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.04rem;
    text-decoration: none;
  }

  .mobile-menu .mobile-download {
    margin-top: 16px;
    padding: 18px;
    color: var(--white);
    background: var(--brand);
    border: 0;
    text-align: center;
  }

  .support-main {
    width: min(100% - 36px, var(--max));
    padding: 112px 0 66px;
  }

  .support-hero {
    margin-bottom: 44px;
  }

  .support-hero .section-tag {
    margin-bottom: 19px;
  }

  .support-hero h1 {
    margin-bottom: 19px;
    font-size: clamp(3.2rem, 17vw, 4rem);
  }

  .support-intro {
    font-size: 0.97rem;
    line-height: 1.75;
  }

  .support-actions {
    display: grid;
    margin-top: 29px;
  }

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

  .support-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .support-section h2 {
    margin-bottom: 15px;
    font-size: 2.05rem;
  }

  .support-section p,
  .support-section li {
    font-size: 0.96rem;
  }

  .hero {
    height: calc(100svh - 40px);
    min-height: 670px;
  }

  .hero-image {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(30, 27, 75, 0.82) 0%, rgba(17, 24, 39, 0.5) 52%, rgba(17, 24, 39, 0.15) 100%);
  }

  .hero-inner {
    display: block;
    padding: 142px 0 30px;
  }

  .hero-copy {
    position: absolute;
    bottom: 82px;
    left: 0;
  }

  .hero h1 {
    font-size: 4.7rem;
  }

  .hero-statement {
    font-size: 2.7rem;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .hero-meta {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0;
  }

  .hero-meta span {
    border: 0;
    padding: 0;
    font-size: 0.7rem;
  }

  .button {
    min-height: 50px;
    padding: 0 21px;
    font-size: 0.9rem;
  }

  .signal-inner {
    display: block;
    min-height: 0;
    padding: 32px 0;
  }

  .signal-lead {
    font-size: 1.8rem;
    margin-bottom: 29px;
  }

  .signal-items {
    justify-content: space-between;
    gap: 14px;
  }

  .signal-items span {
    font-size: 0.76rem;
  }

  .product-section {
    padding: 66px 0 52px;
    gap: 36px;
  }

  .product-copy h2 {
    font-size: 3rem;
  }

  .product-copy > p:not(.section-tag) {
    margin-bottom: 32px;
  }

  .phone-showcase {
    height: 496px;
    width: calc(100% + 36px);
    margin-left: -18px;
    gap: 9px;
    overflow: hidden;
  }

  .phone-main {
    width: 215px;
    height: 459px;
    flex: 0 0 auto;
  }

  .phone-left,
  .phone-right {
    width: 133px;
    height: 285px;
    flex: 0 0 auto;
    border-width: 4px;
    border-radius: 19px;
  }

  .phone-left {
    margin-left: -81px;
  }

  .phone-right {
    margin-right: -81px;
  }

  .features-section {
    padding: 64px 18px 58px;
  }

  .section-heading {
    display: block;
    margin-bottom: 39px;
  }

  .section-heading h2 {
    text-align: left;
    font-size: 3rem;
  }

  .feature-grid {
    display: block;
  }

  .feature-grid article,
  .feature-grid article:not(:first-child) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.18);
    padding: 27px 0 29px;
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .feature-number {
    margin-bottom: 24px;
  }

  .capabilities-section {
    padding: 62px 0 68px;
    scroll-margin-top: 68px;
  }

  .capabilities-heading {
    width: calc(100% - 36px);
    margin: 0 auto 37px;
    display: block;
  }

  .capabilities-heading h2 {
    margin-bottom: 20px;
    font-size: 3rem;
  }

  .capabilities-heading > p {
    font-size: 0.94rem;
  }

  .capability-grid {
    display: flex;
    align-items: start;
    gap: 18px;
    overflow-x: auto;
    padding: 0 18px 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .capability-grid::-webkit-scrollbar {
    display: none;
  }

  .capability-card {
    flex: 0 0 min(77vw, 290px);
    scroll-snap-align: start;
  }

  .capability-phone {
    width: min(67vw, 262px);
    margin-bottom: 27px;
  }

  .capability-copy {
    width: min(67vw, 262px);
    padding-top: 19px;
  }

  .capability-label {
    margin-bottom: 14px;
  }

  .coaching-section {
    padding: 62px 0 68px;
    display: flex;
    flex-direction: column-reverse;
    gap: 43px;
  }

  .coaching-copy h2 {
    font-size: 3.1rem;
    margin-bottom: 20px;
  }

  .coach-preview {
    width: 100%;
    min-height: 490px;
  }

  .phone-coach {
    height: 462px;
    width: 222px;
    transform: translateY(42px);
  }

  .download-section {
    margin-bottom: 0;
    padding: 51px 25px;
    display: block;
    border-radius: 0;
    width: 100%;
  }

  .download-copy h2 {
    font-size: 3.1rem;
  }

  .store-badge {
    display: inline-block;
    margin-top: 32px;
  }

  .site-footer {
    padding: 47px 18px 32px;
  }

  .footer-top,
  .footer-bottom {
    display: block;
  }

  .footer-top {
    padding-bottom: 39px;
  }

  .footer-brand {
    display: block;
    margin-bottom: 23px;
  }

  .footer-email {
    font-size: 1.7rem;
  }

  .footer-bottom {
    padding-top: 26px;
  }

  .legal-links {
    margin-top: 26px;
    gap: 19px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 4.1rem;
  }

  .hero-statement {
    font-size: 2.35rem;
  }

  .product-points {
    grid-template-columns: 1fr;
  }

  .footer-email {
    font-size: 1.45rem;
  }
}
