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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html,
body {
  min-height: 100%;
  background: #000;
  color: #fff;
}

body {
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  color-scheme: dark;
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  background: #000;
  border-bottom: 1px solid #1a1a1a;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: block;
}

.book-notice {
  position: sticky;
  top: 72px;
  z-index: 4;
  margin: 0;
  padding: 14px 28px;
  background: #111;
  border-bottom: 1px solid #242424;
  color: #fff;
  font-weight: 650;
  text-align: center;
}

.book {
  padding: 10px 14px;
  border-radius: 2px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.book:hover,
.book:focus-visible,
.button:hover,
.button:focus-visible {
  background: #ffcc00;
  color: #000;
}

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

.header-link {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.header-link:hover,
.header-link:focus-visible {
  color: #ffcc00;
}

.lang {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.lang-toggle svg {
  width: 20px;
  height: 20px;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  background: #1a1a1a;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 6;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
}

.lang-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #bdbdbd;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.lang-menu a:hover,
.lang-menu a[aria-current="page"] {
  background: #1a1a1a;
  color: #fff;
}

.logo:focus-visible,
.header-link:focus-visible,
.book:focus-visible,
.lang-toggle:focus-visible,
.lang-menu a:focus-visible,
.button:focus-visible,
.button-secondary:focus-visible,
.scope-more a:focus-visible,
.work-close a:focus-visible,
.footer-inner a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.wrap {
  width: min(980px, calc(100% - 64px));
  margin: 0 auto;
  text-align: center;
}

.narrow {
  max-width: 520px;
  margin: 0 auto;
}

section {
  padding: 112px 0;
}

h1,
h2,
.steps h3,
.scope-grid h3,
.rules-title {
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge::after {
  content: "";
  width: 36px;
  height: 1px;
  background: #ffcc00;
}

.hero {
  padding: 128px 0 112px;
}

.hero h1 {
  max-width: 12em;
  margin: 28px auto 0;
  font-size: clamp(44px, 6vw, 76px);
}

.sub {
  max-width: 36em;
  margin: 24px auto 0;
  color: #a3a3a3;
  font-size: 18px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 2px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button {
  border: 0;
  background: #fff;
  color: #000;
}

.button-secondary {
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #fff;
}

.button-lg {
  min-width: 240px;
  margin-top: 8px;
  padding: 16px 22px;
  font-size: 16px;
}

.steps,
.scope-grid,
.benefits {
  list-style: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid #242424;
}

.steps li {
  padding: 28px 24px 0;
}

.steps li + li {
  border-left: 1px solid #242424;
}

.num {
  color: #ffcc00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.steps h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.steps p,
.scope-grid p,
.vat,
.note,
.scope-not,
.legal-section p,
.legal-missing,
.footer-copy {
  color: #9a9a9a;
  line-height: 1.6;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border-top: 1px solid #242424;
}

.scope-grid li {
  padding: 28px 32px;
  border-bottom: 1px solid #242424;
}

.scope-grid li:nth-child(odd) {
  border-right: 1px solid #242424;
}

.scope-grid h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.scope-grid p {
  margin: 0;
}

.rules-title {
  margin: 72px 0 0;
  font-size: 24px;
}

.scope-not {
  max-width: 36em;
  margin: 28px auto 0;
}

.scope-not strong {
  color: #fff;
  font-weight: 650;
}

.scope-more {
  margin-top: 22px;
}

.scope-more a {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.scope-more a:hover {
  color: #ffcc00;
}

.price-card {
  max-width: 440px;
  margin: 56px auto 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.amount {
  font-size: clamp(56px, 8vw, 84px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.period {
  color: #9a9a9a;
  font-size: 18px;
}

.vat {
  margin-top: 10px;
}

.term {
  margin-top: 14px;
  color: #fff;
  font-weight: 650;
}

.benefits {
  margin: 28px 0 24px;
}

.benefits li {
  padding: 14px 0;
  border-top: 1px solid #242424;
}

.benefits li:last-child {
  border-bottom: 1px solid #242424;
}

.note {
  margin-top: 16px;
  font-size: 14px;
}

.note a {
  color: #fff;
}

.note a:hover {
  color: #ffcc00;
}

#contact h2,
#how h2,
#scope h2,
#rules h2,
#pricing,
#contact {
  scroll-margin-top: 88px;
}

#contact h2 {
  margin-bottom: 28px;
}

.field {
  display: block;
  margin-bottom: 16px;
  text-align: left;
}

.field span {
  display: block;
  margin-bottom: 8px;
  color: #bdbdbd;
  font-size: 14px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #2a2a2a;
  border-radius: 2px;
  background: #000;
  color: #fff;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.form-notice {
  margin-top: 18px;
  color: #fff;
  font-weight: 650;
}

.legal-wrap {
  width: min(640px, calc(100% - 64px));
  padding: 128px 0 112px;
  text-align: left;
}

.legal-wrap h1 {
  max-width: 12em;
  margin: 0 auto 8px;
  font-size: clamp(44px, 6vw, 72px);
  text-align: center;
}

.legal-section {
  margin-top: 32px;
  padding: 0;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.legal-section p,
.legal-missing {
  max-width: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

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

.legal-facts {
  margin: 8px 0 0;
}

.legal-facts div {
  padding: 14px 0 0;
}

.legal-facts div + div {
  margin-top: 14px;
}

.legal-facts dt {
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-facts dd {
  margin: 6px 0 0;
  color: #fff;
  font-size: 18px;
}

.legal-facts dd.is-placeholder {
  color: #6f6f6f;
}

.legal-section a {
  color: #fff;
}

.legal-section a:hover {
  color: #ffcc00;
}

.work-intro {
  max-width: 38em;
  margin: 28px auto 0;
  color: #a3a3a3;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.work-section {
  margin-top: 48px;
  padding: 28px 0 0;
  border-top: 1px solid #242424;
}

.work-section h2 {
  margin: 14px 0;
  font-size: clamp(26px, 3vw, 32px);
}

.work-section p {
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.65;
}

.work-section .num {
  margin: 0;
  color: #ffcc00;
  font-size: 12px;
  line-height: 1.2;
}

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

.work-close {
  margin-top: 48px;
  color: #9a9a9a;
  text-align: center;
}

.work-close a {
  color: #fff;
  text-decoration: none;
}

.work-close a:hover {
  color: #ffcc00;
}

footer {
  width: 100%;
  border-top: 1px solid #242424;
  background: #050505;
}

.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 28px 32px;
  font-size: 14px;
  text-align: left;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-side {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.footer-inner nav {
  display: flex;
  align-items: center;
  flex: none;
  gap: 20px;
}

.social {
  gap: 2px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.social svg {
  width: 18px;
  height: 18px;
}

.social a:hover {
  color: #ffcc00;
  text-decoration: none;
}

.footer-inner a {
  color: #fff;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  header,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  header {
    gap: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .header-link,
  .book {
    letter-spacing: 0.08em;
  }

  .book {
    padding-left: 10px;
    padding-right: 10px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  section,
  .hero,
  .legal-wrap {
    padding: 72px 0;
  }

  .steps,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li,
  .scope-grid li,
  .scope-grid li:nth-child(odd) {
    border-right: 0;
    border-left: 0;
  }

  .steps li + li {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #242424;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-side {
    margin-left: 0;
  }
}
