:root {
  color-scheme: light;
  --bg: #f7faf8;
  --paper: #ffffff;
  --ink: #101615;
  --muted: #5d6965;
  --soft: #edf4f1;
  --line: #d9e5e0;
  --accent: #087f6f;
  --accent-strong: #075f55;
  --accent-soft: #dff3ed;
  --device: #111918;
  --shadow-soft: 0 18px 50px rgba(28, 55, 48, 0.11);
  --shadow-device: 0 26px 70px rgba(18, 36, 32, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 520px),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 127, 111, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 111, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 68%);
}

a {
  color: var(--accent-strong);
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(8, 127, 111, 0.16);
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: min(760px, calc(100vh - 92px));
  margin: 0 auto;
  padding: 32px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  gap: 64px;
  align-items: center;
}

.hero > * {
  min-width: 0;
}

.hero h1,
.page h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  margin: 28px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 780;
  box-shadow: 0 10px 24px rgba(28, 55, 48, 0.08);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.privacy-marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 112px));
  gap: 10px;
  margin: 42px 0 0;
}

.privacy-marks div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.privacy-marks dt {
  margin: 0;
  color: var(--accent-strong);
  font-size: 26px;
  line-height: 1;
  font-weight: 850;
}

.privacy-marks dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.privacy-demo {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(8, 127, 111, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(223, 243, 237, 0.72));
  box-shadow: var(--shadow-soft);
}

.privacy-demo::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(30px);
  transform: translateY(20px);
  z-index: -1;
}

.privacy-demo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(18, 36, 32, 0.18);
}

.privacy-demo figcaption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: min(72%, 420px);
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(18, 36, 32, 0.14);
}

.privacy-demo figcaption strong,
.privacy-demo figcaption span {
  display: block;
}

.privacy-demo figcaption strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.privacy-demo figcaption span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.demo-tags {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 310px;
}

.demo-tags span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(16, 22, 21, 0.62);
  color: #ffffff;
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
}

.mock-stack {
  min-height: 660px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mock-stack::before {
  content: "";
  position: absolute;
  width: min(88%, 560px);
  height: 74%;
  border: 1px solid rgba(8, 127, 111, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(223, 243, 237, 0.62)),
    linear-gradient(90deg, rgba(8, 127, 111, 0.08), transparent);
  box-shadow: var(--shadow-soft);
  z-index: -2;
}

.mock-stack::after {
  content: "On-device · no cloud · no tracking";
  position: absolute;
  right: 9%;
  bottom: 9%;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: -1;
}

.phone-frame {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 10px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, #26312f 0%, #0d1514 45%, #030706 100%);
  box-shadow: var(--shadow-device);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  width: 88px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050707;
  z-index: 2;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 32px;
  background: #ffffff;
}

.hero-phone {
  width: min(48vw, 312px);
}

.primary-phone {
  transform: translateX(-86px) rotate(-2deg);
  z-index: 2;
}

.secondary-phone {
  position: absolute;
  width: min(42vw, 270px);
  transform: translateX(112px) translateY(56px) rotate(4deg);
  opacity: 0.96;
  z-index: 1;
}

.section,
.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

.section h2,
.page h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.app-section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.privacy-section {
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.panel {
  min-height: 190px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(28, 55, 48, 0.06);
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.15;
}

.panel p,
.page p,
.page li {
  color: var(--muted);
  font-size: 17px;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: start;
}

.privacy-note {
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.privacy-note strong,
.privacy-note span {
  display: block;
}

.privacy-note strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.privacy-note span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.screen-card {
  margin: 0;
  padding: 18px 14px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(28, 55, 48, 0.08);
}

.mini-phone {
  width: min(100%, 230px);
  margin: 0 auto;
  padding: 7px;
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(18, 36, 32, 0.2);
}

.mini-phone::before {
  top: 12px;
  width: 58px;
  height: 16px;
}

.mini-phone img {
  border-radius: 25px;
}

.mock-grid figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
  text-align: center;
}

.page {
  max-width: 880px;
  margin-top: 24px;
  margin-bottom: 56px;
  padding: 52px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.page h1 {
  font-size: clamp(40px, 6vw, 68px);
  margin-bottom: 10px;
}

.page h2 {
  margin-top: 34px;
  font-size: 25px;
  line-height: 1.18;
}

.muted {
  color: var(--muted);
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 34px;
  }

  .mock-stack {
    min-height: 570px;
  }

  .hero-phone {
    width: min(56vw, 300px);
  }

  .primary-phone {
    transform: translateX(-72px) rotate(-2deg);
  }

  .secondary-phone {
    width: min(48vw, 260px);
    transform: translateX(94px) translateY(54px) rotate(4deg);
  }

  .section-heading,
  .grid,
  .app-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 14px;
  }

  .hero h1 {
    max-width: 7.5ch;
    font-size: clamp(44px, 14vw, 58px);
  }

  .privacy-marks {
    display: flex;
    flex-wrap: wrap;
    max-width: 310px;
    gap: 8px 12px;
  }

  .privacy-marks div {
    width: 86px;
  }

  .privacy-marks dt {
    font-size: 24px;
  }

  .lead {
    max-width: 31ch;
    font-size: 18px;
  }

  .privacy-demo {
    padding: 9px;
  }

  .privacy-demo figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  .demo-tags {
    display: none;
  }

  .mock-stack {
    min-height: 460px;
    overflow: hidden;
  }

  .mock-stack::after {
    left: 10%;
    right: auto;
    bottom: 6%;
  }

  .hero-phone {
    width: min(66vw, 238px);
  }

  .primary-phone {
    transform: translateX(-34px) rotate(-2deg);
  }

  .secondary-phone {
    width: min(56vw, 202px);
    transform: translateX(66px) translateY(44px) rotate(4deg);
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .screen-card {
    padding: 18px;
  }

  .page {
    padding: 34px 22px;
  }
}
