/* ==========================================================================
   广晟低空 · 设计系统
   语言：Apple 排版秩序 × DJI 影像叙事
   基底浅色，暗色仅用于全幅产品章节；单一强调色 #0071e3
   ========================================================================== */

:root {
  /* 色板 */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --bg-dark-soft: #101013;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-inv: #f5f5f7;
  --text-inv-2: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --hairline: rgba(0, 0, 0, 0.1);
  --hairline-inv: rgba(255, 255, 255, 0.16);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-bg-dark: rgba(22, 22, 23, 0.72);

  /* 圆角：卡片 18px，交互全胶囊 */
  --radius: 18px;
  --radius-lg: 28px;

  /* 字体：系统栈，中文优先苹方/鸿蒙/雅黑 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI",
    "Microsoft YaHei", "Helvetica Neue", sans-serif;

  --nav-h: 52px;
  --container: 1120px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.58;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

::selection {
  background: rgba(0, 113, 227, 0.18);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- 排版 ---------- */
.h-display {
  font-size: clamp(44px, 7.2vw, 84px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.h-section {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.h-block {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: var(--text-2);
  font-weight: 400;
}

.measure {
  max-width: 620px;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--hairline);
}

.nav.on-dark:not(.scrolled) {
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}

.nav-inner {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  color: var(--text);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.nav.on-dark .nav-brand,
.nav.on-dark .nav-link {
  color: var(--text-inv);
}

.nav.scrolled .nav-brand,
.nav.scrolled .nav-link {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text);
  opacity: 0.82;
  transition: opacity 0.2s;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  opacity: 1;
}

.nav-link[aria-current="page"] {
  color: var(--accent);
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.nav-burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  color: var(--text);
  margin: 4px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* 移动端全屏菜单 */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  display: none;
  padding: calc(var(--nav-h) + 28px) 34px 40px;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}

.nav-mobile a:last-child {
  border-bottom: 0;
}

body.menu-locked {
  overflow: hidden;
}

/* ---------- 按钮 / 文字链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 480;
  padding: 11px 24px;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease),
    opacity 0.22s;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.975);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn-ghost.on-dark {
  color: var(--text-inv);
  box-shadow: inset 0 0 0 1px var(--hairline-inv);
}

.btn-ghost.on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 480;
  color: var(--accent);
}

.link-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s var(--ease);
}

.link-more:hover::after {
  transform: rotate(45deg) translate(1px, -2px);
}

.link-more.on-dark {
  color: #2997ff;
}

/* ---------- 章节 ---------- */
.section {
  padding: clamp(88px, 12vw, 150px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inv);
}

.section-dark .lede {
  color: var(--text-inv-2);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head .lede {
  margin-top: 16px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--text-inv);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease-out) both;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 22px calc(clamp(72px, 10vh, 120px));
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.hero .h-display {
  color: #fff;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
  margin: 18px 0 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* ---------- Bento 网格（核心业务） ---------- */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.bento-cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.bento-cell img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.bento-cell:hover img {
  transform: scale(1.04);
}

.bento-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.02) 62%);
}

.bento-cell.wide {
  grid-column: span 2;
}

.bento-body {
  padding: 30px 32px;
}

.bento-body h3 {
  font-size: 26px;
  font-weight: 650;
  margin-bottom: 6px;
}

.bento-body p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
  margin-bottom: 12px;
}

/* ---------- 横滑卡片（应用场景） ---------- */
.snap-wrap {
  position: relative;
}

.snap-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 30vw, 360px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.snap-row::-webkit-scrollbar {
  display: none;
}

.snap-card {
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--bg-alt);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
  transition: transform 0.35s var(--ease);
}

.snap-card:hover {
  transform: translateY(-4px);
}

.snap-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.snap-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.snap-card:hover .snap-media img {
  transform: scale(1.045);
}

.snap-body {
  padding: 20px 22px 26px;
}

.snap-body h3 {
  font-size: 19px;
  font-weight: 650;
  margin-bottom: 6px;
}

.snap-body p {
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------- 左右分栏特性（DJI 式） ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-body h3 {
  margin-bottom: 14px;
}

.feature-body .lede {
  margin-bottom: 22px;
}

/* ---------- 规格卡（执照 / 机型） ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.spec-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-card.featured {
  background: var(--bg-dark);
  color: var(--text-inv);
}

.spec-card.featured .muted {
  color: var(--text-inv-2);
}

.spec-badge {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.spec-card h3 {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
}

.spec-sub {
  font-size: 14px;
  color: var(--text-2);
}

.spec-card.featured .spec-sub {
  color: var(--text-inv-2);
}

.spec-list {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 9px;
}

.spec-card.featured .spec-list li {
  border-bottom-color: var(--hairline-inv);
}

.spec-list li span:last-child {
  font-weight: 560;
  text-align: right;
}

.muted {
  color: var(--text-2);
}

/* ---------- 品牌标签 ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-alt);
  color: var(--text);
}

.tag-primary {
  background: var(--accent);
  color: #fff;
}

/* ---------- 数据条 ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.stat-cell {
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
}

.stat-cell strong {
  display: block;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.stat-cell p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------- 新闻列表 ---------- */
.news-list {
  display: grid;
  gap: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 120px 96px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-top: 1px solid var(--hairline);
  color: var(--text);
  transition: background 0.2s;
}

.news-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.news-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.news-item time {
  font-size: 14px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.news-item .news-tag {
  justify-self: start;
  font-size: 12px;
  font-weight: 560;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.09);
  border-radius: 6px;
  padding: 3px 9px;
  white-space: nowrap;
}

.news-item h3 {
  font-size: 17px;
  font-weight: 520;
  line-height: 1.4;
}

.news-item .link-more {
  font-size: 14px;
}

/* ---------- 页头（子页面） ---------- */
.pagehead {
  padding: calc(var(--nav-h) + clamp(72px, 11vw, 128px)) 0
    clamp(56px, 8vw, 96px);
  background: var(--bg-alt);
}

.pagehead .lede {
  margin-top: 14px;
}

.pagehead-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 48vw, 520px);
  isolation: isolate;
}

.pagehead-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagehead-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05) 60%);
}

.pagehead-media .pagehead-body {
  padding: clamp(28px, 4vw, 44px);
}

/* ---------- 文章 ---------- */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 96px)) 22px
    clamp(72px, 9vw, 110px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text-2);
}

.article-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.article-cover {
  margin: 34px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body p {
  font-size: 17.5px;
  line-height: 1.75;
  color: #333336;
  margin-bottom: 1.4em;
}

.article-back {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

/* ---------- 执照章节（每照一章） ---------- */
.license-code {
  display: block;
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 18px;
}

.section-dark .license-code {
  color: var(--text-inv);
}

.license-name {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 650;
  margin-bottom: 6px;
}

.license-tag {
  font-size: 15px;
  color: var(--accent);
  font-weight: 560;
  margin-bottom: 16px;
}

.license-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 420px;
}

.section-dark .license-desc {
  color: var(--text-inv-2);
}

.license-specs .spec-list li {
  padding: 15px 0;
  font-size: 15.5px;
}

.license-specs .spec-list li:first-child {
  border-top: 1px solid var(--hairline);
  padding-top: 15px;
}

.section-dark .license-specs .spec-list li {
  border-bottom-color: var(--hairline-inv);
}

.section-dark .license-specs .spec-list li:first-child {
  border-top-color: var(--hairline-inv);
}

/* ---------- CTA 条 ---------- */
.cta-band {
  text-align: center;
  padding: clamp(80px, 10vw, 130px) 22px;
}

.cta-band .lede {
  margin: 14px auto 30px;
}

.cta-band .contact-line {
  margin-top: 34px;
  font-size: 14.5px;
  color: var(--text-2);
}

.cta-band .contact-line a {
  color: var(--text);
  font-weight: 560;
}

/* ---------- 证书平铺网格 ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cert-cell {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

.cert-cell img {
  width: 100%;
  aspect-ratio: 1653 / 2339;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.cert-cell:hover img {
  transform: scale(1.03);
}

/* ---------- 培养路径（爬升航线） ---------- */
.flow-path {
  position: relative;
  height: 500px;
  margin-top: 4px;
}

.flow-line-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.flow-line {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.flow-step {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.flow-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--bg);
}

.flow-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  text-align: center;
  background: var(--bg);
  padding: 4px 0;
}

.flow-step--below .flow-text {
  top: 32px;
}

.flow-step--above .flow-text {
  bottom: 32px;
}

.flow-num {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.flow-text h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 6px;
}

.flow-text p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}

@media (prefers-reduced-motion: no-preference) {
  .flow-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s var(--ease-out) 0.25s;
  }

  .flow-path.in .flow-line {
    stroke-dashoffset: 0;
  }

  .flow-step {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(14px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: calc(0.35s + var(--i) * 0.26s);
  }

  .flow-path.in .flow-step {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  padding: 44px 0 56px;
  font-size: 12.5px;
  color: var(--text-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
}

.footer h4 {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: var(--text-2);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer-legal a {
  color: var(--text-2);
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* ---------- 滚动淡入 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
    transition-delay: var(--d, 0s);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
  }

  .spec-grid,
  .spec-grid.cols-4 {
    grid-template-columns: 1fr;
  }

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

  .flow-path {
    position: relative;
    height: auto;
    padding-left: 6px;
  }

  /* 移动端脊线：延续桌面航线的语言（细、#0071e3、无装饰） */
  .flow-path::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 40px;
    width: 2px;
    background: var(--accent);
  }

  .flow-line-svg {
    display: none;
  }

  .flow-step {
    position: static;
    transform: none;
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 26px;
  }

  .flow-step .flow-dot {
    margin-top: 3px;
    box-shadow: 0 0 0 3px var(--bg);
  }

  .flow-text {
    position: static;
    transform: none;
    width: auto;
    text-align: left;
    background: none;
    padding: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    .flow-step {
      transform: none;
    }

    .flow-path.in .flow-step {
      transform: none;
    }
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-cell {
    padding: 20px 0 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-cell.wide {
    grid-column: span 1;
  }

  .bento-cell {
    min-height: 300px;
  }

  .news-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "tag link"
      "title title"
      "time time";
    gap: 6px 12px;
    padding: 20px 2px;
  }

  .news-item time {
    grid-area: time;
  }

  .news-item .news-tag {
    grid-area: tag;
    justify-self: start;
  }

  .news-item h3 {
    grid-area: title;
    font-size: 16px;
  }

  .news-item .link-more {
    grid-area: link;
  }

  .hero {
    min-height: 88dvh;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
