@font-face {
  font-family: Inter;
  src: url("../../mtb-trailradar/web2/inter-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #030604;
  --panel: #0b140d;
  --surface: #101d12;
  --line: #2a3d2d;
  --signal: #a0f850;
  --white: #f3f6f2;
  --muted: #b5c4b5;
  font: 16px/1.55 Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--background); color: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 5px; }
.wrap { width: min(1140px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 4; padding: 10px 14px; background: var(--signal); color: var(--background); transform: translateY(-175%); }
.skip:focus { transform: none; }

.top { background: #060b07; border-bottom: 1px solid var(--line); }
.top-inner, .bottom-inner { display: flex; align-items: center; gap: 28px; justify-content: space-between; }
.top-inner { min-height: 72px; }
.identity { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; font-weight: 750; letter-spacing: -.025em; }
.identity img { width: 40px; height: auto; flex: none; }
.top nav, .bottom nav, .locale { display: flex; align-items: center; gap: 23px; }
.top nav a, .bottom nav a, .locale a, .locale span { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 620; text-decoration: none; color: var(--muted); }
.top nav a:hover, .bottom nav a:hover, .locale a:hover { color: var(--signal); }
.locale { gap: 6px; }
.locale a, .locale span { justify-content: center; min-width: 35px; }
.locale [aria-current] { color: var(--white); }

.hero { position: relative; isolation: isolate; text-align: center; display: grid; justify-items: center; gap: 21px; padding: clamp(32px, 6vw, 80px) 20px clamp(54px, 7vw, 96px); border-bottom: 1px solid var(--line); overflow: clip; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 28%, #133211 0, #0d1d10 29%, #030604 64%); opacity: .9; }
.hero-lockup { width: clamp(245px, 42vw, 442px); height: auto; filter: drop-shadow(0 0 26px #81f42b25); }
.hero h1 { max-width: 20ch; font-size: clamp(2rem, 5vw, 4.2rem); line-height: .99; font-weight: 790; letter-spacing: -.072em; text-wrap: balance; }
.hero p { max-width: 52ch; color: var(--muted); font-size: clamp(.98rem, 1.7vw, 1.12rem); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border: 1px solid var(--signal); border-radius: 8px; background: var(--signal); color: #11200c; font-weight: 730; text-decoration: none; }
.button:hover { background: #c2fd8a; border-color: #c2fd8a; }
.button .arrow { font-size: 1.15em; }

.section { padding-block: clamp(53px, 7vw, 92px); }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.75rem, 4.2vw, 3rem); font-weight: 770; letter-spacing: -.055em; line-height: 1.12; margin-bottom: 25px; text-wrap: balance; }
.product-grid { display: grid; gap: 20px; }
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(275px, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(133deg, var(--surface), var(--panel)); }
.product-art { position: relative; min-height: 292px; isolation: isolate; }
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 71% center; z-index: -2; }
.product-art::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg, #030604ce 1%, transparent 66%); }
.product-mark { width: clamp(92px, 14vw, 156px); height: auto; position: absolute; left: 18px; bottom: 18px; }
.product-copy { padding: clamp(24px, 4.5vw, 50px); align-self: center; }
.product-copy h3 { font-size: clamp(1.55rem, 3.3vw, 2.35rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.1; margin-bottom: 12px; }
.product-copy p { color: var(--muted); }
.product-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 17px; }
.product-links .button { background: transparent; color: var(--signal); }
.product-links .button:hover { background: #1b2a13; }
.store { display: inline-flex; align-items: center; min-height: 46px; }
.store img { width: 119px; height: auto; }
.platform { font-size: .84rem; margin-top: 13px; }
.platform span { font-weight: 700; color: var(--white); }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.principles article { padding: clamp(16px, 2.5vw, 26px); background: var(--panel); border: 1px solid var(--line); border-radius: 11px; }
.principles h3 { font-size: 1.09rem; color: var(--signal); margin-bottom: 8px; }
.principles p, .fine { color: var(--muted); }
.privacy-note { color: var(--muted); margin-top: 18px; }
.bottom { padding: 24px 0; border-top: 1px solid var(--line); background: #060b07; }
.bottom-inner { align-items: flex-start; }
.bottom nav { flex-wrap: wrap; gap: 0 18px; }
.bottom .sub { color: var(--muted); font-size: .875rem; }
.fine { font-size: .81rem; padding-top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-lockup { animation: soft-light 7s ease-in-out infinite; }
  .button { transition: background-color 140ms ease, border-color 140ms ease; }
  @keyframes soft-light {
    0%, 100% { filter: drop-shadow(0 0 18px #81f4231f); }
    50% { filter: drop-shadow(0 0 32px #81f62342); }
  }
}

@media (max-width: 840px) {
  .wrap { width: calc(100% - 38px); }
  .product-art { min-height: 270px; }
  .product-copy { padding: 24px; }
}
@media (max-width: 650px) {
  .top-inner { min-height: 58px; gap: 10px; }
  .top nav a:not(:first-child) { display: none; }
  .top nav a, .locale a, .locale span { font-size: .8rem; }
  .identity img { width: 32px; }
  .hero { gap: 17px; }
  .product, .principles { grid-template-columns: minmax(0, 1fr); }
  .product-art { min-height: 0; aspect-ratio: 16 / 9; }
  .bottom-inner { display: grid; gap: 10px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .top-inner { gap: 7px; }
  .identity { font-size: .9rem; gap: 6px; }
  .locale { gap: 0; }
  .locale a, .locale span { min-width: 31px; }
}
@media (max-width: 350px) {
  .top nav { display: none; }
}
