:root {
  --cream: #fbf5e8;
  --cream-2: #f4e7cf;
  --sand: #dcbf86;
  --sand-soft: #ead8b4;
  --olive: #5f7948;
  --olive-dark: #496236;
  --clay: #6a3828;
  --clay-2: #7a4631;
  --brown: #3f281e;
  --muted: #7a6656;
  --beige: #fffaf0;
  --line: rgba(63, 40, 30, 0.16);
  --shadow: 0 8px 18px rgba(63, 40, 30, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #eadfc9;
  color: var(--brown);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.45;
}

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

button {
  font: inherit;
}

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

.page-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(122, 70, 49, 0.035) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(225deg, rgba(95, 121, 72, 0.035) 25%, transparent 25%) 0 0 / 22px 22px,
    var(--cream);
  box-shadow: 0 0 0 1px rgba(63, 40, 30, 0.06);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 12px;
  background: rgba(251, 245, 232, 0.92);
  border-bottom: 1px solid rgba(63, 40, 30, 0.08);
}

.brand {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.menu-button {
  display: inline-grid;
  gap: 3px;
  width: 26px;
  height: 26px;
  place-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--brown);
}

.site-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 10px;
  left: 10px;
  z-index: 30;
  display: grid;
  gap: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(63, 40, 30, 0.14);
  border-radius: 15px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 14px 30px rgba(63, 40, 30, 0.16);
}

.site-menu[hidden] {
  display: none;
}

.site-menu a,
.site-menu button {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 9px 8px;
  border: 0;
  background: transparent;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
  cursor: pointer;
}

.site-menu a:not(.site-menu__primary),
.site-menu button {
  border-top: 1px solid rgba(63, 40, 30, 0.08);
}

.site-menu a:hover,
.site-menu button:hover {
  background: rgba(95, 121, 72, 0.1);
  color: var(--olive-dark);
}

.site-menu a.site-menu__primary {
  grid-template-columns: 26px 1fr auto;
  min-height: 52px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--olive);
  color: #fffaf0;
  box-shadow: 0 8px 16px rgba(73, 98, 54, 0.18);
}

.site-menu a.site-menu__primary:hover {
  background: var(--olive-dark);
  color: #fffaf0;
}

.site-menu__icon {
  display: grid;
  place-items: center;
  color: #c89146;
}

.site-menu a.site-menu__primary .site-menu__icon,
.site-menu a.site-menu__primary .site-menu__arrow {
  color: #fffaf0;
}

.site-menu__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-menu__arrow {
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

main {
  padding: 8px 10px 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 12px;
  min-height: 162px;
  padding: 18px 14px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(135deg, #ecdbba, #f6e8cf);
  border-bottom: 1px solid rgba(63, 40, 30, 0.08);
}

.hero__text {
  align-self: center;
}

.hero h1 {
  margin-bottom: 6px;
  font-size: 1.13rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero p {
  max-width: 235px;
  margin-bottom: 12px;
  color: #6c5747;
  font-size: 0.7rem;
}

.hero__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.button,
.small-button,
.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button {
  min-height: 34px;
  padding: 0 13px;
  font-size: 0.72rem;
}

.button--primary {
  background: var(--olive);
  color: #fff9ef;
  box-shadow: 0 7px 12px rgba(73, 98, 54, 0.18);
}

.button--light {
  background: rgba(255, 250, 240, 0.8);
  border-color: rgba(63, 40, 30, 0.18);
  color: var(--brown);
}

.hero__tile {
  position: relative;
  align-self: center;
  justify-self: start;
  display: grid;
  place-items: center;
  width: 88px;
  height: 92px;
  padding: 10px;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 16px;
  background: #5a2f20;
}

.hero__tile svg {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.logo-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5.2;
}

.logo-line--gold {
  stroke: #d39a43;
}

.logo-line--brown {
  stroke: #faf6ee;
}

.market-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--olive);
  border-radius: 13px;
  background: var(--beige);
  box-shadow: var(--shadow);
}

.market-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ead8b3;
  color: #c89146;
}

.market-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.market-card h2 {
  margin-bottom: 2px;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.market-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.small-button {
  min-width: 56px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--olive);
  color: #fffaf0;
  font-size: 0.7rem;
}

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

.mini-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 94px;
  padding: 13px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 250, 240, 0.88);
  color: inherit;
  box-shadow: 0 5px 12px rgba(63, 40, 30, 0.06);
  text-align: center;
  cursor: pointer;
}

.mini-card span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #c89146;
}

.mini-card span svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.mini-card strong {
  font-size: 0.74rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.6rem;
}

.why-card {
  min-height: 100px;
  margin-top: 12px;
  padding: 13px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: var(--shadow);
}

.why-card h2,
.section-head h2 {
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0;
}

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

.why-row div {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
}

.why-row span {
  color: var(--olive);
  font-size: 0.95rem;
}

.why-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.55rem;
  text-align: center;
}

.fazaa {
  margin-top: 13px;
  padding: 13px 0 10px;
  overflow: hidden;
}

.fazaa-head {
  margin-bottom: 8px;
  padding: 0 10px;
  text-align: center;
}

.fazaa-title {
  margin: 0 0 4px;
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.fazaa-sub {
  max-width: 330px;
  margin: 0 auto;
  color: var(--olive);
  font-size: 0.62rem;
}

.fazaa-viewport {
  overflow: hidden;
}

.fazaa-track {
  display: flex;
  width: max-content;
  animation: fazaa-loop var(--fazaa-duration, 26s) linear infinite;
  will-change: transform;
}

.fazaa-track.is-paused {
  animation-play-state: paused;
}

@keyframes fazaa-loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fazaa-track {
    animation: none;
  }

  .fazaa-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.fazaa-card {
  direction: rtl;
  flex-shrink: 0;
  width: 104px;
  min-height: 116px;
  margin-right: 10px;
  padding: 11px 7px;
  border: 1px solid #e8d8be;
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 5px 12px rgba(63, 40, 30, 0.07);
  text-align: center;
  transition: border-color 0.15s;
}

.fazaa-card:hover {
  border-color: #c89146;
}

.fazaa-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 7px;
  overflow: hidden;
  border-radius: 50%;
  background: #e8d8be;
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 900;
}

.fazaa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fazaa-name {
  margin: 0;
  color: var(--brown);
  font-size: 0.68rem;
  font-weight: 900;
}

.fazaa-snap {
  margin: 3px 0 0;
  color: #c89146;
  direction: ltr;
  font-size: 0.58rem;
}

.fazaa-cta {
  margin: 9px 0 0;
  text-align: center;
}

.fazaa-cta a {
  color: #c89146;
  font-size: 0.64rem;
  font-weight: 800;
}

.fazaa-cta a:hover {
  text-decoration: underline;
}

.support-card {
  margin-top: 13px;
  padding: 24px 26px 22px;
  border-radius: 17px;
  background: #5a2f20;
  color: #fff7e8;
  text-align: center;
  box-shadow: 0 12px 24px rgba(63, 40, 30, 0.18);
}

.support-card__seal {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 13px;
  border: 2px dashed rgba(211, 154, 67, 0.86);
  border-radius: 50%;
  color: #d39a43;
  font-size: 1.25rem;
}

.support-card h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.support-card p {
  max-width: 335px;
  margin: 0 auto 7px;
  color: rgba(255, 247, 232, 0.92);
  font-size: 0.72rem;
}

.support-card__highlight {
  color: #d39a43;
  font-size: 0.72rem;
}

.space-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  margin: 18px 0 18px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.11);
}

.space-value span {
  color: rgba(255, 247, 232, 0.9);
  font-size: 0.7rem;
}

.space-value strong {
  color: #d39a43;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

.support-button {
  gap: 8px;
  min-height: 42px;
  min-width: 176px;
  padding: 0 18px;
  border-radius: 10px;
  background: #d39a43;
  color: #3f281e;
  font-size: 0.78rem;
  box-shadow: 0 8px 16px rgba(63, 40, 30, 0.18);
}

.support-button span {
  font-size: 0.86rem;
}

.support-card__footnote {
  margin-top: 13px;
  margin-bottom: 0;
  color: rgba(211, 154, 67, 0.82);
  font-size: 0.6rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 12px;
  background: var(--olive);
  color: #fffaf0;
  font-size: 0.66rem;
  font-weight: 800;
}

@media (max-width: 360px) {
  .hero {
    grid-template-columns: 1fr 66px;
    gap: 8px;
    padding-inline: 11px;
  }

  .hero__tile {
    width: 64px;
    height: 76px;
  }

  .hero__tile svg {
    width: 84%;
    height: 84%;
  }

  .button {
    padding-inline: 10px;
    font-size: 0.66rem;
  }

}
