:root {
  --bg: #f7f8f3;
  --paper: #fffef9;
  --ink: #102016;
  --muted: #65706a;
  --line: rgba(16, 32, 22, 0.14);
  --green: #165c35;
  --green-2: #2d7a4b;
  --sage: #dce7d7;
  --sage-2: #eef4eb;
  --warning: #e98332;
  --danger: #da3b3b;
  --shadow: 0 28px 70px rgba(21, 45, 30, 0.18);
  --radius: 8px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.page { overflow: hidden; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 243, 0.86);
  border-bottom: 1px solid rgba(16, 32, 22, 0.08);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 760;
  letter-spacing: 0;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #2e7a4e, #14552f);
  color: white;
  box-shadow: 0 10px 24px rgba(22, 92, 53, 0.24);
  font-size: 24px;
  font-weight: 820;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
}
.nav-links a:hover { color: var(--ink); }

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: #123d27;
  color: white;
  font-size: 14px;
  font-weight: 720;
  box-shadow: 0 16px 36px rgba(18, 61, 39, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.store-button:hover {
  transform: translateY(-1px);
  background: #0f321f;
  box-shadow: 0 18px 42px rgba(18, 61, 39, 0.28);
}
.store-icon { width: 18px; height: 22px; fill: currentColor; flex: 0 0 auto; }

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: 72px 0 92px;
  display: grid;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background:
    linear-gradient(180deg, rgba(247, 248, 243, 0), var(--bg) 78%),
    radial-gradient(95% 80% at 50% 100%, rgba(45, 122, 75, 0.2), rgba(45, 122, 75, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: 72px;
}
.hero-copy,
.hero-visual {
  min-width: 0;
}
h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(48px, 4.8vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 820;
  overflow-wrap: break-word;
}
.hero-copy p {
  max-width: 510px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}
.trust-line {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.product-media,
.mac-window,
.screen-shot {
  border: 1px solid rgba(16, 32, 22, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-media {
  background: #101010;
}
.product-media img,
.product-media video,
.screen-shot img,
.screen-shot video {
  display: block;
  width: 100%;
  height: auto;
}
.product-media img,
.product-media video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(16, 32, 22, 0.1);
  background: rgba(255, 255, 255, 0.84);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }
.app-screen {
  display: grid;
  grid-template-columns: 164px 1fr;
  min-height: 430px;
  background: linear-gradient(135deg, var(--paper), #edf5ea);
}
.app-screen aside {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.app-screen aside strong { margin-bottom: 14px; color: var(--ink); font-size: 24px; }
.app-screen section { padding: 32px; min-width: 0; }
.scan-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.scan-head small { color: var(--green); font-weight: 800; text-transform: uppercase; }
.scan-head h2 { margin: 4px 0 0; font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.scan-head > strong { color: var(--green); font-size: clamp(26px, 3vw, 42px); }
.storage-bar { display: flex; height: 46px; margin: 32px 0; overflow: hidden; border-radius: var(--radius); background: var(--sage); }
.storage-bar span { display: block; }
.bar-a { width: 52%; background: var(--green); }
.bar-b { width: 28%; background: var(--warning); }
.bar-c { width: 20%; background: #93a393; }
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  margin-top: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 249, 0.76);
  font-weight: 680;
}
.file-row.danger { border-left: 5px solid var(--danger); }
.file-row.warning { border-left: 5px solid var(--warning); }
.explain-box { margin-top: 18px; padding: 16px; border-radius: var(--radius); background: #e7f0e3; color: var(--green); font-weight: 650; }

.section { padding: 96px 0; }
.section.tight { padding-top: 64px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}
h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 780;
}
.section-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  min-height: 276px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 249, 0.72);
}
.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 760;
  font-size: 14px;
}
.step h3, .safety-copy h3, .feature h3 { margin: 18px 0 8px; font-size: 24px; line-height: 1.12; }
.step p, .feature p, .safety-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 16px;
}
.step-art { margin-top: 22px; height: 76px; display: flex; align-items: flex-end; gap: 10px; }
.folder-art {
  width: 88px;
  height: 62px;
  border-radius: 6px;
  background: linear-gradient(180deg, #c7d8c4, #8fad93);
  position: relative;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.64);
}
.folder-art::before {
  content: "";
  position: absolute;
  width: 36px;
  height: 14px;
  left: 10px;
  top: -9px;
  border-radius: 5px 5px 0 0;
  background: #acc5ad;
}
.mini-bars { display: grid; gap: 9px; width: 100%; max-width: 210px; }
.mini-bars span, .result-list span {
  display: block;
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green) var(--w), rgba(16, 32, 22, 0.11) 0);
}
.trash-art {
  width: 66px;
  height: 72px;
  border: 3px solid #93a393;
  border-top-width: 8px;
  border-radius: 8px 8px 14px 14px;
  position: relative;
  background: linear-gradient(180deg, rgba(220, 231, 215, 0.8), rgba(220, 231, 215, 0.3));
}
.trash-art::before {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: -20px;
  height: 8px;
  border-radius: 99px;
  background: #93a393;
}
.safety-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 254, 249, 0.74), rgba(220, 231, 215, 0.48));
}
.safety-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: center; gap: 64px; }
.shield {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #2f8050, #124228);
  box-shadow: 0 24px 54px rgba(18, 66, 40, 0.24);
  color: white;
  margin-bottom: 24px;
}
.shield svg { width: 70px; height: 70px; }
.check-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--ink); font-size: 18px; line-height: 1.45; }
.check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 800;
}
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}
.screen-shot {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(21, 45, 30, 0.08);
}
.screen-shot img,
.screen-shot video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.screen-shot.large {
  min-height: 0;
  place-items: stretch;
}
.mini-window { width: min(86%, 560px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.scan-card { padding: 34px; }
.scan-card small { color: var(--green); font-weight: 800; text-transform: uppercase; }
.scan-card strong { display: block; margin-top: 8px; font-size: 42px; }
.scan-card p { color: var(--muted); }
.pulse { display: block; width: 100%; height: 16px; margin: 26px 0; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--sage), var(--green)); background-size: 220% 100%; animation: scan 2s infinite linear; }
.gallery-stack { display: grid; gap: 28px; grid-template-rows: 1fr 1fr; }
.trash-dialog { width: min(86%, 360px); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 18px 42px rgba(16, 32, 22, 0.1); }
.trash-dialog strong { display: block; font-size: 24px; }
.trash-dialog p { color: var(--muted); }
.trash-dialog span { display: inline-flex; margin: 12px 8px 0 0; padding: 10px 14px; border-radius: var(--radius); background: var(--sage-2); font-weight: 700; }
.trash-dialog span:last-child { background: var(--green); color: white; }
.result-list { display: grid; width: min(82%, 420px); gap: 18px; }
.result-list span { height: 34px; padding-left: 14px; color: white; line-height: 34px; font-weight: 700; background: linear-gradient(90deg, var(--green) var(--w), var(--sage) 0); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.feature { padding-top: 24px; border-top: 1px solid var(--line); }

.final-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #123d27, #0b2718);
  color: white;
  text-align: center;
}
.final-cta h2 { margin: 0 auto; color: white; }
.final-cta p { max-width: 520px; margin: 18px auto 0; color: rgba(255, 255, 255, 0.76); font-size: 18px; line-height: 1.5; }
.final-cta .store-button { margin-top: 30px; border-color: rgba(255, 255, 255, 0.28); background: white; color: #123d27; box-shadow: none; }
.site-footer { background: #0b2718; color: rgba(255, 255, 255, 0.72); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.document {
  width: min(860px, calc(100% - 48px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 86px 0;
}
.document h1 { font-size: clamp(42px, 6vw, 70px); }
.document h2 { margin-top: 42px; font-size: clamp(24px, 3vw, 34px); }
.document p, .document li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.document .store-button { width: fit-content; margin-top: 20px; }

.reveal { opacity: 1; transform: none; transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes scan { to { background-position: -220% 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-button, .reveal, .pulse { transition: none; animation: none; }
}
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr); gap: 44px; }
  h1 { font-size: clamp(44px, 4.6vw, 64px); }
}
@media (max-width: 980px) {
  .shell { width: min(100% - 32px, 720px); }
  .nav-links { display: none; }
  .hero { padding: 50px 0 70px; }
  .hero-grid, .safety-grid, .gallery { grid-template-columns: 1fr; }
  .gallery-stack { grid-template-rows: auto; }
  .app-screen { grid-template-columns: 1fr; }
  .app-screen aside { display: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .section-heading { display: grid; gap: 18px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .nav { min-height: 64px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 34px; height: 34px; font-size: 21px; }
  .nav > .store-button { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .store-button, .text-link { width: 100%; }
  h1 {
    max-width: 12ch;
    font-size: 40px;
    line-height: 1.08;
  }
  .hero-copy p,
  .trust-line {
    max-width: 30ch;
  }
  .product-media,
  .mac-window {
    width: 100%;
  }
  .app-screen section { padding: 22px; }
  .scan-head { display: grid; }
  .scan-head h2 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }
  .file-row { align-items: start; flex-direction: column; justify-content: center; padding: 12px 14px; }
  .check-list li { font-size: 16px; }
  .gallery,
  .gallery-stack {
    gap: 16px;
  }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
