:root {
  color-scheme: light;
  --bg: #f7f3ec;
  --paper: #fbf8f2;
  --text: #0d0d0d;
  --muted: #6c665f;
  --line: rgba(13, 13, 13, 0.08);
  --accent: #111111;
  --accent-soft: #e9c7a3;
  --shadow: 0 26px 80px rgba(13, 13, 13, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.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;
}

.topbar,
.hero {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}

.topbar {
  padding: 24px 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand-link {
  justify-self: start;
}

.topnav {
  display: inline-flex;
  gap: 28px;
  justify-self: center;
  align-items: center;
  font-size: 14px;
  color: #34312d;
}

.topnav a,
.github-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.topnav svg,
.github-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.topbar-download {
  justify-self: end;
  padding: 12px 20px;
  border-radius: 999px;
  background: #161512;
  color: #fff8ef;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 88px);
  padding: 64px 0 24px;
  display: block;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  object-fit: cover;
}

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 40px;
  font-weight: 700;
}

.hero-mark-frame {
  width: 204px;
  height: 204px;
  overflow: hidden;
  border: 2px solid rgba(13, 13, 13, 0.18);
  border-radius: 52px;
  background: transparent;
}

.hero-mark-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  max-width: 38rem;
  font-weight: 500;
  margin-inline: auto;
}

.lede {
  margin: 14px 0 0;
  max-width: 38rem;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin-inline: auto;
}

.hero-points {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.hero-points p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 12px;
  border-radius: 18px;
  border: 1px solid rgba(13, 13, 13, 0.12);
  transition: transform 180ms ease, background 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: none;
}

.cta strong,
.cta small {
  display: block;
}

.cta strong {
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
}

.cta small {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-primary {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.download-badge-image {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.cta-secondary {
  min-width: 220px;
  justify-content: center;
  background: linear-gradient(135deg, #0a6c73, #20b7b1);
  color: #f7fffe;
  border-color: rgba(18, 121, 126, 0.22);
  box-shadow: 0 12px 24px rgba(32, 183, 177, 0.2);
  border-radius: 18px;
  min-height: 48px;
  padding: 6px 14px;
}

.cta-secondary small {
  color: rgba(247, 255, 254, 0.84);
}

.upgrade-copy {
  width: 100%;
  text-align: left;
}

.upgrade-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.upgrade-kicker {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.05;
  color: rgba(247, 255, 254, 0.98);
  white-space: nowrap;
  font-weight: 700;
}

.upgrade-price {
  flex: 0 0 auto;
  font-size: 42px;
  line-height: .82;
  letter-spacing: -0.08em;
  font-weight: 700;
}

#pro-meta {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.02;
  white-space: nowrap;
}

.micro-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.micro-link {
  font-weight: 700;
  color: var(--text);
}

.micro-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(22, 21, 18, 0.28);
}

.micro-copy {
  margin: 0;
}

.video-section {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 40px 0 8px;
}

.video-section-copy {
  margin: 0 auto 18px;
  max-width: 720px;
  text-align: center;
}

.video-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.video-section h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.video-frame {
  width: min(860px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #000;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.photo-section {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 48px 0 24px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.photo-section-copy {
  margin: 0;
  max-width: 460px;
  text-align: left;
}

.photo-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.photo-section h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.photo-body {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.photo-frame {
  margin: 0;
  padding: 0;
  border-radius: 32px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.photo-frame img {
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.footer {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

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

  .topbar {
    gap: 14px;
    justify-items: start;
  }

  .topnav {
    justify-self: start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .topbar-download {
    justify-self: start;
  }

  .hero-copy {
    max-width: none;
  }

  .video-section {
    width: min(100vw - 40px, 100%);
  }

  .photo-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .photo-frame img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero {
    width: min(100vw - 24px, 100%);
  }

  .topbar {
    padding-top: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .footer {
    width: min(100vw - 24px, 100%);
    padding-bottom: 18px;
  }

  .video-section,
  .photo-section {
    width: min(100vw - 24px, 100%);
  }

  .hero-mark {
    gap: 14px;
    margin-bottom: 22px;
    font-size: 24px;
  }

  .hero-mark-frame {
    width: 140px;
    height: 140px;
    border-radius: 34px;
  }

  .hero-mark-icon {
    border-radius: 32px;
  }

  h1 {
    font-size: 15px;
  }

  .lede {
    font-size: 15px;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta {
    width: 100%;
    justify-content: flex-start;
  }

  .download-badge-image {
    width: 190px;
  }

  .cta-secondary {
    min-width: 190px;
    min-height: 44px;
  }

  .hero-points p {
    font-size: 15px;
  }

  .video-section {
    padding-top: 28px;
  }

  .photo-section {
    width: min(100vw - 24px, 100%);
    padding-top: 28px;
  }

  .photo-section-copy {
    max-width: none;
  }

  .photo-frame {
    border-radius: 24px;
  }

  .photo-frame img {
    width: 100%;
    border-radius: 24px;
  }
}
