:root {
  --bg: #0b1118;
  --bg-soft: #111a23;
  --panel: #17212b;
  --panel-2: #eef7fb;
  --text: #f7fbff;
  --muted: #aebdca;
  --ink: #17212b;
  --ink-muted: #586675;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #18d7e8;
  --pink: #ff4aa2;
  --yellow: #f6cf4f;
  --green: #6bd796;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --glow-cyan: 0 0 0 1px rgba(24, 215, 232, 0.35), 0 18px 42px rgba(24, 215, 232, 0.18);
  --glow-pink: 0 0 0 1px rgba(255, 74, 162, 0.32), 0 18px 42px rgba(255, 74, 162, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(36px, 5.4vw, 66px);
}

h2 {
  font-size: clamp(24px, 3.2vw, 38px);
}

h3 {
  font-size: 22px;
}

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 13, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 32px), 1260px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  text-shadow: 0 0 18px rgba(24, 215, 232, 0.55);
}

.nav-download {
  padding: 9px 16px !important;
  color: #061119;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(24, 215, 232, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-download:hover,
.nav-download:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.15);
  box-shadow: 0 14px 34px rgba(24, 215, 232, 0.32);
}

.nav-download::after {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-7px);
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(7px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 10, 16, 0.9) 0%, rgba(5, 10, 16, 0.62) 44%, rgba(5, 10, 16, 0.2) 78%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 17, 24, 0) 36%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(24, 215, 232, 0.16), transparent 42%),
    radial-gradient(circle at 80% 18%, rgba(255, 74, 162, 0.18), transparent 34%);
}

.hero-content {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 132px 0 76px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.term {
  position: relative;
  display: inline;
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 0 14px rgba(24, 215, 232, 0.18);
}

.term::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.34em;
  z-index: -1;
  border-radius: 2px;
  background: rgba(24, 215, 232, 0.22);
}

.term-cyan {
  color: #7ff3ff;
}

.term-cyan::after {
  background: rgba(24, 215, 232, 0.28);
}

.term-pink {
  color: #ff9aca;
  text-shadow: 0 0 14px rgba(255, 74, 162, 0.2);
}

.term-pink::after {
  background: rgba(255, 74, 162, 0.28);
}

.term-yellow {
  color: #ffe27a;
  text-shadow: 0 0 14px rgba(246, 207, 79, 0.22);
}

.term-yellow::after {
  background: rgba(246, 207, 79, 0.3);
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions,
.cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 900;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  z-index: -1;
  width: 52%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0;
  transition: left 0.55s ease, opacity 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 118%;
  opacity: 0.65;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn.primary {
  color: #071016;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  box-shadow: 0 14px 34px rgba(24, 215, 232, 0.25);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  filter: saturate(1.18) brightness(1.05);
  box-shadow: 0 18px 46px rgba(24, 215, 232, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.32) inset;
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: rgba(24, 215, 232, 0.7);
  background: rgba(24, 215, 232, 0.13);
  box-shadow: var(--glow-cyan);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 34px 0 0;
  padding: 0;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stats div {
  padding: 17px 18px;
  background: rgba(7, 13, 20, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-stats div:hover {
  transform: translateY(-2px);
  background: rgba(24, 215, 232, 0.12);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 13px;
}

.hero-stats dd {
  margin: 2px 0 0;
  font-weight: 900;
}

.section {
  padding: 92px 0;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--bg-soft);
}

.section-head {
  max-width: 820px;
  margin: 0 0 40px;
}

.section-head.compact {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 10px 36px;
  max-width: none;
  align-items: start;
  margin-bottom: 28px;
}

.section-head.compact .kicker {
  grid-row: span 2;
  margin-top: 8px;
}

.section-head p,
.media-copy p {
  color: var(--muted);
  font-size: 17px;
}

.intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intent-tags li {
  padding: 9px 13px;
  color: #061119;
  font-weight: 800;
  background: var(--panel-2);
  border-left: 4px solid var(--pink);
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.intent-tags li:hover {
  transform: translateY(-3px);
  border-left-color: var(--cyan);
  box-shadow: 0 14px 28px rgba(24, 215, 232, 0.16);
}

.two-col,
.media-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.intro p,
.media-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.feature-figure,
.wide-shot,
.gallery-item,
.build-strip figure {
  margin: 0;
}

.feature-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-figure img,
.wide-shot img,
.gallery-item img,
.build-strip img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.feature-figure:hover,
.wide-shot:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 215, 232, 0.42);
  box-shadow: var(--shadow), var(--glow-cyan);
}

.feature-figure:hover img,
.wide-shot:hover img,
.gallery-item:hover img,
.build-strip:hover img {
  transform: scale(1.035);
  filter: saturate(1.1) contrast(1.03);
}

.feature-figure figcaption,
.gallery-item figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.24);
}

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

.feature-card,
.strategy-card,
.guide-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.feature-card::before,
.strategy-card::before,
.guide-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(24, 215, 232, 0.24), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(255, 74, 162, 0.18), transparent 30%);
  transition: opacity 0.25s ease;
}

.feature-card:hover,
.strategy-card:hover,
.guide-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 215, 232, 0.42);
  background: linear-gradient(180deg, rgba(24, 215, 232, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24), var(--glow-cyan);
}

.feature-card:hover::before,
.strategy-card:hover::before,
.guide-panel:hover::before {
  opacity: 1;
}

.feature-card {
  min-height: 280px;
  padding: 24px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--yellow);
  font-weight: 900;
  font-size: 13px;
}

.feature-card p,
.strategy-card p,
.guide-panel,
.build-strip p,
.timeline p,
.faq-list p,
.download-cta p,
.site-footer p {
  color: var(--muted);
}

.feature-card .term,
.strategy-card .term,
.guide-panel .term,
.build-strip .term,
.timeline .term,
.faq-list .term,
.download-cta .term {
  color: var(--white);
}

.feature-card .term-cyan,
.strategy-card .term-cyan,
.guide-panel .term-cyan,
.build-strip .term-cyan,
.timeline .term-cyan,
.faq-list .term-cyan,
.download-cta .term-cyan {
  color: #74edf8;
}

.feature-card .term-pink,
.strategy-card .term-pink,
.guide-panel .term-pink,
.build-strip .term-pink,
.timeline .term-pink,
.faq-list .term-pink,
.download-cta .term-pink {
  color: #ff98c8;
}

.feature-card .term-yellow,
.strategy-card .term-yellow,
.guide-panel .term-yellow,
.build-strip .term-yellow,
.timeline .term-yellow,
.faq-list .term-yellow,
.download-cta .term-yellow {
  color: #ffdd68;
}

.visual-split {
  background:
    linear-gradient(90deg, rgba(255, 74, 162, 0.08), transparent 42%),
    var(--bg);
}

.wide-shot {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.wide-shot img {
  aspect-ratio: 16 / 9;
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(107, 215, 150, 0.16);
}

.guide-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: start;
}

.guide-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.guide-panel ol {
  margin: 18px 0;
  padding-left: 22px;
}

.guide-panel li {
  margin-bottom: 12px;
}

.text-link {
  display: inline-flex;
  color: var(--cyan);
  font-weight: 900;
}

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

.strategy-card {
  padding: 24px;
}

.build-strip {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(24, 215, 232, 0.12), rgba(255, 74, 162, 0.08));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.build-strip::after {
  content: "";
  position: absolute;
  inset: -60% -20% auto;
  height: 110px;
  transform: rotate(-7deg) translateY(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transition: transform 0.55s ease;
}

.build-strip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 74, 162, 0.38);
  box-shadow: var(--glow-pink);
}

.build-strip:hover::after {
  transform: rotate(-7deg) translateY(170%);
}

.build-strip img {
  aspect-ratio: 658 / 322;
  border-radius: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--panel);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  min-height: 260px;
}

.gallery-item:not(.large) img {
  aspect-ratio: 16 / 9;
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  color: var(--white);
  background: rgba(7, 13, 20, 0.68);
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 13px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--pink), var(--yellow));
}

.timeline li {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 0 46px;
  transition: transform 0.2s ease;
}

.timeline li:hover {
  transform: translateX(4px);
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--cyan);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.timeline li:hover::before {
  transform: scale(1.12);
  border-color: var(--yellow);
  box-shadow: 0 0 22px rgba(246, 207, 79, 0.45);
}

.timeline time {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--yellow);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-list details:hover,
.faq-list details[open] {
  transform: translateY(-2px);
  border-color: rgba(24, 215, 232, 0.38);
  background: rgba(24, 215, 232, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 20px;
  color: var(--cyan);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.download-cta {
  padding: 78px 0;
  background:
    linear-gradient(135deg, rgba(24, 215, 232, 0.18), rgba(255, 74, 162, 0.15)),
    #101922;
}

.cta-inner {
  justify-content: space-between;
}

.cta-inner > div {
  max-width: 760px;
}

.site-footer {
  padding: 42px 0;
  color: var(--muted);
  background: #070d14;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 40px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.footer-grid nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-grid nav a {
  color: rgba(255, 255, 255, 0.74);
}

.legal {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.reveal,
.strategy-card.reveal,
.guide-panel.reveal,
.feature-figure.reveal,
.wide-shot.reveal,
.gallery-item.reveal,
.build-strip.reveal,
.timeline li.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.28s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    filter 0.25s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.reveal.is-visible:hover,
.strategy-card.reveal.is-visible:hover,
.guide-panel.reveal.is-visible:hover {
  transform: translateY(-5px);
}

.feature-figure.reveal.is-visible:hover,
.wide-shot.reveal.is-visible:hover,
.gallery-item.reveal.is-visible:hover,
.build-strip.reveal.is-visible:hover {
  transform: translateY(-4px);
}

.timeline li.reveal.is-visible:hover {
  transform: translateX(4px);
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 14px;
    font-size: 14px;
  }

  .feature-grid,
  .guide-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-layout,
  .two-col,
  .media-row,
  .build-strip {
    grid-template-columns: 1fr;
  }

  .guide-panel {
    position: static;
  }

  .section-head.compact {
    grid-template-columns: 1fr;
  }

  .section-head.compact .kicker {
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(7, 13, 20, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 10px;
  }

  .nav-download {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-content {
    padding: 118px 0 58px;
  }

  .hero-copy,
  .section-head p,
  .intro p,
  .media-copy p {
    font-size: 16px;
  }

  .hero-stats,
  .feature-grid,
  .guide-cards,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-row: auto;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .container,
  .hero-content {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-actions,
  .cta-inner {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-stats div,
  .feature-card,
  .strategy-card,
  .guide-panel {
    padding: 20px;
  }

  .section {
    padding: 68px 0;
  }

  .gallery-item figcaption {
    position: static;
    border-radius: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
