/* =========================================================
   Hero
========================================================= */
.hero {
  min-height: 760px;
  padding-top: 118px;
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { text-align: left; }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #5d5d63;
  font-size: 13px;
  font-weight: 650;
}

.product-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  /* background: #2997FF; */
  box-shadow: 0 0 0 5px rgba(52, 199, 89, .10);
}

.hero h1,
.privacy h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}

.hero h1 {
  font-size: clamp(48px, 5.2vw, 74px);
  max-width: 560px;
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 520px;
  color: #5f5f64;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -.012em;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.button-primary { background: #111; color: #fff; }

.hero-facts {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: #7d7d82;
  font-size: 12px;
}

.hero-facts span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-facts i {
  font-style: normal;
  color: #2f8f4e;
}

/* =========================================================
   Product demo
========================================================= */
.hero-media { position: relative; min-width: 0; }

.demo-frame {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .11);
}

.demo-topbar {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #ececef;
  background: rgba(255, 255, 255, .95);
  color: #6d6d73;
  font-size: 11px;
}

.demo-dots { display: flex; gap: 7px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d2d2d4; }
.demo-dots i:nth-child(1) { background: #ff5f57; }
.demo-dots i:nth-child(2) { background: #febc2e; }
.demo-dots i:nth-child(3) { background: #28c840; }
.demo-duration { justify-self: end; color: #a0a0a5; }

.demo-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #eceef2, #dfe3e8);
}

.preview-app {
  position: absolute;
  inset: 22px;
  display: grid;
  grid-template-columns: 54px 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .10);
}

.preview-sidebar {
  background: #f4f4f6;
  border-right: 1px solid #ececef;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 14px;
}

.preview-logo {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.preview-sidebar i { width: 22px; height: 22px; border-radius: 7px; background: #ddd; }
.preview-sidebar i.active { background: #c7c7cb; }
.preview-main { min-width: 0; }

.preview-toolbar {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.preview-search { font-size: 11px; font-weight: 600; }
.preview-status { font-size: 9px; color: #9a9a9f; }

.preview-query {
  margin: 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid #ececef;
  border-radius: 12px;
}

.query-thumb {
  width: 60px;
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(160deg, #c5dcea 0 52%, #9db0ba 52% 100%);
}

.preview-query b,
.preview-query small { display: block; }
.preview-query b { font-size: 10px; }
.preview-query small { font-size: 8px; color: #aaa; margin-top: 3px; }

.preview-grid {
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.preview-grid i {
  aspect-ratio: 1.25;
  border-radius: 8px;
  background: linear-gradient(145deg, #dae4ea, #8fa3ae);
}

.preview-grid i:nth-child(2n) { background: linear-gradient(145deg, #e8ddd4, #91a4ae); }

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  background: rgba(17, 17, 20, .88);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.play-button svg { width: 28px; fill: #fff; }

.demo-caption {
  position: absolute;
  left: 16px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  color: #5e5e63;
  font-size: 10px;
}

.demo-caption-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; }
.media-note { margin: 14px 0 0; text-align: center; color: #8d8d92; font-size: 12px; }
.section-kicker { margin: 0 0 18px; color: #6e6e73; font-size: 14px; font-weight: 650; letter-spacing: .02em; }

/* =========================================================
   Download dropdown
========================================================= */
.download-picker { position: relative; display: inline-flex; }
.download-trigger { border: 0; cursor: pointer; gap: 9px; font-family: inherit; }
.download-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.download-picker.open .download-trigger svg { transform: rotate(180deg); }
.download-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 30;
  width: 292px;
  padding: 7px;
  border: 1px solid rgba(17, 17, 20, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px) scale(.985);
  transform-origin: top left;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.download-picker.open .download-menu { opacity: 1; visibility: visible; transform: none; }
.download-menu-option {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border-radius: 13px;
  color: #111114;
  text-decoration: none;
  transition: background .15s ease;
}
.download-menu-option:hover { background: #f5f5f7; }
.download-menu-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #111114;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 600;
}
.download-menu-copy b,
.download-menu-copy small { display: block; }
.download-menu-copy b { font-size: 13px; font-weight: 650; }
.download-menu-copy small { margin-top: 3px; color: #8b8b90; font-size: 10px; }
.download-menu-arrow { color: #aaa; font-size: 15px; }
.download-menu-divider { height: 1px; margin: 3px 9px; background: rgba(17, 17, 20, .07); }

/* =========================================================
   Feature cards
========================================================= */
.feature-stack { display: flex; flex-direction: column; gap: 26px; }

.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
  min-height: 560px;
  background: #fff;
  border-radius: 34px;
  padding: 58px;
  overflow: hidden;
}

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-copy h3 { font-size: clamp(36px, 4vw, 58px); line-height: 1.04; letter-spacing: -.045em; margin: 0; }
.feature-library-description { max-width: 30em; margin: 22px 0 0; color: #6e6e73; font-size: 18px; line-height: 1.6; letter-spacing: -.01em; }
.feature-visual { min-height: 380px; position: relative; border-radius: 26px; background: #f5f5f7; overflow: hidden; }

.feature-label {
  position: absolute;
  top: 28px;
  left: 30px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(17, 17, 20, .08);
  border-radius: 999px;
  background: rgba(245, 245, 247, .92);
  color: #55555a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.feature-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #111114; }
.feature-row.reverse .feature-label { left: auto; right: 30px; }

.visual-similar { display: block; min-height: 0; aspect-ratio: 1200 / 810; padding: 0; }
.similar-motion { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.visual-people { display: block; min-height: 0; aspect-ratio: 1200 / 810; padding: 0; }
.people-motion { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.portrait { border-radius: 20px; background: radial-gradient(circle at 50% 42%, #f0c8ab 0 16%, transparent 17%), linear-gradient(150deg, #9fa5ac, #d9dadd); position: relative; }
.portrait-main { min-height: 280px; }
.face-ring { position: absolute; width: 46%; aspect-ratio: 1; border: 1.5px solid rgba(255,255,255,.9); border-radius: 50%; left: 27%; top: 23%; }
.people-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.local-pill,
.found-badge { position: absolute; left: 20px; bottom: 20px; background: #fff; border: 1px solid #e8e8ea; border-radius: 999px; padding: 9px 12px; font-size: 11px; }

.visual-crop { display: block; min-height: 0; aspect-ratio: 1200 / 810; padding: 0; }
.crop-motion { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.crop-source,
.crop-result { width: 42%; aspect-ratio: 1.15; border-radius: 18px; background: linear-gradient(145deg, #ead8c5, #7a8e9a); position: relative; }
.crop-focus { position: absolute; width: 34%; height: 38%; left: 38%; top: 31%; border: 2px solid #fff; box-shadow: 0 0 0 999px rgba(0, 0, 0, .18); }
.crop-arrow { font-size: 32px; color: #aaa; }
.crop-result .found-badge { left: 14px; bottom: 14px; }

.visual-library { display: block; min-height: 0; aspect-ratio: 1200 / 810; padding: 0; }
.library-motion { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }

/* =========================================================
   Local-first section
========================================================= */
.privacy {
  margin-top: 120px;
  padding: 110px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #0e0e10;
  color: #fff;
  border-radius: 38px;
  overflow: hidden;
}

.privacy-orbit { position: relative; height: 380px; }
.privacy-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1b1b1e;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 70px rgba(255,255,255,.07);
}
.privacy-core svg { width: 45px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.o1 { width: 190px; height: 190px; }
.o2 { width: 280px; height: 280px; }
.o3 { width: 370px; height: 370px; }
.privacy h2 { font-size: clamp(44px, 5vw, 72px); }
.privacy-copy > p:not(.section-kicker) { font-size: 17px; line-height: 1.7; color: #a6a6aa; max-width: 500px; }
.privacy-points { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.privacy-points span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #d6d6da; font-size: 12px; }

/* =========================================================
   Metrics
========================================================= */
.quiet-metrics { display: grid; grid-template-columns: repeat(3, 1fr); padding: 100px 0; }
.quiet-metrics div { text-align: center; border-right: 1px solid var(--line); }
.quiet-metrics div:last-child { border: 0; }
.quiet-metrics strong { display: block; font-size: 44px; letter-spacing: -.04em; }
.quiet-metrics span { display: block; color: #8a8a8f; margin-top: 8px; font-size: 13px; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 110px; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero h1,
  .hero-lead { max-width: 760px; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-facts { justify-content: center; }
  .hero-media { max-width: 820px; width: 100%; margin: auto; }

  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; padding: 36px; gap: 24px; }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual { order: initial; }
  .feature-row.reverse .feature-label { left: 36px; right: auto; }
  .feature-label { top: 26px; left: 36px; }

  .privacy { grid-template-columns: 1fr; padding: 60px 35px; }
  .privacy-orbit { height: 300px; }

  .download-picker { display: inline-flex; }
  .download-menu { left: 50%; transform: translate(-50%, -5px) scale(.985); transform-origin: top center; }
  .download-picker.open .download-menu { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .hero { padding-top: 94px; padding-bottom: 54px; gap: 32px; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; line-height: 1.58; }
  .product-badge { margin-bottom: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts { gap: 10px; justify-content: flex-start; text-align: left; }

  .demo-frame { border-radius: 20px; }
  .demo-topbar { grid-template-columns: 1fr auto; }
  .demo-topbar > span:nth-child(2) { display: none; }
  .preview-app { inset: 12px; grid-template-columns: 42px 1fr; }
  .preview-sidebar { gap: 9px; }
  .preview-logo { width: 24px; height: 24px; }
  .preview-sidebar i { width: 18px; height: 18px; }
  .preview-toolbar { height: 40px; padding: 0 10px; }
  .preview-query { margin: 10px; padding: 7px; }
  .query-thumb { width: 48px; height: 34px; }
  .preview-grid { padding: 0 10px 10px; gap: 5px; }
  .play-button { width: 50px; height: 50px; }
  .demo-caption { display: none; }

  .feature-row { padding: 26px; border-radius: 26px; }
  .feature-copy { padding-top: 28px; }
  .feature-copy h3 { font-size: 36px; }
  .feature-visual { min-height: 300px; }
  .feature-label,
  .feature-row.reverse .feature-label { top: 20px; left: 26px; right: auto; padding: 6px 9px; font-size: 11px; }
  .visual-similar { min-height: 0; aspect-ratio: 1200 / 810; }
  .visual-people { min-height: 0; aspect-ratio: 1200 / 810; }
  .visual-crop { min-height: 0; aspect-ratio: 1200 / 810; }
  .visual-library { min-height: 0; aspect-ratio: 1200 / 810; }

  .privacy { margin-top: 70px; border-radius: 26px; padding: 45px 24px; }
  .privacy-orbit { height: 250px; }
  .o3 { width: 240px; height: 240px; }
  .o2 { width: 190px; height: 190px; }
  .o1 { width: 145px; height: 145px; }
  .privacy-core { width: 86px; height: 86px; }

  .quiet-metrics { grid-template-columns: 1fr; padding: 70px 0; gap: 35px; }
  .quiet-metrics div { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 35px; }
  .quiet-metrics div:last-child { border-bottom: 0; }
}

@media (max-width: 420px) {
  .download-menu { width: min(292px, calc(100vw - 36px)); }
}

.download-picker{flex-direction:column;align-items:flex-start}.download-status{margin:0 0 8px;color:#77777c;font-size:12px;line-height:1.4}.download-trigger:disabled{background:#d2d2d7!important;color:#6e6e73!important;cursor:not-allowed;box-shadow:none}
