:root {
  --bg: #eef4fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #10203a;
  --muted: #58677f;
  --line: rgba(120, 143, 171, 0.24);
  --brand: #0f7b6c;
  --brand-strong: #0b5f54;
  --accent: #dff8f1;
  --shadow: 0 24px 60px rgba(27, 53, 87, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 123, 108, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(15, 102, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #f6fbff 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero-card,
.section-block,
.legal-page {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 123, 108, 0.22), rgba(15, 123, 108, 0));
  pointer-events: none;
}

.hero-topbar,
.hero-grid,
.section-heading,
.site-footer,
.legal-header {
  position: relative;
  z-index: 1;
}

.hero-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow,
.section-label,
.legal-language {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: end;
}

.hero-subtitle {
  max-width: 20ch;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--text);
}

.hero-note,
.hero-hint {
  max-width: 60ch;
  margin-top: 14px;
}

.hero-actions {
  display: grid;
  gap: 14px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-1px);
}

.download-button.windows {
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(16, 32, 58, 0.18);
}

.download-button.mac {
  background: var(--accent);
  color: var(--brand-strong);
  border: 1px solid rgba(15, 123, 108, 0.2);
}

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

.locale-button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  color: var(--muted);
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.locale-button.is-active {
  background: var(--text);
  color: #ffffff;
}

.section-block,
.legal-page {
  margin-top: 22px;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.steps-grid,
.shots-grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

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

.step-card,
.shot-card,
.support-box,
.legal-section {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-card {
  padding: 22px;
}

.step-index {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--brand-strong);
  font-weight: 800;
}

.step-card p {
  margin-top: 10px;
}

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

.shot-card {
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #eef4fb, #ffffff);
}

.shot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 18px;
}

.faq-icon {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
}

.support-box {
  margin-top: 18px;
  padding: 20px 22px;
}

.support-box h3 {
  margin-bottom: 8px;
}

.support-box a {
  color: var(--brand-strong);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 0 4px;
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  color: var(--brand-strong);
}

.legal-shell {
  padding-top: 36px;
}

.legal-page {
  padding: 36px;
}

.legal-sections {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.legal-section {
  padding: 24px;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .steps-grid,
  .gallery-block .shots-grid {
    grid-template-columns: 1fr;
  }

  .hero-topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .shot-card {
    aspect-ratio: 5 / 7;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .hero-card,
  .section-block,
  .legal-page {
    padding: 22px;
    border-radius: 24px;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .locale-button {
    flex: 1;
  }

  .download-button {
    width: 100%;
  }
}
