:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --bg-soft: #e9f0eb;
  --surface: rgba(255, 253, 248, 0.9);
  --surface-strong: #fffdf8;
  --ink: #28322d;
  --muted: #64716b;
  --line: rgba(48, 57, 50, 0.12);
  --accent: #6f8c74;
  --accent-strong: #3f604d;
  --clay: #b98b74;
  --blue: #7f98a4;
  --shadow: 0 24px 80px rgba(44, 52, 45, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg) 0%, #f9f8f3 48%, var(--bg-soft) 100%);
}

a {
  color: inherit;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(47, 61, 51, 0.16);
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

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

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 42px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--surface-strong);
  background: var(--accent-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(780px, calc(100svh - 86px));
  display: flex;
  align-items: center;
  padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - 1120px) / 2)) clamp(54px, 8vw, 92px);
  isolation: isolate;
}

.hero-background,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(248, 244, 235, 0.98) 0%, rgba(248, 244, 235, 0.86) 34%, rgba(248, 244, 235, 0.22) 70%),
    linear-gradient(0deg, rgba(40, 50, 45, 0.08), rgba(40, 50, 45, 0.02));
  z-index: -1;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 7.1rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

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

.button.primary {
  color: white;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

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

.feature-band,
.screenshots-section,
.download-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.feature-band {
  padding: 70px 0 36px;
}

.section-heading {
  max-width: 100%;
}

.section-heading h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 48px rgba(44, 52, 45, 0.08);
}

.feature-mark {
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 30px 0 12px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.feature-card p,
.download-copy p,
.qr-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.screenshots-section {
  padding: 48px 0 78px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  align-items: start;
}

.screenshot-grid picture,
.screenshot-grid img {
  display: block;
  width: 100%;
}

.screenshot-grid img {
  aspect-ratio: 900 / 1955;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(44, 52, 45, 0.16);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 44px;
  margin-bottom: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(236, 242, 236, 0.88)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.download-copy p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.qr-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  text-align: center;
}

.qr-panel img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.qr-panel p {
  margin-top: 12px;
  font-size: 0.94rem;
}

.document-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 78px;
}

.document-hero {
  padding: 42px 0 32px;
}

.document-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

.document {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin: 0 0 12px;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  letter-spacing: 0;
}

.document p,
.document li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.document p {
  margin: 0;
}

.document p + p {
  margin-top: 12px;
}

.document ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.contact-card a {
  color: var(--accent-strong);
  font-weight: 700;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    order: 3;
  }

  .hero {
    min-height: 680px;
    padding: 58px 24px 64px;
    align-items: flex-start;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(248, 244, 235, 0.98) 0%, rgba(248, 244, 235, 0.9) 48%, rgba(248, 244, 235, 0.18) 100%),
      linear-gradient(0deg, rgba(40, 50, 45, 0.08), rgba(40, 50, 45, 0.02));
  }

  .hero-background {
    object-position: 62% center;
  }

  .actions {
    width: 100%;
  }

  .button {
    flex: 1 1 180px;
  }

  .feature-band {
    padding-top: 48px;
  }

  .section-heading h2,
  .download-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .feature-grid,
  .download-section {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    display: flex;
    gap: 14px;
    width: calc(100% + 32px);
    margin-left: -16px;
    padding: 2px 16px 28px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-grid picture {
    flex: 0 0 78vw;
    scroll-snap-align: center;
  }

  .screenshot-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    min-height: auto;
  }

  .download-section {
    padding: 26px;
  }

  .qr-panel {
    max-width: 300px;
  }

  .document-shell {
    padding-top: 24px;
  }
}
