:root {
  --ink: #111111;
  --muted: #62625f;
  --paper: #f7f7f5;
  --white: #ffffff;
  --soft: #ececea;
  --line: rgba(17, 17, 17, 0.14);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.shell {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  border-radius: 999px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(247, 247, 245, 0.86);
  backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-size: 0.98rem;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.site-nav a,
.text-link {
  position: relative;
  font-size: 0.88rem;
  color: #3f3f3c;
}

.site-nav a::after,
.text-link::after,
.line-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.line-link:hover::after,
.line-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-button {
  display: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 640;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 38px;
  padding-inline: 17px;
  font-size: 0.84rem;
}

.button-dark {
  color: #fff;
  background: #111;
  border-color: #111;
}

.button-dark:hover {
  background: #343431;
  border-color: #343431;
}

.button-light {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.button-light:hover {
  background: #eaeae7;
  border-color: #eaeae7;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 132px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(52px, 8vw, 132px);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 26px;
  font-size: clamp(3.7rem, 6.25vw, 6.6rem);
  font-weight: 530;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.hero-lead {
  max-width: 640px;
  margin: 0;
  color: #4f4f4c;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.arrow-link span {
  transition: transform 0.25s var(--ease);
}

.arrow-link:hover span {
  transform: translateY(4px);
}

.hero-art {
  position: relative;
  min-height: min(54vw, 650px);
  overflow: hidden;
  border-radius: 36px;
  background: #d9e7f6;
}

.hero-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 48, 113, 0.02), rgba(11, 29, 74, 0.18));
}

.hero-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  transform: translate(-50%, -50%);
}

.hero-mark img {
  width: 44px;
  height: 44px;
}

.hero-mark strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.hero-art-note {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  padding: clamp(92px, 12vw, 176px) 0;
}

.section-intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1.64fr);
  gap: 48px;
}

.intro-copy h2,
.audience-heading h2,
.section-heading h2,
.workflow-copy h2,
.product-heading h2,
.access-copy h2 {
  margin: 0;
  font-size: clamp(2.9rem, 5.4vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.intro-copy > p {
  max-width: 760px;
  margin: 42px 0 0 auto;
  color: #4f4f4b;
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(90px, 12vw, 150px);
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 280px;
  padding: 28px 34px 0 0;
}

.principle + .principle {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.principle span,
.audience-number,
.workflow-steps > li > span {
  color: #7c7c77;
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.08em;
}

.principle h3 {
  margin: 50px 0 14px;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.principle p {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-audience {
  background: #e9e9e6;
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(70px, 10vw, 170px);
}

.audience-heading {
  position: sticky;
  top: 116px;
  align-self: start;
}

.audience-heading h2 {
  margin-top: 28px;
  font-size: clamp(3rem, 5vw, 5.3rem);
}

.audience-list {
  border-top: 1px solid var(--line);
}

.audience-item {
  display: grid;
  grid-template-columns: 52px minmax(130px, 0.6fr) minmax(0, 1fr);
  gap: 24px;
  padding: 34px 0 48px;
  border-bottom: 1px solid var(--line);
}

.audience-item h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.audience-item p {
  margin: 0;
  color: #555550;
  line-height: 1.6;
}

.section-modules {
  background: #f7f7f5;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.38fr 1.05fr 0.57fr;
  align-items: end;
  gap: 36px;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.section-heading h2 {
  font-size: clamp(3rem, 5vw, 5.25rem);
}

.section-heading > p:last-child {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.module-card {
  position: relative;
  min-height: 460px;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
}

a.module-card:focus-visible {
  outline: 3px solid #111;
  outline-offset: 5px;
}

.module-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.58));
}

.module-card:hover > img {
  transform: scale(1.035);
}

.module-card-copy {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  color: #fff;
}

.module-card-copy span,
.screen-copy span {
  display: block;
  margin-bottom: 12px;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.module-card-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 1;
}

.module-card-copy p {
  max-width: 46ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.module-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.84rem;
  font-weight: 650;
}

.module-card-link span {
  transition: transform 0.25s var(--ease);
}

a.module-card:hover .module-card-link span {
  transform: translateX(5px);
}

.section-workflow {
  color: #fff;
  background: #111;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(70px, 10vw, 160px);
}

.workflow-copy .section-label {
  color: #a8a8a3;
}

.workflow-copy h2 {
  margin-top: 28px;
  font-size: clamp(3.2rem, 5.8vw, 6rem);
}

.workflow-copy > p:not(.section-label) {
  max-width: 590px;
  margin: 36px 0 0;
  color: #b9b9b3;
  font-size: 1.08rem;
  line-height: 1.65;
}

.workflow-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.line-link {
  position: relative;
  color: #e0e0dc;
  font-size: 0.92rem;
}

.workflow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 32px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.workflow-steps > li > span {
  color: #96968f;
}

.workflow-steps h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.035em;
}

.workflow-steps p {
  max-width: 46ch;
  margin: 0;
  color: #a9a9a3;
  line-height: 1.58;
}

.section-product {
  background: #fff;
}

.product-heading {
  display: grid;
  grid-template-columns: 0.38fr 1.62fr;
  align-items: end;
  gap: 36px;
  margin-bottom: clamp(58px, 8vw, 92px);
}

.product-heading h2 {
  font-size: clamp(3.1rem, 5.3vw, 5.6rem);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.16fr 0.92fr 0.92fr;
  gap: 20px;
}

.screen-card {
  min-width: 0;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 32px 0;
  border-radius: 28px;
  background: #f0f0ed;
}

.screen-card-main {
  color: #fff;
  background: #111;
}

.screen-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.screen-copy p {
  max-width: 40ch;
  margin: 16px 0 0;
  color: #aaa9a4;
  line-height: 1.55;
}

.phone-frame,
.screen-crop {
  width: min(82%, 390px);
  height: 520px;
  margin: 46px auto 0;
  overflow: hidden;
  border: 8px solid #242424;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.phone-frame img,
.screen-crop img {
  width: 100%;
  height: auto;
}

.screen-crop {
  width: min(92%, 350px);
  border-color: #d2d2cf;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

.section-access {
  padding-top: 0;
  background: #fff;
}

.access-card {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 70px;
  padding: clamp(44px, 6vw, 78px);
  color: #fff;
  border-radius: 32px;
  background: #111;
}

.access-copy .section-label {
  color: #a6a6a0;
}

.access-copy h2 {
  max-width: 850px;
  margin-top: 24px;
  font-size: clamp(3rem, 5.3vw, 5.7rem);
}

.access-copy > p:last-child {
  max-width: 660px;
  margin: 32px 0 0;
  color: #b1b1ab;
  font-size: 1.05rem;
  line-height: 1.6;
}

.access-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.app-store-link {
  width: 184px;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-store-link:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.app-store-link img {
  width: 100%;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Match the shared footer to the restrained visual system of the home page. */
body.home-page .ds-footer {
  --ds-shell-width: min(1280px, calc(100% - 64px));
  --ds-shell-radius: 0;
  --ds-shell-border: 0;
  --ds-shell-bg: transparent;
  --ds-shell-shadow: none;
  --ds-text: #111;
  --ds-muted: #62625f;
  --ds-kicker: #72726d;
  --ds-link: #20201e;
  --ds-link-hover: #000;
  --ds-underline: rgba(0, 0, 0, 0.45);
  --ds-btn-primary-bg: #111;
  --ds-btn-primary-text: #fff;
  --ds-btn-primary-border: #111;
  --ds-btn-secondary-bg: transparent;
  --ds-btn-secondary-text: #111;
  --ds-btn-secondary-border: rgba(0, 0, 0, 0.24);
  --ds-meta-border: rgba(0, 0, 0, 0.14);
  --ds-meta-bg: transparent;
  margin-top: 0;
  padding: 78px 0 18px;
  background: var(--paper);
}

body.home-page .ds-footer-shell {
  border-radius: 0;
  border-top: 1px solid var(--line);
}

body.home-page .ds-footer-grid {
  padding-inline: 0;
}

body.home-page .ds-footer-meta {
  padding-inline: 0;
}

body.home-page .ds-footer-logo {
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
    gap: 52px;
  }

  .section-heading {
    grid-template-columns: 0.28fr 1fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

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

  .screen-card-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(calc(100% - 40px), var(--max));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.84rem;
  }

  .menu-icon {
    width: 19px;
    height: 14px;
    display: grid;
    align-content: center;
    gap: 5px;
  }

  .menu-icon i {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease;
  }

  .menu-button[aria-expanded="true"] .menu-icon i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-icon i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto;
    min-height: calc(100svh - 64px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 34px 20px 140px;
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.4rem;
    letter-spacing: -0.035em;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    position: absolute;
    z-index: 101;
    top: calc(100svh - 88px);
    right: 20px;
    left: 20px;
    display: none;
    grid-template-columns: 1fr 1fr;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  body.menu-open .header-actions {
    display: grid;
  }

  .header-actions .text-link,
  .header-actions .button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    line-height: 1;
  }

  .hero {
    min-height: auto;
    padding: 74px 0 96px;
  }

  .hero-grid,
  .audience-layout,
  .workflow-layout,
  .access-card {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 68vw;
  }

  .audience-heading {
    position: static;
  }

  .section-heading,
  .product-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .module-card {
    min-height: 400px;
  }

  .access-card {
    align-items: start;
    gap: 48px;
  }

  body.home-page .ds-footer {
    --ds-shell-width: min(100% - 40px, 1280px);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 70px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    padding: 58px 0 72px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.9rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .workflow-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .arrow-link,
  .line-link {
    min-height: 42px;
    align-items: center;
    justify-content: center;
  }

  .hero-art {
    min-height: 90vw;
    border-radius: 22px;
  }

  .hero-art-note {
    right: 18px;
    bottom: 16px;
    font-size: 0.62rem;
  }

  .section {
    padding: 90px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-copy h2,
  .audience-heading h2,
  .section-heading h2,
  .workflow-copy h2,
  .product-heading h2,
  .access-copy h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .intro-copy h2 br {
    display: none;
  }

  .intro-copy > p {
    margin-top: 28px;
    font-size: 1.08rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    margin-top: 66px;
  }

  .principle,
  .principle + .principle {
    min-height: auto;
    padding: 24px 0 34px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .principle h3 {
    margin-top: 32px;
  }

  .audience-layout {
    gap: 58px;
  }

  .audience-item {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 26px 0 34px;
  }

  .audience-item p {
    grid-column: 2;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 50px;
  }

  .module-grid,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 430px;
    border-radius: 22px;
  }

  .module-card-copy {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .module-card-copy h3 {
    font-size: 2.25rem;
  }

  .workflow-layout {
    gap: 64px;
  }

  .workflow-steps li {
    grid-template-columns: 42px 1fr;
    padding: 26px 0 32px;
  }

  .product-heading {
    gap: 24px;
  }

  .screen-card-main {
    grid-column: auto;
  }

  .screen-card {
    min-height: 610px;
    padding: 26px 24px 0;
    border-radius: 22px;
  }

  .phone-frame,
  .screen-crop {
    height: 480px;
    margin-top: 38px;
  }

  .section-access {
    padding-top: 0;
  }

  .access-card {
    width: 100%;
    min-height: 620px;
    padding: 62px 24px;
    border-radius: 0;
  }

  .access-actions,
  .access-actions .button {
    width: 100%;
  }

  body.home-page .ds-footer {
    --ds-shell-width: min(100% - 28px, 1280px);
    padding-top: 54px;
  }

  body.home-page .ds-footer-grid,
  body.home-page .ds-footer-meta {
    padding-inline: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
