

:root {
  --primary: #0077b6;
  --primary-dark: #005f94;
  --sky: #38bdf8;
  --sky-light: #7dd3fc;
  --huawei: #c7000b;
  --huawei-dark: #a3000a;
  --huawei-bright: #f04438;
  --radius: 3px;
  --green: #34d399;
  --amber: #b45309;
  --amber-bright: #fbbf24;
  --dark: #0a0a0a;
  --dark-section: #0f172a;
  --gray-bg: #f8fafc;
  --gray-card: #f9fafb;
  --gray-border: #e2e8f0;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

body:lang(zh) {
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

::selection { background: var(--huawei); color: #fff; }

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

.letterbox {
  position: fixed;
  left: 0; right: 0;
  height: 12vh;
  background: #000;
  z-index: 200;
  pointer-events: none;
  animation: lb-open 1.6s ease-in-out 0.4s forwards;
}
.letterbox.top { top: 0; transform-origin: top; }
.letterbox.bottom { bottom: 0; transform-origin: bottom; }
@keyframes lb-open { to { transform: scaleY(0); } }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.3s;
}
.logo span { color: var(--sky); font-weight: 600; transition: color 0.3s; }
.site-header.scrolled .logo { color: var(--dark); }
.site-header.scrolled .logo span { color: var(--primary); }

.lang-switch {
  display: flex;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.25rem;
  transition: border-color 0.3s;
}
.site-header.scrolled .lang-switch { border-color: var(--gray-border); }
.lang-switch a {
  display: inline-block;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.site-header.scrolled .lang-switch a { color: var(--text-light); }
.lang-switch a:hover { color: #fff; }
.site-header.scrolled .lang-switch a:hover { color: var(--huawei); }
.lang-switch a.active { background: var(--huawei); color: #fff !important; }

.teaser {
  position: relative;
  background: var(--dark-section);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 9.5rem 0 7rem;
}

#stars { position: absolute; inset: 0; width: 100%; height: 100%; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.glow-1 {
  width: 620px; height: 620px;
  background: rgba(0, 119, 182, 0.20);
  top: -22%; left: 50%;
  margin-left: -310px;
  animation: glow-breathe 8s ease-in-out infinite;
}
.glow-2 {
  width: 400px; height: 400px;
  background: rgba(199, 0, 11, 0.13);
  bottom: -18%; right: -6%;
  animation: glow-breathe 10s ease-in-out -4s infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.teaser-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}

.reveal-seq {
  opacity: 0;
  transform: translateY(26px);
  animation: seq-in 0.9s ease forwards;
}
@keyframes seq-in { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.9s; }
.d3 { animation-delay: 2.1s; }
.d4 { animation-delay: 2.9s; }
.d5 { animation-delay: 3.5s; }
.d6 { animation-delay: 4.1s; }

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: var(--huawei);
  margin-bottom: 1rem;
}

.mega {
  margin-top: 1.1rem;
  font-size: clamp(3rem, 11vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-block;
  background: linear-gradient(100deg, #fff 30%, var(--sky-light) 50%, #fff 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  animation: seq-in 0.9s ease 1.5s forwards, beam 5.5s ease-in-out 2.6s infinite;
}
@keyframes beam {
  0%, 100% { background-position: 110% 0; }
  50% { background-position: -10% 0; }
}

@media (max-width: 820px) {
  .letterbox { animation-duration: 0.7s; animation-delay: 0.1s; }
  .reveal-seq { animation-duration: 0.45s; transform: translateY(14px); }
  .d1 { animation-delay: 0.05s; }
  .d3 { animation-delay: 0.2s; }
  .d4 { animation-delay: 0.3s; }
  .d5 { animation-delay: 0.4s; }
  .d6 { animation-delay: 0.5s; }
  .mega {
    animation: seq-in 0.45s ease 0.12s forwards, beam 5.5s ease-in-out 1.2s infinite;
  }
}

.for-line {
  margin-top: 0.8rem;
  font-size: clamp(1.25rem, 4vw, 2.1rem);
  font-weight: 600;
  color: #e2e8f0;
}
.for-line .taishan { color: var(--huawei-bright); font-weight: 800; }

.tagline {
  margin-top: 1.7rem;
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 2.4vw, 1.15rem);
  color: var(--sky-light);
  letter-spacing: 0.06em;
}

.intro {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  color: #d1d5db;
  font-size: 1.06rem;
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.875rem 2.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.btn-primary { background: var(--huawei); color: #fff; }
.btn-primary:hover {
  background: var(--huawei-dark);
  box-shadow: 0 10px 15px -3px rgba(199, 0, 11, 0.3);
  transform: translateY(-2px);
}
.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }

.subhero {
  position: relative;
  background: var(--dark-section);
  padding: 8.5rem 0 3.5rem;
  overflow: hidden;
}
.subhero::after {
  content: "";
  position: absolute;
  top: -40%; right: -8%;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  background: rgba(199, 0, 11, 0.16);
  pointer-events: none;
}
.subhero-inner {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.subhero .rule {
  width: 46px;
  height: 3px;
  background: var(--huawei);
  margin-bottom: 1rem;
}
.subhero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.subhero p {
  color: #cbd5e1;
  margin-top: 0.6rem;
  max-width: 46rem;
}

.tab-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
}
.tab-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav-inner::-webkit-scrollbar { display: none; }
.tab-nav a {
  display: inline-block;
  padding: 1.05rem 0 0.9rem;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tab-nav a:hover,
.tab-nav a.active {
  color: var(--huawei);
  border-bottom-color: var(--huawei);
}

.section { padding: 5.5rem 0; }
.section-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark);
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: var(--huawei);
  margin: 1.1rem auto 0;
}
.section-sub {
  margin: 1rem auto 0;
  text-align: center;
  color: var(--text-light);
  max-width: 44rem;
  font-size: 1.08rem;
}

.tile-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-auto-rows: minmax(250px, auto);
  gap: 1.25rem;
}
@media (max-width: 820px) {
  .tile-grid { grid-template-columns: 1fr; }
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 6rem 2.2rem 2.2rem;
  color: #fff;
  isolation: isolate;
  transition: box-shadow 0.3s, transform 0.3s;
}
.tile:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  transform: translateY(-4px);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 0.5s ease;
}
.tile:hover::before { transform: scale(1.04); }
.tile-1 {
  grid-row: span 2;
  min-height: 520px;
}
.tile-1::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px),
    radial-gradient(110% 90% at 80% 10%, rgba(0, 119, 182, 0.55), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e1b4b 130%);
}
.tile-2::before {
  background:
    radial-gradient(120% 120% at 85% 12%, rgba(199, 0, 11, 0.5), transparent 55%),
    linear-gradient(135deg, #111827 0%, #1f2937 100%);
}
.tile-3::before {
  background:
    radial-gradient(120% 120% at 12% 88%, rgba(0, 119, 182, 0.45), transparent 55%),
    linear-gradient(135deg, #0b1120 0%, #172554 100%);
}
.tile-icon {
  position: absolute;
  top: 2rem;
  left: 2.2rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.tile-icon svg { width: 1.35rem; height: 1.35rem; }
.tile h3 { font-size: 1.35rem; font-weight: 700; color: #fff; }
.tile-1 h3 { font-size: 1.6rem; }
.tile p { margin-top: 0.6rem; color: #cbd5e1; font-size: 0.98rem; max-width: 34rem; }
.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--huawei-bright);
  font-size: 0.9rem;
  font-weight: 600;
}
.tile-link .arrow { transition: transform 0.2s ease; }
.tile:hover .tile-link .arrow { transform: translateX(4px); }

.cta-band {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band .hero-ctas {
  justify-content: center;
}

.section-platform {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.spec-wrap {
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
}
.spec-head .bar {
  width: 4px; height: 1.4rem;
  background: var(--huawei);
  border-radius: 2px;
}
.spec-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.spec-table-scroll { overflow-x: auto; }
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.spec th,
table.spec td {
  text-align: left;
  padding: 0.85rem 1.5rem;
  vertical-align: top;
}
table.spec tr:nth-child(even) { background: var(--gray-bg); }
table.spec th {
  width: 32%;
  min-width: 180px;
  font-weight: 600;
  color: var(--dark);
}
table.spec td { color: var(--text-light); }
.spec-note {
  margin-top: 1.2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.82rem;
}
.spec-note a { color: var(--huawei); }

.model-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.model-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.model-card:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
  border-top-color: var(--huawei);
  transform: translateY(-4px);
}
.model-ff {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--huawei);
  background: rgba(199, 0, 11, 0.06);
  border: 1px solid rgba(199, 0, 11, 0.25);
  border-radius: var(--radius);
  padding: 0.25rem 0.7rem;
  margin-bottom: 1rem;
}
.model-card h3 { color: var(--dark); font-size: 1.2rem; font-weight: 700; }
.model-card .model-role {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.model-card p { margin-top: 0.7rem; color: var(--text-light); font-size: 0.95rem; }

.roadmap {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.milestone {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  border: 1px solid var(--gray-border);
  border-left: 3px solid var(--gray-border);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.milestone:hover {
  border-left-color: var(--huawei);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}
.ms-dot { flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; margin-top: 0.45rem; }
.ms-dot.waiting {
  background: var(--amber-bright);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
  animation: pulse 1.8s ease-in-out infinite;
}
.ms-dot.planned { background: transparent; border: 2px solid var(--text-light); }
.ms-dot.done { background: #16a34a; box-shadow: 0 0 10px rgba(22, 163, 74, 0.45); }
.ms-dot.progress {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(0, 119, 182, 0.6);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.milestone h3 { color: var(--dark); font-size: 1.12rem; font-weight: 700; }
.milestone p { color: var(--text-light); font-size: 0.95rem; margin-top: 0.25rem; }
.ms-tag {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border-radius: var(--radius);
  padding: 0.22rem 0.75rem;
}
.ms-tag.waiting { color: var(--amber); background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(180, 83, 9, 0.3); }
.ms-tag.planned { color: var(--text-light); background: var(--gray-bg); border: 1px solid var(--gray-border); }
.ms-tag.done { color: #15803d; background: rgba(22, 163, 74, 0.1); border: 1px solid rgba(22, 163, 74, 0.35); }
.ms-tag.progress { color: var(--primary-dark); background: rgba(0, 119, 182, 0.08); border: 1px solid rgba(0, 119, 182, 0.3); }

.dl-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.dl-card {
  border: 1px dashed rgba(100, 116, 139, 0.4);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  background: var(--white);
  text-align: center;
}
.dl-icon {
  width: 3rem; height: 3rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(199, 0, 11, 0.07);
  color: var(--huawei);
}
.dl-icon svg { width: 1.5rem; height: 1.5rem; }
.dl-card h3 { color: var(--dark); font-size: 1.05rem; font-weight: 700; }
.dl-card p { color: var(--text-light); font-size: 0.9rem; margin-top: 0.35rem; }
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--huawei);
  border: 1px solid rgba(199, 0, 11, 0.35);
  background: rgba(199, 0, 11, 0.06);
  border-radius: var(--radius);
  padding: 0.4rem 1.1rem;
}
.soon-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--huawei);
  animation: pulse 1.6s ease-in-out infinite;
}
.dl-note {
  margin-top: 2.4rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.92rem;
  font-family: var(--font-mono);
}

.dl-card.available {
  display: block;
  border: 1px solid var(--gray-border);
  border-top: 3px solid var(--huawei);
  background: var(--white);
  transition: box-shadow 0.3s, transform 0.3s;
}
.dl-card.available:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
  transform: translateY(-4px);
}
.dl-card.available .dl-icon {
  background: var(--huawei);
  color: #fff;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  border-radius: var(--radius);
  padding: 0.6rem 1.4rem;
  background: var(--huawei);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.3s;
}
.dl-card.available:hover .dl-btn { background: var(--huawei-dark); }
.dl-meta {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-light);
}

.site-footer {
  background: #171717;
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}
.footer-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.footer-brand { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.footer-brand span { color: var(--sky); font-weight: 600; }
.footer-tagline {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}
.footer-links {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 0.88rem;
}
.footer-links a { color: #d1d5db; transition: color 0.2s; }
.footer-links a:hover { color: var(--huawei-bright); }
.footer-note { margin-top: 1.6rem; color: #9ca3af; font-size: 0.85rem; }
.trademark {
  margin: 1rem auto 0;
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.74rem;
  max-width: 46rem;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: var(--huawei);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(199, 0, 11, 0.3);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--huawei-dark); }

a, button { touch-action: manipulation; }

@media (hover: none) {
  .tile:hover,
  .model-card:hover,
  .milestone:hover,
  .btn-primary:hover {
    transform: none;
    box-shadow: none;
  }
  .tile:hover::before { transform: none; }
  .model-card:hover { border-top-color: transparent; }
  .milestone:hover { border-left-color: var(--gray-border); }
  .tile:hover .tile-link .arrow { transform: none; }
}

html.intro-seen .letterbox { display: none; }
html.intro-seen .reveal-seq {
  animation: none;
  opacity: 1;
  transform: none;
}
html.intro-seen .mega {
  animation: beam 5.5s ease-in-out 1s infinite;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *,
  html:not(.force-motion) *::before,
  html:not(.force-motion) *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion) .reveal,
  html:not(.force-motion) .reveal-seq { opacity: 1; transform: none; }
  html:not(.force-motion) .letterbox { display: none; }
  html:not(.force-motion) .mega {
    -webkit-text-fill-color: #fff;
    background: none;
  }
}

table.sums th { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; word-break: break-all; }
table.sums td code { font-family: var(--font-mono); font-size: 0.85rem; word-break: break-all; color: var(--dark); }
.spec-note code { font-family: var(--font-mono); font-size: 0.85em; background: var(--gray-bg); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 0.05rem 0.35rem; }
table.sums td.sumlink { white-space: nowrap; text-align: right; font-family: var(--font-mono); font-size: 0.82rem; }
