:root {
  --bg: #ffffff;
  --page: #ffffff;
  --card: #ffffff;
  --sunken: #f4f5f7;
  --text: #1a2433;
  --muted: #6b7384;
  --indigo: #3B4FE0;
  --emerald: #10B981;
  --line: #e4e7ec;
  --radius: 10px;
  --btn-r: 14px;
  --shadow: 0 1px 2px rgba(26, 36, 51, 0.05), 0 2px 4px -2px rgba(26, 36, 51, 0.07);
  --elevated: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(26, 36, 51, 0.05), 0 2px 4px -2px rgba(26, 36, 51, 0.07);
  --max: 72rem;
  --grid: rgba(26, 36, 51, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: #ffffff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 21px;
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color 0.12s ease, background-color 0.12s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(241, 243, 246, 0.8);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cabinet-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  max-width: 9.5rem;
  line-height: 1.2;
  margin-right: 4px;
}

.cabinet-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 500;
}

.cabinet-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.cabinet-note {
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 400;
  text-align: right;
  opacity: 0.85;
}

.hero-cabinet {
  display: none;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
}

.hero-cabinet a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.hero-cabinet a:hover {
  color: var(--text);
}

.lang {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: var(--btn-r);
  background: rgba(255, 255, 255, 0.8);
}

.lang-sep {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0 2px;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 44px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  cursor: pointer;
}

.lang button.is-on {
  background: var(--indigo);
  color: #fff;
}

.header-cta {
  display: none;
}

.hero-block {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 96px 0;
}

.hero-wash,
.hero-grid,
.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-wash {
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(59, 79, 224, 0.18), transparent 62%),
    radial-gradient(90% 80% at 92% 4%, rgba(16, 185, 129, 0.14), transparent 58%);
}

.hero-grid {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(72% 58% at 50% 0%, #000, transparent);
  -webkit-mask-image: radial-gradient(72% 58% at 50% 0%, #000, transparent);
  opacity: 0.6;
}

.hero-glow {
  top: -10rem;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 52rem;
  height: 32rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(59, 79, 224, 0.12);
  filter: blur(120px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--indigo);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--emerald);
  flex-shrink: 0;
}

h1 {
  margin-top: 20px;
  font-size: clamp(2.75rem, 1.85rem + 3.7vw, 4.5rem);
  font-weight: 640;
  letter-spacing: -0.038em;
  line-height: 1.02;
  max-width: 14em;
  color: var(--text);
  text-wrap: balance;
}

.lead {
  margin-top: 24px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: -0.007em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--btn-r);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.006em;
  white-space: nowrap;
  transition: filter 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  border: 0;
  box-shadow: var(--elevated);
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--indigo);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(59, 79, 224, 0.08);
}

.hero-note {
  margin-top: 16px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.visual {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  box-shadow: 0 1px 2px rgba(26, 36, 51, 0.04), 0 8px 16px -4px rgba(26, 36, 51, 0.08);
  overflow: hidden;
}

.visual-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
}

.visual-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.visual-bar img {
  width: 24px;
  height: 24px;
}

.visual-kicker {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visual-badge {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 0.6875rem;
  font-weight: 600;
}

.visual-body {
  padding: 24px;
}

.visual-price {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.visual-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.visual-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.slot {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 8px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 550;
  text-align: center;
}

.slot-on {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.visual-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.visual-list li {
  color: var(--text);
  font-size: 0.875rem;
  padding-left: 28px;
  position: relative;
}

.visual-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: rgba(59, 79, 224, 0.1);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 32px;
  padding: 40px 0 0;
  margin-top: 64px;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.facts p {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 620;
  letter-spacing: -0.024em;
  text-transform: none;
}

.section {
  padding: 96px 0;
}

.band {
  background: color-mix(in srgb, var(--sunken) 30%, #ffffff);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  color: var(--indigo);
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  letter-spacing: -0.032em;
  font-weight: 640;
  line-height: 1.1;
  color: var(--text);
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.grid-4,
.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

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

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

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

.card {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.011em;
  line-height: 1.45;
  color: var(--text);
}

.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.price {
  font-size: 1.75rem;
  font-weight: 640;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-name {
  margin-top: 8px;
  font-weight: 650;
  color: var(--text);
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(59, 79, 224, 0.1);
  color: var(--indigo);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pay {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
}

.pay h2 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.019em;
}

.pay p {
  margin-top: 10px;
}

.email {
  color: var(--text);
  font-weight: 650;
}

.footer-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }

  .header-inner {
    height: 68px;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    margin-left: 8px;
  }

  .header-cta {
    display: inline-flex;
  }

  .hero-block {
    padding: 128px 0 96px;
  }
}

@media (min-width: 1024px) {
  .wrap {
    padding: 0 32px;
  }
}

@media (max-width: 960px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h1 {
    max-width: none;
  }

  .visual-slots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cabinet-mini,
  .header-cta {
    display: none !important;
  }

  .header-inner {
    height: 56px;
    gap: 8px;
  }

  .header-end {
    gap: 0;
    margin-left: auto;
  }

  .hero-cabinet {
    display: block;
  }

  h1 {
    font-size: clamp(1.75rem, 5vw + 1rem, 2.75rem);
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta .btn {
    width: 100%;
    white-space: normal;
  }

  .hero-glow {
    display: none;
  }
}

@media (max-width: 720px) {
  .facts,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section,
  .hero-block {
    padding: 64px 0;
  }
}
