:root {
  --green: #164f34;
  --green-2: #236a46;
  --clay: #b84a2b;
  --ink: #231f20;
  --muted: #6d635d;
  --line: #e8ddd0;
  --paper: #fbf7ef;
  --white: #ffffff;
  --blue: #14365d;
  --yellow: #f3c958;
  --shadow: 0 22px 60px rgba(35, 31, 32, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  font-weight: 800;
  color: var(--green);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(22, 79, 52, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 92px;
  height: 38px;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.lang-switch button.active {
  background: var(--green);
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(22, 79, 52, 0.2);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.button.secondary {
  background: var(--white);
  color: var(--green);
  border-color: rgba(22, 79, 52, 0.24);
}

.button.clay {
  background: var(--clay);
}

.button.ghost {
  background: transparent;
  color: var(--green);
  border-color: rgba(22, 79, 52, 0.22);
}

.captcha-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(35, 31, 32, 0.46);
}

.captcha-dialog {
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.captcha-dialog h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.captcha-dialog p {
  color: var(--muted);
}

.captcha-question {
  display: flex;
  align-items: center;
  min-height: 56px;
  margin: 18px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 79, 52, 0.18);
  border-radius: var(--radius);
  background: #fffefa;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.captcha-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
}

.captcha-input:focus {
  border-color: rgba(22, 79, 52, 0.58);
  box-shadow: 0 0 0 3px rgba(22, 79, 52, 0.1);
}

.captcha-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.captcha-actions .button:first-child {
  grid-column: 1 / -1;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section.tight {
  padding: 44px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 44px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay);
}

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

h1 {
  margin-bottom: 20px;
  font-size: 78px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 36px;
}

.proof {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
}

.proof strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.proof span {
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  display: grid;
  gap: 18px;
}

.wallet-preview {
  padding: 22px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wallet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.wallet-top img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.wallet-card {
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--clay);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.wallet-card::before,
.wallet-card::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  right: -27px;
  border-radius: 50%;
  background: var(--ink);
}

.wallet-card::before {
  top: 72px;
}

.wallet-card::after {
  bottom: 72px;
}

.stamp-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  width: min(330px, 100%);
}

.stamp {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.stamp.active {
  background: var(--yellow);
  color: var(--ink);
}

.wallet-reward {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 18px;
  align-items: end;
}

.reward-box {
  min-height: 128px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.scanner-shot {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 42px;
  align-items: start;
}

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

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

.feature,
.step,
.plan,
.form-shell,
.dashboard-panel,
.legal-box,
.support-panel {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(35, 31, 32, 0.06);
}

.feature,
.step,
.support-panel {
  padding: 24px;
}

.feature .num,
.step .num {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(22, 79, 52, 0.1);
  color: var(--green);
  font-weight: 900;
}

.feature p,
.step p,
.legal-box p {
  color: var(--muted);
}

.text-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.text-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.text-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--clay);
}

.kiosk-frame {
  padding: 14px;
  background: #2b1d19;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kiosk-frame img {
  width: 100%;
  border-radius: 6px;
}

.page-hero {
  padding: 76px 0 42px;
}

.page-hero .lead {
  max-width: 760px;
}

.payment-result {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 24px;
}

.payment-result strong {
  display: inline-flex;
  width: fit-content;
  padding: 14px 18px;
  border: 1px solid rgba(22, 79, 52, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green);
  font-size: 28px;
  letter-spacing: 0.04em;
}

.form-shell {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fffefa;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(22, 79, 52, 0.58);
  box-shadow: 0 0 0 3px rgba(22, 79, 52, 0.1);
}

.map-tools {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.address-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.address-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefa;
  color: var(--muted);
}

.address-item button {
  border: 0;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  font-weight: 900;
}

.form-note,
.status {
  color: var(--muted);
  font-size: 14px;
}

.status {
  min-height: 24px;
  margin-top: 12px;
  font-weight: 800;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan > div:first-child > h2 {
  min-height: 104px;
  margin-bottom: 0;
}

.plan.highlight {
  border-color: rgba(184, 74, 43, 0.44);
  box-shadow: 0 22px 58px rgba(184, 74, 43, 0.14);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  color: var(--green);
  font-size: 36px;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
}

.plan ul {
  display: grid;
  gap: 10px;
  flex: 1;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.plan > .button {
  width: 100%;
  margin-top: auto;
}

.plan li {
  display: flex;
  gap: 9px;
}

.plan li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
}

.billing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.billing button {
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 800;
}

.billing button.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.comparison th,
.comparison td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.comparison th:first-child,
.comparison td:first-child {
  text-align: left;
  font-weight: 800;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}

.dashboard-panel {
  padding: 22px;
}

.coupon {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed rgba(22, 79, 52, 0.45);
  border-radius: var(--radius);
  background: #fffefa;
}

.coupon-code {
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.admin-link {
  display: block;
  padding: 14px;
  border: 1px solid rgba(20, 54, 93, 0.22);
  border-radius: var(--radius);
  background: rgba(20, 54, 93, 0.06);
  color: var(--blue);
  font-weight: 900;
}

.legal-box {
  padding: 28px;
}

.legal-box h2 {
  font-size: 30px;
}

.legal-box h3 {
  margin-top: 26px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
}

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

.telegram-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #229ed9;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(34, 158, 217, 0.32);
}

.telegram-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  transform: translateX(-1px);
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .grid-3,
  .plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 24px, 1180px);
    padding: 54px 0;
  }

  .nav {
    width: min(100% - 24px, 1180px);
  }

  .nav-actions .button {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .proof-row,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .wallet-reward {
    grid-template-columns: 1fr;
  }

  .map-tools {
    grid-template-columns: 1fr;
  }

  .comparison {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

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

}
