:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --ink: #17211b;
  --muted: #59655d;
  --line: #d9ded7;
  --green: #1f8f4f;
  --green-dark: #11613c;
  --panel: #ffffff;
  --accent: #ff7a45;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.text-link {
  color: var(--green-dark);
  font-weight: 700;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-select span {
  font-size: 0.82rem;
  color: var(--muted);
}

.language-select select {
  min-height: 36px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
  padding: 34px 0 70px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.2rem;
}

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

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

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

.button.secondary {
  background: transparent;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-shot {
  width: min(100%, 330px);
  border-radius: 34px;
  box-shadow: 0 26px 70px rgb(23 33 27 / 20%);
}

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

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.feature {
  min-height: 190px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature p,
.privacy p,
.site-footer {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgb(23 33 27 / 14%);
}

.gallery figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 4px 0;
}

.gallery figcaption strong {
  font-size: 1rem;
}

.gallery figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}

.site-footer {
  padding: 34px 0 46px;
  font-size: 0.92rem;
}

.policy-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.policy-section {
  width: 100%;
  margin: 0;
}

.policy-section h1 {
  margin-bottom: 34px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.policy-section h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.policy-section p {
  color: var(--muted);
}

.policy-section .updated {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .section,
  .site-footer,
  .policy-page {
    width: min(100% - 28px, 640px);
  }

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

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    gap: 34px;
    padding-top: 18px;
  }

  .phone-stage {
    justify-content: flex-start;
  }

  .phone-shot {
    width: min(100%, 290px);
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    width: min(100%, 360px);
  }
}
