:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #687386;
  --line: #e4e9f1;
  --background: #f6f8fc;
  --surface: #ffffff;
  --red: #eb3030;
  --red-dark: #ca2020;
  --blue: #1769e8;
  --green: #2eae73;
  --shadow: 0 24px 70px rgba(34, 50, 84, 0.13);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: radial-gradient(circle at 8% 6%, rgba(235, 48, 48, 0.06), transparent 24rem), var(--background);
  font-size: 16px;
  line-height: 1.65;
}

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

.site-header,
.hero,
.features,
.download,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 10px 10px 15px 15px;
  background: var(--red);
  transform: rotate(45deg);
  box-shadow: 0 8px 20px rgba(235, 48, 48, 0.24);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 4px solid white;
  border-radius: 50%;
}

.brand-mark span {
  position: absolute;
  width: 9px;
  height: 9px;
  right: -3px;
  top: -3px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--background);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:hover,
.site-header nav a:focus-visible { color: var(--red); }

.hero {
  min-height: 680px;
  padding: 68px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span { width: 22px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1.11;
  letter-spacing: -0.055em;
  font-weight: 820;
}

h1 em { color: var(--red); font-style: normal; }

.hero-description {
  max-width: 580px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); }

.button-primary {
  color: white;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(235, 48, 48, 0.2);
}

.button-primary:hover, .button-primary:focus-visible { background: var(--red-dark); }

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.project-note { margin: 22px 0 0; color: #8a93a3; font-size: 12px; }

.map-preview {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 38px;
  background: #eef1eb;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.map-preview::before,
.map-preview::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.map-preview::before {
  width: 280px;
  height: 230px;
  left: -60px;
  top: 230px;
  background: #dcebdc;
  transform: rotate(-18deg);
}

.map-preview::after {
  width: 360px;
  height: 190px;
  right: -120px;
  top: -40px;
  background: #d9e9f6;
  transform: rotate(22deg);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image: linear-gradient(rgba(122, 135, 150, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 135, 150, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
}

.map-road {
  position: absolute;
  height: 18px;
  border: 5px solid white;
  border-radius: 999px;
  background: #d5dae0;
  box-shadow: 0 0 0 1px rgba(111, 123, 135, 0.08);
}

.road-one { width: 660px; left: -90px; top: 205px; transform: rotate(-20deg); }
.road-two { width: 590px; left: 70px; top: 330px; transform: rotate(22deg); }
.road-three { width: 440px; left: 165px; top: 84px; transform: rotate(72deg); }

.map-label {
  position: absolute;
  color: #7c8b80;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.label-park { left: 58px; bottom: 76px; }
.label-river { right: 56px; top: 54px; color: #7692a8; }

.activity-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 5px solid white;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(42, 56, 76, 0.22);
}

.activity-pin span {
  position: absolute;
  left: 23px;
  top: -20px;
  min-width: max-content;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font-size: 10px;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: 0 7px 16px rgba(42, 56, 76, 0.1);
}

.pin-red { left: 44%; top: 22%; background: var(--red); }
.pin-blue { right: 16%; top: 44%; background: var(--blue); }
.pin-green { left: 22%; bottom: 25%; background: var(--green); }

.activity-card {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(360px, calc(100% - 40px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(42, 56, 76, 0.14);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.card-date {
  width: 52px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-content: center;
  text-align: center;
  background: #fff1f1;
  color: var(--red);
  line-height: 1;
}

.card-date strong { font-size: 21px; }
.card-date span { margin-top: 4px; font-size: 8px; font-weight: 800; letter-spacing: 0.1em; }
.activity-card p { margin-bottom: 2px; font-size: 14px; font-weight: 780; }
.activity-card > div:last-child > span { color: var(--muted); font-size: 11px; }

.features { padding: 106px 0 116px; border-top: 1px solid var(--line); }
.section-heading { max-width: 680px; margin-bottom: 48px; }

.section-heading h2,
.download h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.download > div > p:last-child { color: var(--muted); }

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

.feature-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.feature-number {
  position: absolute;
  right: 24px;
  top: 20px;
  color: #d8dde6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff0f0;
}

.feature-icon i { position: relative; display: block; }

.icon-map i {
  width: 22px;
  height: 26px;
  border: 3px solid var(--red);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
}

.icon-map i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.icon-publish { background: #eaf2ff; }

.icon-publish i {
  width: 25px;
  height: 25px;
  border: 3px solid var(--blue);
  border-radius: 7px;
}

.icon-publish i::before,
.icon-publish i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
}

.icon-publish i::after { transform: translate(-50%, -50%) rotate(90deg); }
.icon-connect { background: #e9f8f0; }

.icon-connect i {
  width: 24px;
  height: 16px;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.icon-connect i::before,
.icon-connect i::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: #e9f8f0;
}

.icon-connect i::before { left: -9px; }
.icon-connect i::after { right: -9px; }
.feature-card h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -0.02em; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.download {
  margin-bottom: 94px;
  padding: 52px 56px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: white;
  background: radial-gradient(circle at 92% 16%, rgba(235, 48, 48, 0.34), transparent 18rem), #172033;
}

.download > div:first-child { max-width: 660px; }
.download > div > p:last-child { margin-bottom: 0; color: #b8c2d3; }
.eyebrow-light { color: #ff8b8b; }

.release-status {
  min-width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffad43;
  box-shadow: 0 0 0 6px rgba(255, 173, 67, 0.12);
}

.release-status span:last-child { display: grid; }
.release-status strong { font-size: 13px; }
.release-status small { color: #9da9bb; font-size: 11px; }

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.brand-footer { margin-bottom: 14px; }
.brand-footer .brand-mark { width: 27px; height: 27px; border-radius: 8px 8px 12px 12px; }
.brand-footer .brand-mark::after { inset: 7px; border-width: 3px; }
.site-footer p { margin-bottom: 0; color: var(--muted); font-size: 12px; }

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-meta a { border-bottom: 1px solid #b8c0cc; }
.footer-meta a:hover, .footer-meta a:focus-visible { color: var(--red); border-color: var(--red); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 44px; }
  .hero-copy { max-width: 680px; }
  .map-preview { min-height: 470px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-icon { margin-bottom: 34px; }
  .download { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header, .hero, .features, .download, .site-footer { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 68px; }
  .site-header nav { gap: 18px; }
  .site-header nav a:first-child { display: none; }
  .hero { min-height: auto; padding: 54px 0 76px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-description { font-size: 15px; }
  .hero-actions { display: grid; }
  .map-preview { min-height: 410px; border-radius: 26px; }
  .activity-pin span { display: none; }
  .features { padding: 82px 0; }
  .download { margin-bottom: 64px; padding: 34px 26px; }
  .release-status { width: 100%; min-width: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
