:root {
  --ink: #151515;
  --paper: #f7f3e9;
  --yellow: #f6df36;
  --white: #fffef9;
  --muted: #6c685f;
  --line: rgba(21, 21, 21, 0.18);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  transform: translateX(-50%);
}

.brand img,
footer img {
  display: block;
  width: 176px;
  height: auto;
}

.about-page .site-header .brand img { filter: invert(1); }

.header-link {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.about-page .header-link[aria-current="page"] {
  text-decoration-color: var(--ink);
}

.about-page .header-link { color: var(--ink); }

.hero {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border-bottom: 10px solid var(--ink);
  background: var(--ink);
}

.hero-copy {
  align-self: center;
  width: 100%;
  padding: 150px max(6vw, calc((100vw - var(--max-width)) / 2)) 100px 7vw;
  color: var(--white);
}

.eyebrow,
.section-number {
  margin: 0 0 20px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 6.3vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.91;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin: 30px 0 0;
}

.store-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-badge-button {
  display: block;
  width: auto;
  height: 52px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.store-badges a.store-badge-button:hover,
.store-badges a.store-badge-button:focus-visible {
  opacity: 0.86;
  transform: translateY(-2px);
}

.store-badge-button img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: end center;
  overflow: hidden;
  background: var(--yellow);
}

.hero-art::before {
  position: absolute;
  width: min(34vw, 520px);
  height: min(34vw, 520px);
  border: 2px solid rgba(21, 21, 21, 0.28);
  border-radius: 50%;
  content: "";
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(98%, 720px);
  max-height: 88%;
  object-fit: contain;
  object-position: bottom;
}

.frame-line {
  position: absolute;
  z-index: 0;
  width: 140%;
  height: 2px;
  background: rgba(21, 21, 21, 0.22);
  transform-origin: center;
}

.frame-line-one { transform: rotate(31deg); }
.frame-line-two { transform: rotate(-24deg); }

.more-features {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 140px 0 120px;
}

.more-features h2,
.feature-story h2,
.closing h2 {
  margin-bottom: 30px;
  font-size: clamp(2.65rem, 5.1vw, 5.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.more-features-header {
  margin-bottom: 64px;
}

.more-features-header h2 {
  max-width: 880px;
  margin: 0 0 0 auto;
}

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

.feature-tile {
  min-height: 290px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}

.feature-tile h3 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.feature-tile p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  overflow: hidden;
  background: var(--yellow);
  color: var(--ink);
}

.feature-story + .feature-story {
  border-top: 1px solid rgba(21, 21, 21, 0.2);
}

.feature-story-record { background: var(--white); }

.feature-story-playback {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  background: var(--yellow);
}

.feature-story-playback .feature-story-art img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
}

.feature-story-copy { padding: 90px max(40px, 6vw); }
.feature-story-copy .section-number { color: var(--ink); }

.feature-story-copy p:last-child {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(21, 21, 21, 0.7);
  font-size: 1.17rem;
}

.feature-story-art {
  display: grid;
  min-height: 650px;
  place-items: center;
  padding: 50px 2vw;
}

.feature-story-art img {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  border-top: 1px solid rgba(21, 21, 21, 0.2);
  background: var(--yellow);
}

.closing-visual {
  display: grid;
  align-self: stretch;
  place-items: center;
  overflow: hidden;
  padding: 48px 24px;
}

.closing-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.closing-copy { padding: 80px 8vw 80px 5vw; }
.store-badges-closing { margin-top: 24px; }

.about-hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  overflow: hidden;
  border-bottom: 10px solid var(--ink);
  background: var(--ink);
}

.about-hero-copy {
  align-self: center;
  padding: 160px 6vw 100px max(7vw, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
}

.about-hero .eyebrow { color: var(--yellow); }

.about-hero h1 {
  max-width: 650px;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
}

.about-intro {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.2rem;
}

.about-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
}

.about-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.about-story {
  display: grid;
  width: min(calc(100% - 40px), var(--max-width));
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 9vw, 140px);
  margin: 0 auto;
  padding: 140px 0;
}

.about-story h2 {
  margin-bottom: 30px;
  font-size: clamp(2.65rem, 5.1vw, 5.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.about-story-copy {
  padding-top: 37px;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
}

.about-story-copy p { margin-bottom: 1.5em; }

.about-story-image {
  margin: 48px 0 56px;
}

.about-story-image img {
  display: block;
  width: 100%;
  height: auto;
}

.about-story-image-feedback { margin-top: 36px; }

.about-story-download {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-story-download > p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.about-story-download .store-badges { margin-top: 18px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px max(20px, calc((100vw - var(--max-width)) / 2));
  background: var(--ink);
  color: var(--white);
}

footer img { filter: invert(1); }

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr); }

  .hero-copy {
    padding-right: 30px;
    padding-left: 44px;
  }

  .feature-story,
  .feature-story-playback { grid-template-columns: 1fr; }
  .feature-story-playback .feature-story-art { order: 2; }
  .feature-story-playback .feature-story-copy { order: 1; }
  .feature-story-copy { padding-bottom: 30px; }

  .feature-story-art {
    min-height: 0;
    padding-top: 0;
  }

  .about-hero {
    min-height: 650px;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  }

  .about-hero-copy { padding-left: 44px; }

  .about-story { gap: 50px; }

}

@media (max-width: 720px) {
  .brand img,
  footer img { width: 145px; }
  .about-page .site-header .brand img { filter: none; }
  .header-link { color: var(--ink); }
  .header-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; }

  .hero-art {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .hero-art::before {
    width: 76vw;
    height: 76vw;
  }

  .hero-copy {
    width: 100%;
    padding: 40px 20px 64px;
  }

  .store-badges { margin-top: 22px; }
  h1 { font-size: clamp(3.15rem, 15vw, 5.2rem); }
  .more-features { padding: 90px 0 80px; }
  .feature-tiles { grid-template-columns: 1fr; }
  .feature-tile { min-height: 0; }
  .feature-story-copy { padding: 70px 20px 30px; }
  .feature-story-art { padding: 20px 8px 50px; }

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

  .closing-visual {
    min-height: 0;
    padding: 38px 10px 0;
  }

  .closing-copy { padding: 56px 20px 70px; }

  .about-page .site-header {
    position: relative;
    left: auto;
    width: 100%;
    padding: 24px 20px;
    transform: none;
    background: var(--yellow);
  }

  .about-page .header-link[aria-current="page"] {
    text-decoration-color: var(--ink);
  }

  .about-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    padding: 60px 20px 64px;
  }

  .about-hero-art {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .about-hero-art img {
    object-fit: cover;
    object-position: center;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 90px 0;
  }

  .about-story-copy { padding-top: 0; }

  .about-story-image {
    margin-top: 40px;
    margin-bottom: 46px;
  }

  footer { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-badge-button { transition: none; }
}
