*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0b0a;
  --surface: #141413;
  --raised: #1c1c1a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #edebe6;
  --muted: #a8a59f;
  --faint: #8a8781;
  --white: #fff;
  --accent: #e5333d;
  --sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue",
    Arial, sans-serif;
  --mono:
    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --wide: 1200px;
  --narrow: 680px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--bg);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

/* ---- NAV ---- */

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(11, 11, 10, 0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line);
}

nav .nav-inner {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
}

nav .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px var(--line);
}

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

nav .nav-links li {
  display: flex;
}

nav .nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: var(--white);
}

nav .app-store-badge-link--nav .app-store-badge {
  height: 36px;
}

.app-store-badge-link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 9px;
  transition: opacity 0.2s;
}

.app-store-badge-link:hover {
  opacity: 0.85;
}

.app-store-badge {
  width: auto;
  height: 48px;
}

/* ---- SHARED TYPE ---- */

.section-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

main {
  counter-reset: section;
}

.section-label::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  color: var(--accent);
}

.section-header h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.section-header p {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---- HERO ---- */

.hero {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) var(--gutter) 72px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 56px;
  text-align: center;
  overflow: clip;
}

.hero-copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--white);
  text-wrap: balance;
  overflow-wrap: break-word;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}

.hero-sub {
  margin: 28px 0 36px;
  max-width: 32em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
  animation: fadeUp 0.9s var(--ease) 0.2s both;
}

.hero-copy .app-store-badge-link {
  animation: fadeUp 0.9s var(--ease) 0.3s both;
}

.hero-visual {
  --phone: 200px;
  position: relative;
  width: var(--phone);
  animation: fadeUp 1s var(--ease) 0.15s both;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.hero-photo {
  position: absolute;
  top: 50%;
  width: 78%;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-photo--left {
  right: 80%;
  translate: 0 -54%;
  rotate: -5deg;
  animation: photoLeft 1.1s var(--ease) 0.45s both;
}

.hero-photo--right {
  left: 80%;
  translate: 0 -42%;
  rotate: 4deg;
  animation: photoRight 1.1s var(--ease) 0.6s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes photoLeft {
  from {
    opacity: 0;
    translate: 40% -54%;
  }
}

@keyframes photoRight {
  from {
    opacity: 0;
    translate: -40% -42%;
  }
}

@media (min-width: 641px) {
  .hero-visual {
    --phone: 260px;
  }
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    justify-items: start;
    text-align: left;
    gap: 48px;
    overflow: visible;
  }

  .hero-copy {
    align-items: flex-start;
  }

  .hero-sub {
    max-width: 28em;
  }

  .hero-photo {
    width: 72%;
  }

  .hero-visual {
    --phone: 300px;
    justify-self: center;
  }
}

@media (min-width: 1400px) {
  .hero-visual {
    --phone: 320px;
  }
}

/* ---- SECTIONS ---- */

.section {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(88px, 11vw, 160px) var(--gutter) 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

@media (min-width: 960px) {
  .section--split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }

  .section--split .section-header {
    margin-bottom: 0;
  }
}

/* ---- GALLERY ---- */

.section--bleed {
  max-width: none;
  padding-inline: 0;
  --inset: max(var(--gutter), calc((100vw - var(--wide)) / 2));
}

.section--bleed .section-header,
.section--bleed .gallery-credit {
  margin-inline: var(--inset);
}

.gallery-scroll {
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--inset);
  scroll-padding-inline: var(--inset);
  scrollbar-width: none;
  counter-reset: frame;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 min(78vw, 420px);
  scroll-snap-align: start;
  counter-increment: frame;
}

.gallery-item picture {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}

.gallery-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.025);
}

.gallery-item figcaption {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-item figcaption::before {
  content: counter(frame, decimal-leading-zero);
  color: var(--faint);
}

.gallery-credit {
  margin-top: 28px;
  font-size: 13px;
  color: var(--faint);
}

.gallery-credit a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}

.gallery-credit a:hover {
  color: var(--white);
}

@media (min-width: 1100px) {
  .gallery-item {
    flex-basis: calc((min(100vw, var(--wide) + 2 * var(--gutter)) - 2 * var(--gutter) - 2 * 20px) / 3);
  }
}

/* ---- SPEC LISTS ---- */

.spec-list {
  list-style: none;
}

.spec-row {
  border-top: 1px solid var(--line);
}

.spec-name {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.005em;
}

.spec-desc {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

/* ---- FILM STOCKS ---- */

.stocks-hero {
  display: grid;
  gap: 48px;
  justify-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}

.stocks-hero .section-header {
  margin-bottom: 0;
  justify-self: stretch;
}

.preset-reel {
  width: 240px;
  mix-blend-mode: lighten;
}

.preset-reel video {
  width: 100%;
  height: auto;
  aspect-ratio: 680 / 1386;
}

@media (min-width: 641px) {
  .preset-reel {
    width: 290px;
  }
}

@media (min-width: 960px) {
  .stocks-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 64px;
  }
}

@media (min-width: 1400px) {
  .preset-reel {
    width: 320px;
  }
}

.stocks-body {
  display: grid;
  gap: 32px;
  align-items: start;
}

.swap-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}

.swap-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
}

.swap-frame img.is-shown {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}

.swap-frame img.is-front {
  z-index: 1;
}

.stocks-frame {
  aspect-ratio: 4 / 5;
  max-width: 480px;
}

.stocks-current {
  min-height: 1.5em;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stocks-lists {
  display: grid;
  gap: 40px;
}

.stocks-group h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}

.stock-option {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 0 13px 20px;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stock-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(12px + 0.8em);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transform: translateY(-50%);
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}

.stock-option::after,
.pipeline-step::after {
  content: "";
  position: absolute;
  inset: 1px -12px;
  z-index: -1;
  border-radius: 6px;
  background: transparent;
  transition: background-color 0.2s;
}

.stock-option:hover::after,
.pipeline-step:hover::after {
  background: var(--surface);
}

.stock-option .spec-name,
.stock-option .spec-desc {
  transition: color 0.2s;
}

.stock-option:hover .spec-name,
.stock-option[aria-pressed="true"] .spec-name {
  color: var(--white);
}

.stock-option:hover .spec-desc {
  color: var(--text);
}

.stock-option:hover::before {
  box-shadow: inset 0 0 0 1px var(--white);
}

.stock-option[aria-pressed="true"]::before {
  background: var(--accent);
  box-shadow: none;
}

.spec-row {
  position: relative;
  z-index: 0;
}

.stocks-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}

.stocks-note strong {
  color: var(--white);
  font-weight: 500;
}

.stock-option--inline {
  display: inline;
  width: auto;
  padding: 0;
  color: var(--white);
  font-weight: 500;
  text-decoration: underline dotted var(--faint);
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s;
}

.stock-option--inline::before,
.stock-option--inline::after {
  content: none;
}

.stock-option--inline:hover {
  text-decoration: underline solid var(--white);
}

.stock-option--inline[aria-pressed="true"] {
  text-decoration: underline solid var(--accent);
}

@media (max-width: 959px) {
  .stocks-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .stocks-lists {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .stocks-group h3 {
    margin-bottom: 12px;
  }

  .stocks-group .spec-list {
    display: flex;
    gap: 8px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .stocks-group .spec-list::-webkit-scrollbar {
    display: none;
  }

  .stocks-group .spec-row {
    flex: 0 0 min(68vw, 260px);
    border-top: none;
    scroll-snap-align: start;
  }

  .spec-row .stock-option {
    height: 100%;
    padding: 12px 14px 13px 32px;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color 0.2s;
  }

  .spec-row .stock-option::before {
    left: 14px;
  }

  .spec-row .stock-option::after {
    inset: 0;
    border-radius: 9px;
  }

  .spec-row .stock-option[aria-pressed="true"] {
    border-color: var(--line-strong);
  }

  .spec-row .stock-option[aria-pressed="true"]::after {
    background: var(--surface);
  }

  .stocks-note {
    margin-top: 16px;
  }
}

@media (min-width: 960px) {
  .stocks-group--color .spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }

  .stocks-body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
}

/* ---- PRINT STOCKS ---- */

.print-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(12px, 1.6vw, 24px);
}

@media (min-width: 900px) {
  .print-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.print-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 4px;
  background: var(--surface);
}

.print-item figcaption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}

.print-item--base .spec-name {
  color: var(--muted);
}

/* ---- PIPELINE ---- */

.pipeline-body {
  display: grid;
  gap: 40px;
}

.pipeline-frame {
  aspect-ratio: 4 / 5;
  max-width: 480px;
}

.pipeline-readout {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--white);
}

.pipeline-current {
  min-height: 1.5em;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pipeline {
  list-style: none;
  counter-reset: stage;
}

.pipeline-stage {
  counter-increment: stage;
  position: relative;
  z-index: 0;
}

.pipeline-group {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.pipeline-stage:not(:first-child) .pipeline-group {
  margin-top: 32px;
}

.pipeline-step {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 13px 0 14px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  color: var(--faint);
  cursor: pointer;
  transition: color 0.2s;
}

.pipeline-step::before {
  content: counter(stage, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint);
  transition: color 0.2s;
}

.pipeline-step:hover,
.pipeline-step:hover::before {
  color: var(--white);
}

.pipeline-stage.is-applied .pipeline-step {
  color: var(--text);
}

.pipeline-stage.is-applied .pipeline-step::before {
  color: var(--accent);
}

.pipeline-stage.is-current .pipeline-step {
  color: var(--white);
  font-weight: 500;
}

@media (max-width: 959px) {
  .pipeline-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pipeline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .pipeline::-webkit-scrollbar {
    display: none;
  }

  .pipeline-stage {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    scroll-snap-align: start;
  }

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

  .pipeline-stage:not(:first-child):has(.pipeline-group) {
    margin-left: 12px;
  }

  .pipeline-step {
    width: auto;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
    gap: 10px;
    transition:
      color 0.2s,
      border-color 0.2s;
  }

  .pipeline-step::after {
    inset: 0;
    border-radius: 999px;
  }

  .pipeline-stage.is-current .pipeline-step {
    border-color: var(--line-strong);
  }

  .pipeline-stage.is-current .pipeline-step::after {
    background: var(--surface);
  }
}

@media (min-width: 960px) {
  .pipeline-body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: start;
  }
}

.push-demo {
  display: grid;
  gap: 24px;
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.push-heading {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.push-stock {
  margin-top: 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.push-options {
  display: inline-flex;
  margin-top: 24px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.push-option {
  min-width: 52px;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.push-option:hover {
  background: var(--surface);
  color: var(--white);
}

.push-option[aria-pressed="true"] {
  background: var(--raised);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.push-frame {
  aspect-ratio: 4 / 5;
  max-width: 480px;
}

@media (min-width: 960px) {
  .push-demo {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 64px;
    align-items: center;
  }

  .push-frame {
    justify-self: end;
    width: 100%;
  }
}

/* ---- FORMATS ---- */

.formats-strip {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}

.formats-strip::-webkit-scrollbar {
  display: none;
}

.format {
  flex: 0 0 min(56vw, 220px);
  scroll-snap-align: start;
}

.format-viewfinder {
  position: relative;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 4px;
}

.format-frame {
  width: calc(var(--fw) / 3024 * 100%);
  height: calc(var(--fh) / 4032 * 100%);
}

.format-loupe-mark {
  position: absolute;
  left: calc(840 / 3024 * 100%);
  top: calc(2160 / 4032 * 100%);
  width: calc(280 / 3024 * 100%);
  aspect-ratio: 1;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85),
    0 0 0 2px rgba(0, 0, 0, 0.35);
}

.format-loupe {
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 4px;
}

.format figcaption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.format-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.format-dims {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

@media (min-width: 1100px) {
  .formats-strip {
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .format {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* ---- DETAILS ---- */

.details-list {
  list-style: none;
  font-size: 15px;
  color: var(--text);
}

.details-list li {
  padding: 14px 0 15px;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

/* ---- CTA ---- */

.cta-section {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(120px, 14vw, 200px) var(--gutter) clamp(80px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow:
    0 0 0 1px var(--line),
    0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-section h2 {
  max-width: 14em;
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.cta-sub {
  margin: 24px 0 40px;
  max-width: 30em;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  text-wrap: pretty;
}

/* ---- NEWSLETTER ---- */

.newsletter-block {
  width: 100%;
  max-width: 480px;
  margin-top: clamp(80px, 10vw, 120px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.newsletter-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.newsletter {
  display: grid;
  min-height: 56px;
  align-items: flex-start;
}

.newsletter-form,
.newsletter-result {
  grid-area: 1 / 1;
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.newsletter-result {
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--faint);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.newsletter-form button {
  background: var(--white);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.newsletter-form button:hover {
  opacity: 0.88;
}

.newsletter-loading {
  display: none;
  cursor: default;
}

.newsletter-form .newsletter-loading {
  background: var(--faint);
}

.newsletter-loading:hover {
  opacity: 1;
}

.newsletter-success,
.newsletter-error {
  font-size: 16px;
  line-height: 1.5;
}

.newsletter-success {
  color: var(--white);
}

.newsletter-error {
  color: var(--accent);
}

.newsletter-back {
  background: none;
  border: none;
  color: var(--faint);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}

.newsletter-back:hover {
  color: var(--white);
}

.newsletter[data-state="loading"] .newsletter-form button[type="submit"],
.newsletter[data-state="loading"] .newsletter-form input {
  display: none;
}

.newsletter[data-state="loading"] .newsletter-loading {
  display: block;
}

.newsletter[data-state="success"] .newsletter-form,
.newsletter[data-state="error"] .newsletter-form {
  visibility: hidden;
  pointer-events: none;
}

.newsletter[data-state="success"] .newsletter-result,
.newsletter[data-state="error"] .newsletter-result {
  visibility: visible;
  pointer-events: auto;
}

.newsletter[data-state="error"] .newsletter-success,
.newsletter[data-state="success"] .newsletter-error {
  display: none;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

/* ---- PAGE CONTENT ---- */

.page-content {
  max-width: calc(var(--narrow) + 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 72px) var(--gutter) 120px;
}

.page-content h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}

.page-content .subtitle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 56px;
}

.page-content h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-top: 56px;
  margin-bottom: 14px;
}

.page-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 8px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content li::marker {
  color: var(--faint);
}

.page-content a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}

.page-content a:hover {
  color: var(--accent);
}

.page-content strong {
  color: var(--white);
  font-weight: 600;
}

/* ---- FAQ ---- */

.faq {
  max-width: var(--narrow);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- FOOTER ---- */

footer {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
}

footer .footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--white);
}

footer .footer-disclaimer {
  max-width: 60em;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
}

footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

footer .copyright {
  font-size: 13px;
  color: var(--faint);
}

footer .copyright a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer .copyright a:hover {
  color: var(--white);
}

/* ---- LANGUAGE SWITCHER ---- */

.lang-switcher {
  position: relative;
}

.lang-current {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  padding: 5px 12px;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.lang-current:hover,
.lang-current:focus-visible {
  color: var(--white);
  border-color: var(--line-strong);
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 0;
  min-width: 160px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.lang-switcher.open .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}

.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: var(--line);
  color: var(--white);
}

.lang-menu a[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 640px) {
  .hero h1,
  .section-header h2,
  .cta-section h2 {
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
  }

  nav .nav-links {
    gap: 16px;
  }

  .nav-links .nav-text--privacy {
    display: none;
  }
}

/* ---- SCROLL REVEAL ---- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
}

/* ---- PRESS PAGE ---- */

.press-page .subtitle {
  margin-bottom: 0;
}

.press-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.press-app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  display: block;
}

.press-screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .press-screenshots {
    grid-template-columns: repeat(3, 1fr);
  }
}

.press-screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.press-screenshot-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
}

.press-screenshot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.press-screenshot-label {
  font-size: 12px;
  color: var(--muted);
}

.press-download-link {
  font-size: 12px;
  color: var(--faint);
  text-decoration: none;
  transition: color 0.2s;
}

.press-download-link:hover {
  color: var(--white);
}

.press-photos-credit {
  font-size: 13px;
  color: var(--faint);
  font-style: italic;
}

.press-photos-credit a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.press-photos-credit a:hover {
  color: var(--white);
}

.press-story-text {
  line-height: 1.75;
}

.press-story-text p {
  margin-bottom: 20px;
  color: var(--text);
}

.press-copy-block {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 72px 16px 16px;
  margin-bottom: 16px;
}

.press-copy-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 8px;
}

.press-copy-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px;
}

.press-copy-text:last-of-type {
  margin-bottom: 0;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.copy-btn:hover {
  color: var(--white);
  border-color: var(--faint);
}

.copy-btn.copied {
  color: #4caf50;
  border-color: #4caf50;
}

.press-facts {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  max-width: var(--narrow);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.press-facts dt,
.press-facts dd {
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.press-facts > :last-child,
.press-facts > :nth-last-child(2) {
  border-bottom: none;
}

.press-facts dt {
  color: var(--muted);
  font-weight: 500;
  background: var(--surface);
}

.press-facts dd {
  color: var(--text);
}

.press-facts a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.press-facts a:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .press-facts {
    grid-template-columns: 1fr;
  }

  .press-facts dt {
    padding-bottom: 2px;
    border-bottom: none;
    color: var(--faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 14px;
  }

  .press-facts dt:first-child {
    padding-top: 10px;
  }

  .press-facts dd {
    padding-top: 2px;
  }

  .press-facts > :last-child,
  .press-facts > :nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .press-facts > :last-child {
    border-bottom: none;
  }
}
