:root {
  color-scheme: light;
  --ink: #10202f;
  --muted: #586778;
  --deep: #071b2f;
  --blue: #0a4f70;
  --cyan: #24b7c8;
  --green: #64b96a;
  --coral: #f26b52;
  --sun: #f4c542;
  --paper: #fbfcf8;
  --mist: #eef7f4;
  --line: rgba(16, 32, 47, 0.14);
  --shadow: 0 24px 70px rgba(10, 79, 112, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(16, 32, 47, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--deep);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.brand span {
  overflow: hidden;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #274154;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
  background: rgba(36, 183, 200, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
  padding: clamp(38px, 6vw, 78px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 6% 8%, rgba(100, 185, 106, 0.16), transparent 28%),
    linear-gradient(135deg, #fbfcf8 0%, #eef7f4 54%, #f8efe7 100%);
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--deep);
  font-size: clamp(2.05rem, 4.2vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--deep);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: 1.08rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lede,
.section-copy p,
.cta-section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.66;
}

.hero-lede {
  margin-bottom: 28px;
}

.hero-actions,
.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--deep);
  box-shadow: 0 14px 34px rgba(7, 27, 47, 0.22);
}

.button.secondary {
  color: var(--deep);
  background: #ffffff;
  border-color: var(--line);
}

.benefit-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.benefit-band article {
  padding: clamp(22px, 4vw, 38px);
  background: #ffffff;
}

.benefit-band span,
.library-grid span,
.module-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-band p,
.library-grid p,
.module-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.section,
.split-section,
.cta-section,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.section,
.split-section {
  padding-block: clamp(58px, 8vw, 104px);
}

.section-copy {
  max-width: 760px;
}

.section-copy.wide {
  max-width: 980px;
}

.app-section .section-copy,
.libraries-section .section-copy {
  margin-bottom: 32px;
}

.app-gallery {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(180px, 0.74fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.phone-shot {
  margin: 0;
  scroll-snap-align: start;
}

.phone-shot img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 56px rgba(16, 32, 47, 0.18);
}

.phone-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-align: center;
}

.phone-shot.featured img {
  max-height: 780px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.advisor-section,
.profile-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 27, 47, 0.98), rgba(10, 79, 112, 0.95)),
    var(--deep);
}

.advisor-section h2,
.advisor-section h3,
.profile-section h2,
.profile-section h3 {
  color: #ffffff;
}

.advisor-section .section-copy p,
.profile-section .section-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.screen-pair .phone-shot img {
  max-height: 650px;
}

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

.library-grid article {
  min-height: 250px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.library-grid article:nth-child(1) {
  border-top: 4px solid var(--coral);
}

.library-grid article:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.library-grid article:nth-child(3) {
  border-top: 4px solid var(--green);
}

.devices-section {
  background: #eef7f4;
}

.image-wrap {
  overflow: hidden;
  border: 1px solid rgba(16, 32, 47, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(10, 79, 112, 0.16);
}

.image-wrap img {
  width: 100%;
  object-fit: cover;
}

.floatie-photo img {
  aspect-ratio: 1.24 / 1;
}

.strip-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.78fr);
}

.strip-card {
  max-width: 520px;
  justify-self: center;
  background: #ffffff;
}

.strip-card img {
  aspect-ratio: auto;
  object-fit: contain;
}

.profile-section {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 0.86fr);
}

.cta-section {
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(44px, 8vw, 82px);
  background: #f8efe7;
  border-block: 1px solid rgba(242, 107, 82, 0.18);
}

.cta-section div {
  max-width: 820px;
}

.cta-section h2 {
  max-width: 820px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 26px;
  color: rgba(255, 255, 255, 0.75);
  background: #071b2f;
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-nav {
  gap: 10px;
}

.legal-page {
  padding: clamp(36px, 7vw, 78px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 183, 200, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfcf8 0%, #eef7f4 100%);
}

.legal-content {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(22px, 5vw, 54px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(16, 32, 47, 0.12);
}

.legal-content h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.legal-content h2 {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 32, 47, 0.12);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.legal-content h3 {
  margin-top: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-content a {
  color: var(--blue);
  font-weight: 750;
}

.legal-content ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .profile-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: 2;
  }

  .hero-copy {
    max-width: 760px;
  }

  .app-gallery {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }

  .library-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .brand span {
    max-width: 190px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 66px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(16, 32, 47, 0.16);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .legal-nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .benefit-band {
    grid-template-columns: 1fr;
  }

  .benefit-band article {
    padding: 26px 18px;
  }

  .app-gallery {
    grid-template-columns: repeat(4, minmax(210px, 1fr));
  }

  .screen-pair {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .screen-pair .phone-shot {
    scroll-snap-align: start;
  }

  .cta-section .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
