:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --paper: #ffffff;
  --ink: #1f2328;
  --muted: #60666d;
  --soft: #eef1f3;
  --line: #dfe4e8;
  --blue: #0a84ff;
  --green: #32d74b;
  --orange: #ff9f0a;
  --shadow: 0 24px 80px rgba(24, 30, 36, 0.16);
  --radius: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 35, 40, 0.08);
  background: rgba(247, 248, 246, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max));
  min-height: 64px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

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

.language-link {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.page {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(600px, calc(100vh - 120px));
  padding: 54px 0 34px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 650px;
  padding: 26px 0 42px;
}

.hero h1,
.content h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
}

.lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.38;
}

.hero .lead {
  max-width: 620px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.trust-line li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-line li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.hero-media {
  position: absolute;
  right: max(40px, calc((100vw - var(--max)) / 2 + 30px));
  top: 36px;
  z-index: 1;
  width: min(410px, 34vw);
  opacity: 0.96;
  pointer-events: none;
}

.hero-media img {
  border-radius: 0;
  box-shadow: none;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: #ffffff;
}

#loop {
  padding-top: 12px;
}

.section-inner,
.content {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.feature {
  border-top: 3px solid var(--line);
  padding-top: 18px;
}

.feature.capture {
  border-color: var(--orange);
}

.feature.decide {
  border-color: var(--blue);
}

.feature.focus {
  border-color: var(--green);
}

.feature.review {
  border-color: #8e8e93;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.screenshot-carousel {
  display: flex;
  align-items: center;
  margin: 42px calc((100% - 100vw) / 2) 0;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px max(20px, calc((100vw - var(--max)) / 2)) 30px;
  background: #ffffff;
  scroll-padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(31, 35, 40, 0.25) transparent;
}

.screenshot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

.screenshot-card img {
  width: auto;
  max-width: none;
  height: clamp(460px, 54vw, 660px);
}

.privacy-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.privacy-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.privacy-list strong {
  display: block;
  margin-bottom: 4px;
}

.privacy-list span {
  color: var(--muted);
}

.content {
  max-width: 840px;
  padding: 72px 0 92px;
}

.content h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.content h2 {
  margin: 48px 0 12px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

.content h3 {
  margin: 30px 0 8px;
  font-size: 20px;
}

.content p,
.content li {
  color: var(--muted);
}

.content p {
  margin: 14px 0;
}

.content ul,
.content ol {
  padding-left: 22px;
}

.content li + li {
  margin-top: 8px;
}

.content .intro {
  color: var(--muted);
  font-size: 20px;
}

.notice {
  margin-top: 28px;
  border-left: 3px solid var(--blue);
  padding: 2px 0 2px 16px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding: 62px 0 56px;
  }

  .hero-copy {
    max-width: none;
    padding: 0 0 28px;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .feature-grid,
  .privacy-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .language-link {
    padding-left: 10px;
  }

  .nav-links .optional {
    display: none;
  }

  .hero-inner,
  .section-inner,
  .content,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding: 42px 0 24px;
  }

  .hero-copy {
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .content h1 {
    overflow-wrap: normal;
    font-size: 30px;
    line-height: 1.08;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    overflow: visible;
    max-height: none;
  }

  .hero-media img {
    width: min(330px, 88vw);
    max-width: none;
    margin: 0 auto;
    transform: none;
  }

  .section {
    padding: 62px 0;
  }

  .screenshot-carousel {
    gap: 0;
    margin-top: 32px;
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }

  .screenshot-card {
    border-radius: 0;
  }

  .screenshot-card img {
    height: 340px;
  }

  .feature-grid {
    gap: 28px;
  }

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