:root {
  --bg: #07090d;
  --bg-alt: #0e121a;
  --panel: #151a24;
  --panel-soft: #1a202c;
  --line: rgba(255, 255, 255, 0.1);
  --line-gold: rgba(198, 156, 83, 0.28);
  --text: #eef1f7;
  --muted: #b7bfce;
  --accent: #c59b56;
  --accent-strong: #ae8442;
  --ok: #24c48d;
  --danger: #ff6f7c;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 540px at 10% 8%, rgba(17, 61, 57, 0.35), transparent 64%),
    radial-gradient(1150px 520px at 92% 22%, rgba(100, 71, 32, 0.3), transparent 64%),
    linear-gradient(180deg, #090b10 0%, #05070b 56%, #080a0f 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.accent,
.brand-text .grad {
  background: linear-gradient(90deg, #d3b377, #ad8450);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.top-alert {
  background: #040609;
  border-bottom: 1px solid #2d2315;
  color: #bfc5d5;
  font-size: 13px;
}

.top-alert .container {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0;
}

.top-alert strong {
  color: #d2b176;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(9, 11, 16, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2f2415;
}

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(198, 156, 83, 0.55);
  background: linear-gradient(145deg, #141922, #0f141d);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, #d6b571, #aa7f41);
}

.brand-mark-glyph {
  color: #d4b473;
  font-size: 22px;
  font-weight: 800;
  transform: translateX(4px);
}

.brand-text {
  margin: 0;
  line-height: 1;
  letter-spacing: 0.2px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #e9edf7;
  font-size: 21px;
  z-index: 111;
  position: relative;
}

.main-nav {
  margin-left: auto;
  margin-right: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav a {
  text-decoration: none;
  color: #ccd2e0;
  font-size: 17px;
  font-weight: 600;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav .nav-auth {
  display: none;
}

.auth-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn,
button.btn {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: #e3e8f4;
}

.btn-primary {
  color: #14110b;
  background: linear-gradient(145deg, #d1ac67, #b28642);
}

.btn-secondary {
  border: 1px solid #384353;
  background: rgba(12, 16, 23, 0.8);
  color: #dbe0ec;
}

.user-chip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #ccd2e0;
  padding: 10px 12px;
  font-size: 14px;
}

.user-chip strong {
  color: #fff;
}

.ticker {
  background: rgba(17, 21, 30, 0.9);
  border-bottom: 1px solid #2f3545;
}

.ticker-track {
  min-height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-line {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  color: #c9d0df;
  font-size: 14px;
  animation: tickerMove 28s linear infinite;
}

.ticker-item .live {
  border-radius: 7px;
  padding: 2px 6px;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #082117;
  background: #17c18d;
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero {
  padding: 36px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.hero-kicker {
  display: inline-flex;
  border: 1px solid rgba(197, 155, 86, 0.38);
  border-radius: 999px;
  padding: 9px 16px;
  color: #d6b87e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  font-weight: 700;
}

.hero-title {
  margin: 18px 0 14px;
  line-height: 0.96;
  letter-spacing: -0.6px;
  font-size: clamp(40px, 4.4vw, 72px);
}

.hero-title .line {
  display: block;
}

.hero-copy {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.36;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.promo-box {
  border: 1px dashed #2e6c63;
  border-radius: 12px;
  background: rgba(10, 28, 24, 0.72);
  min-width: 172px;
  padding: 10px 14px;
}

.promo-box small {
  display: block;
  color: #97a4ba;
  font-size: 12px;
  margin-bottom: 2px;
}

.promo-box strong {
  color: #26c695;
  font-size: 28px;
  letter-spacing: 0.3px;
}

.odds-stack {
  min-height: 420px;
  position: relative;
}

.odds-card {
  width: min(420px, 100%);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  padding: 18px;
  position: absolute;
}

.odds-card.purple {
  right: 12px;
  top: 18px;
  border-color: rgba(197, 155, 86, 0.34);
}

.odds-card.green {
  right: 0;
  bottom: 0;
  border-color: rgba(34, 143, 120, 0.42);
}

.odds-head {
  display: flex;
  justify-content: space-between;
  color: #9fa8bc;
  font-size: 16px;
  margin-bottom: 12px;
}

.odds-teams {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 700;
}

.odds-teams .value {
  color: #28bd97;
}

.odds-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.odd-pill {
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.24);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
}

.odd-pill.active {
  background: linear-gradient(145deg, #caa65f, #a67d3f);
  color: #17120a;
}

.section {
  padding: 44px 0;
}

.surface {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.sports-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sports-pills a {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #2e3442;
  background: #0a0c11;
  color: #e7ebf5;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 600;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 1;
}

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

.event-card,
.offer-card,
.license-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.016));
  padding: 16px;
}

.event-top {
  display: flex;
  justify-content: space-between;
  color: #9ea7bb;
  font-size: 13px;
  margin-bottom: 14px;
}

.live-pill {
  border-radius: 7px;
  padding: 2px 7px;
  background: #1ebd8e;
  color: #081f16;
  font-size: 11px;
  font-weight: 800;
}

.event-teams {
  font-size: 28px;
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 8px;
}

.event-values {
  font-size: 28px;
  line-height: 1.16;
  font-weight: 700;
  color: #2cc292;
  margin-bottom: 10px;
}

.event-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.event-odds div {
  min-height: 62px;
  border-radius: 8px;
  border: 1px solid #31384a;
  background: #090b12;
  color: #9ea7bd;
  font-size: 16px;
  display: grid;
  place-items: center;
  text-align: center;
}

.offer-card {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-card.purple { border-top: 3px solid #c59b56; }
.offer-card.green { border-top: 3px solid #1f9f7f; }
.offer-card.blue { border-top: 3px solid #3a6d86; }

.offer-card h3 {
  margin: 0;
  font-size: 28px;
}

.offer-card p {
  margin: 0;
  color: #b8c0cf;
  font-size: 18px;
  line-height: 1.35;
}

.offer-card a {
  margin-top: auto;
  text-decoration: none;
  color: #d8b87a;
  font-size: 18px;
  font-weight: 600;
}

.steps {
  position: relative;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 43px;
  left: 17%;
  right: 17%;
  height: 2px;
  background: linear-gradient(90deg, #38665e, #6b5330);
  opacity: 0.9;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
}

.step .num {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid #c59b56;
  background: #0b0d13;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(197, 155, 86, 0.24);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.step p {
  margin: 0;
  color: #adb5c7;
  font-size: 18px;
  line-height: 1.34;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.app-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 0.98;
}

.app-copy p {
  margin: 0;
  max-width: 710px;
  color: #b8c0ce;
  font-size: 19px;
  line-height: 1.34;
}

.store-buttons {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-btn {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #151a25;
  min-width: 205px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.store-btn .icon {
  font-size: 24px;
}

.store-btn small {
  display: block;
  color: #98a1b8;
  font-size: 12px;
}

.store-btn strong {
  display: block;
  margin-top: 2px;
  font-size: 24px;
}

.phone-mock {
  max-width: 430px;
  margin-left: auto;
  transform: rotate(-7deg);
  border: 12px solid #2a2d36;
  border-radius: 40px;
  background: linear-gradient(180deg, #10131a, #090b11);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.45);
  padding: 16px;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: #a7afc1;
  font-size: 13px;
  margin-bottom: 10px;
}

.phone-balance {
  color: #28bf92;
  font-size: 29px;
  font-weight: 700;
}

.phone-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  margin-bottom: 10px;
}

.phone-card p {
  margin: 0;
}

.phone-card .label {
  color: #96a0b8;
  font-size: 13px;
}

.phone-card .title {
  margin-top: 5px;
  font-size: 27px;
  font-weight: 700;
}

.phone-card .odds {
  margin-top: 5px;
  font-size: 28px;
  color: #2bbf93;
  font-weight: 700;
}

.phone-bet-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.phone-bet-row div {
  border-radius: 8px;
  border: 1px solid var(--line);
  text-align: center;
  padding: 8px;
  font-size: 20px;
}

.phone-bet-row .on {
  background: linear-gradient(145deg, #d0ac68, #ab8241);
  color: #141109;
}

.phone-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #d0ac68, #aa8241);
  color: #151109;
  font-size: 21px;
  font-weight: 800;
}

.metrics {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 34px 0;
}

.metric {
  text-align: center;
}

.metric strong {
  display: block;
  font-size: clamp(32px, 2.4vw, 46px);
}

.metric span {
  color: #d2b579;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.license-shell {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015));
  padding: 20px;
}

.license-shell h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(28px, 2.4vw, 38px);
}

.license-strip {
  margin: 0 0 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
  color: #afb8ca;
  text-align: center;
  font-size: 16px;
}

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

.license-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #d2b67e;
}

.license-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  margin-top: 6px;
  font-size: 16px;
  color: #b6bfce;
}

.license-line strong {
  color: #edf0f7;
}

.license-line .ok {
  color: var(--ok);
}

.helpline {
  margin-top: 18px;
  text-align: center;
  color: #b2bacb;
  font-size: 15px;
}

.helpline strong {
  color: #eef1f8;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding: 20px 0 16px;
}

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

.footer-grid h4 {
  margin: 0 0 10px;
  font-size: 20px;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  text-decoration: none;
  color: #bac2d2;
  font-size: 15px;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  margin-top: 18px;
  text-align: center;
  color: #8e96aa;
  font-size: 15px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(980px, calc(100vw - 20px));
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 11, 18, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  padding: 12px;
  z-index: 70;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-copy {
  margin: 0;
  color: #b7bece;
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 10, 0.76);
  backdrop-filter: blur(6px);
}

.modal-backdrop.show {
  display: flex;
}

.auth-modal {
  width: min(470px, 96vw);
  border: 1px solid var(--line-gold);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(197, 155, 86, 0.08), rgba(255, 255, 255, 0.02)), #131823;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.45);
  padding: 16px;
}

.modal-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  margin: 0;
  font-size: 26px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: #e8edf8;
  font-size: 20px;
  cursor: pointer;
}

.auth-tabs {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.auth-tab {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #d7ddeb;
  padding: 9px;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.active {
  border-color: rgba(197, 155, 86, 0.6);
  background: linear-gradient(145deg, #d0ac68, #a98142);
  color: #17120a;
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-form label {
  color: #dde2ef;
  font-size: 14px;
}

.auth-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #3a4253;
  border-radius: 10px;
  background: rgba(6, 8, 12, 0.8);
  color: #edf1f8;
  padding: 9px 12px;
  font-size: 15px;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(197, 155, 86, 0.66);
  box-shadow: 0 0 0 3px rgba(197, 155, 86, 0.2);
}

.auth-note {
  margin: 0;
  color: #9ea8be;
  font-size: 13px;
}

.auth-error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  min-height: 18px;
}

.legal-page {
  padding: 36px 0 50px;
}

.legal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  padding: 20px;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.5vw, 50px);
}

.legal-content h2 {
  margin: 16px 0 7px;
  font-size: clamp(23px, 2.5vw, 34px);
}

.legal-content p,
.legal-content li {
  color: #c2cada;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.text-muted {
  color: #919bb1;
}

@media (max-width: 1100px) {
  .hero-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .odds-stack {
    min-height: auto;
  }

  .odds-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 10px;
  }

  .phone-mock {
    margin: 0 auto;
    transform: none;
  }

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

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    margin: 0;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(900px 360px at 6% 6%, rgba(24, 76, 68, 0.42), transparent 65%),
      radial-gradient(1000px 420px at 92% 10%, rgba(119, 86, 43, 0.35), transparent 66%),
      linear-gradient(180deg, #0a0d13 0%, #07090e 100%);
    padding: 108px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .main-nav a {
    width: 100%;
    font-size: 26px;
    line-height: 1.2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 0 10px;
  }

  .main-nav.show {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .nav-auth {
    display: inline-flex;
    width: auto;
    border: 1px solid rgba(198, 156, 83, 0.5);
    border-radius: 10px;
    padding: 8px 12px;
  }

  .header-row {
    min-height: 72px;
    gap: 8px;
  }

  .brand-text {
    font-size: clamp(16px, 4.8vw, 23px);
  }

  .auth-area {
    display: flex;
    gap: 5px;
  }

  .auth-area [data-auth-guest] {
    display: flex;
    gap: 5px;
  }

  .auth-area .btn,
  .auth-area .user-chip {
    padding: 7px 9px;
    font-size: 11px;
    border-radius: 9px;
  }

  .auth-area .user-chip {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.nav-open .menu-toggle {
    border-color: rgba(198, 156, 83, 0.55);
    background: rgba(198, 156, 83, 0.15);
    color: #e9c98b;
  }

  .hero-title {
    font-size: clamp(40px, 11vw, 62px);
  }

  .hero {
    padding: 24px 0 18px;
  }

  .hero-grid {
    gap: 14px;
  }

  .hero-kicker {
    font-size: 12px;
    padding: 8px 13px;
  }

  .odds-stack {
    display: none;
  }

  .section {
    padding: 30px 0;
  }

  .hero-copy,
  .offer-card p,
  .step p,
  .app-copy p,
  .helpline,
  .footer-links a {
    font-size: clamp(16px, 3.5vw, 20px);
  }

  .event-teams,
  .event-values,
  .offer-card h3,
  .step h3 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .cards-3,
  .metrics-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps::before {
    display: none;
  }

  .licenses-grid {
    grid-template-columns: 1fr;
  }

  .cookie-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .header-row {
    gap: 6px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-mark::before {
    left: 7px;
    top: 5px;
    bottom: 5px;
    width: 6px;
  }

  .brand-mark-glyph {
    font-size: 18px;
  }

  .brand-text {
    font-size: 15px;
  }

  .auth-area .btn {
    padding: 6px 7px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .main-nav {
    padding-top: 96px;
  }

  .main-nav a {
    font-size: 23px;
  }
}
