:root {
  color-scheme: light;
  --ink: #17212a;
  --muted: #61717d;
  --line: #d9e2e4;
  --paper: #f7faf8;
  --teal: #2e8f93;
  --teal-dark: #14666a;
  --coral: #ee6d57;
  --blue: #5078c8;
  --gold: #d89b36;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.nav {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 248, 0.78);
  border-bottom: 1px solid rgba(23, 33, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav nav {
  gap: clamp(12px, 2.8vw, 28px);
  font-size: 14px;
  color: var(--muted);
}

.nav nav a {
  text-decoration: none;
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(22px, 7vw, 96px) 82px;
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.98) 0%, rgba(247, 250, 248, 0.90) 42%, rgba(247, 250, 248, 0.40) 100%),
    url("/assets/peeku-icon.png") right clamp(18px, 10vw, 160px) center / min(44vw, 520px) auto no-repeat,
    radial-gradient(circle at 80% 40%, #cceeee 0%, #edf6f2 44%, #f7faf8 70%);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  width: min(100%, 720px);
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(72px, 12vw, 168px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lede {
  max-width: 610px;
  color: #32434e;
  font-size: clamp(21px, 2.7vw, 31px);
  line-height: 1.2;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
}

.button.large {
  min-width: 180px;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.release-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.status-strip,
.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.status-strip > div,
.feature {
  min-height: 132px;
  padding: 24px;
  background: white;
}

.status-strip strong,
.status-strip span,
.panel-top span,
.privacy-badge span {
  display: block;
}

.status-strip strong {
  margin-bottom: 8px;
}

.status-strip span,
.feature p,
.split p,
.download p,
.panel-top span {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(72px, 12vw, 140px) clamp(22px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
}

.signal-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(31, 65, 68, 0.12);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.panel-top img {
  width: 68px;
  height: 68px;
}

.panel-top strong {
  display: block;
  font-size: 24px;
}

.meter {
  height: 12px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ecec;
}

.meter span {
  display: block;
  width: 86%;
  height: 100%;
  background: var(--teal);
}

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

.mini-grid span {
  border-radius: 8px;
  padding: 12px;
  font-weight: 800;
}

.mini-grid .ok {
  background: #e0f2ec;
  color: #16635d;
}

.mini-grid .warn {
  background: #fff1d7;
  color: #81540d;
}

.feature-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
  min-height: 250px;
}

.dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-bottom: 24px;
  border-radius: 50%;
}

.teal {
  background: var(--teal);
}

.coral {
  background: var(--coral);
}

.blue {
  background: var(--blue);
}

.privacy-badge {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: white;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 102, 106, 0.16), rgba(20, 102, 106, 0.96)),
    url("/assets/peeku-icon.png") center 36px / 190px auto no-repeat,
    #14666a;
}

.privacy-badge span {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.privacy-badge strong {
  max-width: 360px;
  font-size: 36px;
  line-height: 1;
}

.download {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(56px, 9vw, 100px) clamp(22px, 7vw, 96px);
  background: #e9f4f1;
  border-bottom: 1px solid var(--line);
}

.download > div {
  max-width: 760px;
}

.checksum {
  margin-bottom: 0;
  font-size: 14px;
}

.trust-section,
.faq-section {
  padding: clamp(64px, 10vw, 116px) clamp(22px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 32px;
}

.trust-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-grid article,
.article-grid article {
  min-height: 210px;
  padding: 26px;
  background: white;
}

.trust-grid h3,
.article-grid h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.compat-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.compat-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: white;
}

.compat-list span {
  color: var(--muted);
  text-align: right;
}

.faq-section {
  background: white;
}

.faq-section h2 {
  max-width: 900px;
}

details {
  max-width: 900px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

details p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.subpage {
  padding-top: 72px;
}

.article-hero {
  padding: clamp(72px, 12vw, 140px) clamp(22px, 7vw, 96px) clamp(40px, 8vw, 88px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.99) 0%, rgba(247, 250, 248, 0.94) 58%, rgba(247, 250, 248, 0.72) 100%),
    url("/assets/peeku-icon.png") right clamp(10px, 7vw, 110px) center / min(22vw, 250px) auto no-repeat;
}

.article-hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.94;
}

.article-hero .lede {
  max-width: 650px;
}

.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(32px, 7vw, 84px) clamp(22px, 7vw, 96px);
}

.article-grid .wide {
  grid-column: 1 / -1;
  min-height: 170px;
}

.article-grid p {
  color: var(--muted);
  line-height: 1.6;
}

code {
  overflow-wrap: anywhere;
  color: #174f53;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(22px, 7vw, 96px);
  color: var(--muted);
  font-size: 14px;
}

footer span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 860px) {
  .nav nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    display: block;
    padding: 108px 35px 82px;
    background:
      linear-gradient(180deg, rgba(247, 250, 248, 0.98) 0%, rgba(247, 250, 248, 0.78) 100%),
      url("/assets/peeku-icon.png") right -60px top 92px / 270px auto no-repeat,
      #f7faf8;
  }

  .hero-copy {
    width: calc(100vw - 70px);
    max-width: calc(100vw - 70px);
  }

  .lede {
    width: min(100%, 300px);
    max-width: 300px;
    font-size: 20px;
    line-height: 1.25;
  }

  h1 {
    font-size: clamp(64px, 21vw, 96px);
  }

  .status-strip,
  .feature-band,
  .split,
  .reverse,
  .trust-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-grid .wide {
    grid-column: auto;
  }

  .article-hero {
    background:
      linear-gradient(180deg, rgba(247, 250, 248, 0.99), rgba(247, 250, 248, 0.86)),
      url("/assets/peeku-icon.png") right -54px top 92px / 220px auto no-repeat;
  }

  .download,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: calc(100vw - 70px);
    max-width: calc(100vw - 70px);
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: calc(100vw - 70px);
    max-width: calc(100vw - 70px);
  }
}
