:root {
  color-scheme: light;
  --background: #f7f8f3;
  --card: #ffffff;
  --ink: #202938;
  --muted: #667085;
  --border: #eaecf0;
  --orange: #f47b4d;
  --orange-soft: #fff1eb;
  --blue: #4f6fed;
  --blue-dark: #3b58d8;
  --shadow: 0 18px 48px rgba(32, 41, 56, 0.09), 0 3px 8px rgba(32, 41, 56, 0.04);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
.metrika-pixel { position: absolute; left: -9999px; }
html { min-width: 320px; background: var(--background); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(244, 123, 77, 0.15), transparent 28rem),
    radial-gradient(circle at 90% 32%, rgba(79, 111, 237, 0.08), transparent 24rem),
    var(--background);
}

button, a { font: inherit; }
.topbar {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  padding: 26px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand img { filter: drop-shadow(0 4px 8px rgba(244, 123, 77, 0.24)); }
.language-selector { position: relative; }
.language-trigger {
  min-width: 76px;
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 3px 0 #d0d5dd;
  font-weight: 900;
  cursor: pointer;
}
.language-trigger svg { width: 17px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.language-trigger .chevron { width: 12px; stroke: #98a2b3; transition: transform .18s ease; }
.language-selector.open .chevron { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 160px;
  padding: 7px;
  background: #fff;
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}
.language-selector.open .language-menu { display: grid; }
.language-menu button {
  padding: 10px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}
.language-menu button:hover { color: var(--ink); background: #f5f7ff; }
.language-menu button.active { color: var(--blue); background: #eef2ff; }

.page-shell { width: min(calc(100% - 40px), 980px); margin: 0 auto; padding: 22px 0 72px; }
.hero-card, .instruction-card, .final-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.hero-card { padding: 46px 42px; text-align: center; }
.hero-icon { display: block; margin: 0 auto 18px; filter: drop-shadow(0 12px 20px rgba(244, 123, 77, 0.26)); }
.domain-badge {
  width: fit-content;
  margin: 0 auto 17px;
  padding: 7px 14px;
  display: flex;
  gap: 7px;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.badge-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
h1, h2, .step-label strong { font-family: "Nunito Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1 { max-width: 760px; margin: 0 auto 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.06; letter-spacing: -1.8px; }
.hero-copy { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.65; }
.instruction-card { margin-top: 24px; padding: 30px; }
.step-label { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.step-label span {
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 4px 0 #d8582f;
  font-weight: 900;
}
.step-label strong { font-size: 22px; }
.instruction-card p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.instruction-card p strong { color: var(--orange); }
figure { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
figure img { display: block; width: 100%; height: auto; }
.final-card { margin-top: 24px; padding: 38px 30px; text-align: center; }
.final-card h2 { margin: 0 0 9px; font-size: 28px; }
.final-card p { margin: 0 0 22px; color: var(--muted); }
.primary-button {
  min-width: 250px;
  min-height: 54px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(180deg, #5878f5, var(--blue));
  border: 0;
  border-radius: 15px;
  box-shadow: 0 6px 0 #2f4fcc, 0 12px 24px rgba(79, 111, 237, 0.25);
  font-weight: 900;
  text-decoration: none;
}
.primary-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.primary-button.is-disabled { cursor: default; }
.final-card small { display: block; margin-top: 18px; color: #98a2b3; }

@media (max-width: 640px) {
  .topbar, .page-shell { width: min(calc(100% - 24px), 980px); }
  .brand span { display: none; }
  .hero-card { padding: 34px 20px; }
  .instruction-card { padding: 20px 14px; }
  h1 { letter-spacing: -1px; }
  .hero-copy { font-size: 16px; }
  .step-label strong { font-size: 19px; }
  .final-card { padding: 30px 18px; }
  .primary-button { width: 100%; min-width: 0; }
}
