:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --hairline: rgba(0, 0, 0, 0.10);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --red: #f0443e;
  --max: 1120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(0, 113, 227, .16); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  background: rgba(250, 250, 252, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -.015em;
}
.brand img { border-radius: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: #424245;
}
.nav-links a { transition: color .2s ease, opacity .2s ease; }
.nav-links a:hover { color: #000; }
.nav-download {
  color: #fff !important;
  background: var(--blue);
  padding: 6px 13px;
  border-radius: 999px;
}
.nav-download:hover { background: var(--blue-hover); }

.hero {
  text-align: center;
  padding: 102px 0 112px;
}
.hero-copy { max-width: 880px; margin: 0 auto; }
.app-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 19px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}
.product-label,
.section-eyebrow {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.01em;
  color: #6e6e73;
}
.hero h1 {
  margin: 8px 0 0;
  font-size: clamp(64px, 8.2vw, 104px);
  line-height: .94;
  letter-spacing: -.067em;
  font-weight: 700;
}
.hero h1 span { color: #86868b; }
.hero-lede {
  max-width: 700px;
  margin: 30px auto 0;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.36;
  letter-spacing: -.025em;
  color: #6e6e73;
  font-weight: 450;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.primary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 550;
  transition: background .2s ease, transform .2s ease;
}
.primary-button:hover { background: var(--blue-hover); transform: translateY(-1px); }
.text-link {
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link span { display: inline-block; margin-left: 3px; font-size: 20px; line-height: 0; transform: translateY(1px); }
.compatibility {
  margin: 22px 0 0;
  color: #86868b;
  font-size: 12px;
}

.product-stage {
  width: min(100%, 900px);
  margin: 90px auto 0;
  position: relative;
}
.stage-glow {
  position: absolute;
  z-index: -1;
  inset: -90px 10% -50px;
  background: radial-gradient(ellipse at center, rgba(240, 68, 62, .13), rgba(240, 68, 62, 0) 67%);
  filter: blur(12px);
}
.mac-window {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 45px 100px rgba(0, 0, 0, .14), 0 5px 20px rgba(0, 0, 0, .06);
  text-align: left;
}
.window-titlebar {
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#fbfbfc, #f0f0f2);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.traffic-lights {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
}
.traffic { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.traffic.red { background: #ff5f57; }
.traffic.amber { background: #febc2e; }
.traffic.green { background: #28c840; }
.window-title { font-size: 13px; font-weight: 600; color: #55555a; }
.window-body { padding: 34px; }
.drop-zone {
  min-height: 330px;
  border: 1.5px dashed rgba(0, 0, 0, .18);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #86868b;
  background: #fbfbfd;
  transition: border-color .2s ease, background .2s ease;
}
.drop-zone:hover { border-color: rgba(240, 68, 62, .48); background: #fff; }
.pdf-mark { width: 52px; height: 62px; color: #ef4c45; margin-bottom: 17px; }
.drop-zone strong { font-size: 17px; color: #2c2c2e; font-weight: 600; letter-spacing: -.01em; }
.drop-zone span { margin-top: 5px; font-size: 13px; }
.app-controls {
  display: flex;
  align-items: center;
  margin-top: 22px;
}
.segmented-control {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2px;
  border-radius: 8px;
  background: rgba(118, 118, 128, .12);
}
.seg-item {
  appearance: none;
  border: 0;
  min-width: 56px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: transparent;
  color: #4c4c50;
  font-size: 12px;
  cursor: pointer;
}
.seg-item.active {
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 .5px rgba(0,0,0,.06);
}
.dpi-label { margin-left: 9px; color: #86868b; font-size: 12px; }
.ready-state { margin-left: auto; color: #5e5e63; font-size: 12px; display: inline-flex; align-items: center; gap: 7px; }
.ready-state > span { width: 7px; height: 7px; border-radius: 50%; background: #30d158; }
.output-strip {
  width: calc(100% - 96px);
  margin: -9px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, .76);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.output-meta { display: flex; align-items: center; gap: 11px; min-width: 0; }
.output-folder {
  width: 38px;
  height: 29px;
  border-radius: 5px;
  background: linear-gradient(180deg, #63b7ff 0%, #1888ee 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.output-folder::before { content: ""; position: absolute; left: 3px; top: -5px; width: 17px; height: 8px; border-radius: 4px 4px 0 0; background: #57abf7; }
.output-meta strong { display: block; font-size: 13px; font-weight: 600; }
.output-meta small { display: block; margin-top: 2px; color: #86868b; font-size: 11px; }
.output-files { display: flex; gap: 8px; }
.output-files span {
  padding: 6px 9px;
  border-radius: 7px;
  background: #f5f5f7;
  color: #5d5d61;
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.privacy-section {
  background: #000;
  color: #f5f5f7;
}
.privacy-inner { padding: 150px 0 142px; }
.section-eyebrow.light { color: #a1a1a6; }
.privacy-section h2,
.section-heading h2,
.details-heading h2,
.download h2 {
  margin: 12px 0 0;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 700;
}
.privacy-copy {
  max-width: 720px;
  margin: 34px 0 0;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.38;
  letter-spacing: -.025em;
  color: #a1a1a6;
}
.privacy-facts {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.privacy-facts > div { padding: 34px 24px 0 0; }
.privacy-facts strong {
  display: block;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 650;
}
.privacy-facts span { display: block; margin-top: 9px; color: #a1a1a6; font-size: 14px; }

.flow { padding: 142px 0 156px; }
.section-heading { max-width: 820px; }
.flow-steps {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
}
.flow-step { padding: 30px 44px 0 0; }
.flow-step + .flow-step { border-left: 1px solid var(--hairline); padding-left: 34px; }
.step-number { color: #86868b; font-size: 12px; font-weight: 600; }
.flow-step h3 { margin: 32px 0 8px; font-size: 28px; letter-spacing: -.035em; }
.flow-step p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; letter-spacing: -.01em; }

.details-section { background: #fff; }
.details-grid {
  padding: 146px 0;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start;
}
.details-heading { position: sticky; top: 106px; }
.details-heading h2 { font-size: clamp(44px, 5vw, 66px); }
.details-heading > p:last-child {
  max-width: 390px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.details-list { border-top: 1px solid var(--hairline); }
.detail-row {
  padding: 31px 0 34px;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.detail-row h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.detail-row p { max-width: 530px; margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.detail-row > span { padding-top: 3px; color: #86868b; font-size: 12px; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.download { padding: 120px 0; }
.download-card {
  min-height: 500px;
  border-radius: 32px;
  background: #e9e9eb;
  padding: 72px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 74px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.download-card::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  filter: blur(2px);
  pointer-events: none;
}
.download h2 { font-size: clamp(42px, 4.8vw, 62px); }
.download-copy > p:not(.section-eyebrow) { margin: 23px 0 20px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.command-wrap {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: #1d1d1f;
  padding: 20px;
  color: #f5f5f7;
  box-shadow: 0 30px 70px rgba(0,0,0,.18);
}
.command-label { color: #86868b; font-size: 11px; font-weight: 600; padding: 0 3px 12px; }
.install-command,
.secondary-command {
  width: 100%;
  border: 0;
  background: #2c2c2e;
  color: #fff;
  border-radius: 11px;
  min-height: 54px;
  padding: 10px 11px 10px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}
.install-command:hover,
.secondary-command:hover { background: #363638; }
.install-command code,
.secondary-command code { min-width: 0; flex: 1; word-break: break-all; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-label {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.10);
  color: #d2d2d7;
  font-size: 10px;
  font-weight: 650;
}
.gatekeeper-tip { margin: 18px 3px 9px; color: #86868b; font-size: 11px; line-height: 1.4; }
.secondary-command { min-height: 48px; background: #272729; }
.secondary-command code { color: #d2d2d7; font-size: 10.5px; }

.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--hairline);
  color: #6e6e73;
  font-size: 12px;
}
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-content p { margin: 0; }
.footer-content a:hover { color: #1d1d1f; }
.footer-links { display: flex; gap: 24px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .hero { padding-top: 82px; }
  .output-strip { width: calc(100% - 42px); }
  .output-files span:nth-child(3) { display: none; }
  .details-grid { grid-template-columns: 1fr; gap: 60px; }
  .details-heading { position: static; }
  .download-card { grid-template-columns: 1fr; gap: 48px; padding: 54px; }
}

@media (max-width: 680px) {
  .section-shell,
  .nav-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 48px; }
  .nav-links a:not(.nav-download) { display: none; }
  .nav-links { gap: 0; }
  .hero { padding: 68px 0 86px; }
  .app-icon { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-lede { font-size: 20px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .product-stage { margin-top: 68px; }
  .window-titlebar { height: 42px; }
  .window-body { padding: 16px; }
  .drop-zone { min-height: 245px; }
  .output-strip { width: calc(100% - 24px); padding: 15px; }
  .output-files { display: none; }
  .privacy-inner { padding: 104px 0 100px; }
  .privacy-facts { margin-top: 58px; grid-template-columns: 1fr; }
  .privacy-facts > div { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .flow { padding: 100px 0 106px; }
  .flow-steps { margin-top: 58px; grid-template-columns: 1fr; }
  .flow-step { padding: 27px 0 34px; border-bottom: 1px solid var(--hairline); }
  .flow-step + .flow-step { border-left: 0; padding-left: 0; }
  .flow-step h3 { margin-top: 18px; }
  .details-grid { padding: 100px 0; }
  .detail-row { grid-template-columns: 1fr; gap: 15px; }
  .detail-row > span { padding-top: 0; }
  .download { padding: 74px 0; }
  .download-card { padding: 36px 24px; border-radius: 24px; }
  .command-wrap { padding: 14px; border-radius: 15px; }
  .footer-content { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 18px; flex-wrap: wrap; }
}
