/* ═══════════════════════════════════════════════════════
   ДИКАРЬ / TheWildOne — Landing styles
   Палитра + типографика по макет-референс.html (cloud session).
   ═══════════════════════════════════════════════════════ */

:root {
  --ink: #0e0b08;
  --ink2: #4a3f30;
  --paper: #f3ead7;
  --paper2: #e8dcc0;
  --paper3: #d8c8a4;
  --red: #c2362a;
  --moss: #5d6b3e;
  --amber: #b87500;
  --sepia: #8a6f45;
  --navy: #2a3a5a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(138, 35, 25, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(74, 63, 48, 0.05) 0%,
      transparent 50%
    );
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(14, 11, 8, 0.03) 3px,
    rgba(14, 11, 8, 0.03) 4px
  );
  opacity: 0.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ═══ NAV ═══ */
nav.top {
  position: relative;
  z-index: 10;
  padding: 20px 0;
  border-bottom: 2px solid var(--ink);
}

nav.top .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

nav.top .brand {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}

nav.top .brand .red {
  color: var(--red);
  font-style: italic;
}

nav.top ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav.top ul a {
  color: var(--ink2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s;
}

nav.top ul a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.lang-toggle {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.lang-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ═══ HERO ═══ */
.hero {
  padding: 80px 0 100px;
  border-bottom: 3px double var(--ink);
  position: relative;
  overflow: hidden;
}

.hero .stamp {
  position: absolute;
  top: 40px;
  right: 60px;
  border: 3px solid var(--navy);
  color: var(--navy);
  padding: 12px 20px;
  transform: rotate(6deg);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  background: rgba(243, 234, 215, 0.9);
  z-index: 3;
  text-align: center;
}

.hero .stamp small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 2px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 128px;
  line-height: 0.88;
  letter-spacing: -4px;
  margin: 0;
  color: var(--ink);
}

.hero-title .red {
  color: var(--red);
  font-style: italic;
}

.hero-sub {
  font-family: "Caveat", cursive;
  font-size: 34px;
  color: var(--ink2);
  transform: rotate(-1deg);
  margin-top: 18px;
  margin-left: 6px;
}

.hero-lead {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink2);
  max-width: 560px;
  margin: 28px 0 36px;
  font-style: italic;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  transition: all 0.15s;
  cursor: pointer;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--red);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.red {
  background: var(--red);
  border-color: var(--red);
}

.btn.red:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

/* ═══ HERO ART ═══ */
.hero-art {
  position: relative;
  height: 460px;
}

.hero-art .postcard {
  position: absolute;
  width: 360px;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 18px;
  box-shadow:
    6px 6px 0 var(--ink),
    6px 6px 0 2px var(--red);
  transform: rotate(-3deg);
  top: 20px;
  left: 20px;
}

.hero-art .postcard .img {
  height: 200px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink2);
  margin-bottom: 12px;
}

.hero-art .postcard .img svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art .postcard .cap {
  font-family: "Caveat", cursive;
  font-size: 20px;
  color: var(--ink);
  transform: rotate(-1deg);
}

.hero-art .postcard .meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--ink2);
  margin-top: 6px;
  border-top: 1px dashed var(--ink2);
  padding-top: 6px;
}

.hero-art .badge {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-align: center;
  transform: rotate(12deg);
  top: 250px;
  right: 30px;
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 2;
}

.hero-art .badge .big {
  font-size: 34px;
  line-height: 1;
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.hero-art .badge .small {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 4px;
}

.hero-art .ticket {
  position: absolute;
  width: 240px;
  background: var(--paper3);
  border: 2px solid var(--ink);
  padding: 14px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink);
  bottom: 40px;
  left: 60px;
  transform: rotate(2deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-art .ticket b {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 4px;
}

/* ═══ METRICS BAR ═══ */
.metrics {
  padding: 28px 0;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--red);
}

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

.metric {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid rgba(243, 234, 215, 0.15);
}

.metric:first-child {
  border-left: none;
}

.metric .n {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--paper);
}

.metric .n .red {
  color: var(--red);
}

.metric .l {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--paper3);
  text-transform: uppercase;
  margin-top: 6px;
  white-space: pre-line;
}

/* ═══ SECTION COMMON ═══ */
.section {
  padding: 100px 0;
}

.sec-num {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--red);
  letter-spacing: 2px;
}

.sec-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -2px;
  margin: 12px 0 16px;
}

.sec-title .red {
  color: var(--red);
  font-style: italic;
}

.sec-lede {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink2);
  max-width: 680px;
  font-style: italic;
  margin: 0 0 50px;
}

/* ═══ HOW IT WORKS ═══ */
.how {
  background: var(--paper2);
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.step {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 32px 26px;
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 8px;
  background: var(--red);
}

.step .n {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  color: var(--red);
  font-style: italic;
  margin-bottom: 8px;
}

.step h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink2);
  margin: 0;
}

.step .icon {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--ink2);
  font-family: "Caveat", cursive;
  font-size: 18px;
  color: var(--ink);
  transform: rotate(-1deg);
}

/* ═══ WHAT INSIDE ═══ */
.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.feat {
  border: 2px solid var(--ink);
  padding: 28px;
  background: var(--paper);
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: box-shadow 0.15s;
}

.feat:hover {
  box-shadow: 4px 4px 0 var(--red);
}

.feat .ic {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  background: var(--paper2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat .ic svg {
  width: 36px;
  height: 36px;
}

.feat h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 6px;
  line-height: 1.15;
}

.feat p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink2);
  margin: 0;
}

.feat .tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ═══ MANIFEST ═══ */
.manifest {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
  border-top: 6px solid var(--red);
  border-bottom: 6px solid var(--red);
}

.manifest .sec-num {
  color: var(--red);
}

.manifest .sec-title {
  color: var(--paper);
  font-size: 56px;
}

.manifest .sec-title .red {
  color: var(--red);
}

.manifest .sec-lede {
  color: var(--paper3);
  font-style: normal;
}

.rules {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 48px;
}

.rule {
  border-top: 1px solid rgba(243, 234, 215, 0.2);
  padding: 20px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.rule .n {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-style: italic;
  font-size: 28px;
  color: var(--red);
  flex-shrink: 0;
  width: 40px;
}

.rule .t {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}

.rule .t b {
  color: var(--red);
}

.rule .t code {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--red);
  background: rgba(194, 54, 42, 0.1);
  padding: 1px 6px;
}

/* ═══ TESTIMONY ═══ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.testi {
  border: 2px solid var(--ink);
  padding: 28px 24px;
  background: var(--paper);
  position: relative;
  transform: rotate(-0.5deg);
}

.testi:nth-child(2) {
  transform: rotate(0.6deg);
}

.testi:nth-child(3) {
  transform: rotate(-0.3deg);
}

.testi::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 100px;
  color: var(--red);
  line-height: 1;
}

.testi blockquote {
  margin: 20px 0 18px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.testi .who {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ink2);
  text-transform: uppercase;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}

.testi .who b {
  color: var(--red);
}

/* ═══ FINAL CTA ═══ */
.final {
  padding: 120px 0;
  background: var(--paper2);
  border-top: 3px double var(--ink);
  text-align: center;
}

.final .sec-title {
  font-size: 84px;
}

.final .hero-cta {
  justify-content: center;
  margin-top: 40px;
}

.final .hint {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--ink2);
  transform: rotate(-1deg);
  margin-top: 24px;
}

/* ═══ INNER PAGES (riderradar / privacy) ═══ */
.page {
  padding: 80px 0 100px;
  min-height: 60vh;
}

.page .kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page .title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 80px;
  line-height: 0.9;
  letter-spacing: -3px;
  margin: 0 0 20px;
}

.page .lead {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink2);
  font-style: italic;
  max-width: 720px;
  margin: 0 0 40px;
}

.page h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin: 36px 0 12px;
}

.page p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 720px;
}

.page code {
  font-family: "JetBrains Mono", monospace;
  background: var(--paper2);
  padding: 1px 6px;
  font-size: 14px;
}

.page .cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 50px 0 30px;
}

footer .row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

footer h5 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red);
  margin: 0 0 12px;
  text-transform: uppercase;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  line-height: 2;
  color: var(--paper3);
}

footer ul a {
  color: var(--paper3);
  text-decoration: none;
  transition: color 0.15s;
}

footer ul a:hover {
  color: var(--red);
}

footer .brand-big {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

footer .brand-big .red {
  color: var(--red);
  font-style: italic;
}

footer .brand-desc {
  font-family: "Caveat", cursive;
  font-size: 19px;
  color: var(--paper3);
  transform: rotate(-1deg);
  display: inline-block;
}

footer .legal {
  border-top: 1px solid rgba(243, 234, 215, 0.15);
  padding-top: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--paper3);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-grid,
  .inside-grid,
  .rules,
  .testi-grid,
  footer .row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 72px;
    letter-spacing: -2px;
  }

  .sec-title {
    font-size: 44px;
  }

  .final .sec-title {
    font-size: 56px;
  }

  .page .title {
    font-size: 56px;
    letter-spacing: -2px;
  }

  .metrics .row {
    grid-template-columns: 1fr 1fr;
  }

  .metric {
    border-left: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(243, 234, 215, 0.15);
  }

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

  .hero .stamp {
    top: 20px;
    right: 20px;
  }

  nav.top ul {
    display: none;
  }

  .hero-art {
    height: 380px;
    margin-top: 40px;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-art .postcard {
    width: 280px;
  }

  .hero-art .ticket {
    width: 200px;
    bottom: 20px;
    left: 20px;
  }

  .hero-art .badge {
    width: 100px;
    height: 100px;
    top: 200px;
    right: 10px;
  }
}
