:root {
  color-scheme: light;
  --ink: #102421;
  --muted: #5c6f68;
  --accent: #067b6c;
  --surface: #ffffff;
  --canvas: #f8faf9;
  --line: #d8e5e0;
  --capture: #eaf1f3;
  --subtitle: #171d1c;
  --editing: #eef1e5;
  --poster: #f2e8e1;
  --closing: #edf4f1;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  letter-spacing: 0;
}

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

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

:focus-visible {
  outline: 3px solid #087d70;
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 88px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgba(25, 64, 54, .10);
  background: rgba(255, 255, 255, .96);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-weight: 800;
}

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

.site-header nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.site-header nav a,
.site-footer nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.section-cue:hover {
  color: var(--accent);
}

.store-status,
.store-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #9fb2ab;
  border-radius: 8px;
  color: #5f726b;
  background: #f5f8f7;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.site-header .store-status {
  justify-self: end;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 150px);
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  overflow: hidden;
  padding: 56px clamp(28px, 7vw, 108px) 64px;
  background: var(--canvas);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 63%;
  z-index: 0;
  background: #e8f0ed;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 820;
}

.hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-claim {
  margin: 16px 0 0;
  font-size: 68px;
  font-weight: 820;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 33em;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-action .store-button {
  color: #fff;
  border-color: #14372f;
  background: #14372f;
}

.hero-action small {
  color: var(--muted);
}

.hero-scene {
  position: relative;
  z-index: 2;
  height: clamp(580px, 69vh, 680px);
}

.scene-plane {
  position: absolute;
  display: block;
  border: 1px solid rgba(19, 49, 42, .08);
}

.scene-plane--mint {
  inset: 64px -14% 22px 10%;
  background: #dbeae5;
  transform: rotate(-3deg);
}

.scene-plane--warm {
  width: 48%;
  height: 58%;
  top: 5%;
  right: -5%;
  background: #eee4dc;
  transform: rotate(5deg);
}

.scene-screen {
  position: absolute;
  display: block;
  overflow: hidden;
  aspect-ratio: 720 / 1558;
  border: 1px solid rgba(19, 49, 42, .12);
  border-radius: 6px;
  background: #e7f1ed;
  box-shadow: 0 24px 50px rgba(19, 50, 42, .18);
}

.scene-screen img,
.capture-item img,
.chapter-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.scene-screen--overview {
  width: 31%;
  left: 7%;
  top: 14%;
  opacity: .78;
  transform: rotate(-5deg);
}

.scene-screen--stitch {
  width: 38%;
  left: 34%;
  top: 3%;
  z-index: 3;
  transform: rotate(1deg);
}

.scene-screen--poster {
  width: 28%;
  right: -1%;
  top: 18%;
  transform: rotate(6deg);
}

.section-cue {
  position: absolute;
  right: clamp(28px, 7vw, 108px);
  bottom: 14px;
  z-index: 5;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #52675f;
  font-size: 13px;
  font-weight: 760;
}

.section-cue span {
  font-size: 17px;
}

.story-intro {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: end;
  gap: clamp(36px, 6vw, 88px);
  padding: 52px clamp(28px, 7vw, 108px) 72px;
  background: #fff;
}

.story-intro h2,
.chapter h2,
.closing h2 {
  margin: 0;
  letter-spacing: 0;
}

.story-intro h2 {
  font-size: 44px;
  line-height: 1.15;
}

.story-intro > p {
  max-width: 44em;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.chapter {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  overflow: hidden;
  padding: 72px clamp(28px, 7vw, 108px);
}

.chapter--capture {
  background: var(--capture);
}

.chapter--subtitle {
  color: #f5f8f7;
  background: var(--subtitle);
}

.chapter--editing {
  background: var(--editing);
}

.chapter--poster {
  background: var(--poster);
}

.chapter-copy {
  position: relative;
  z-index: 4;
  max-width: 500px;
}

.chapter-copy h2 {
  font-size: 48px;
  line-height: 1.1;
}

.chapter-copy > p:last-of-type {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.chapter--subtitle .eyebrow {
  color: #71d7c1;
}

.chapter--subtitle .chapter-copy > p:last-of-type {
  color: rgba(245, 248, 247, .70);
}

.chapter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #39564d;
  font-size: 13px;
  font-weight: 760;
}

.chapter-tags span + span::before {
  content: "·";
  margin-right: 18px;
  color: #8ba099;
}

.capture-scene {
  position: relative;
  min-height: 560px;
}

.capture-item {
  position: absolute;
  width: 29%;
  margin: 0;
}

.capture-item picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 720 / 1558;
  border: 1px solid rgba(19, 49, 42, .12);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(23, 55, 47, .15);
}

.capture-item--stitch {
  left: 3%;
  top: 62px;
  transform: rotate(-3deg);
}

.capture-item--recording {
  left: 35.5%;
  top: 8px;
  z-index: 2;
}

.capture-item--web {
  right: 2%;
  top: 66px;
  transform: rotate(3deg);
}

.capture-caption {
  margin-top: 14px;
  transform: rotate(0);
}

.capture-caption h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}

.capture-caption p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.chapter--reverse .chapter-copy {
  grid-column: 2;
}

.chapter--reverse .chapter-visual {
  grid-column: 1;
  grid-row: 1;
}

.chapter-visual {
  position: relative;
  min-height: 590px;
  margin: 0;
}

.visual-plane {
  position: absolute;
  width: 64%;
  height: 80%;
  left: 18%;
  top: 10%;
  display: block;
  border: 1px solid rgba(19, 49, 42, .08);
  background: #dfe6cd;
  transform: rotate(-4deg);
}

.chapter--subtitle .visual-plane {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .06);
}

.chapter--poster .visual-plane {
  background: #e8d8cc;
}

.chapter-visual picture {
  position: absolute;
  left: 50%;
  top: -40px;
  z-index: 2;
  width: min(330px, 55%);
  display: block;
  overflow: hidden;
  aspect-ratio: 720 / 1558;
  border: 1px solid rgba(19, 49, 42, .12);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 28px 56px rgba(22, 51, 43, .20);
  transform: translateX(-50%);
}

.chapter--subtitle .chapter-visual picture {
  box-shadow: 0 30px 62px rgba(0, 0, 0, .38);
}

.chapter--editing .chapter-visual picture {
  transform: translateX(-50%) rotate(2deg);
}

.chapter--poster .chapter-visual picture {
  transform: translateX(-50%) rotate(-2deg);
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: 52px clamp(28px, 7vw, 108px);
  border-top: 1px solid rgba(22, 60, 50, .10);
  background: var(--closing);
}

.privacy-copy {
  max-width: 720px;
}

.closing h2 {
  font-size: 32px;
  line-height: 1.2;
}

.privacy-copy > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.download-compact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.download-compact img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(25, 63, 53, .14);
}

.download-compact strong {
  display: block;
  font-size: 22px;
}

.download-compact p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-compact .store-button {
  color: #fff;
  border-color: #14372f;
  background: #14372f;
}

.site-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(28px, 7vw, 108px);
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 18px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
    padding-inline: 48px;
  }

  .hero-claim {
    font-size: 58px;
  }

  .chapter {
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
    padding-inline: 48px;
  }

  .story-intro,
  .closing {
    padding-inline: 48px;
  }
}

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

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 64px;
  }

  .hero::before {
    inset: 45% 0 0;
  }

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

  .hero-scene {
    height: 620px;
  }

  .story-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .chapter,
  .chapter--reverse {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .chapter--reverse .chapter-copy,
  .chapter--reverse .chapter-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .capture-scene,
  .chapter-visual {
    min-height: 580px;
  }

  .closing {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .download-compact {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .store-status {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: 44px 20px 56px;
  }

  .hero::before {
    inset: 50% 0 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero-claim {
    margin-top: 12px;
    font-size: 44px;
  }

  .hero-summary {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-action {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 24px;
  }

  .hero-action small {
    display: none;
  }

  .hero-scene {
    height: 280px;
  }

  .scene-plane--mint {
    inset: 56px -12% 20px 4%;
  }

  .scene-plane--warm {
    width: 46%;
    right: -8%;
  }

  .scene-screen--overview {
    width: 40%;
    left: -2%;
    top: 18%;
    z-index: 2;
    transform: none;
  }

  .scene-screen--stitch {
    width: 46%;
    left: 27%;
    top: 4%;
    transform: none;
  }

  .scene-screen--poster {
    width: 35%;
    right: -4%;
    top: 23%;
    z-index: 2;
    transform: none;
  }

  .section-cue {
    right: 20px;
    bottom: 8px;
    font-size: 12px;
  }

  .story-intro {
    padding: 32px 20px 54px;
  }

  .story-intro h2 {
    font-size: 34px;
  }

  .story-intro > p {
    font-size: 16px;
  }

  .chapter {
    padding: 58px 20px 50px;
  }

  .chapter-copy h2 {
    font-size: 36px;
  }

  .chapter-copy > p:last-of-type {
    margin-top: 18px;
    font-size: 16px;
  }

  .chapter-tags {
    gap: 8px 12px;
    margin-top: 22px;
    font-size: 12px;
  }

  .chapter-tags span + span::before {
    margin-right: 12px;
  }

  .capture-scene {
    min-height: 380px;
  }

  .capture-item {
    width: 38%;
  }

  .capture-item--stitch {
    left: -5%;
    top: 64px;
  }

  .capture-item--recording {
    left: 31%;
    top: 12px;
  }

  .capture-item--web {
    right: -5%;
    top: 68px;
  }

  .capture-caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .chapter-visual {
    min-height: 480px;
  }

  .visual-plane {
    width: 76%;
    height: 82%;
    left: 12%;
  }

  .chapter-visual picture {
    top: 0;
    width: min(260px, 58%);
  }

  .closing {
    padding: 48px 20px;
  }

  .closing h2 {
    font-size: 30px;
  }

  .privacy-copy > p:last-child {
    font-size: 14px;
  }

  .download-compact {
    grid-template-columns: auto 1fr;
  }

  .download-compact img {
    width: 64px;
    height: 64px;
  }

  .download-compact .store-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-footer {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .brand span {
    font-size: 14px;
  }

  .hero-claim {
    font-size: 40px;
  }

  .hero-scene {
    height: 260px;
  }

  .chapter-copy h2 {
    font-size: 32px;
  }

  .capture-scene {
    min-height: 340px;
  }

  .chapter-visual {
    min-height: 450px;
  }

  .chapter-visual picture {
    width: min(250px, 62%);
  }
}

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