
/* =============================================================
   双飞 / AI MEDIA SYSTEM
   Dark-space foundations, luminous interfaces, layered glass.
   All components below target the existing PHP and JS contracts.
   ============================================================= */

:root {
  color-scheme: dark;
  --space: #060A1A;
  --navy: #07152F;
  --navy-deep: #050B20;
  --cyan: #2FE8FF;
  --blue: #4385FF;
  --indigo: #745BFF;
  --magenta: #FF5CDB;
  --text: #EEF5FF;
  --text-secondary: #C2D1EB;
  --text-muted: #A2B5D5;
  --text-soft: #91A8CB;
  --link: #83EFFF;
  --line: rgba(135, 180, 255, 0.18);
  --line-bright: rgba(80, 220, 255, 0.4);
  --glass: rgba(13, 31, 67, 0.72);
  --glass-dark: rgba(7, 18, 43, 0.84);
  --glass-light: rgba(28, 51, 96, 0.6);
  --shadow: 0 22px 60px rgba(1, 5, 19, 0.42);
  --shadow-blue: 0 16px 48px rgba(22, 78, 201, 0.18);
  --glow-cyan: 0 0 30px rgba(47, 232, 255, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --header-height: 84px;
  --content-width: 1280px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

/* 01 / Resets, readable typography, and safe document sizing. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--space);
  scrollbar-color: #426BA4 var(--navy-deep);
  scrollbar-width: thin;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(67, 133, 255, 0.13), transparent 32rem),
    radial-gradient(ellipse at 98% 26%, rgba(116, 91, 255, 0.1), transparent 45rem),
    var(--space);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.modal-open {
  overflow: hidden;
}

main,
section,
header,
footer,
article,
aside,
figure,
nav {
  min-width: 0;
}

#main {
  position: relative;
  min-width: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(104, 161, 255, 0.2);
  background: #0B2145;
  filter: saturate(0.8) brightness(0.84) contrast(1.05);
}

svg,
video,
canvas,
iframe {
  max-width: 100%;
}

button,
input,
textarea,
select {
  max-width: 100%;
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: rgba(47, 232, 255, 0.18);
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition: color 180ms ease;
}

a:hover {
  color: #C3FAFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-family: var(--sans);
  font-weight: 750;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: anywhere;
}

strong {
  font-weight: 750;
}

small {
  font-size: 0.82em;
}

hr {
  height: 1px;
  margin-block: 32px;
  border: 0;
  background: linear-gradient(90deg, rgba(47, 232, 255, 0.4), rgba(116, 91, 255, 0.18), transparent);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

::selection {
  color: #041629;
  background: #66EFFF;
}

[hidden] {
  display: none !important;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

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

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 12px 18px;
  border: 1px solid var(--cyan);
  border-radius: var(--radius-sm);
  color: #041629;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

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

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

.status {
  color: #78F3D4;
  font-size: 13px;
  font-weight: 650;
}

/* 02 / Sticky command bar and illuminated rounded-square identity. */

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(111, 180, 255, 0.14);
  background: rgba(6, 10, 26, 0.9);
  box-shadow: 0 10px 35px rgba(0, 5, 19, 0.22);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(47, 232, 255, 0.45) 28%, rgba(116, 91, 255, 0.4) 70%, transparent);
  content: "";
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  max-width: 100%;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: #FFFFFF;
}

.brand > span {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.brand-logo {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 2px;
  border: 1px solid rgba(95, 209, 255, 0.65);
  border-radius: 14px;
  color: #F0FAFF;
  background: linear-gradient(145deg, #2475E8, #283486);
  box-shadow: 0 0 0 4px rgba(67, 133, 255, 0.07), 0 0 24px rgba(67, 133, 255, 0.42);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  object-fit: cover;
  filter: grayscale(1) invert(1) sepia(0.8) saturate(4) hue-rotate(165deg) brightness(1.15);
  transition: box-shadow 220ms ease;
}

.brand:hover .brand-logo {
  box-shadow: 0 0 0 4px rgba(47, 232, 255, 0.12), 0 0 32px rgba(67, 133, 255, 0.6);
}

.brand-name {
  color: var(--text);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.05;
}

.brand-sub {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px clamp(8px, 1vw, 16px);
  border: 1px solid transparent;
  border-radius: 12px;
  color: #C9D8EF;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: rgba(93, 176, 255, 0.25);
  color: #D9FAFF;
  background: linear-gradient(135deg, rgba(47, 232, 255, 0.11), rgba(67, 133, 255, 0.16));
  box-shadow: inset 0 1px 0 rgba(154, 226, 255, 0.06);
}

.nav .nav-contact {
  margin-left: 8px;
  border-color: rgba(89, 158, 255, 0.38);
  color: #DFEDFF;
  background: linear-gradient(125deg, rgba(45, 111, 221, 0.34), rgba(95, 70, 199, 0.25));
}

.nav .nav-contact:hover {
  border-color: rgba(47, 232, 255, 0.55);
  box-shadow: 0 0 24px rgba(67, 133, 255, 0.18);
}

#nav-toggle {
  display: none;
  flex: 0 0 auto;
  min-width: 64px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(107, 164, 255, 0.4);
  border-radius: 12px;
  color: #DCF8FF;
  background: rgba(23, 51, 95, 0.75);
  font-size: 13px;
  font-weight: 750;
}

#nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(18, 78, 113, 0.65);
  box-shadow: var(--glow-cyan);
}

/* 03 / Glass search console; no underlined editorial fields. */

.search-band {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(85, 148, 226, 0.12);
  background:
    linear-gradient(100deg, rgba(18, 48, 91, 0.7), rgba(9, 20, 46, 0.78) 54%, rgba(34, 28, 76, 0.6));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.search-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 26px;
  padding-block: 12px;
}

#demo-search {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(820px, 100%);
  min-width: 0;
  margin: 0;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(109, 171, 255, 0.22);
  border-radius: 16px;
  background: rgba(7, 18, 43, 0.65);
  box-shadow: inset 0 1px 0 rgba(149, 200, 255, 0.07), 0 8px 22px rgba(0, 5, 19, 0.12);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

#demo-search:focus-within {
  border-color: rgba(47, 232, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(149, 200, 255, 0.1), 0 0 0 3px rgba(47, 232, 255, 0.07);
}

#demo-search label {
  color: #A7E8F7;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

#demo-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 4px;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  font-size: 14px;
}

#demo-search input:focus-visible {
  outline-offset: 0;
}

#demo-search button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(83, 165, 255, 0.35);
  border-radius: 11px;
  color: #EAF9FF;
  background: linear-gradient(125deg, rgba(37, 98, 209, 0.78), rgba(73, 53, 174, 0.75));
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#demo-search button:hover {
  border-color: rgba(47, 232, 255, 0.7);
  box-shadow: 0 0 20px rgba(67, 133, 255, 0.2);
}

#search-feedback {
  flex: 1 1 180px;
  min-width: 0;
  max-width: 320px;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.65;
}

input::placeholder,
textarea::placeholder {
  color: #95ACCD;
  opacity: 1;
}

/* 04 / Shared section language: atmospheric light, not paper grids. */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #77EFFF;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(201, 252, 255, 0.65);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(47, 232, 255, 0.55);
  content: "";
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(68px, 7vw, 112px);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(41, 96, 187, 0.13), transparent 52%),
    radial-gradient(ellipse at 95% 100%, rgba(79, 52, 171, 0.09), transparent 48%),
    linear-gradient(180deg, #081127, #060A1A);
}

.section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(67, 133, 255, 0.23) 25%, rgba(47, 232, 255, 0.3) 52%, transparent);
  content: "";
  pointer-events: none;
}

.section:nth-of-type(even) {
  background:
    radial-gradient(ellipse at 82% 0%, rgba(65, 84, 177, 0.17), transparent 55%),
    radial-gradient(ellipse at 10% 95%, rgba(29, 114, 151, 0.09), transparent 44%),
    linear-gradient(160deg, #08132B, #060A1A 72%);
}

.section > .container {
  position: relative;
  min-width: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 40px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head > * {
  min-width: 0;
}

.section-head h2,
.page-hero h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
}

.section-head > .text-link {
  justify-self: end;
  margin-bottom: 5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid rgba(100, 170, 255, 0.22);
  border-radius: 12px;
  color: #8DEFFF;
  background: rgba(20, 50, 92, 0.35);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.text-link:hover {
  border-color: rgba(47, 232, 255, 0.5);
  color: #D0FCFF;
  background: rgba(20, 72, 114, 0.52);
  box-shadow: 0 0 18px rgba(47, 232, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  max-width: 100%;
  padding: 12px 22px;
  border: 1px solid rgba(87, 176, 255, 0.45);
  border-radius: 14px;
  color: #E6F5FF;
  background: linear-gradient(130deg, rgba(26, 68, 126, 0.72), rgba(32, 37, 96, 0.65));
  box-shadow: inset 0 1px 0 rgba(187, 225, 255, 0.12);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.btn:hover {
  border-color: rgba(47, 232, 255, 0.65);
  color: #FFFFFF;
  background: linear-gradient(130deg, rgba(32, 92, 167, 0.85), rgba(63, 49, 141, 0.78));
  box-shadow: 0 8px 30px rgba(37, 117, 245, 0.18), inset 0 1px 0 rgba(187, 225, 255, 0.18);
  transform: translateY(-2px);
}

.btn-dark {
  border-color: rgba(153, 238, 255, 0.6);
  color: #03142C;
  background: linear-gradient(110deg, #57E9FF, #62C9FF 50%, #86A8FF);
  box-shadow: 0 8px 32px rgba(47, 183, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-dark:hover {
  border-color: #BCF9FF;
  color: #020F27;
  background: linear-gradient(110deg, #8EF4FF, #7BD6FF 50%, #A2B9FF);
  box-shadow: 0 10px 38px rgba(47, 232, 255, 0.3);
}

.btn:active,
.text-link:active {
  transform: translateY(1px);
}

/* 05 / Full-scale hero: horizon grid, orbit light, cobalt image HUD. */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(700px, calc(100svh - 166px), 960px);
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(60px, 6vw, 94px);
  background:
    radial-gradient(ellipse at 70% 26%, rgba(28, 110, 234, 0.32), transparent 48%),
    radial-gradient(ellipse at 100% 70%, rgba(116, 91, 255, 0.28), transparent 43%),
    radial-gradient(ellipse at 8% 88%, rgba(47, 232, 255, 0.1), transparent 36%),
    conic-gradient(from 230deg at 76% 48%, #060A1A 0deg, #0B2553 72deg, #101847 118deg, #07152F 185deg, #060A1A 285deg);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: -30% -10%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(75, 162, 255, 0.08) 60px 61px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(75, 162, 255, 0.08) 60px 61px);
  mask-image: radial-gradient(ellipse at 66% 60%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 66% 60%, #000 10%, transparent 65%);
  content: "";
  pointer-events: none;
  transform: perspective(700px) rotateX(48deg) rotateZ(-12deg) scale(1.2);
  animation: grid-drift 22s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 10%;
  width: min(68vw, 850px);
  aspect-ratio: 1;
  border: 1px solid rgba(61, 180, 255, 0.13);
  border-radius: 50%;
  background:
    conic-gradient(from 35deg, transparent 0 62%, rgba(47, 232, 255, 0.1) 71%, transparent 82%),
    radial-gradient(circle, transparent 58%, rgba(116, 91, 255, 0.1) 59%, transparent 60%);
  box-shadow: 0 0 80px rgba(39, 119, 245, 0.12), inset 0 0 70px rgba(47, 232, 255, 0.04);
  content: "";
  pointer-events: none;
  animation: orbit-turn 55s linear infinite;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(32px, 5vw, 74px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero-copy .eyebrow {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 8px 13px;
  border: 1px solid rgba(83, 170, 255, 0.28);
  border-radius: 999px;
  color: #A4F0FF;
  background: rgba(16, 43, 87, 0.55);
  letter-spacing: 0.08em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #D4FAFF;
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.25;
  text-shadow: 0 0 32px rgba(47, 232, 255, 0.2), 0 6px 34px rgba(0, 4, 20, 0.55);
}

.hero-copy h1 span,
.hero-copy h1 em {
  color: #65EBFF;
  font-style: normal;
  text-shadow: 0 0 22px rgba(47, 232, 255, 0.45), 0 0 68px rgba(67, 133, 255, 0.35);
}

.hero-lead {
  max-width: 530px;
  margin: 26px 0 30px;
  color: #BBCFEA;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.95;
}

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

.hero-actions .text-link {
  min-height: 50px;
  padding-inline: 18px;
  background: rgba(8, 31, 64, 0.6);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts > span,
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(90, 155, 234, 0.18);
  border-radius: 10px;
  color: #AFCAE6;
  background: rgba(6, 22, 48, 0.6);
  font-size: 10px;
  line-height: 1.5;
}

.hero-facts > span::before,
.hero-facts li::before {
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6FDBFF;
  box-shadow: 0 0 8px rgba(47, 232, 255, 0.5);
  content: "";
}

.hero-facts strong {
  color: #BAF8FF;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}

.hero-facts li span {
  color: var(--text-muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  padding: 14px 14px 18px;
  border: 1px solid rgba(110, 181, 255, 0.35);
  border-radius: 32px;
  background:
    linear-gradient(150deg, rgba(42, 101, 190, 0.42), rgba(17, 32, 80, 0.64) 60%, rgba(72, 48, 133, 0.32));
  box-shadow: 0 30px 100px rgba(0, 5, 25, 0.52), 0 0 75px rgba(31, 112, 245, 0.22), inset 0 1px 0 rgba(195, 233, 255, 0.18);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -30px;
  right: 24px;
  bottom: 40px;
  left: -24px;
  border: 1px solid rgba(47, 232, 255, 0.22);
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(47, 232, 255, 0.03), transparent 45%, rgba(116, 91, 255, 0.1));
  box-shadow: 0 0 32px rgba(47, 232, 255, 0.06);
  content: "";
  pointer-events: none;
  transform: rotate(-5deg);
}

.hero-visual::after {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  bottom: 70px;
  left: 14px;
  border: 1px solid rgba(102, 210, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0.12) 10%, rgba(12, 62, 142, 0.1) 42%, rgba(3, 15, 44, 0.88)),
    linear-gradient(125deg, rgba(20, 137, 209, 0.15), rgba(36, 55, 181, 0.25));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1.03;
  border-radius: 22px;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.68) brightness(0.78) contrast(1.08);
}

.hero-caption {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 92px;
  left: 30px;
  max-width: 400px;
  padding: 17px 20px;
  border: 1px solid rgba(112, 194, 255, 0.36);
  border-radius: 17px;
  color: #F0FAFF;
  background: linear-gradient(130deg, rgba(10, 47, 92, 0.86), rgba(15, 25, 67, 0.86));
  box-shadow: 0 14px 34px rgba(0, 7, 26, 0.34), inset 0 1px 0 rgba(169, 227, 255, 0.1);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.55;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-caption span {
  display: block;
  margin-bottom: 7px;
  color: #8CEFFF;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.hero-caption strong {
  font-weight: 750;
}

.image-note {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  color: #ACC1DF;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.025em;
  writing-mode: horizontal-tb;
}

.hero-visual > .image-note {
  min-height: 26px;
  padding-inline: 5px;
  color: #C0D2EB;
}

@keyframes grid-drift {
  from {
    transform: perspective(700px) rotateX(48deg) rotateZ(-12deg) translateY(0) scale(1.2);
  }
  to {
    transform: perspective(700px) rotateX(48deg) rotateZ(-9deg) translateY(34px) scale(1.2);
  }
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

/* 06 / Frosted data ribbon, containing its own horizontal motion. */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(83, 174, 255, 0.18);
  color: #C5E9FF;
  background: linear-gradient(100deg, rgba(13, 43, 81, 0.8), rgba(12, 22, 56, 0.86), rgba(34, 26, 79, 0.75));
  box-shadow: inset 0 1px 0 rgba(114, 205, 255, 0.07);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.ticker::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07152F, transparent 8% 92%, #0C1430);
  content: "";
  pointer-events: none;
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 18px 32px;
  animation: ticker-roll 28s ease-in-out infinite alternate;
}

.ticker-inner span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #BADDF5;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.ticker-inner span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(47, 232, 255, 0.6);
  content: "";
}

@keyframes ticker-roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-12%);
  }
}

/* 07 / Media cards: cobalt covers over substantial glass bodies. */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.work-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 9px;
  border: 1px solid rgba(120, 168, 244, 0.22);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(50, 104, 200, 0.2), transparent 62%),
    linear-gradient(145deg, rgba(20, 41, 79, 0.84), rgba(9, 21, 49, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(177, 215, 255, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms var(--ease);
}

.work-card:nth-child(3n + 2) {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(92, 72, 205, 0.24), transparent 64%),
    linear-gradient(145deg, rgba(22, 38, 83, 0.86), rgba(9, 21, 49, 0.9));
}

.work-card:focus-within {
  border-color: rgba(47, 232, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(47, 232, 255, 0.08), var(--shadow-blue);
}

.video-cover {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(88, 152, 242, 0.18);
  border-radius: 18px;
  color: #EDF9FF;
  background: #091C3E;
  text-align: left;
}

.video-cover::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(9, 47, 112, 0.2), rgba(5, 20, 56, 0.08) 30%, rgba(4, 15, 42, 0.85)),
    linear-gradient(125deg, rgba(10, 103, 163, 0.16), rgba(50, 55, 160, 0.18));
  content: "";
  pointer-events: none;
  transition: opacity 220ms ease;
}

.video-trigger {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: #EDF9FF;
  background: #091C3E;
  text-align: left;
}

.video-trigger:focus-visible {
  outline-offset: -4px;
}

.video-cover img,
.video-trigger img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  filter: saturate(0.66) brightness(0.8) contrast(1.08);
  transition: transform 500ms var(--ease), filter 300ms ease;
}

.video-trigger:hover img,
.video-trigger:focus-visible img,
button.video-cover:hover img,
button.video-cover:focus-visible img {
  filter: saturate(0.92) brightness(0.94) contrast(1.06);
  transform: scale(1.045);
}

.play-icon {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding-left: 3px;
  border: 1px solid rgba(146, 237, 255, 0.64);
  border-radius: 50%;
  color: #E6FAFF;
  background: linear-gradient(145deg, rgba(30, 92, 158, 0.65), rgba(18, 30, 80, 0.78));
  box-shadow: 0 0 0 7px rgba(47, 232, 255, 0.06), 0 0 26px rgba(47, 232, 255, 0.12);
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.video-trigger .play-icon {
  opacity: 1;
}

.video-trigger:hover .play-icon,
.video-trigger:focus-visible .play-icon,
button.video-cover:hover .play-icon {
  color: #04192B;
  background: linear-gradient(135deg, #81F5FF, #74C7FF);
  box-shadow: 0 0 0 10px rgba(47, 232, 255, 0.12), 0 0 38px rgba(47, 232, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.08);
}

.duration,
.format-badge {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  border: 1px solid rgba(114, 183, 255, 0.24);
  border-radius: 8px;
  color: #DBEDFF;
  background: rgba(5, 21, 48, 0.82);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.025em;
  pointer-events: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.duration {
  right: 12px;
  font-variant-numeric: tabular-nums;
}

.format-badge {
  left: 12px;
  color: #ADF3FF;
  background: rgba(10, 74, 113, 0.82);
}

.card-body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  padding: 20px 15px 15px;
}

.card-top,
.card-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  min-width: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.card-top > span:first-child {
  color: #89DFF2;
  font-weight: 650;
}

.work-card h3,
.editorial-card h3,
.service-item h3,
.expert-card h3,
.howto-card h3,
.contact-item h3 {
  margin: 14px 0 10px;
  color: #EDF5FF;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.work-card p,
.editorial-card p,
.service-item p,
.howto-card p,
.contact-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.85;
}

.card-body > .tags {
  margin-top: 18px;
}

.card-stats {
  margin-top: 18px;
  padding: 11px 10px;
  border: 1px solid rgba(104, 169, 255, 0.1);
  border-radius: 10px;
  background: rgba(4, 17, 39, 0.5);
  font-variant-numeric: tabular-nums;
}

.card-body > p.muted {
  margin-top: 9px;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.tags span,
.chip,
.pill,
.demo-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid rgba(94, 167, 244, 0.22);
  border-radius: 8px;
  color: #B8D2F0;
  background: rgba(20, 53, 91, 0.42);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

.chip {
  border-radius: 999px;
  color: #ACEDFF;
  background: rgba(22, 86, 127, 0.4);
}

.pill {
  border-color: rgba(124, 137, 255, 0.28);
  border-radius: 999px;
  color: #CED3FF;
  background: rgba(66, 52, 146, 0.28);
}

.demo-label {
  border-color: rgba(47, 232, 255, 0.3);
  color: #8BEAF7;
  background: rgba(14, 76, 97, 0.36);
}

/* 08 / Feature transmission: real .container.page-layout split. */

.section.feature-story {
  display: block;
  margin: 0;
  background:
    radial-gradient(ellipse at 22% 38%, rgba(36, 134, 225, 0.22), transparent 48%),
    radial-gradient(ellipse at 82% 15%, rgba(116, 91, 255, 0.2), transparent 48%),
    conic-gradient(from 210deg at 35% 50%, #07152F, #101B44 90deg, #061127 230deg, #07152F);
}

.feature-story > .container.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding-block: 0;
}

.feature-story figure {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 12px 12px 16px;
  border: 1px solid rgba(115, 183, 255, 0.26);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(26, 62, 114, 0.62), rgba(15, 24, 68, 0.7));
  box-shadow: 0 20px 64px rgba(0, 5, 27, 0.4), inset 0 1px 0 rgba(153, 207, 255, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.feature-story figure::after {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 58px;
  left: 12px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(20, 85, 176, 0.23), rgba(4, 32, 72, 0.16), rgba(15, 19, 77, 0.48));
  content: "";
  pointer-events: none;
}

.feature-story img {
  width: 100%;
  min-height: 360px;
  aspect-ratio: 5 / 4;
  border-radius: 19px;
  object-fit: cover;
  filter: saturate(0.58) brightness(0.8) contrast(1.12);
}

.feature-story .image-note {
  padding-inline: 6px;
}

.feature-story .prose,
.feature-story .copy {
  min-width: 0;
  max-width: none;
  padding: 0;
}

.feature-story h2,
.feature-story h3 {
  margin: 0 0 24px;
  color: #DBF8FF;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.feature-story .prose p:not(.eyebrow) {
  margin: 0 0 20px;
  color: #C0D0EC;
  font-size: 15px;
  line-height: 1.95;
}

.feature-story .text-link {
  margin-top: 8px;
}

/* 09 / Service nodes: separated glass cards, luminous module icons. */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  border: 0;
  background: transparent;
}

.service-item {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 335px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(105, 158, 242, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(67, 133, 255, 0.17), transparent 62%),
    linear-gradient(150deg, rgba(17, 37, 75, 0.8), rgba(9, 22, 47, 0.86));
  box-shadow: 0 16px 42px rgba(0, 6, 24, 0.27), inset 0 1px 0 rgba(150, 199, 255, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 240ms ease, transform 240ms var(--ease), box-shadow 240ms ease;
}

.service-item::after {
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -24px;
  width: 140px;
  aspect-ratio: 1;
  border: 1px solid rgba(93, 178, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(79, 139, 239, 0.025), 0 0 0 48px rgba(79, 139, 239, 0.018);
  content: "";
  pointer-events: none;
}

.service-item:nth-child(3n + 2) {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(116, 91, 255, 0.22), transparent 66%),
    linear-gradient(150deg, rgba(24, 34, 80, 0.83), rgba(9, 22, 47, 0.88));
}

.service-item:nth-child(3n) {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(47, 232, 255, 0.1), transparent 66%),
    linear-gradient(150deg, rgba(15, 43, 73, 0.83), rgba(9, 22, 47, 0.88));
}

.service-item .number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(71, 192, 255, 0.38);
  border-radius: 13px;
  color: #A9F4FF;
  background: linear-gradient(145deg, rgba(32, 108, 186, 0.5), rgba(46, 44, 129, 0.44));
  box-shadow: 0 0 22px rgba(67, 133, 255, 0.13);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 750;
  font-style: normal;
}

.service-item h3 {
  margin-top: 22px;
  font-size: 22px;
}

.mini-list {
  display: grid;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  color: #ABBFDF;
  font-size: 12px;
  line-height: 1.7;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}

.mini-list li::before {
  flex: 0 0 auto;
  color: #6DE2FB;
  content: "›";
  font-size: 15px;
  font-weight: 800;
}

/* 10 / AI core: near-black glass, discrete workflow blocks. */

.section.ai-section {
  color: var(--text);
  background:
    radial-gradient(ellipse at 1% 20%, rgba(13, 117, 160, 0.17), transparent 43%),
    radial-gradient(ellipse at 88% 66%, rgba(81, 57, 197, 0.24), transparent 48%),
    conic-gradient(from 120deg at 70% 40%, #05091B, #081A34 120deg, #111335 195deg, #05091B 290deg);
}

.ai-section::before {
  background: linear-gradient(90deg, transparent, rgba(47, 232, 255, 0.44) 30%, rgba(116, 91, 255, 0.6) 70%, transparent);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(32px, 6vw, 90px);
}

.ai-copy {
  min-width: 0;
  padding-top: 14px;
}

.ai-copy h2 {
  max-width: 570px;
  margin: 0;
  color: #D5FAFF;
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-shadow: 0 0 40px rgba(47, 232, 255, 0.13);
}

.ai-copy p:not(.eyebrow) {
  max-width: 530px;
  margin: 24px 0 0;
  color: #BBCBE6;
  line-height: 1.95;
}

.ai-copy > .text-link {
  margin-top: 24px;
}

.ai-steps {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 0;
}

.ai-step {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 6px 18px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(107, 151, 234, 0.21);
  border-radius: 20px;
  background:
    linear-gradient(115deg, rgba(30, 66, 121, 0.38), rgba(14, 24, 57, 0.75));
  box-shadow: 0 12px 32px rgba(0, 4, 20, 0.28), inset 0 1px 0 rgba(136, 192, 255, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.ai-step:nth-child(even) {
  border-color: rgba(138, 117, 255, 0.26);
  background: linear-gradient(115deg, rgba(53, 45, 123, 0.42), rgba(14, 24, 57, 0.75));
}

.ai-step .number,
.ai-step > strong {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(77, 203, 255, 0.38);
  border-radius: 13px;
  color: #83F0FF;
  background: rgba(16, 83, 126, 0.45);
  box-shadow: 0 0 22px rgba(47, 232, 255, 0.07);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 750;
}

.ai-step:nth-child(even) .number {
  border-color: rgba(170, 149, 255, 0.45);
  color: #CEC3FF;
  background: rgba(80, 57, 161, 0.38);
}

.ai-step h3 {
  grid-column: 2;
  min-width: 0;
  margin: 0 0 4px;
  color: #E4F3FF;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.55;
}

.ai-step p {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  color: #B5C6E4;
  font-size: 13px;
  line-height: 1.85;
}

.ai-step p.muted,
.ai-step p + p {
  margin-top: 5px;
  color: #8DD6EC;
  font-size: 11px;
}

.ai-section > .container > h2 {
  margin: 0 0 30px;
  color: #DCF9FF;
  font-size: clamp(28px, 3vw, 42px);
}

.ai-section > .container:not(.ai-layout) > .ai-steps {
  grid-template-columns: repeat
(2, minmax(0, 1fr));
}

.notice,
.callout {
  position: relative;
  margin-block: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(87, 181, 238, 0.3);
  border-radius: 15px;
  color: #C4DCEF;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(47, 232, 255, 0.08), transparent 70%),
    linear-gradient(115deg, rgba(12, 49, 76, 0.8), rgba(12, 24, 53, 0.84));
  box-shadow: inset 0 1px 0 rgba(150, 216, 255, 0.05);
  font-size: 13px;
  line-height: 1.85;
}

.callout {
  padding: 24px;
  border-color: rgba(128, 112, 255, 0.38);
  background: linear-gradient(125deg, rgba(35, 45, 105, 0.72), rgba(12, 26, 61, 0.85));
}

.notice > :first-child,
.callout > :first-child {
  margin-top: 0;
}

.notice > :last-child,
.callout > :last-child {
  margin-bottom: 0;
}

.ai-section .notice {
  color: #C2E2F0;
  border-color: rgba(71, 184, 224, 0.28);
  background: linear-gradient(115deg, rgba(10, 45, 65, 0.8), rgba(9, 21, 49, 0.86));
}

/* 11 / Knowledge capsules: articles are products, not newspaper columns. */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  border: 0;
  background: transparent;
}

.editorial-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 350px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(111, 157, 244, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(88, 72, 212, 0.23), transparent 60%),
    linear-gradient(145deg, rgba(25, 40, 87, 0.85), rgba(9, 24, 54, 0.88));
  box-shadow: 0 18px 44px rgba(0, 5, 23, 0.3), inset 0 1px 0 rgba(155, 204, 255, 0.09);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, transform 220ms var(--ease);
}

.editorial-card::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 180px;
  aspect-ratio: 1;
  background: conic-gradient(from 90deg at 100% 0%, transparent 0 220deg, rgba(98, 164, 255, 0.11) 250deg, transparent 285deg);
  content: "";
  pointer-events: none;
}

.editorial-card:nth-child(2) {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(47, 232, 255, 0.1), transparent 60%),
    linear-gradient(145deg, rgba(17, 48, 83, 0.85), rgba(9, 24, 54, 0.88));
}

.editorial-card:nth-child(3) {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(255, 92, 219, 0.1), transparent 60%),
    linear-gradient(145deg, rgba(39, 37, 88, 0.85), rgba(9, 24, 54, 0.88));
}

.article-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 35px;
  margin-bottom: 20px;
  padding: 5px 12px;
  border: 1px solid rgba(114, 147, 255, 0.33);
  border-radius: 10px;
  color: #BDD1FF;
  background: rgba(50, 69, 141, 0.36);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.08em;
}

.editorial-card h3 {
  margin-top: 20px;
  font-size: 24px;
}

.editorial-card .tags {
  margin-bottom: 4px;
}

.editorial-card p.muted {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 11px;
}

.editorial-card .text-link {
  margin-top: auto;
  margin-bottom: 0;
}

.editorial-card p + .text-link {
  margin-top: 24px;
}

/* 12 / Community constellation and local data-stream demonstration. */

.section.community-section {
  color: var(--text);
  background:
    radial-gradient(ellipse at 8% 6%, rgba(116, 91, 255, 0.24), transparent 52%),
    radial-gradient(ellipse at 90% 48%, rgba(25, 131, 180, 0.18), transparent 44%),
    radial-gradient(ellipse at 62% 100%, rgba(255, 92, 219, 0.07), transparent 40%),
    linear-gradient(150deg, #0B1030, #071A31 62%, #060A1A);
}

.community-section .section-head p:not(.eyebrow),
.community-section .muted {
  color: #BDCEE8;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.community-intro h2 {
  margin: 0 0 20px;
  color: #E4E9FF;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.community-intro p {
  color: #B8CAE5;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.community-layout .community-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 255px;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
  border: 1px solid rgba(129, 134, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(116, 91, 255, 0.19), transparent 65%),
    linear-gradient(140deg, rgba(32, 36, 83, 0.78), rgba(9, 28, 56, 0.87));
  box-shadow: 0 20px 44px rgba(0, 4, 22, 0.26), inset 0 1px 0 rgba(167, 188, 255, 0.1);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  transition: border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.community-card:nth-child(3n + 2) {
  border-color: rgba(56, 199, 233, 0.22);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(47, 232, 255, 0.12), transparent 65%),
    linear-gradient(140deg, rgba(16, 48, 81, 0.78), rgba(9, 28, 56, 0.87));
}

.community-card:nth-child(3n) {
  border-color: rgba(177, 117, 243, 0.26);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 92, 219, 0.1), transparent 65%),
    linear-gradient(140deg, rgba(42, 34, 81, 0.78), rgba(9, 28, 56, 0.87));
}

.community-card > .pill {
  margin-bottom: 20px;
}

.community-card h3 {
  margin: 0 0 12px;
  color: #E4EDFF;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.5;
}

.community-card p {
  margin: 0;
  color: #BDD0E9;
  font-size: 13px;
  line-height: 1.85;
}

.community-card p.muted {
  margin-top: 10px;
  color: #9FB5D6;
  font-size: 11px;
}

.community-card button {
  min-height: 44px;
  max-width: 100%;
  margin-top: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(143, 135, 255, 0.35);
  border-radius: 11px;
  color: #D5DAFF;
  background: rgba(64, 50, 140, 0.38);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  transition: background 180ms ease, border-color 180ms ease;
}

.community-card button:hover {
  border-color: rgba(131, 232, 255, 0.6);
  color: #DCF9FF;
  background: rgba(42, 77, 143, 0.6);
}

.danmaku-demo {
  margin-top: 48px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(80, 171, 230, 0.24);
  border-radius: 28px;
  background: linear-gradient(125deg, rgba(12, 40, 68, 0.74), rgba(21, 24, 62, 0.8));
  box-shadow: inset 0 1px 0 rgba(131, 212, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.danmaku-demo h3 {
  margin: 0 0 8px;
  color: #CFF8FF;
  font-size: 22px;
}

.danmaku-demo > p {
  color: #B3CAE4;
  font-size: 13px;
}

.danmaku-stage {
  position: relative;
  isolation: isolate;
  height: 176px;
  overflow: hidden;
  border: 1px solid rgba(74, 177, 229, 0.3);
  border-radius: 17px;
  background:
    linear-gradient(rgba(37, 112, 154, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 112, 154, 0.08) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 70%, rgba(29, 76, 142, 0.3), transparent 68%),
    #050D21;
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: inset 0 0 40px rgba(0, 4, 18, 0.6);
}

.danmaku-stage::before,
.danmaku-stage::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 32px;
  content: "";
  pointer-events: none;
}

.danmaku-stage::before {
  left: 0;
  background: linear-gradient(90deg, #050D21, transparent);
}

.danmaku-stage::after {
  right: 0;
  background: linear-gradient(-90deg, #050D21, transparent);
}

#danmaku-stage span {
  position: absolute;
  z-index: 2;
  right: -24rem;
  max-width: none;
  padding: 2px 10px;
  border: 1px solid rgba(78, 217, 246, 0.25);
  border-radius: 999px;
  color: #C8F9FF;
  background: rgba(20, 64, 100, 0.6);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(47, 232, 255, 0.25);
  white-space: nowrap;
  animation: danmaku-run 8s linear forwards;
}

@keyframes danmaku-run {
  to {
    right: calc(100% + 1rem);
  }
}

#danmaku-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  margin-top: 20px;
}

#danmaku-form label {
  grid-column: 1 / -1;
  color: #C5DEEF;
  font-size: 13px;
  font-weight: 650;
}

#danmaku-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(104, 174, 244, 0.38);
  border-radius: 12px;
  color: #EAF6FF;
  background: rgba(4, 17, 40, 0.78);
  font-size: 16px;
}

#danmaku-form button {
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid rgba(105, 222, 255, 0.5);
  border-radius: 12px;
  color: #052039;
  background: linear-gradient(110deg, #65E9F9, #7EBEFF);
  font-size: 13px;
  font-weight: 750;
}

#danmaku-form button:hover {
  background: linear-gradient(110deg, #9BF5FF, #A2D0FF);
  box-shadow: 0 0 24px rgba(47, 232, 255, 0.14);
}

#danmaku-feedback {
  display: block;
  min-height: 1.6em;
  margin-top: 10px;
  color: #8FE1EA;
  font-size: 12px;
  line-height: 1.7;
}

/* 13 / Expert signatures: a small circular aura, not a portrait badge. */

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.expert-card {
  --expert-aura: 47, 232, 255;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 380px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid rgba(113, 164, 245, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 42px 42px, rgba(var(--expert-aura), 0.11), transparent 120px),
    linear-gradient(145deg, rgba(20, 42, 82, 0.82), rgba(10, 21, 49, 0.88));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(163, 203, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: border-color 220ms ease, transform 220ms var(--ease);
}

.expert-card:nth-child(3n + 2) {
  --expert-aura: 143, 121, 255;
}

.expert-card:nth-child(3n) {
  --expert-aura: 255, 112, 218;
}

.expert-icon {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(var(--expert-aura), 0.6);
  border-radius: 50%;
  color: #E8F7FF;
  background: radial-gradient(circle at 30% 20%, rgba(var(--expert-aura), 0.3), rgba(22, 41, 81, 0.84) 72%);
  box-shadow: 0 0 0 5px rgba(var(--expert-aura), 0.045), 0 0 28px rgba(var(--expert-aura), 0.19);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 750;
}

.expert-icon::after {
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(var(--expert-aura), 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.expert-type {
  display: block;
  margin-top: 28px;
  color: #A8DFEF;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.expert-card h3 {
  margin-top: 8px;
  font-size: 24px;
}

.expert-meta {
  margin: 0;
  color: #AFC4E2;
  font-size: 12px;
  line-height: 1.85;
}

.expert-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  width: 100%;
  min-width: 0;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid rgba(96, 151, 230, 0.13);
  border-radius: 13px;
  background: rgba(5, 17, 39, 0.38);
  font-size: 12px;
  line-height: 1.75;
}

.expert-card dt {
  color: #9AB2D6;
}

.expert-card dd {
  min-width: 0;
  margin: 0;
  color: #D2E3F7;
  overflow-wrap: anywhere;
}

.expert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  width: 100%;
  margin-top: auto;
}

.expert-actions > * {
  min-height: 44px;
  max-width: 100%;
}

/* 14 / Partner tiles: floating integrations, no contiguous logo table. */

.section.partners,
.partners {
  border: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(38, 96, 176, 0.19), transparent 64%),
    linear-gradient(180deg, #0A142B, #060A1A);
}

.partner-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  border: 0;
  background: transparent;
}

.partner-mark {
  display: flex;
  min-width: 0;
  min-height: 138px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 23px 18px;
  border: 1px solid rgba(114, 164, 243, 0.2);
  border-radius: 18px;
  color: #C3D7F4;
  background: linear-gradient(145deg, rgba(27, 49, 91, 0.64), rgba(12, 28, 58, 0.74));
  box-shadow: 0 10px 26px rgba(0, 4, 20, 0.2), inset 0 1px 0 rgba(155, 197, 255, 0.09);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.65;
  text-align: center;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 200ms ease, background 200ms ease;
}

.partner-mark:nth-child(even) {
  background: linear-gradient(145deg, rgba(39, 40, 97, 0.62), rgba(12, 28, 58, 0.74));
}

.partner-mark h3 {
  margin: 0;
  color: #D5E9FF;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.6;
}

.partner-mark p {
  margin: 0;
  color: #A3B9D9;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}

.partner-mark img {
  max-height: 48px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}

/* 15 / Tutorial sequence: floating number capsules and cinematic crops. */

.howto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.howto-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  padding: 8px 8px 22px;
  border: 1px solid rgba(107, 163, 241, 0.22);
  border-radius: 23px;
  background: linear-gradient(155deg, rgba(23, 47, 87, 0.8), rgba(10, 23, 52, 0.87));
  box-shadow: 0 14px 36px rgba(0, 5, 23, 0.27), inset 0 1px 0 rgba(161, 207, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 220ms ease, transform 220ms var(--ease);
}

.howto-card::after {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  left: 8px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(18, 119, 179, 0.15), rgba(42, 49, 156, 0.22), rgba(4, 20, 50, 0.6));
  content: "";
  pointer-events: none;
}

.howto-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  filter: saturate(0.66) brightness(0.79) contrast(1.08);
}

.howto-card .number {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 36px;
  margin: -19px 0 4px 15px;
  padding: 6px 12px;
  border: 1px solid rgba(105, 225, 255, 0.6);
  border-radius: 11px;
  color: #05223B;
  background: linear-gradient(130deg, #68E8FF, #96BAFF);
  box-shadow: 0 6px 18px rgba(0, 5, 20, 0.3), 0 0 20px rgba(47, 232, 255, 0.14);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 750;
}

.howto-card h3,
.howto-card p,
.howto-card > .text-link,
.howto-card > .tags {
  margin-inline: 15px;
}

.howto-card h3 {
  margin-top: 10px;
  font-size: 18px;
}

.howto-card p {
  font-size: 12px;
}

.howto-card > .text-link {
  margin-top: 20px;
  font-size: 12px;
}

/* 16 / Voice capsules and expandable knowledge panels. */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  border: 0;
}

.quote-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 250px;
  margin: 0;
  padding: 32px 28px 26px;
  border: 1px solid rgba(133, 131, 255, 0.23);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(116, 91, 255, 0.16), transparent 70%),
    linear-gradient(145deg, rgba(26, 38, 83, 0.82), rgba(11, 25, 54, 0.86));
  box-shadow: 0 14px 38px rgba(0, 4, 21, 0.23), inset 0 1px 0 rgba(156, 188, 255, 0.09);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.quote-card::before {
  position: absolute;
  z-index: -1;
  top: 8px;
  right: 24px;
  color: rgba(87, 164, 255, 0.17);
  content: "“";
  font-family: var(--sans);
  font-size: 100px;
  font-weight: 850;
  line-height: 1;
  pointer-events: none;
}

.quote-card:nth-child(3n + 2) {
  border-color: rgba(80, 187, 226, 0.22);
  background: linear-gradient(145deg, rgba(16, 47, 76, 0.82), rgba(11, 25, 54, 0.86));
}

.quote-card blockquote {
  margin: 0;
  color: #D9EAFE;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.8;
}

.quote-card blockquote p {
  margin: 0;
}

.quote-card > p {
  color: #B0C3E1;
  font-size: 12px;
}

.quote-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: #9FB7DA;
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.8;
}

.quote-author::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8B91FF;
  box-shadow: 0 0 12px rgba(116, 91, 255, 0.3);
  content: "";
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 1040px;
  margin-inline: auto;
  border: 0;
}

.faq-list details {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(105, 164, 241, 0.2);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(21, 43, 83, 0.72), rgba(10, 23, 53, 0.83));
  box-shadow: inset 0 1px 0 rgba(156, 200, 255, 0.07);
  transition: border-color 200ms ease, background 200ms ease;
}

.faq-list details[open] {
  border-color: rgba(73, 213, 244, 0.38);
  background: linear-gradient(120deg, rgba(19, 57, 91, 0.82), rgba(12, 27, 58, 0.9));
}

.faq-list summary {
  position: relative;
  min-height: 70px;
  padding: 22px 72px 22px 26px;
  color: #D8E8FF;
  font-size: clamp(16px, 1.65vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: "";
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(95, 201, 250, 0.3);
  border-radius: 9px;
  color: #7CEBFF;
  background: rgba(22, 67, 103, 0.48);
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 200ms ease, background 200ms ease;
}

.faq-list details[open] summary::after {
  background: rgba(31, 116, 145, 0.48);
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 900px;
  margin: 0;
  padding: 0 26px 24px;
  color: #BBD0EA;
  font-size: 14px;
  line-height: 1.95;
}

.faq-list summary:focus-visible {
  outline-offset: -4px;
}

/* 17 / Contact command center: blue-space depth, independent info tiles. */

.section.contact-section {
  background:
    radial-gradient(ellipse at 1% 26%, rgba(18, 137, 192, 0.19), transparent 48%),
    radial-gradient(ellipse at 100% 4%, rgba(98, 82, 228, 0.27), transparent 52%),
    conic-gradient(from 240deg at 70% 35%, #07152F, #112653 85deg, #101638 190deg, #07152F);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(30px, 4.5vw, 68px);
}

.contact-copy {
  min-width: 0;
}

.contact-copy h2 {
  max-width: 660px;
  margin: 0;
  color: #D5F6FF;
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 22px 0 28px;
  color: #C1D2ED;
  font-size: 14px;
  line-height: 1.95;
}

.contact-layout > figure {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  min-width: 0;
  margin: 0;
  padding: 12px 12px 16px;
  border: 1px solid rgba(115, 177, 255, 0.3);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(34, 68, 130, 0.65), rgba(25, 31, 78, 0.7));
  box-shadow: 0 22px 70px rgba(0, 5, 24, 0.4), 0 0 60px rgba(67, 133, 255, 0.09);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.contact-layout > figure::after {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 58px;
  left: 12px;
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(15, 56, 128, 0.2), transparent 45%, rgba(2, 16, 47, 0.6)),
    linear-gradient(135deg, rgba(9, 136, 181, 0.18), rgba(63, 60, 178, 0.2));
  content: "";
  pointer-events: none;
}

.contact-layout figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 19px;
  object-fit: cover;
  filter: saturate(0.66) brightness(0.78) contrast(1.09);
}

.contact-layout figure .image-note {
  padding-inline: 5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block: 30px;
}

.contact-item {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(102, 169, 233, 0.2);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(18, 47, 86, 0.72), rgba(12, 28, 64, 0.75));
  box-shadow: inset 0 1px 0 rgba(154, 217, 255, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.contact-item:nth-child(even) {
  background: linear-gradient(135deg, rgba(32, 40, 91, 0.7), rgba(12, 28, 64, 0.75));
}

.contact-item h3 {
  margin: 0 0 10px;
  color: #CEEDFF;
  font-size: 16px;
  font-weight: 750;
}

.contact-item p {
  color: #B6CBE7;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.contact-item p + p {
  margin-top: 8px;
}

.contact-item button {
  margin-top: 12px;
}

/* 18 / QR access pods; code pixels stay unfiltered for scan clarity. */

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.qr-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 30px 24px;
  border: 1px solid rgba(98, 173, 247, 0.27);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(67, 133, 255, 0.2), transparent 62%),
    linear-gradient(155deg, rgba(21, 48, 91, 0.76), rgba(12, 24, 58, 0.84));
  box-shadow: 0 20px 42px rgba(0, 5, 22, 0.28), inset 0 1px 0 rgba(173, 211, 255, 0.09);
  text-align: center;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.qr-card:nth-child(2) {
  border-color: rgba(132, 124, 255, 0.3);
  background:
    radial-gradient(ellipse at 50% 18%, rgba(116, 91, 255, 0.2), transparent 62%),
    linear-gradient(155deg, rgba(30, 37, 88, 0.76), rgba(12, 24, 58, 0.84));
}

.qr-card img {
  width: min(170px, 100%);
  height: auto;
  margin: 0 auto 24px;
  padding: 9px;
  border: 1px solid rgba(123, 207, 255, 0.65);
  border-radius: 15px;
  background: #FFFFFF;
  box-shadow: 0 0 0 7px rgba(67, 133, 255, 0.07), 0 0 32px rgba(67, 133, 255, 0.18);
  image-rendering: pixelated;
  filter: none;
}

.qr-card h3 {
  margin: 0 0 8px;
  color: #D5ECFF;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.6;
}

.qr-card p {
  max-width: 260px;
  margin: 0 auto;
  color: #AFC4E3;
  font-size: 12px;
  line-height: 1.8;
}

/* 19 / Sharing and local action controls. */

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block: 24px;
}

.share-bar button,
button[data-copy],
#copy-brief,
#simulate-mcp,
.expert-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid rgba(103, 164, 249, 0.32);
  border-radius: 12px;
  color: #CDE7FF;
  background: linear-gradient(135deg, rgba(26, 64, 116, 0.7), rgba(29, 35, 87, 0.7));
  box-shadow: inset 0 1px 0 rgba(178, 216, 255, 0.09);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.65;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.share-bar button:hover,
button[data-copy]:hover,
#copy-brief:hover,
#simulate-mcp:hover,
.expert-actions a:hover {
  border-color: rgba(88, 229, 255, 0.55);
  color: #EEFDFF;
  background: linear-gradient(135deg, rgba(31, 95, 150, 0.76), rgba(52, 43, 132, 0.76));
  box-shadow: 0 0 24px rgba(47, 232, 255, 0.1);
}

.share-bar button[data-share="wechat"] {
  border-color: rgba(58, 206, 211, 0.35);
  color: #A8F4EA;
  background: linear-gradient(135deg, rgba(13, 81, 90, 0.7), rgba(13, 43, 77, 0.8));
}

.share-bar button[data-share="weibo"] {
  border-color: rgba(185, 120, 255, 0.35);
  color: #DACBFF;
  background: linear-gradient(135deg, rgba(83, 48, 137, 0.62), rgba(36, 32, 84, 0.76));
}

.share-bar button[data-share="bilibili"] {
  border-color: rgba(249, 124, 224, 0.32);
  color: #F6CDF0;
  background: linear-gradient(135deg, rgba(108, 39, 100, 0.5), rgba(44, 35, 86, 0.75));
}

.share-bar + .muted {
  color: #A9BFDF;
  font-size: 12px;
}

.expert-card > p:not(.expert-type) {
  margin: 0;
  color: #AFC7E3;
  font-size: 13px;
  line-height: 1.8;
}

/* 20 / MCP terminal: a luminous protocol surface with wrapped output. */

.mcp-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(82, 179, 239, 0.33);
  border-radius: 27px;
  color: var(--text);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(32, 115, 179, 0.2), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(94, 58, 180, 0.12), transparent 46%),
    linear-gradient(120deg, rgba(9, 33, 60, 0.92), rgba(7, 15, 40, 0.94));
  box-shadow: 0 24px 60px rgba(0, 4, 19, 0.4), inset 0 1px 0 rgba(130, 224, 255, 0.08);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.mcp-panel::before {
  display: block;
  width: 54px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--indigo));
  box-shadow: 0 0 18px rgba(47, 232, 255, 0.25);
  content: "";
}

.mcp-panel h2,
.mcp-panel h3 {
  margin: 0 0 12px;
  color: #D3F8FF;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 750;
  line-height: 1.4;
}

.mcp-panel p {
  max-width: 800px;
  margin: 0 0 22px;
  color: #AFC6E1;
  font-size: 14px;
  line-height: 1.9;
}

.mcp-panel #simulate-mcp {
  border-color: rgba(62, 201, 239, 0.4);
  color: #AEF2FC;
  background: rgba(13, 75, 107, 0.62);
}

#mcp-output {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 150px;
  margin: 24px 0 0;
  padding: 22px;
  overflow: auto;
  border: 1px solid rgba(86, 167, 224, 0.24);
  border-radius: 16px;
  color: #8FE8E4;
  background:
    linear-gradient(180deg, rgba(20, 53, 79, 0.18), transparent 48%),
    #040C1D;
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.25);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

/* 21 / Tools: dark input wells, visible results, comfortable touch targets. */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.tool-card {
  min-width: 0;
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid rgba(119, 169, 252, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(67, 133, 255, 0.17), transparent 62%),
    linear-gradient(145deg, rgba(23, 47, 88, 0.83), rgba(11, 24, 54, 0.9));
  box-shadow: 0 20px 60px rgba(0, 5, 22, 0.34), inset 0 1px 0 rgba(165, 212, 255, 0.12);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.tool-card:nth-child(even) {
  border-color: rgba(151, 127, 255, 0.3);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(116, 91, 255, 0.2), transparent 62%),
    linear-gradient(145deg, rgba(32, 37, 91, 0.83), rgba(11, 24, 54, 0.9));
}

.tool-card h2 {
  margin: 0 0 12px;
  color: #DFF3FF;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.tool-card > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: #B5CAE6;
  font-size: 14px;
  line-height: 1.85;
}

.tool-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
}

.tool-card label {
  display: block;
  min-width: 0;
  margin-top: 12px;
  color: #CBE0F6;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.tool-card input,
.tool-card textarea,
.tool-card select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(128, 175, 242, 0.4);
  border-radius: 12px;
  color: #E8F2FF;
  background: rgba(4, 15, 36, 0.75);
  box-shadow: inset 0 3px 12px rgba(0, 3, 15, 0.15);
  font-size: 16px;
  line-height: 1.65;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.tool-card input:hover,
.tool-card textarea:hover,
.tool-card select:hover {
  border-color: rgba(135, 195, 255, 0.58);
}

.tool-card input:focus,
.tool-card textarea:focus,
.tool-card select:focus {
  border-color: rgba(47, 232, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(47, 232, 255, 0.07);
}

.tool-card textarea {
  min-height: 180px;
  resize: vertical;
}

.tool-card select {
  padding-right: 30px;
  color-scheme: dark;
}

.tool-card select option {
  color: #E9F3FF;
  background: #0B1B38;
}

.tool-card input[type="number"] {
  font-variant-numeric: tabular-nums;
}

.tool-card form button {
  justify-self: start;
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 20px;
  border: 1px solid rgba(143, 219, 255, 0.5);
  border-radius: 13px;
  color: #071B34;
  background: linear-gradient(110deg, #79DEFF, #91B4FF);
  box-shadow: 0 8px 24px rgba(67, 133, 255, 0.12);
  font-size: 14px;
  font-weight: 750;
}

.tool-card form button:hover {
  color: #04152C;
  background: linear-gradient(110deg, #A3F1FF, #B3CAFF);
  box-shadow: 0 8px 30px rgba(47, 232, 255, 0.2);
}

#duration-result,
#brief-result {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 70px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(93, 181, 230, 0.27);
  border-radius: 13px;
  color: #ACF1F4;
  background: linear-gradient(125deg, rgba(8, 44, 62, 0.74), rgba(5, 19, 44, 0.8));
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

textarea#brief-result {
  min-height: 260px;
  margin-top: 12px;
  font-size: 14px;
}

.tool-card > label[for="brief-result"] {
  margin-top: 26px;
}

#copy-brief {
  margin-top: 14px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #F392D7;
  box-shadow: 0 0 0 2px rgba(255, 92, 219, 0.1);
}

/* 22 / Secondary pages: holographic mastheads and a calm reading layer. */

.breadcrumb {
  padding-block: 18px;
  border: 0;
  color: #A4BDDC;
  font-size: 12px;
  line-height: 1.8;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  min-width: 0;
}

.breadcrumb a {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 7px;
  color: #BAD7F1;
  background: rgba(29, 65, 108, 0.26);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ADF6FF;
  background: rgba(24, 81, 117, 0.45);
}

.breadcrumb li + li::before {
  margin-right: 9px;
  color: #78A7DF;
  content: "›";
  font-size: 16px;
}

.breadcrumb [aria-current="page"] {
  color: #8DDDEE;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 108px);
  border-bottom: 1px solid rgba(95, 155, 249, 0.2);
  background:
    radial-gradient(ellipse at 78% 30%, rgba(67, 133, 255, 0.26), transparent 48%),
    radial-gradient(ellipse at 100% 95%, rgba(116, 91, 255, 0.2), transparent 40%),
    conic-gradient(from 210deg at 76% 40%, #08132B, #102953 86deg, #151B48 156deg, #07152F 230deg, #08132B);
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(77, 149, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 149, 246, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  content: "";
  pointer-events: none;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -110px;
  width: 580px;
  aspect-ratio: 1;
  border: 1px solid rgba(70, 198, 253, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(87, 127, 245, 0.025), 0 0 0 110px rgba(87, 127, 245, 0.018);
  content: "";
  pointer-events: none;
}

.page-hero h1 {
  max-width: 1020px;
  color: #DBF7FF;
  font-size: clamp(34px, 4.3vw, 62px);
  text-shadow: 0 0 36px rgba(47, 232, 255, 0.12);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #C0D4ED;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.95;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  align-items: start;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(50px, 7vw, 90px);
}

.content-main,
.content-aside {
  min-width: 0;
}

.content-main {
  width: 100%;
}

.content-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(102, 161, 245, 0.25);
  border-radius: 21px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(116, 91, 255, 0.14), transparent 70%),
    linear-gradient(150deg, rgba(23, 44, 82, 0.85), rgba(10, 24, 53, 0.9));
  box-shadow: 0 16px 38px rgba(0, 5, 22, 0.24), inset 0 1px 0 rgba(155, 202, 255, 0.09);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.content-aside h2,
.content-aside h3 {
  margin: 0 0 15px;
  color: #C9EDFF;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.5;
}

.content-aside a:not(.btn) {
  display: block;
  margin: 7px 0;
  padding: 9px 11px;
  border: 1px solid rgba(101, 168, 237, 0.13);
  border-radius: 10px;
  color: #B4DDF4;
  background: rgba(14, 43, 76, 0.45);
  font-size: 13px;
  line-height: 1.75;
  text-decoration: none;
}

.content-aside a:hover {
  color: #BAF8FF;
  background: rgba(18, 69, 105, 0.6);
}

.content-aside p {
  color: #AFC4E3;
  font-size: 12px;
  line-height: 1.85;
}

.prose {
  min-width: 0;
  max-width: 820px;
  color: #C8D6ED;
  font-size: 16px;
  line-height: 1.95;
}

.prose > * + * {
  margin-top: 1.4em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h2,
.prose h3 {
  color: #E0F3FF;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.prose h2 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: clamp(25px, 2.6vw, 36px);
}

.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.55em;
  font-size: clamp(21px, 2vw, 27px);
}

.prose p,
.prose li {
  color: #C2D0E7;
}

.prose a:not(.btn):not(.text-link) {
  color: #8DE6F5;
  text-decoration-color: rgba(78, 208, 239, 0.6);
}

.prose ul,
.prose ol {
  padding-left: 1.5em;
}

.prose li + li {
  margin-top: 0.6em;
}

.prose li::marker {
  color: #69D9F0;
}

.prose strong {
  color: #E4F3FF;
}

.prose blockquote {
  margin-inline: 0;
  padding: 22px 26px;
  border: 1px solid rgba(117, 143, 248, 0.3);
  border-radius: 18px;
  color: #C5DFFF;
  background: linear-gradient(120deg, rgba(27, 49, 105, 0.65), rgba(12, 31, 63, 0.76));
}

.prose blockquote p {
  margin: 0;
  color: inherit;
}

.prose figure {
  margin-inline: 0;
}

.prose img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-blue);
  filter: saturate(0.65) brightness(0.8) contrast(1.08);
}

.prose code {
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid rgba(80, 172, 225, 0.18);
  border-radius: 6px;
  color: #9EF0EA;
  background: rgba(14, 50, 69, 0.55);
  font-family: var(--mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.prose pre {
  max-width: 100%;
  padding: 22px;
  overflow: auto;
  border: 1px solid rgba(92, 159, 226, 0.24);
  border-radius: 17px;
  color: #B5EDEB;
  background: #050E22;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

/* Tables scroll only inside their rounded data surface. */

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block: 30px;
  overflow-x: auto;
  border: 1px solid rgba(106, 171, 242, 0.25);
  border-radius: 17px;
  background: rgba(11, 28, 58, 0.72);
  box-shadow: 0 12px 30px rgba(0, 5, 22, 0.2);
  scrollbar-color: #497AB8 #0A1733;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: #C5D7ED;
  font-size: 13px;
  line-height: 1.8;
}

.table-wrap th,
.table-wrap td {
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid rgba(101, 159, 227, 0.14);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  color: #B6F0FF;
  background: linear-gradient(110deg, rgba(31, 77, 132, 0.85), rgba(41, 40, 104, 0.8));
  font-weight: 750;
  white-space: nowrap;
}

.table-wrap tr:nth-child(even) td {
  background: rgba(30, 58, 98, 0.28);
}

.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.table-wrap tbody tr:hover td {
  background: rgba(23, 83, 119, 0.32);
}

/* Legacy manifesto contracts use independent glass modules as well. */

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: transparent;
}

.manifest-item {
  min-width: 0;
  min-height: 225px;
  padding: 28px;
  border: 1px solid rgba(101, 166, 241, 0.24);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(26, 49, 94, 0.76), rgba(11, 25, 53, 0.86));
  box-shadow: inset 0 1px 0 rgba(164, 206, 255, 0.1);
}

.manifest-item strong {
  display: block;
  margin-bottom: 28px;
  color: #91EFFF;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 750;
}

.manifest-item h3 {
  margin: 0 0 12px;
  color: #DCEFFF;
  font-size: 22px;
  line-height: 1.5;
}

.manifest-item p {
  margin: 0;
  color: #B5C9E5;
  font-size: 13px;
  line-height: 1.85;
}

/* 23 / Footer: a dark docking bay with generous quiet space. */

.site-footer {
  position: relative;
  padding-bottom: 24px;
  border-top: 1px solid rgba(114, 165, 240, 0.2);
  color: #AEC4E4;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(45, 103, 180, 0.16), transparent 55%),
    radial-gradient(ellipse at 90% 0%, rgba(93, 66, 191, 0.1), transparent 50%),
    #050B1D;
}

.site-footer::before {
  position: absolute;
  top: -1px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 232, 255, 0.4), rgba(116, 91, 255, 0.4), transparent);
  content: "";
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  padding-block: 48px;
}

.site-footer .brand {
  justify-self: start;
  color: var(--text);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  min-width: 0;
}

.footer-links h3 {
  margin: 0 0 12px;
  color: #96E5F5;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 0;
  color: #AFC8E6;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.footer-links a:hover {
  color: #B7F7FF;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(109, 157, 227, 0.15);
  color: #9DB4D6;
  font-size: 11px;
  line-height: 1.8;
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  max-width: 1000px;
  margin: 0;
  color: #91A8CB;
  font-size: 11px;
  line-height: 1.9;
}

#site-date {
  color: #ADC9E8;
  font-variant-numeric: tabular-nums;
}

/* 24 / Native dialog and JS fallback: modal glass without faux playback. */

.modal {
  width: min(760px, calc(100% - 40px));
  max-width: 760px;
  max-height: calc(100vh - 48px);
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(118, 187, 255, 0.4);
  border-radius: 28px;
  color: var(--text);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(80, 61, 201, 0.24), transparent 55%),
    linear-gradient(145deg, rgba(17, 40, 81, 0.98), rgba(7, 17, 43, 0.98));
  box-shadow: 0 36px 110px rgba(0, 3, 16, 0.7), 0 0 70px rgba(67, 133, 255, 0.13);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
}

.modal:not([open]) {
  display: none;
}

.modal::backdrop {
  background: rgba(2, 6, 21, 0.83);
  -webkit-backdrop-filter: blur(9px) saturate(80%);
  backdrop-filter: blur(9px) saturate(80%);
}

.modal[open] {
  animation: dialog-enter 240ms var(--ease) both;
}

.modal.is-fallback-open {
  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  display: block;
  margin: 0;
  box-shadow: 0 0 0 100vmax rgba(2, 6, 21, 0.88), 0 36px 110px rgba(0, 3, 16, 0.7);
  transform: translate(-50%, -50%);
  animation: none;
}

.dialog-inner {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
}

#close-dialog {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(128, 173, 245, 0.4);
  border-radius: 12px;
  color: #D8E8FF;
  background: rgba(23, 43, 85, 0.88);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  transition: border-color 180ms ease, background 180ms ease;
}

#close-dialog:hover {
  border-color: rgba(127, 223, 255, 0.65);
  color: #D2FAFF;
  background: rgba(30, 77, 122, 0.9);
}

.dialog-inner > .eyebrow {
  max-width: calc(100% - 88px);
  min-height: 26px;
  margin-bottom: 22px;
}

.dialog-inner h2 {
  max-width: 610px;
  margin: 0 0 20px;
  color: #DFF5FF;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.dialog-inner > p:not(.eyebrow):not(.notice) {
  color: #BAD0EA;
  font-size: 14px;
  line-height: 1.9;
}

#dialog-description {
  min-width: 0;
  margin-block: 22px;
  overflow-wrap: anywhere;
}

.demo-screen {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(64, 171, 229, 0.27);
  border-radius: 20px;
  color: #D2F5FF;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(24, 109, 162, 0.25), transparent 60%),
    linear-gradient(0deg, rgba(68, 140, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 140, 200, 0.06) 1px, transparent 1px),
    #040E25;
  background-size: auto, 32px 32px, 32px 32px, auto;
  box-shadow: inset 0 0 45px rgba(0, 4, 17, 0.6);
  text-align: center;
}

.demo-screen::before {
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(47, 232, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(67, 133, 255, 0.025), 0 0 0 40px rgba(67, 133, 255, 0.018);
  content: "";
  pointer-events: none;
}

.demo-screen .play-icon {
  position: relative;
  top: auto;
  left: auto;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  transform: none;
}

.demo-screen p {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin: 0;
  color: #C0E6F5;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.85;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.dialog-inner .notice {
  margin-block: 20px;
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

#toast {
  position: fixed;
  z-index: 300;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: max-content;
  max-width: min(460px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  padding: 17px 21px;
  overflow: auto;
  border: 1px solid rgba(74, 218, 244, 0.4);
  border-radius: 17px;
  color: #DCF9FF;
  background: linear-gradient(120deg, rgba(15, 61, 87, 0.96), rgba(16, 27, 68, 0.96));
  box-shadow: 0 16px 50px rgba(0, 4, 18, 0.55), 0 0 30px rgba(47, 232, 255, 0.1);
  font-size: 13px;
  line-height: 1.8;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: opacity 200ms ease, transform 200ms var(--ease);
}

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

/* 25 / Pointer refinement. Coarse devices never depend on hovering. */

@media (hover: hover) and (pointer: fine) {
  .work-card:hover {
    border-color: rgba(97, 209, 255, 0.45);
    box-shadow: 0 26px 65px rgba(0, 5, 24, 0.45), 0 0 32px rgba(67, 133, 255, 0.12);
    transform: translateY(-6px);
  }

  .service-item:hover,
  .editorial-card:hover,
  .howto-card:hover {
    border-color: rgba(102, 203, 255, 0.43);
    box-shadow: 0 20px 50px rgba(0, 5, 23, 0.34), 0 0 26px rgba(67, 133, 255, 0.08);
    transform: translateY(-5px);
  }

  .expert-card:hover {
    border-color: rgba(var(--expert-aura), 0.4);
    transform: translateY(-4px);
  }

  .community-card:hover {
    border-color: rgba(143, 168, 255, 0.47);
    box-shadow: 0 22px 55px rgba(0, 4, 22, 0.34), 0 0 28px rgba(116, 91, 255, 0.08);
    transform: translateY(-4px);
  }

  .partner-mark:hover {
    border-color: rgba(81, 216, 255, 0.43);
    background: linear-gradient(145deg, rgba(26, 72, 115, 0.75), rgba(23, 37, 83, 0.8));
  }

  .ticker:hover .ticker-inner,
  .ticker:focus-within .ticker-inner {
    animation-play-state: paused;
  }
}

@media (hover: none) {
  .video-trigger .play-icon {
    opacity: 1;
  }

  .btn:hover,
  .text-link:hover {
    transform: none;
  }
}

/* 26 / Large display: retain deliberate line length and visual balance. */

@media (min-width: 1600px) {
  :root {
    --content-width: 1380px;
  }

  .hero-layout {
    gap: 88px;
  }

  .hero-copy h1 {
    font-size: 78px;
  }

  .hero-visual img {
    aspect-ratio: 1.08;
  }

  .hero-lead {
    font-size: 18px;
  }

  .work-grid,
  .expert-grid {
    gap: 30px;
  }

  .card-body {
    padding: 24px 19px 18px;
  }
}

/* 27 / Compact desktop: collapse navigation before Chinese labels crowd. */

@media (max-width: 1100px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(var(--content-width), calc(100% - 48px));
  }

  #nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 9px;
    max-height: calc(100svh - var(--header-height) - 32px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid rgba(111, 168, 255, 0.3);
    border-radius: 20px;
    background: rgba(7, 18, 43, 0.97);
    box-shadow: 0 24px 60px rgba(0, 4, 20, 0.55);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 16px;
    border-color: rgba(93, 151, 233, 0.14);
    border-radius: 12px;
    background: rgba(17, 39, 78, 0.55);
    font-size: 14px;
    white-space: normal;
  }

  .nav .nav-contact {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .search-band .container {
    gap: 16px;
  }

  #demo-search {
    grid-template-columns: auto minmax(100px, 1fr) auto;
    gap: 10px;
    padding-left: 12px;
  }

  #demo-search label {
    font-size: 11px;
  }

  #demo-search input {
    font-size: 13px;
  }

  #demo-search button {
    padding-inline: 12px;
    font-size: 11px;
  }

  #search-feedback {
    flex-basis: 150px;
    font-size: 11px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-layout {
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 5.2vw, 58px);
  }

  .hero-visual {
    padding: 12px 12px 16px;
    border-radius: 27px;
  }

  .hero-visual img {
    aspect-ratio: 0.86;
    border-radius: 19px;
  }

  .hero-visual::after {
    top: 12px;
    right: 12px;
    bottom: 80px;
    left: 12px;
    border-radius: 19px;
  }

  .hero-caption {
    right: 24px;
    bottom: 102px;
    left: 24px;
    padding: 14px 16px;
    font-size: 16px;
  }

  .work-grid,
  .expert-grid,
  .service-grid {
    gap: 18px;
  }

  .service-item,
  .expert-card {
    padding: 24px;
  }

  .editorial-card {
    padding: 25px;
  }

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

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

  .contact-layout {
    gap: 30px;
  }

  .contact-item {
    padding: 17px;
  }

  .page-layout {
    gap: 34px;
  }
}

/* 28 / Tablet: the hero becomes a stacked image-led control surface. */

@media (max-width: 900px) {
  .search-band .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding-block: 14px;
  }

  #demo-search {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  #search-feedback {
    max-width: none;
    min-height: 1.5em;
    padding-left: 8px;
  }

  .hero {
    min-height: auto;
    padding-block: 60px;
  }

  .hero-layout,
  .ai-layout,
  .community-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-layout {
    gap: 46px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 7.5vw, 66px);
  }

  .hero-lead {
    max-width: 620px;
  }

  .hero-visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .hero-visual img {
    aspect-ratio: 16 / 11;
  }

  .hero-visual::after {
    bottom: 65px;
  }

  .hero-caption {
    bottom: 87px;
    max-width: 420px;
    font-size: 18px;
  }

  .hero-visual::before {
    top: -18px;
    right: 20px;
    left: -12px;
    transform: rotate(-3deg);
  }

  .hero::after {
    top: 20%;
    right: -20%;
    width: 900px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .section-head > .text-link {
    justify-self: start;
  }

  .work-grid,
  .service-grid,
  .expert-grid,
  .editorial-grid,
  .quotes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .feature-story > .container.page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .feature-story figure {
    width: 100%;
  }

  .feature-story img {
    min-height: 280px;
    max-height: 500px;
    aspect-ratio: 16 / 10;
  }

  .feature-story .prose {
    max-width: 760px;
  }

  .ai-layout {
    gap: 36px;
  }

  .ai-copy {
    padding-top: 0;
  }

  .ai-copy h2 {
    max-width: 720px;
    font-size: clamp(36px, 5.8vw, 52px);
  }

  .ai-copy p:not(.eyebrow) {
    max-width: 720px;
  }

  .ai-layout .ai-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .ai-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 13px;
    padding: 22px;
  }

  .ai-step .number,
  .ai-step > strong {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 15px;
  }

  .community-layout {
    gap: 34px;
  }

  .partner-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout > figure {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .contact-layout figure img {
    aspect-ratio: 16 / 10;
    max-height: 480px;
  }

  .contact-grid {
    gap: 18px;
  }

  .contact-item {
    padding: 22px;
  }

  .contact-copy h2 {
    max-width: 700px;
    font-size: clamp(34px, 5vw, 46px);
  }

  .contact-copy > p:not(.eyebrow) {
    max-width: 720px;
  }

  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-card {
    padding: 34px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-aside {
    position: relative;
    top: auto;
    order: 0;
  }

  .prose {
    max-width: none;
  }

  .container.prose {
    max-width: 820px;
  }

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

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

/* 29 / Small tablet and landscape phone. */

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .brand-logo {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .nav a {
    min-height: 46px;
  }

  .nav .nav-contact {
    grid-column: auto;
  }

  #demo-search {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 10px;
    border-radius: 15px;
  }

  #demo-search label {
    grid-column: 1 / -1;
    padding-inline: 4px;
    font-size: 11px;
  }

  #demo-search input {
    min-height: 44px;
    padding-inline: 6px;
    font-size: 16px;
  }

  #demo-search button {
    min-height: 44px;
    font-size: 11px;
  }

  .section {
    padding-block: 66px;
  }

  .section-head h2 {
    font-size: clamp(29px, 4.9vw, 38px);
    line-height: 1.45;
  }

  .section-head p:not(.eyebrow) {
    font-size: 14px;
  }

  .hero-copy .eyebrow {
    font-size: 10px;
  }

  .hero-facts {
    gap: 8px;
  }

  .work-grid,
  .service-grid,
  .expert-grid,
  .editorial-grid,
  .quotes-grid {
    gap: 18px;
  }

  .card-body {
    padding: 18px 12px 12px;
  }

  .work-card h3 {
    font-size: 19px;
  }

  .card-stats {
    justify-content: flex-start;
    gap: 7px 12px;
    font-size: 10px;
  }

  .service-item,
  .expert-card,
  .editorial-card,
  .community-card {
    padding: 24px;
  }

  .expert-card dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .expert-card dt:not(:first-child) {
    margin-top: 8px;
  }

  .expert-actions {
    gap: 8px;
  }

  .expert-actions a {
    padding-inline: 12px;
    font-size: 11px;
  }

  .qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .qr-card {
    padding: 26px 20px;
  }

  .quotes-grid .quote-card {
    padding: 28px 24px;
  }

  .ai-layout .ai-steps,
  .ai-section > .container:not(.ai-layout) > .ai-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-step {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 24px;
  }

  .ai-step .number,
  .ai-step > strong {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .danmaku-demo {
    padding: 24px;
    border-radius: 24px;
  }

  .faq-list summary {
    padding-left: 22px;
    padding-right: 66px;
  }

  .faq-list details p {
    padding-inline: 22px;
    font-size: 13px;
  }

  .page-hero {
    padding-block: 62px;
  }

  .page-hero h1 {
    font-size: clamp(32px, 5.4vw, 43px);
    line-height: 1.45;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .page-layout {
    gap: 30px;
    padding-block: 50px;
  }

  .prose {
    font-size: 15px;
    line-height: 1.95;
  }

  .table-wrap th,
  .table-wrap td {
    padding: 14px 16px;
  }

  .mcp-panel {
    padding: 28px;
  }

  #mcp-output {
    padding: 18px;
    font-size: 11px;
  }

  .modal {
    width: calc(100% - 32px);
    max-height: calc(100svh - 32px);
    border-radius: 23px;
  }

  .dialog-inner {
    padding: 28px;
  }

  .footer-top {
    padding-block: 38px;
  }

  .footer-links a {
    min-height: 44px;
    padding-block: 10px;
  }
}

/* 30 / Phone composition: intentional single-column cards at 360px. */

@media (max-width: 580px) {
  :root {
    --header-height: 68px;
    --radius-lg: 23px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand > span {
    gap: 5px;
  }

  .brand-logo {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-sub {
    font-size: 8px;
    letter-spacing: 0.025em;
  }

  #nav-toggle {
    min-width: 58px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .nav {
    top: calc(100% + 6px);
    border-radius: 17px;
  }

  .nav a {
    padding-inline: 13px;
    font-size: 13px;
  }

  .search-band .container {
    gap: 8px;
    padding-block: 12px;
  }

  #demo-search {
    gap: 5px 6px;
    padding: 9px;
  }

  #demo-search label {
    color: #9AE9F5;
  }

  #demo-search button {
    padding-inline: 10px;
    font-size: 10px;
  }

  #search-feedback {
    padding-inline: 3px;
    font-size: 10px;
    line-height: 1.65;
  }

  .hero {
    padding-block: 42px 48px;
  }

  .hero-layout {
    gap: 36px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 22px;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 10px;
    letter-spacing: 0.025em;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10.6vw, 56px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.03em;
  }

  .hero-lead {
    margin: 22px 0 26px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn,
  .hero-actions .text-link {
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 12px;
  }

  .hero-facts {
    gap: 7px;
    margin-top: 24px;
  }

  .hero-facts > span,
  .hero-facts li {
    min-height: 32px;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: 9px;
  }

  .hero-visual {
    padding: 10px 10px 14px;
    border-radius: 23px;
  }

  .hero-visual img {
    aspect-ratio: 1.08;
    border-radius: 16px;
    object-position: 68% center;
  }

  .hero-visual::before {
    top: -12px;
    right: 15px;
    bottom: 34px;
    left: -7px;
    border-radius: 27px;
  }

  .hero-visual::after {
    top: 10px;
    right: 10px;
    bottom: 77px;
    left: 10px;
    border-radius: 16px;
  }

  .hero-caption {
    right: 20px;
    bottom: 94px;
    left: 20px;
    max-width: none;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-caption span {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .hero-visual > .image-note {
    min-height: 40px;
    margin-top: 11px;
    padding-inline: 3px;
    font-size: 10px;
    line-height: 1.8;
  }

  .hero::before {
    opacity: 0.7;
  }

  .hero::after {
    right: -350px;
    width: 750px;
    opacity: 0.75;
  }

  .ticker-inner {
    gap: 26px;
    padding: 15px 20px;
  }

  .ticker-inner span {
    gap: 9px;
    font-size: 10px;
    letter-spacing: 0.07em;
  }

  .section {
    padding-block: 54px;
  }

  .section-head {
    gap: 20px;
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: clamp(26px, 7.2vw, 34px);
    font-weight: 800;
    line-height: 1.5;
  }

  .section-head p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.9;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .text-link {
    min-height: 44px;
    font-size: 12px;
  }

  .btn {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .work-grid,
  .service-grid,
  .expert-grid,
  .editorial-grid,
  .quotes-grid,
  .community-grid,
  .community-layout .community-grid,
  .qr-grid,
  .manifest-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .work-card {
    padding: 8px;
    border-radius: 23px;
  }

  .video-cover,
  .video-trigger {
    border-radius: 16px;
  }

  .video-cover img,
  .video-trigger img {
    aspect-ratio: 16 / 10;
  }

  .play-icon {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .card-body {
    padding: 19px 13px 14px;
  }

  .work-card h3 {
    font-size: 20px;
    line-height: 1.55;
  }

  .work-card p {
    font-size: 13px;
  }

  .card-top,
  .card-stats {
    font-size: 10px;
  }

  .card-stats {
    justify-content: space-between;
    padding-inline: 10px;
  }

  .tags {
    gap: 6px;
  }

  .tags span,
  .pill,
  .chip,
  .demo-label {
    font-size: 10px;
  }

  .feature-story > .container.page-layout {
    gap: 28px;
  }

  .feature-story figure {
    padding: 10px 10px 14px;
    border-radius: 23px;
  }

  .feature-story img {
    min-height: 220px;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .feature-story figure::after {
    top: 10px;
    right: 10px;
    bottom: 55px;
    left: 10px;
    border-radius: 16px;
  }

  .feature-story h2,
  .feature-story h3 {
    font-size: 29px;
    line-height: 1.45;
  }

  .feature-story .prose p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.95;
  }

  .service-item {
    min-height: auto;
    padding: 25px;
    border-radius: 22px;
  }

  .service-item h3 {
    margin-top: 20px;
    font-size: 21px;
  }

  .service-item p {
    font-size: 13px;
  }

  .mini-list {
    font-size: 12px;
  }

  .ai-copy h2 {
    font-size: clamp(33px, 9vw, 45px);
    line-height: 1.35;
  }

  .ai-copy p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.9;
  }

  .ai-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 5px 12px;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .ai-step .number,
  .ai-step > strong {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
  }

  .ai-step h3 {
    font-size: 16px;
    line-height: 1.55;
  }

  .ai-step p {
    font-size: 12px;
    line-height: 1.85;
  }

  .ai-step p.muted,
  .ai-step p + p {
    font-size: 10px;
  }

  .notice,
  .callout {
    padding: 17px;
    font-size: 12px;
    border-radius: 13px;
  }

  .editorial-card {
    min-height: 300px;
    padding: 26px;
    border-radius: 22px;
  }

  .editorial-card h3 {
    font-size: 22px;
  }

  .article-number {
    margin-bottom: 18px;
  }

  .community-card {
    min-height: auto;
    padding: 25px;
    border-radius: 22px;
    transform: none;
  }

  .community-card h3 {
    font-size: 22px;
  }

  .community-card > .pill {
    margin-bottom: 17px;
  }

  .community-card button {
    margin-top: 18px;
  }

  .danmaku-demo {
    margin-top: 32px;
    padding: 19px;
    border-radius: 21px;
  }

  .danmaku-demo h3 {
    font-size: 20px;
  }

  .danmaku-stage {
    height: 172px;
    border-radius: 13px;
  }

  #danmaku-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 16px;
  }

  #danmaku-form label {
    font-size: 12px;
  }

  #danmaku-form button {
    width: 100%;
  }

  #danmaku-feedback {
    font-size: 11px;
  }

  .expert-card {
    min-height: auto;
    padding: 28px 25px;
    border-radius: 22px;
  }

  .expert-card dl {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
  }

  .expert-card dt:not(:first-child) {
    margin-top: 0;
  }

  .expert-actions a {
    font-size: 12px;
  }

  .partner-wall {
    gap: 12px;
  }

  .partner-mark {
    min-height: 132px;
    padding: 18px 13px;
    border-radius: 16px;
  }

  .partner-mark h3 {
    font-size: 13px;
  }

  .partner-mark p {
    font-size: 10px;
  }

  .howto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .howto-card {
    padding: 7px 7px 18px;
    border-radius: 19px;
  }

  .howto-card img {
    border-radius: 12px;
  }

  .howto-card::after {
    top: 7px;
    right: 7px;
    left: 7px;
    border-radius: 12px;
  }

  .howto-card h3,
  .howto-card p,
  .howto-card > .text-link {
    margin-inline: 9px;
  }

  .howto-card h3 {
    font-size: 16px;
  }

  .howto-card p {
    font-size: 11px;
    line-height: 1.85;
  }

  .howto-card .number {
    min-width: 34px;
    min-height: 31px;
    margin-left: 9px;
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 11px;
  }

  .howto-card > .text-link {
    padding-inline: 9px;
    font-size: 10px;
  }

  .quote-card,
  .quotes-grid .quote-card {
    min-height: 210px;
    padding: 28px 25px;
    border-radius: 22px;
  }

  .quote-card blockquote {
    font-size: 19px;
    line-height: 1.8;
  }

  .quote-author {
    margin-top: 20px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-list details {
    border-radius: 16px;
  }

  .faq-list summary {
    min-height: 68px;
    padding: 20px 58px 20px 19px;
    font-size: 16px;
    line-height: 1.65;
  }

  .faq-list summary::after {
    right: 17px;
    width: 27px;
    height: 27px;
    font-size: 20px;
  }

  .faq-list details p {
    padding: 0 19px 22px;
    font-size: 13px;
    line-height: 1.9;
  }

  .contact-layout {
    gap: 30px;
  }

  .contact-copy h2 {
    font-size: clamp(29px, 8vw, 39px);
    line-height: 1.5;
  }

  .contact-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-block: 24px;
  }

  .contact-item {
    padding: 20px;
    border-radius: 15px;
  }

  .contact-item h3 {
    font-size: 17px;
  }

  .contact-item p {
    font-size: 12px;
    line-height: 1.9;
  }

  .contact-layout > figure {
    padding: 10px 10px 14px;
    border-radius: 23px;
  }

  .contact-layout figure img {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .contact-layout > figure::after {
    top: 10px;
    right: 10px;
    bottom: 57px;
    left: 10px;
    border-radius: 16px;
  }

  .image-note {
    font-size: 10px;
  }

  .qr-grid {
    margin-top: 30px;
  }

  .qr-card {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .qr-card img {
    width: 158px;
  }

  .qr-card h3 {
    font-size: 19px;
  }

  .share-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .share-bar button {
    width: 100%;
    padding: 10px 9px;
    font-size: 11px;
  }

  .share-bar button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .mcp-panel {
    margin-top: 28px;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .mcp-panel h2,
  .mcp-panel h3 {
    font-size: 23px;
    line-height: 1.5;
  }

  .mcp-panel p {
    font-size: 12px;
  }

  #mcp-output {
    min-height: 145px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    font-size: 11px;
  }

  .tool-grid {
    gap: 22px;
  }

  .tool-card {
    padding: 26px 21px;
    border-radius: 23px;
  }

  .tool-card h2 {
    font-size: 25px;
    line-height: 1.5;
  }

  .tool-card > p:not(.eyebrow) {
    font-size: 13px;
  }

  .tool-card input,
  .tool-card textarea,
  .tool-card select {
    padding: 12px;
    font-size: 16px;
  }

  .tool-card form button {
    justify-self: stretch;
    width: 100%;
    font-size: 13px;
  }

  #duration-result,
  #brief-result {
    padding: 14px;
    font-size: 12px;
  }

  textarea#brief-result {
    min-height: 260px;
    font-size: 14px;
  }

  .breadcrumb {
    padding-block: 15px;
    font-size: 11px;
  }

  .page-hero {
    padding-block: 44px 52px;
  }

  .page-hero h1 {
    font-size: clamp(29px, 8vw, 39px);
    line-height: 1.5;
  }

  .page-hero p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
  }

  .page-hero::after {
    right: -310px;
    opacity: 0.7;
  }

  .page-layout {
    gap: 26px;
    padding-block: 42px;
  }

  .content-aside {
    padding: 22px;
    border-radius: 19px;
  }

  .prose {
    font-size: 14px;
    line-height: 1.95;
  }

  .prose h2 {
    font-size: 25px;
  }

  .prose h3 {
    font-size: 21px;
  }

  .prose blockquote {
    padding: 20px;
    border-radius: 15px;
  }

  .prose pre {
    padding: 17px;
    font-size: 11px;
  }

  .table-wrap {
    margin-block: 24px;
    border-radius: 14px;
  }

  .table-wrap table {
    font-size: 12px;
  }

  .manifest-item {
    min-height: auto;
    padding: 25px;
    border-radius: 20px;
  }

  .manifest-item strong {
    margin-bottom: 22px;
  }

  .footer-top {
    gap: 28px;
    padding-block: 34px;
  }

  .footer-links {
    gap: 8px 16px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding-block: 20px;
    font-size: 10px;
  }

  .footer-note {
    font-size: 10px;
    line-height: 1.85;
  }

  .modal {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    border-radius: 21px;
  }

  .dialog-inner {
    padding: 24px 20px;
  }

  #close-dialog {
    top: 12px;
    right: 12px;
    min-width: 65px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .dialog-inner > .eyebrow {
    max-width: calc(100% - 70px);
    min-height: 36px;
    margin-bottom: 18px;
    font-size: 9px;
  }

  .dialog-inner h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .dialog-inner > p:not(.eyebrow):not(.notice) {
    font-size: 13px;
  }

  .demo-screen {
    min-height: 205px;
    gap: 15px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .demo-screen p {
    font-size: 13px;
  }

  .dialog-actions .btn {
    width: 100%;
  }

  #toast {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100% - 24px);
    padding: 15px 17px;
    border-radius: 14px;
    font-size: 12px;
  }
}

/* Narrow phones: no half-width reading cards or overlong search actions. */

@media (max-width: 400px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero-copy h1 {
    font-size: clamp(32px, 10.5vw, 40px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }

  .hero-actions > * {
    width: 100%;
  }

  #demo-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  #demo-search input {
    padding: 10px;
    border: 1px solid rgba(107, 172, 241, 0.24);
    border-radius: 10px;
    background: rgba(4, 15, 36, 0.55);
  }

  #demo-search button {
    width: 100%;
    font-size: 12px;
  }

  .hero-visual img {
    aspect-ratio: 1;
  }

  .hero-caption {
    padding: 11px 12px;
    font-size: 13px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .howto-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .howto-card {
    padding: 8px 8px 22px;
    border-radius: 22px;
  }

  .howto-card img {
    aspect-ratio: 16 / 10;
    border-radius: 15px;
  }

  .howto-card::after {
    top: 8px;
    right: 8px;
    left: 8px;
    aspect-ratio: 16 / 10;
    border-radius: 15px;
  }

  .howto-card h3,
  .howto-card p,
  .howto-card > .text-link {
    margin-inline: 14px;
  }

  .howto-card h3 {
    font-size: 20px;
  }

  .howto-card p {
    font-size: 13px;
  }

  .howto-card .number {
    min-height: 35px;
    margin-left: 14px;
    font-size: 12px;
  }

  .howto-card > .text-link {
    font-size: 12px;
  }

  .expert-card dl {
    padding: 14px;
    gap: 8px 10px;
    font-size: 11px;
  }

  .expert-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .expert-actions a {
    width: 100%;
  }

  .partner-mark {
    min-height: 125px;
    padding-inline: 12px;
  }

  .partner-mark h3 {
    font-size: 12px;
  }

  .ai-step {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 5px 10px;
    padding: 18px 15px;
  }

  .ai-step .number,
  .ai-step > strong {
    width: 31px;
    height: 34px;
    font-size: 13px;
  }

  .ai-step h3 {
    font-size: 15px;
  }

  .card-stats {
    justify-content: flex-start;
    gap: 7px 12px;
  }
}

/* 31 / Feature support: opaque dark fallbacks preserve text contrast. */

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: #080F23;
  }

  .nav {
    background: #09162F;
  }

  .search-band {
    background: linear-gradient(110deg, #102343, #10142F);
  }

  .work-card,
  .service-item,
  .expert-card,
  .tool-card,
  .editorial-card,
  .community-card {
    background-color: #0C1A37;
  }

  .hero-caption {
    background: linear-gradient(130deg, #0C315D, #131E49);
  }

  .play-icon {
    background: #14385E;
  }
}

/* 32 / Reduced motion: keep content, remove decorative travel. */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero::before,
  .hero::after,
  .ticker-inner,
  .modal[open] {
    animation: none !important;
  }

  .ticker-inner {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
    transform: none;
  }

  .ticker::after {
    background: none;
  }

  .work-card:hover,
  .service-item:hover,
  .editorial-card:hover,
  .howto-card:hover,
  .expert-card:hover,
  .community-card:hover,
  .btn:hover {
    transform: none;
  }

  .video-trigger:hover img,
  .video-trigger:focus-visible img {
    transform: none;
  }

  .danmaku-stage {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    padding: 14px;
    overflow: auto;
  }

  #danmaku-stage span {
    position: relative;
    top: auto !important;
    right: auto;
    max-width: 100%;
    height: fit-content;
    white-space: normal;
    overflow-wrap: anywhere;
    animation: none !important;
  }

  .danmaku-stage::before,
  .danmaku-stage::after {
    display: none;
  }
}

/* 33 / Higher contrast without a return to paper or harsh red accents. */

@media (prefers-contrast: more) {
  :root {
    --text-secondary: #DEE9FB;
    --text-muted: #C6D7EF;
    --text-soft: #B7CBE8;
    --line: rgba(159, 202, 255, 0.52);
  }

  .work-card,
  .service-item,
  .editorial-card,
  .community-card,
  .expert-card,
  .partner-mark,
  .howto-card,
  .quote-card,
  .qr-card,
  .tool-card,
  .content-aside,
  .faq-list details {
    border-color: rgba(155, 207, 255, 0.65);
  }

  .hero-lead,
  .card-stats,
  .ai-step p,
  .community-card p,
  .prose p,
  .prose li,
  .contact-item p,
  .footer-note {
    color: #D2E1F7;
  }

  .hero-caption,
  .duration,
  .format-badge {
    background-color: #092349;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  html,
  body {
    color: CanvasText;
    background: Canvas;
  }

  .site-header,
  .search-band,
  .hero,
  .section,
  .page-hero,
  .site-footer,
  .modal,
  #toast {
    color: CanvasText;
    background: Canvas;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero::before,
  .hero::after,
  .page-hero::before,
  .page-hero::after,
  .section::before,
  .video-cover::after,
  .hero-visual::before,
  .hero-visual::after,
  .feature-story figure::after,
  .contact-layout > figure::after,
  .howto-card::after {
    display: none;
  }

  .work-card,
  .service-item,
  .editorial-card,
  .community-card,
  .expert-card,
  .howto-card,
  .quote-card,
  .partner-mark,
  .qr-card,
  .tool-card,
  .ai-step,
  .notice,
  .callout,
  .mcp-panel,
  .content-aside,
  .faq-list details,
  .table-wrap {
    border: 1px solid CanvasText;
    color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }

  a,
  .text-link,
  .nav a {
    color: LinkText;
  }

  button,
  .btn,
  .play-icon,
  .share-bar button,
  .expert-actions a {
    border: 1px solid ButtonText;
    color: ButtonText;
    background: ButtonFace;
    box-shadow: none;
  }

  input,
  textarea,
  select {
    border: 1px solid CanvasText;
    color: CanvasText;
    background: Canvas;
  }

  :focus-visible {
    outline: 3px solid Highlight;
  }

  img {
    filter: none;
  }

  .modal::backdrop {
    background: Canvas;
    opacity: 0.85;
  }
}

/* 双飞科技AI传媒：页面级HUD和未来影像组件。 */
.hero-visual {
  isolation: isolate;
  min-height: 560px;
}
.hero-visual > img {
  min-height: 560px;
  filter: saturate(1.16) contrast(1.08) brightness(0.82) hue-rotate(5deg);
}
.hero-visual::after {
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 10, 26, 0.93) 0%, rgba(6, 10, 26, 0.22) 48%, rgba(67, 133, 255, 0.22) 100%),
    linear-gradient(0deg, rgba(6, 10, 26, 0.78), transparent 48%);
  mix-blend-mode: normal;
}
.hero-orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(47, 232, 255, 0.56);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(47, 232, 255, 0.2), inset 0 0 28px rgba(67, 133, 255, 0.12);
  pointer-events: none;
}
.orbit-one {
  top: 8%;
  left: -5%;
  width: 250px;
  aspect-ratio: 1;
  animation: xh-orbit-spin 17s linear infinite;
}
.orbit-two {
  right: -8%;
  bottom: 10%;
  width: 150px;
  aspect-ratio: 1;
  border-color: rgba(255, 92, 219, 0.62);
  animation: xh-orbit-spin 11s linear reverse infinite;
}
@keyframes xh-orbit-spin {
  to { transform: rotate(360deg); }
}
.hero-hud {
  position: absolute;
  z-index: 4;
  right: clamp(15px, 4vw, 58px);
  bottom: clamp(92px, 13%, 130px);
  display: grid;
  width: min(230px, 45%);
  gap: 8px;
  padding: 17px;
  border: 1px solid rgba(153, 235, 255, 0.38);
  border-radius: 18px;
  color: #eaf8ff;
  background: linear-gradient(135deg, rgba(8, 32, 73, 0.84), rgba(18, 16, 76, 0.58));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38), 0 0 36px rgba(47, 232, 255, 0.12);
  backdrop-filter: blur(14px) saturate(150%);
}
.hud-label {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.hero-hud strong {
  color: #fff;
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 1;
}
.hero-hud strong span {
  color: var(--cyan);
  font-size: 0.46em;
}
.hero-hud small {
  color: rgba(225, 242, 255, 0.69);
  font-size: 10px;
  line-height: 1.5;
}
.hud-bars {
  display: flex;
  height: 30px;
  align-items: end;
  gap: 4px;
}
.hud-bars i {
  display: block;
  width: 8px;
  border-radius: 5px 5px 1px 1px;
  background: linear-gradient(180deg, #ffffff, var(--cyan));
  box-shadow: 0 0 12px rgba(47, 232, 255, 0.55);
  animation: xh-signal 1.3s ease-in-out infinite alternate;
}
.hud-bars i:nth-child(1) { height: 36%; animation-delay: -.65s; }
.hud-bars i:nth-child(2) { height: 69%; animation-delay: -.1s; }
.hud-bars i:nth-child(3) { height: 48%; animation-delay: -.8s; }
.hud-bars i:nth-child(4) { height: 91%; animation-delay: -.35s; }
.hud-bars i:nth-child(5) { height: 56%; animation-delay: -.5s; }
.hud-bars i:nth-child(6) { height: 78%; animation-delay: -.2s; }
.hud-bars i:nth-child(7) { height: 37%; animation-delay: -.7s; }
@keyframes xh-signal { to { transform: scaleY(0.35); opacity: 0.54; } }
.hero-caption {
  z-index: 4;
  border: 1px solid rgba(117, 224, 255, 0.28);
  color: #eaf8ff;
  background: rgba(7, 20, 50, 0.72);
  backdrop-filter: blur(14px);
}
.hero-caption span { color: var(--cyan); }
.hero-visual > .image-note {
  position: absolute;
  z-index: 4;
  right: 21px;
  bottom: 20px;
  margin: 0;
  color: rgba(221, 246, 255, 0.75);
  text-shadow: 0 1px 4px #000;
}
.feature-story figure,
.contact-layout figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 198, 255, 0.23);
  border-radius: 24px;
  background: #08142c;
}
.feature-story figure > img,
.contact-layout figure > img {
  filter: saturate(1.2) contrast(1.04) brightness(0.75) hue-rotate(5deg);
}
.feature-story figure::after,
.contact-layout figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47, 232, 255, 0.18), transparent 45%, rgba(116, 91, 255, 0.28));
  content: "";
  pointer-events: none;
}
.media-data-overlay {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 27px;
  display: grid;
  gap: 4px;
  min-width: 177px;
  padding: 15px 17px;
  border: 1px solid rgba(47, 232, 255, 0.38);
  border-radius: 15px;
  background: rgba(5, 16, 47, 0.76);
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}
.media-data-overlay span,
.location-chip {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.media-data-overlay b {
  color: #fff;
  font-size: 34px;
  letter-spacing: -0.05em;
}
.media-data-overlay small { color: rgba(224, 245, 255, 0.65); }
.feature-story figure > .image-note,
.contact-layout figure > .image-note {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 10px;
  max-width: 60%;
  margin: 0;
  color: rgba(234, 248, 255, 0.7);
  font-size: 10px;
  text-align: right;
  text-shadow: 0 1px 4px #000;
}
.location-chip {
  position: absolute;
  z-index: 3;
  top: 19px;
  left: 19px;
  padding: 8px 10px;
  border: 1px solid rgba(47, 232, 255, 0.3);
  border-radius: 100px;
  background: rgba(5, 14, 40, 0.72);
  backdrop-filter: blur(10px);
}
@media (max-width: 700px) {
  .hero-visual,
  .hero-visual > img { min-height: 430px; }
  .hero-hud { right: 14px; bottom: 88px; width: min(210px, 61%); padding: 13px; }
  .hero-caption { left: 14px; right: auto; bottom: 28px; max-width: calc(100% - 28px); }
  .hero-visual > .image-note { right: 17px; bottom: 12px; max-width: 75%; font-size: 9px; }
  .orbit-one { width: 170px; }
  .orbit-two { width: 100px; }
  .media-data-overlay { right: 13px; bottom: 24px; min-width: 145px; padding: 12px; }
  .media-data-overlay b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit, .hud-bars i { animation: none; }
}

@media (min-width: 701px) {
  .hero-caption {
    top: 30px;
    right: auto;
    bottom: auto;
    left: 30px;
    max-width: 300px;
  }
}
