:root {
  color-scheme: light;
  --ink: #1f2523;
  --muted: #66706c;
  --line: #dfe4df;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --accent: #c94f37;
  --accent-dark: #8e3325;
  --green: #315f52;
  --gold: #c59642;
  --shadow: 0 24px 70px rgba(31, 37, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 235, 218, 0.82), rgba(251, 250, 246, 0.96) 42%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(31, 37, 35, 0.08);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(31, 37, 35, 0.14);
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--accent));
  box-shadow: 0 10px 26px rgba(49, 95, 82, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(31, 37, 35, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher button {
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.language-switcher button.active {
  color: white;
  background: var(--ink);
}

.hero,
.section,
.page-hero,
.page-content {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 56px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: #4c5551;
  font-size: 19px;
  line-height: 1.68;
}

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

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

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.hero-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.phone-shot {
  width: 100%;
  border: 8px solid #151918;
  border-radius: 32px;
  background: #151918;
  box-shadow: var(--shadow);
}

.phone-shot:nth-child(2) {
  transform: translateY(34px);
}

.showcase-phone {
  max-width: 320px;
  justify-self: center;
}

.section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-header h2,
.page-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.section-header p,
.page-hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.feature-card,
.info-card {
  border: 1px solid rgba(31, 37, 35, 0.1);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(31, 37, 35, 0.06);
}

.feature-card h3,
.info-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-card p,
.info-card p,
.step p {
  color: var(--muted);
  line-height: 1.66;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.wide-shot {
  width: 100%;
  border: 1px solid rgba(31, 37, 35, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.screenshot-gallery .phone-shot {
  border-width: 7px;
}

.screenshot-gallery .phone-shot:nth-child(2) {
  transform: translateY(28px);
}

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

.template-list li,
.privacy-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

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

.step {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
}

.page-hero {
  padding-top: 70px;
  padding-bottom: 30px;
}

.page-content {
  display: grid;
  gap: 18px;
  padding-bottom: 80px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.site-footer {
  border-top: 1px solid rgba(31, 37, 35, 0.09);
  padding: 26px 22px 34px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero,
  .showcase,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-media {
    max-width: 520px;
  }

  .feature-grid,
  .screenshot-gallery,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .feature-grid,
  .screenshot-gallery,
  .steps,
  .hero-media {
    grid-template-columns: 1fr;
  }

  .phone-shot:nth-child(2),
  .screenshot-gallery .phone-shot:nth-child(2) {
    transform: none;
  }

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

  h1 {
    font-size: 42px;
  }
}
