:root {
  --product-paper: #f8faf7;
  --product-ink: #101718;
  --product-muted: #5d6869;
  --product-teal: #0d4d4e;
  --product-teal-dark: #073738;
  --product-aqua: #7fd3d1;
  --product-line: rgba(13, 77, 78, 0.14);
}

body {
  background: var(--product-paper);
  color: var(--product-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

.site-header {
  border-bottom-color: rgba(13, 77, 78, 0.09);
  background: rgba(248, 250, 247, 0.88);
}

.header-inner {
  min-height: 66px;
}

.brand {
  font-family: inherit;
  font-weight: 690;
  letter-spacing: -0.035em;
}

.product-hero {
  min-height: min(930px, calc(100svh - 66px));
  display: grid;
  align-items: center;
  overflow: clip;
  padding: clamp(3.5rem, 7.5vw, 7.8rem) 0 clamp(5rem, 8vw, 7.5rem);
  background:
    radial-gradient(circle at 83% 46%, rgba(127, 211, 209, 0.18), transparent 29rem),
    var(--product-paper);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
}

.product-hero__copy {
  position: relative;
  z-index: 5;
  max-width: 640px;
}

.product-eyebrow {
  margin: 0 0 1.4rem;
  color: var(--product-teal);
  font-size: 0.875rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-hero h1 {
  margin: 0 0 1.6rem;
  color: var(--product-ink);
  font-family: inherit;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

.product-hero__thesis {
  margin: 0 0 0.8rem;
  color: var(--product-teal);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-weight: 680;
  letter-spacing: -0.025em;
}

.product-hero__body {
  max-width: 540px;
  margin: 0 0 2rem;
  color: var(--product-muted);
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.product-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.product-badge {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: var(--product-teal);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 710;
}

.product-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--product-aqua);
}

.product-link {
  color: var(--product-teal);
  font-weight: 690;
  text-decoration: none;
}

.product-link span {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 180ms ease;
}

.product-link:hover span {
  transform: translateY(3px);
}

.hero-devices {
  position: relative;
  min-height: 720px;
  perspective: 1500px;
}

.device-frame {
  margin: 0;
  overflow: hidden;
  border: 6px solid #111516;
  border-radius: clamp(38px, 6vw, 56px);
  background: #111516;
  box-shadow: 0 28px 70px rgba(7, 55, 56, 0.16), 0 3px 10px rgba(7, 55, 56, 0.08);
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-frame--hero {
  position: absolute;
  top: 50%;
  width: 310px;
  aspect-ratio: 1206 / 2622;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.device-frame--home {
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
}

.device-frame--back {
  z-index: 1;
  width: 244px;
  opacity: 0.94;
  filter: saturate(0.88);
}

.device-frame--activity {
  left: 4%;
  transform: translateY(-48%) rotate(-7deg);
}

.device-frame--finance {
  right: 1%;
  transform: translateY(-48%) rotate(7deg);
}

.hero-devices:hover .device-frame--activity {
  transform: translate(-8px, -50%) rotate(-8deg);
}

.hero-devices:hover .device-frame--finance {
  transform: translate(8px, -50%) rotate(8deg);
}

.hero-devices:hover .device-frame--home {
  transform: translate(-50%, calc(-50% - 5px));
}

.demo-note {
  position: absolute;
  right: 4%;
  bottom: 0;
  margin: 0;
  color: var(--product-muted);
  font-size: 0.8125rem;
}

@media (max-width: 980px) {
  .product-hero {
    min-height: auto;
  }

  .product-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-hero__copy {
    max-width: 760px;
  }

  .hero-devices {
    min-height: min(92vw, 720px);
    margin-bottom: 3.5rem;
  }

  .demo-note {
    top: calc(100% + 1rem);
    bottom: auto;
  }

  .device-frame--hero {
    width: min(42vw, 310px);
  }

  .device-frame--back {
    width: min(33vw, 244px);
  }

  .device-frame--activity {
    left: 11%;
  }

  .device-frame--finance {
    right: 11%;
  }
}

@media (max-width: 620px) {
  .product-hero {
    padding-top: 3.5rem;
    background: radial-gradient(circle at 50% 63%, rgba(127, 211, 209, 0.2), transparent 19rem), var(--product-paper);
  }

  .product-hero h1 {
    font-size: clamp(3.25rem, 15.8vw, 4.65rem);
    line-height: 0.94;
  }

  .product-hero__body {
    max-width: 92%;
  }

  .hero-devices {
    min-height: 116vw;
    margin-inline: -0.75rem;
  }

  .device-frame {
    border-width: 4px;
    border-radius: 34px;
  }

  .device-frame--hero {
    width: 53vw;
  }

  .device-frame--back {
    top: 52%;
    width: 37vw;
  }

  .device-frame--activity {
    left: 0;
  }

  .device-frame--finance {
    right: 0;
  }

  .demo-note {
    right: 0.75rem;
    left: 0.75rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-link span,
  .device-frame--hero {
    transition: none;
  }
}

.product-section {
  position: relative;
  overflow: clip;
  padding: clamp(6.5rem, 11vw, 11rem) 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: center;
}

.story-copy {
  position: relative;
  z-index: 3;
  max-width: 590px;
}

.story-copy h2,
.activity-heading h2,
.mode-copy h2,
.product-final h2 {
  margin: 0 0 1.5rem;
  color: var(--product-ink);
  font-family: inherit;
  font-size: clamp(2.7rem, 5.1vw, 5.25rem);
  font-weight: 640;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.story-copy > p:not(.product-eyebrow, .asset-caption),
.activity-heading > p:not(.product-eyebrow),
.mode-copy > p:not(.product-eyebrow) {
  color: var(--product-muted);
}

.story-lede {
  margin-bottom: 1.5rem;
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.asset-caption {
  margin: 1.25rem 0 0;
  color: var(--product-muted);
  font-size: 0.8125rem;
}

.feature-visual {
  position: relative;
  min-height: 790px;
  display: grid;
  place-items: center;
}

.feature-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e6f2ef;
}

.device-frame--feature {
  width: min(31vw, 380px);
  aspect-ratio: 1206 / 2622;
}

.visual-index {
  position: absolute;
  left: max(0%, calc(50% - 275px));
  bottom: 9%;
  z-index: -1;
  color: rgba(13, 77, 78, 0.09);
  font-size: clamp(9rem, 20vw, 17rem);
  font-weight: 720;
  letter-spacing: -0.09em;
  line-height: 0.7;
}

.detail-lines {
  display: grid;
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--product-line);
}

.detail-lines span {
  position: relative;
  padding: 1rem 0 1rem 1.4rem;
  border-bottom: 1px solid var(--product-line);
  color: #394546;
  font-size: 0.94rem;
}

.detail-lines span::before {
  content: "";
  position: absolute;
  top: 1.48rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--product-aqua);
}

.search-section {
  background: #edf4f1;
}

.search-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: 62vw;
  aspect-ratio: 1;
  border: 1px solid rgba(13, 77, 78, 0.08);
  border-radius: 50%;
}

.story-copy--search {
  order: 1;
}

.feature-visual--search {
  order: 2;
}

.feature-visual--search::before {
  background: rgba(255, 255, 255, 0.66);
}

.search-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.2rem;
}

.search-chip,
.mode-button {
  min-height: 44px;
  padding: 0.58rem 0.95rem;
  border: 1px solid rgba(13, 77, 78, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #546061;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.search-chip:hover,
.mode-button:hover {
  transform: translateY(-1px);
}

.search-chip.is-active,
.mode-button.is-active {
  border-color: var(--product-teal);
  background: var(--product-teal);
  color: #fff;
}

.search-explainer {
  min-height: 5.4rem;
  margin: 1rem 0 0;
  color: var(--product-teal-dark);
  font-size: 0.94rem;
  line-height: 1.55;
}

.search-orbit,
.case-label {
  position: absolute;
  z-index: 3;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(13, 77, 78, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--product-teal);
  font-size: 0.875rem;
  font-weight: 710;
  box-shadow: 0 12px 30px rgba(7, 55, 56, 0.08);
}

.search-orbit--one {
  top: 22%;
  right: 4%;
}

.search-orbit--two {
  bottom: 25%;
  left: 3%;
}

.activity-section {
  padding-bottom: clamp(7rem, 12vw, 12rem);
  background: #fff;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(370px, 1fr) minmax(220px, 0.55fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.activity-heading {
  align-self: start;
  padding-top: clamp(1rem, 8vw, 7rem);
}

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

.activity-heading > p:last-child {
  max-width: 440px;
  font-size: 1.06rem;
}

.activity-device {
  text-align: center;
}

.device-frame--activity-feature {
  width: min(35vw, 440px);
  aspect-ratio: 1206 / 2622;
  margin-inline: auto;
}

.activity-notes {
  display: grid;
  gap: 0;
  margin: 0;
  align-self: end;
  padding-bottom: clamp(1rem, 8vw, 6rem);
}

.activity-notes div {
  padding: 1.15rem 0;
  border-top: 1px solid var(--product-line);
}

.activity-notes div:last-child {
  border-bottom: 1px solid var(--product-line);
}

.activity-notes dt {
  color: var(--product-teal-dark);
  font-size: 0.88rem;
  font-weight: 730;
}

.activity-notes dd {
  margin: 0.25rem 0 0;
  color: var(--product-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.finance-section {
  min-height: 980px;
  display: grid;
  align-items: center;
  background: var(--product-teal-dark);
  color: #f7fbfa;
}

.finance-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: 58%;
  height: 100%;
  background: linear-gradient(132deg, transparent 22%, rgba(127, 211, 209, 0.06) 22.2%, rgba(127, 211, 209, 0.06) 54%, transparent 54.2%);
  pointer-events: none;
}

.finance-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: center;
}

.finance-visual {
  position: relative;
  min-height: 800px;
  display: grid;
  place-items: center;
}

.finance-glow {
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(127, 211, 209, 0.14);
  filter: blur(80px);
}

.device-frame--finance-feature {
  position: relative;
  z-index: 2;
  width: min(33vw, 410px);
  aspect-ratio: 1206 / 2622;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28), 0 3px 12px rgba(0, 0, 0, 0.2);
}

.story-copy--dark h2 {
  color: #f7fbfa;
}

.story-copy--dark .product-eyebrow,
.story-copy--dark > p:not(.product-eyebrow, .asset-caption) {
  color: #bdd1d0;
}

.story-copy--dark > p:last-child {
  color: #f0f7f6;
}

.optional-badge {
  display: inline-flex;
  margin-bottom: 2rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(127, 211, 209, 0.36);
  border-radius: 999px;
  color: var(--product-aqua);
  font-size: 0.875rem;
  font-weight: 730;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asset-caption--dark {
  color: rgba(239, 249, 248, 0.58);
}

.case-section {
  background: #f5f6f1;
}

.split-layout--case {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
}

.feature-visual--case::before {
  width: min(44vw, 540px);
  border-radius: 28% 50% 44% 36%;
  background: rgba(127, 211, 209, 0.17);
  transform: rotate(-5deg);
}

.case-label--one {
  top: 28%;
  left: 2%;
}

.case-label--two {
  right: -1%;
  bottom: 28%;
}

.privacy-product-section {
  background: #e5f1ee;
}

.privacy-product-section::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: rgba(255, 255, 255, 0.46);
}

.privacy-product-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: center;
}

.privacy-product-visual {
  text-align: center;
}

.device-frame--privacy {
  width: min(33vw, 400px);
  aspect-ratio: 1206 / 2622;
  margin-inline: auto;
}

.story-copy--privacy h2 {
  max-width: 660px;
}

.privacy-facts {
  display: grid;
  margin: 2.2rem 0 2rem;
  padding: 0;
  border-top: 1px solid rgba(13, 77, 78, 0.18);
  list-style: none;
}

.privacy-facts li {
  position: relative;
  padding: 0.95rem 0 0.95rem 1.5rem;
  border-bottom: 1px solid rgba(13, 77, 78, 0.18);
  color: #314041;
}

.privacy-facts li::before {
  content: "";
  position: absolute;
  top: 1.42rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--product-teal);
}

.mode-section {
  min-height: 930px;
  display: grid;
  align-items: center;
  background: #11191a;
  color: #f5f8f7;
}

.mode-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 48%, rgba(127, 211, 209, 0.15), transparent 31rem);
  pointer-events: none;
}

.mode-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: center;
}

.mode-copy {
  max-width: 640px;
}

.mode-copy h2 {
  color: #f5f8f7;
}

.mode-copy .product-eyebrow,
.mode-copy > p:not(.product-eyebrow) {
  color: #bdd0cf;
}

.mode-switch {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.mode-button {
  min-width: 92px;
  border-color: transparent;
  background: transparent;
  color: #aebdbc;
}

.mode-button.is-active {
  border-color: rgba(255, 255, 255, 0.16);
  background: #f5f8f7;
  color: #122122;
}

.mode-stage {
  text-align: center;
}

.device-frame--mode {
  width: min(29vw, 360px);
  aspect-ratio: 1206 / 2622;
  margin-inline: auto;
  transition: background 240ms ease, box-shadow 240ms ease;
}

#mode-screenshot {
  transition: opacity 160ms ease;
}

#mode-screenshot.is-switching {
  opacity: 0.15;
}

.product-final {
  padding: clamp(7.5rem, 14vw, 13rem) 0;
  background: #fbfcf9;
  text-align: center;
}

.product-final__inner {
  max-width: 900px;
}

.product-final__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 2rem;
  border-radius: 18px;
}

.product-final h2 {
  max-width: 850px;
  margin-inline: auto;
  font-size: clamp(3rem, 6.7vw, 6.6rem);
}

.product-final__inner > p:not(.product-eyebrow) {
  margin: 0 0 2rem;
  color: var(--product-muted);
  font-size: 1.1rem;
}

.product-final .product-badge {
  margin-inline: auto;
}

.site-footer {
  background: #fbfcf9;
}

.hero-devices {
  --hero-x: 0px;
  --hero-y: 0px;
  transform: translate3d(var(--hero-x), var(--hero-y), 0);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1040px) {
  .activity-layout {
    grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1fr);
  }

  .activity-notes {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 0;
  }

  .activity-notes div {
    padding: 1.15rem;
    border-bottom: 1px solid var(--product-line);
  }
}

@media (max-width: 860px) {
  .product-section {
    padding: clamp(5.5rem, 14vw, 8rem) 0;
  }

  .split-layout,
  .split-layout--case,
  .finance-layout,
  .privacy-product-layout,
  .mode-layout,
  .activity-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 4rem;
  }

  .story-copy,
  .mode-copy,
  .activity-heading {
    max-width: 720px;
    padding-top: 0;
  }

  .story-copy--search {
    order: 1;
  }

  .feature-visual--search {
    order: 2;
  }

  .feature-visual,
  .finance-visual {
    min-height: min(165vw, 800px);
  }

  .feature-visual::before {
    width: min(88vw, 540px);
  }

  .device-frame--feature,
  .device-frame--activity-feature,
  .device-frame--finance-feature,
  .device-frame--privacy,
  .device-frame--mode {
    width: min(76vw, 420px);
  }

  .activity-heading {
    max-width: 650px;
  }

  .activity-device {
    order: 2;
  }

  .activity-notes {
    order: 3;
    grid-template-columns: 1fr;
  }

  .finance-section,
  .mode-section {
    min-height: auto;
  }

  .finance-visual {
    order: 2;
  }

  .story-copy--dark {
    order: 1;
  }

  .privacy-product-section::before {
    inset: 0 0 49% 0;
  }

  .mode-stage {
    order: 2;
  }
}

@media (max-width: 620px) {
  .story-copy h2,
  .activity-heading h2,
  .mode-copy h2,
  .product-final h2 {
    font-size: clamp(2.75rem, 13vw, 4.15rem);
  }

  .feature-visual,
  .finance-visual {
    min-height: 158vw;
  }

  .device-frame--feature,
  .device-frame--activity-feature,
  .device-frame--finance-feature,
  .device-frame--privacy,
  .device-frame--mode {
    width: min(79vw, 380px);
  }

  .visual-index {
    left: -0.75rem;
    bottom: 10%;
  }

  .search-orbit--one,
  .case-label--two {
    right: -0.25rem;
  }

  .search-orbit--two,
  .case-label--one {
    left: -0.25rem;
  }

  .search-explainer {
    min-height: 6.8rem;
  }

  .privacy-product-section::before {
    display: none;
  }

  .product-final__icon {
    width: 66px;
    height: 66px;
    border-radius: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-devices,
  #mode-screenshot,
  .search-chip,
  .mode-button {
    transition: none;
  }

  .hero-devices {
    transform: none;
  }

  .hero-devices:hover .device-frame--activity {
    transform: translateY(-48%) rotate(-7deg);
  }

  .hero-devices:hover .device-frame--finance {
    transform: translateY(-48%) rotate(7deg);
  }

  .hero-devices:hover .device-frame--home {
    transform: translate(-50%, -50%);
  }
}
