﻿:root {
  --bg: #f2f6fb;
  --surface: #ffffff;
  --text: #10233d;
  --text-soft: #4d6280;
  --brand: #006c67;
  --brand-strong: #004f4b;
  --line: #d5deea;
  --ok: #1b7f3a;
  --danger: #b3261e;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 14px 34px rgba(16, 35, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 5%, #d9f5f2 0%, var(--bg) 42%), linear-gradient(180deg, #f7fbff 0%, #eaf3ff 100%);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 56px;
}

.site-header {
  margin-bottom: 18px;
}

.brand-logo {
  width: min(100%, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(16, 35, 61, 0.16));
}

.brand-subtitle {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.hero-media {
  width: fit-content;
}

.hero-content {
  min-width: 0;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px;
}

.hero-title {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--text-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 62px;
  background: #000;
  border: 1px solid #242424;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.store-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.store-badge[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.section-grid {
  margin-top: 16px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.how-card {
  margin-top: 14px;
}

.section-grid h3,
.step h4,
.card h2,
.card h1 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.instruction-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step img {
  width: 100%;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--line);
}

.payment {
  margin-top: 16px;
}

.payment.hidden,
.hidden {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--text-soft);
}

input {
  border: 1px solid #ced7e6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--text);
}

button.primary {
  margin-top: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #00877f 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
}

.demo-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.status {
  min-height: 20px;
  margin-top: 8px;
  font-size: 14px;
}

.status.error {
  color: var(--danger);
}

.status.ok {
  color: var(--ok);
}

.footer {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #f8fbff;
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.legal-page p,
.legal-page li {
  line-height: 1.6;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: auto;
  }

  .brand-logo {
    width: min(100%, 320px);
  }

  .section-grid,
  .instruction-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
