:root {
  color-scheme: light;
  --ink: #121826;
  --muted: #5f6b7d;
  --line: #dfe4ec;
  --canvas: #f7f9fc;
  --surface: #ffffff;
  --blue: #0866ff;
  --blue-dark: #0448b8;
  --green: #0a7a5a;
  --green-light: #dff7ed;
  --yellow: #f4b942;
  --red: #e1495b;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 58px;
  padding: 8px 10px 8px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(210, 217, 228, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(25, 38, 59, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 17px;
  font-weight: 750;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 6px;
}

nav a {
  padding: 10px 13px;
  border-radius: 6px;
  color: #39465a;
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
nav a:focus-visible {
  background: #eef2f7;
  color: var(--ink);
}

.header-download {
  position: relative;
  z-index: 1;
  justify-self: end;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
  touch-action: manipulation;
}

.hero {
  position: relative;
  min-height: min(900px, 92svh);
  overflow: hidden;
  padding: 122px 24px 0;
  background: #eef4ff;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 76px;
  line-height: 1.04;
  font-weight: 820;
}

.hero h1 span {
  display: block;
}

.hero-description {
  max-width: 680px;
  margin: 24px auto 0;
  color: #455267;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}

.app-store-button {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 20px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.12;
  text-align: left;
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.18);
  cursor: pointer;
  touch-action: manipulation;
}

.app-store-button small {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 580;
}

.apple-mark {
  font-size: 31px;
  line-height: 1;
}

.text-link {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 720;
}

.compatibility {
  margin: 18px 0 0;
  color: #6a7688;
  font-size: 13px;
  font-weight: 620;
}

.hero-gallery {
  position: absolute;
  z-index: 1;
  bottom: -380px;
  left: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  width: min(1060px, 94vw);
  height: 590px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-shot {
  width: min(28vw, 284px);
  aspect-ratio: 884 / 1920;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(31, 49, 78, 0.18);
}

.hero-shot-main {
  transform: translateY(-38px);
}

.hero-shot-left {
  transform: rotate(-3deg) translateY(22px);
}

.hero-shot-right {
  transform: rotate(3deg) translateY(22px);
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-strip div {
  display: grid;
  gap: 6px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.platform-strip div:last-child {
  border-right: 0;
}

.platform-strip strong {
  font-size: 16px;
}

.platform-strip span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-heading-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

h2 {
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 800;
}

.section-heading > p:last-child,
.sync-copy > p,
.tutorial-note,
.download-section > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 130px;
}

.feature-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: 9vw;
}

.feature-item-reverse .feature-copy {
  order: 2;
}

.feature-item-reverse img {
  order: 1;
}

.feature-item > img,
.tutorial-media img,
.library-layout > img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 28px 65px rgba(35, 48, 70, 0.13);
}

.feature-number {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
}

.feature-copy > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.feature-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  position: relative;
  padding-left: 22px;
  color: #354154;
  font-size: 15px;
  line-height: 1.6;
}

.feature-copy li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.sync-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 7vw;
  padding: 110px max(24px, calc((100vw - var(--max-width)) / 2));
  background: #123f35;
  color: #fff;
}

.sync-copy .eyebrow {
  color: #71e0bd;
}

.sync-copy > p {
  color: #c9ddd7;
}

.sync-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sync-notes span {
  padding: 9px 12px;
  border: 1px solid rgba(203, 237, 226, 0.34);
  border-radius: 6px;
  color: #e2f5ef;
  font-size: 13px;
  font-weight: 680;
}

.sync-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 310px;
  padding: 34px;
  border: 1px solid rgba(222, 249, 241, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.device,
.cloud {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.device span,
.cloud span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: #123f35;
  font-size: 48px;
  line-height: 1;
}

.cloud span {
  width: 98px;
  height: 98px;
  background: #71e0bd;
}

.device strong,
.cloud strong {
  font-size: 14px;
}

.tutorial-section {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: 9vw;
}

.tutorial-steps {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.tutorial-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.tutorial-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.tutorial-steps li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tutorial-steps strong {
  font-size: 18px;
}

.tutorial-steps p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.tutorial-note {
  padding-left: 18px;
  border-left: 3px solid var(--yellow);
  font-size: 14px;
}

.library-section {
  border-top: 1px solid var(--line);
}

.library-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: 8vw;
}

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

.capability-grid article {
  min-height: 174px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

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

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

.capability-grid article:nth-child(4) {
  border-top: 4px solid var(--red);
}

.capability-grid strong {
  font-size: 18px;
}

.capability-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.questions-section {
  border-top: 1px solid var(--line);
}

.question-list {
  max-width: 900px;
}

.question-list details {
  border-top: 1px solid #cfd6e1;
}

.question-list details:last-child {
  border-bottom: 1px solid #cfd6e1;
}

.question-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 720;
  list-style: none;
}

.question-list summary::-webkit-details-marker {
  display: none;
}

.question-list summary::after {
  position: absolute;
  top: 20px;
  right: 4px;
  content: "+";
  color: var(--blue-dark);
  font-size: 28px;
  font-weight: 400;
}

.question-list details[open] summary::after {
  content: "−";
}

.question-list details p {
  max-width: 760px;
  margin: -6px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.download-section {
  display: grid;
  justify-items: center;
  padding: 100px 24px;
  background: #121826;
  color: #fff;
  text-align: center;
}

.download-section > img {
  margin-bottom: 28px;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.download-section .eyebrow {
  color: #8eb9ff;
}

.download-section h2 {
  max-width: 800px;
}

.download-section > p:not(.eyebrow) {
  color: #b8c1d0;
}

.app-store-button-light {
  margin-top: 30px;
  border-color: #fff;
  background: #fff;
  color: #111;
  box-shadow: none;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  padding: 38px max(24px, calc((100vw - var(--max-width)) / 2));
  background: #0b101a;
  color: #d6dce7;
}

footer > div:first-child {
  display: grid;
  gap: 6px;
}

footer strong {
  font-size: 15px;
}

footer span,
footer p,
.footer-links {
  color: #8f9aab;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-gallery {
    bottom: -280px;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 48px;
  }

  h3 {
    font-size: 36px;
  }

  .feature-item,
  .tutorial-section,
  .library-layout {
    gap: 6vw;
  }

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

  .sync-diagram {
    min-height: 250px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    min-height: 54px;
  }

  .header-download {
    padding: 9px 12px;
  }

  .hero {
    min-height: 790px;
    padding: 100px 18px 0;
  }

  h1 {
    font-size: 40px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .compatibility {
    max-width: 290px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.6;
  }

  .hero-gallery {
    bottom: -110px;
    gap: 8px;
    height: 330px;
  }

  .hero-shot {
    width: 31vw;
    border-width: 3px;
  }

  .platform-strip {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 32px);
  }

  .platform-strip div {
    padding: 22px 14px;
  }

  .platform-strip div:nth-child(2) {
    border-right: 0;
  }

  .platform-strip div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: calc(100% - 36px);
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 48px;
    text-align: left;
  }

  h2 {
    font-size: 38px;
  }

  .feature-list {
    gap: 84px;
  }

  .feature-item,
  .tutorial-section,
  .library-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .feature-item-reverse .feature-copy,
  .feature-item-reverse img {
    order: initial;
  }

  .feature-item > img,
  .tutorial-media img,
  .library-layout > img {
    max-height: 610px;
  }

  .sync-section {
    padding: 82px 18px;
  }

  .sync-diagram {
    gap: 7px;
    min-height: 220px;
    padding: 22px 12px;
  }

  .device span,
  .cloud span {
    width: 62px;
    height: 62px;
    font-size: 34px;
  }

  .cloud span {
    width: 72px;
    height: 72px;
  }

  .tutorial-media {
    order: 2;
  }

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

  .capability-grid article {
    min-height: auto;
  }

  .question-list summary {
    font-size: 16px;
    line-height: 1.5;
  }

  .download-section {
    padding: 82px 18px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 24px;
  }
}

.store-redirect-page {
  min-height: 100svh;
  background: #eef4ff;
}

.store-redirect {
  display: grid;
  justify-items: center;
  width: min(calc(100% - 36px), 620px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 46px 0 64px;
  text-align: center;
}

.store-back {
  justify-self: start;
  margin-bottom: 58px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.store-redirect > img {
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(31, 49, 78, 0.16);
}

.store-redirect h1 {
  font-size: 52px;
}

.store-redirect-description {
  max-width: 520px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.store-web-link {
  margin-top: 18px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.store-notice {
  width: 100%;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid #ccd5e4;
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.store-notice strong {
  font-size: 16px;
}

.store-notice p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.store-web-link + .store-notice {
  margin-top: 34px;
}

@media (max-width: 700px) {
  .store-redirect {
    padding-top: 24px;
  }

  .store-back {
    margin-bottom: 42px;
  }

  .store-redirect h1 {
    font-size: 38px;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --muted: #3d4859;
    --line: #aeb8c7;
  }
}
