:root {
  --bg: #050b11;
  --bg-2: #08131d;
  --panel: rgba(12, 25, 36, 0.72);
  --panel-strong: rgba(15, 32, 47, 0.9);
  --line: rgba(122, 202, 255, 0.28);
  --line-strong: rgba(141, 218, 255, 0.62);
  --cyan: #69d7ff;
  --blue: #3aa3ff;
  --ice: #d8f3ff;
  --text: #e8f6ff;
  --muted: #8ea8ba;
  --gold: #f5c456;
  --green: #4ee69a;
  --danger: #ff6b6b;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --content: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 8%, rgba(61, 171, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 82% 10%, rgba(245, 196, 86, 0.08), transparent 28rem),
    linear-gradient(180deg, #07111a 0%, #050b11 42%, #03070c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.site-shell, .ambient, .snow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 203, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 203, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 82%, transparent);
  opacity: 0.52;
}
.ambient-a {
  background: radial-gradient(circle at 70% 20%, rgba(101, 207, 255, 0.18), transparent 25rem);
  filter: blur(20px);
}
.ambient-b {
  background: radial-gradient(circle at 15% 70%, rgba(30, 98, 150, 0.25), transparent 30rem);
  filter: blur(28px);
}
.snow-layer::before,
.snow-layer::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(120,190,230,0.55) 0 1px, transparent 1.3px);
  background-size: 160px 160px, 230px 230px;
  opacity: 0.22;
  animation: drift 38s linear infinite;
}
.snow-far::before { opacity: 0.09; animation-duration: 70s; }
.snow-near::after { transform: translate3d(60px, -80px, 0); opacity: 0.12; animation-duration: 52s; }
@keyframes drift { to { transform: translate3d(-120px, 190px, 0); } }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  background: rgba(5, 11, 17, 0.68);
  backdrop-filter: blur(22px) saturate(130%);
  border-bottom: 1px solid rgba(121, 207, 255, 0.13);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #06101a;
  font-weight: 900;
  font-size: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--ice));
  box-shadow: 0 0 28px rgba(105, 215, 255, 0.35);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: 0.18em; margin-top: 4px; }
.main-nav { display: flex; gap: 6px; padding: 6px; border: 1px solid rgba(130, 205, 255, 0.13); border-radius: 999px; background: rgba(7, 16, 26, 0.5); }
.main-nav a, .nav-cta {
  text-decoration: none;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  transition: color .18s ease, background .18s ease, border .18s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ice); background: rgba(105, 215, 255, 0.12); }
.nav-cta { border: 1px solid rgba(245, 196, 86, 0.45); color: #ffe3a1; background: rgba(245, 196, 86, 0.08); }
.nav-cta:hover { background: rgba(245, 196, 86, 0.18); }

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 112px 0;
  position: relative;
}
.section + .section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105, 215, 255, 0.28), transparent);
}
.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 18px;
}
.section-head { max-width: 820px; margin-bottom: 44px; }
.section-head h2, .hero h1, .closing h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.85; margin: 20px 0 0; }

.hero { padding-top: 82px; min-height: calc(100vh - 72px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(72px, 9vw, 144px); text-shadow: 0 0 42px rgba(200, 230, 255, 0.16); }
.hero-subtitle { color: var(--muted); letter-spacing: 0.46em; font-size: clamp(18px, 2.4vw, 32px); margin: 24px 0 0; }
.hero-lede { margin: 32px 0 0; color: #b5cbdc; line-height: 1.9; font-size: 18px; max-width: 680px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.hero-meta span, .tag-cluster span {
  border: 1px solid rgba(119, 204, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: #b9d9ea;
  background: rgba(12, 27, 40, 0.62);
  font-size: 12px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-weight: 800; font-size: 14px;
  border: 1px solid rgba(122, 202, 255, 0.28);
}
.button.primary { color: #06101a; background: linear-gradient(135deg, var(--cyan), var(--ice)); box-shadow: 0 0 28px rgba(105, 215, 255, 0.28); }
.button.ghost { color: var(--ice); background: rgba(12, 27, 40, 0.55); }
.hero-device, .media-card, .glass-card, .terminal-card, .phone-card, .closing-panel {
  border: 1px solid rgba(133, 210, 255, 0.22);
  background: linear-gradient(180deg, rgba(12, 28, 42, 0.78), rgba(7, 15, 24, 0.82));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hero-device { transform: perspective(1100px) rotateY(-4deg) rotateX(2deg); }
.hero-device img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.92; }
.device-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(133, 210, 255, 0.14); color: var(--muted); font-size: 12px; }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(180, 230, 255, 0.38); }
.device-bar strong { margin-left: auto; letter-spacing: 0.12em; text-transform: uppercase; }
.device-glow { position: absolute; inset: auto 10% -14% 10%; height: 20%; background: radial-gradient(ellipse, rgba(105,215,255,.28), transparent 70%); filter: blur(18px); }
.hero-strip { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-strip span { padding: 16px; text-align: center; color: #beeaff; border: 1px solid rgba(105, 215, 255, .22); border-radius: 18px; background: rgba(7, 17, 27, .62); font-size: 12px; letter-spacing: .16em; }

.overview-grid, .split-grid, .feature-grid, .validation-grid, .survival-grid, .business-grid, .records-layout { display: grid; gap: 24px; align-items: stretch; }
.overview-grid { grid-template-columns: 0.9fr 1.1fr; }
.split-grid { grid-template-columns: 1fr 1fr; }
.asymmetric { grid-template-columns: 1.2fr 0.8fr; }
.feature-grid { grid-template-columns: 1.25fr 0.75fr; }
.feature-grid.reverse { grid-template-columns: 0.75fr 1.25fr; }
.validation-grid { grid-template-columns: 1.3fr 0.7fr; }
.survival-grid { grid-template-columns: .9fr 1.1fr; }
.business-grid { grid-template-columns: 1fr 1fr; }
.records-layout { grid-template-columns: 0.8fr 1.2fr; }
.glass-card { padding: 30px; }
.glass-card h3, .feature-list h3, .checklist h3 { margin: 0 0 16px; font-size: 25px; }
.glass-card p, .feature-list li, .checklist li { color: #acc6d8; line-height: 1.85; }
.media-card img, .terminal-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card.wide img { aspect-ratio: 16 / 9; }
.media-card.narrow { max-width: 780px; margin-top: 24px; }
.media-card.narrow img { width: 100%; }

.spec-list { margin: 26px 0 0; display: grid; gap: 14px; }
.spec-list div { border-top: 1px solid rgba(133, 210, 255, 0.14); padding-top: 14px; }
.spec-list dt { color: var(--cyan); font-weight: 800; font-size: 13px; }
.spec-list dd { margin: 4px 0 0; color: var(--ice); }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.metric-row div { padding: 22px; border-radius: 22px; background: rgba(10, 24, 36, 0.66); border: 1px solid rgba(133,210,255,.18); }
.metric-row strong { display: block; font-size: 42px; letter-spacing: -0.06em; color: var(--ice); }
.metric-row span { color: var(--muted); }

.loop-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.loop-node { min-height: 190px; padding: 22px; border-radius: 24px; border: 1px solid rgba(105,215,255,.22); background: linear-gradient(180deg, rgba(11,26,39,.88), rgba(7,16,25,.72)); position: relative; }
.loop-node:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 900; z-index: 1; }
.loop-node span { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.loop-node strong { display: block; margin-top: 24px; font-size: 22px; }
.loop-node small { display: block; margin-top: 12px; color: var(--muted); line-height: 1.7; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 28px; }
.pipe-step { min-height: 110px; border: 1px solid rgba(105,215,255,.24); border-radius: 20px; display: grid; place-items: center; text-align: center; background: rgba(10, 24, 36, .68); position: relative; }
.pipe-step:not(:last-child)::after { content: ""; position: absolute; right: -10px; width: 10px; height: 1px; background: var(--line-strong); }
.pipe-step span { font-size: 20px; font-weight: 900; }
.pipe-step small { color: var(--muted); }
.pipe-step.hot { border-color: rgba(105,215,255,.62); box-shadow: inset 0 0 36px rgba(105,215,255,.06); }
.pipe-step.gold { border-color: rgba(245,196,86,.62); }

.tier-stack { display: grid; gap: 12px; }
.tier { padding: 18px 20px; border-radius: 20px; border: 1px solid rgba(133,210,255,.2); background: rgba(8, 20, 31, .7); }
.tier em { color: var(--gold); font-style: normal; font-size: 12px; font-weight: 900; letter-spacing: .18em; display: block; margin-bottom: 8px; }
.tier strong { display: block; font-size: 18px; }
.tier span { color: var(--muted); display: block; margin-top: 6px; }
.phone-card { display: grid; place-items: center; padding: 24px; }
.phone-card img { max-height: 680px; object-fit: contain; }
.feature-list { border-radius: var(--radius); border: 1px solid rgba(133,210,255,.18); background: rgba(9, 20, 30, .72); padding: 30px; }
.feature-list ul, .checklist ul { padding-left: 1.2em; }
.mini-media-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 14px; margin-top: 20px; }
.mini-media-row img, .code-shot, .inline-shot img, .business-grid figure img { border-radius: 16px; border: 1px solid rgba(133,210,255,.16); background: rgba(0,0,0,.2); }
.code-shot { width: 100%; margin-top: 18px; }
.contract-map { display: grid; gap: 12px; }
.contract-map div { border: 1px solid rgba(105,215,255,.23); background: rgba(10,24,36,.68); border-radius: 18px; padding: 18px; }
.contract-map strong { display: block; color: var(--ice); }
.contract-map span { display: block; color: var(--muted); margin-top: 6px; }
.toast-row { margin-top: 20px; display: inline-flex; align-items: center; gap: 18px; border: 1px solid rgba(245,196,86,.25); border-radius: 18px; padding: 12px 16px; background: rgba(245,196,86,.06); color: #eecb7d; }
.toast-row img { max-width: 315px; border-radius: 12px; }
.tag-cluster { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.inline-shot { margin: 0; }
.business-grid figure { margin: 20px 0 0; }
.mini-pipeline { display: grid; gap: 8px; margin-top: 18px; }
.mini-pipeline span { border-left: 2px solid var(--cyan); padding: 8px 10px; background: rgba(105,215,255,.07); color: #bdddeb; }
.method-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.method-grid div { min-height: 95px; display: grid; place-items: center; text-align: center; border: 1px solid rgba(105,215,255,.22); background: rgba(8,20,31,.74); border-radius: 18px; font-weight: 900; color: #cdefff; }
.method-grid .gold { border-color: rgba(245,196,86,.55); color: #ffe3a1; }
.terminal-card { padding: 14px; }
.terminal-card img { border-radius: 18px; object-fit: contain; background: #050505; }
.checklist { border-radius: var(--radius); border: 1px solid rgba(133,210,255,.18); background: rgba(9,20,30,.72); padding: 30px; }
.closing { padding-bottom: 140px; }
.closing-panel { padding: 58px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.contact-card { min-height: 128px; padding: 24px; text-decoration: none; border-radius: 22px; background: rgba(10,24,36,.7); border: 1px solid rgba(105,215,255,.22); display: flex; flex-direction: column; justify-content: center; transition: transform .2s ease, border .2s ease, background .2s ease; }
.contact-card:hover { transform: translateY(-3px); border-color: rgba(105,215,255,.55); background: rgba(13,34,50,.86); }
.contact-card span { color: var(--cyan); font-weight: 900; margin-bottom: 8px; }
.contact-card strong { font-size: 20px; overflow-wrap: anywhere; }
.contact-card.muted { color: var(--muted); }
.author-line { margin: 28px 0 0; color: var(--muted); }

.side-index { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: grid; gap: 8px; }
.side-index a { width: 36px; height: 26px; border-radius: 999px; text-decoration: none; display: grid; place-items: center; font-size: 11px; color: var(--muted); border: 1px solid rgba(133,210,255,.18); background: rgba(5,11,17,.68); backdrop-filter: blur(10px); }
.side-index a.active { color: #06101a; background: var(--cyan); border-color: var(--cyan); }

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

@media (max-width: 1080px) {
  :root { --content: min(940px, calc(100vw - 36px)); }
  .hero-grid, .overview-grid, .feature-grid, .feature-grid.reverse, .validation-grid, .survival-grid, .records-layout, .business-grid, .split-grid, .asymmetric { grid-template-columns: 1fr; }
  .loop-track { grid-template-columns: 1fr 1fr; }
  .loop-node:not(:last-child)::after, .pipe-step:not(:last-child)::after { display: none; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .side-index { display: none; }
  .main-nav { display: none; }
  .hero-device { transform: none; }
}
@media (max-width: 700px) {
  .topbar { height: 64px; }
  .nav-cta { display: none; }
  .section { padding: 74px 0; }
  .hero h1 { font-size: 64px; }
  .hero-subtitle { letter-spacing: .24em; }
  .hero-strip, .metric-row, .pipeline, .contact-grid { grid-template-columns: 1fr; }
  .loop-track { grid-template-columns: 1fr; }
  .closing-panel { padding: 30px; }
  .method-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .snow-layer::before, .snow-layer::after { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
.inline-media-pair { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* --- Patch 2026-05-12: hero title, movement evidence, natural snow --- */
.snow-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.72;
  mix-blend-mode: screen;
}
.hero h1 {
  white-space: nowrap;
  font-size: clamp(68px, 7vw, 118px);
  letter-spacing: -0.09em;
}
.metric-row .metric-compass-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
}
.metric-compass-card strong,
.metric-compass-card span { grid-column: 2; }
.metric-compass-card strong { grid-row: 1; }
.metric-compass-card span { grid-row: 2; }
.tiny-compass {
  grid-row: 1 / span 2;
  grid-column: 1;
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(105, 215, 255, 0.38);
  background:
    radial-gradient(circle, rgba(105, 215, 255, 0.22) 0 3px, transparent 4px),
    conic-gradient(from 0deg, rgba(105,215,255,.08), rgba(245,196,86,.18), rgba(105,215,255,.08), rgba(105,215,255,.18), rgba(105,215,255,.08));
  box-shadow: inset 0 0 22px rgba(105, 215, 255, 0.08), 0 0 20px rgba(105, 215, 255, 0.1);
}
.tiny-compass::before,
.tiny-compass::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 1px; height: 78%;
  background: linear-gradient(transparent, rgba(202,239,255,.7), transparent);
  transform: translate(-50%, -50%);
}
.tiny-compass::after { transform: translate(-50%, -50%) rotate(90deg); }
.tiny-compass i {
  position: absolute;
  font-style: normal;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(216, 243, 255, 0.78);
  text-shadow: 0 0 8px rgba(105,215,255,.4);
}
.tiny-compass .n { left: 50%; top: 4px; transform: translateX(-50%); }
.tiny-compass .s { left: 50%; bottom: 4px; transform: translateX(-50%); }
.tiny-compass .e { right: 5px; top: 50%; transform: translateY(-50%); }
.tiny-compass .w { left: 5px; top: 50%; transform: translateY(-50%); }
.tiny-compass .ne { right: 9px; top: 10px; }
.tiny-compass .se { right: 9px; bottom: 10px; }
.tiny-compass .sw { left: 9px; bottom: 10px; }
.tiny-compass .nw { left: 9px; top: 10px; }
.direction-showcase {
  height: 180px;
  margin-bottom: 24px;
  border: 1px solid rgba(105, 215, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(105, 215, 255, 0.18), transparent 34%),
    linear-gradient(rgba(105,215,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105,215,255,.035) 1px, transparent 1px),
    rgba(5, 14, 22, 0.58);
  background-size: auto, 28px 28px, 28px 28px, auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.compass-rose {
  position: relative;
  width: min(76%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(133, 210, 255, 0.33);
  box-shadow: inset 0 0 44px rgba(105, 215, 255, 0.08), 0 0 44px rgba(105, 215, 255, 0.08);
}
.compass-rose::before {
  content: "";
  position: absolute;
  inset: 19%;
  border: 1px dashed rgba(245,196,86,.32);
  border-radius: 50%;
}
.compass-rose::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(105,215,255,.65);
}
.compass-rose .axis {
  position: absolute;
  left: 50%; top: 50%;
  width: 1px; height: 86%;
  background: linear-gradient(transparent, rgba(216,243,255,.82), transparent);
  transform: translate(-50%, -50%);
}
.compass-rose .axis-h { transform: translate(-50%, -50%) rotate(90deg); }
.compass-rose .axis-a { transform: translate(-50%, -50%) rotate(45deg); opacity: .72; }
.compass-rose .axis-b { transform: translate(-50%, -50%) rotate(-45deg); opacity: .72; }
.compass-rose b {
  position: absolute;
  font-size: 11px;
  color: #dff6ff;
  letter-spacing: .14em;
  text-shadow: 0 0 14px rgba(105,215,255,.5);
}
.compass-rose b:nth-child(1) { left: 50%; top: 8px; transform: translateX(-50%); }
.compass-rose b:nth-child(2) { right: 20px; top: 22px; }
.compass-rose b:nth-child(3) { right: 12px; top: 50%; transform: translateY(-50%); }
.compass-rose b:nth-child(4) { right: 20px; bottom: 22px; }
.compass-rose b:nth-child(5) { left: 50%; bottom: 8px; transform: translateX(-50%); }
.compass-rose b:nth-child(6) { left: 20px; bottom: 22px; }
.compass-rose b:nth-child(7) { left: 12px; top: 50%; transform: translateY(-50%); }
.compass-rose b:nth-child(8) { left: 20px; top: 22px; }
.compass-rose em {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, 18px);
  font-style: normal;
  font-size: 10px;
  color: rgba(245,196,86,.85);
  letter-spacing: .22em;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(54px, 18vw, 76px); }
  .metric-row .metric-compass-card { grid-template-columns: 70px 1fr; }
}


/* v4 hero atmosphere pass: polar industrial city, lower reading pressure. */
:root {
  --bg: #03070b;
  --bg-2: #060b10;
  --panel: rgba(8, 16, 22, 0.74);
  --panel-strong: rgba(10, 20, 28, 0.92);
  --line: rgba(125, 172, 196, 0.20);
  --line-strong: rgba(168, 211, 230, 0.42);
  --cyan: #83d7ee;
  --blue: #234a64;
  --ice: #d8e7ed;
  --text: #e4edf0;
  --muted: #8f9fa7;
  --gold: #caa35d;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.62);
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(82, 127, 150, 0.08), transparent 34rem),
    radial-gradient(circle at 86% 22%, rgba(202, 163, 93, 0.045), transparent 28rem),
    linear-gradient(180deg, #03070b 0%, #03070b 44%, #020509 100%);
}

.site-shell {
  background-image:
    linear-gradient(90deg, rgba(3, 7, 11, 0.78) 0%, rgba(3, 7, 11, 0.48) 28%, rgba(3, 7, 11, 0.12) 58%, rgba(3, 7, 11, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 7, 11, 0.12) 0%, rgba(3, 7, 11, 0.44) 72%, rgba(3, 7, 11, 0.88) 100%),
    url('../assets/media/cambrian-city-skyline.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.96;
}

.site-shell::before {
  background-image:
    linear-gradient(rgba(160, 202, 220, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 202, 220, 0.026) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.20;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 68%, transparent 92%);
}

.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, transparent 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.56) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 40%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.ambient-a { background: radial-gradient(circle at 80% 18%, rgba(108, 162, 188, 0.06), transparent 28rem); filter: blur(34px); }
.ambient-b { background: radial-gradient(circle at 12% 72%, rgba(24, 64, 88, 0.10), transparent 34rem); filter: blur(36px); }
.snow-layer::before,
.snow-layer::after { opacity: 0.075; background-size: 210px 210px, 310px 310px; }
.snow-far::before { opacity: 0.035; }
.snow-near::after { opacity: 0.045; }

.topbar {
  background: rgba(3, 7, 11, 0.76);
  border-bottom-color: rgba(162, 198, 214, 0.10);
}
.brand-mark {
  background: linear-gradient(135deg, #9bd9e7, #d6e7eb);
  box-shadow: 0 0 22px rgba(126, 193, 215, 0.18);
}
.main-nav { border-color: rgba(160, 202, 220, 0.12); background: rgba(5, 11, 16, 0.56); }
.main-nav a:hover, .main-nav a.active { color: var(--ice); background: rgba(131, 215, 238, 0.08); }
.nav-cta { border-color: rgba(202, 163, 93, 0.42); color: #e5c88e; background: rgba(202, 163, 93, 0.075); }

.hero {
  min-height: calc(100vh - 72px);
  padding-top: 58px;
}
.hero-grid {
  grid-template-columns: minmax(340px, 0.72fr) minmax(420px, 1.28fr);
  gap: 58px;
}
.hero-copy {
  max-width: 560px;
  padding-top: 18px;
}
.hero .eyebrow { color: #8bd7ec; opacity: 0.94; }
.hero-title {
  margin: 0;
  display: grid;
  width: fit-content;
  gap: 0.06em;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(66px, 7.2vw, 118px);
  line-height: 0.92;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #e5edf0;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.35),
    0 14px 52px rgba(0,0,0,0.72),
    0 0 22px rgba(152, 197, 214, 0.12);
}
.hero-title span {
  display: block;
  padding-left: 0.02em;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.22));
}
.hero h1:not(.hero-title) { letter-spacing: 0.04em; }
.hero-subtitle {
  margin-top: 18px;
  color: rgba(198, 214, 221, 0.68);
  letter-spacing: 0.54em;
  font-size: clamp(14px, 1.45vw, 22px);
}
.hero-lede {
  margin-top: 28px;
  max-width: 610px;
  color: rgba(210, 226, 232, 0.80);
  text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}
.hero-meta span, .tag-cluster span {
  border-color: rgba(156, 199, 216, 0.18);
  background: rgba(6, 14, 20, 0.58);
  color: #b9cbd2;
}
.button.primary {
  color: #041016;
  background: linear-gradient(135deg, #9be2f0, #d8e8ec);
  box-shadow: 0 0 26px rgba(129, 201, 222, 0.18);
}
.button.ghost { background: rgba(6, 14, 20, 0.50); color: #dbe8ec; }

.hero-evidence {
  width: min(620px, 100%);
  justify-self: end;
  align-self: end;
  margin-top: 140px;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) scale(0.92);
  background: linear-gradient(180deg, rgba(8, 17, 24, 0.68), rgba(3, 8, 13, 0.70));
  border-color: rgba(160, 202, 220, 0.17);
  box-shadow: 0 30px 100px rgba(0,0,0,0.56), inset 0 1px rgba(255,255,255,0.035);
  opacity: 0.86;
}
.hero-evidence::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0.035), transparent 28%, rgba(255,255,255,0.02));
  pointer-events: none;
  z-index: 1;
}
.hero-device img { opacity: 0.70; filter: saturate(0.78) brightness(0.78) contrast(1.06); }
.device-bar { height: 38px; border-bottom-color: rgba(160,202,220,.10); color: rgba(185,203,212,0.72); }
.device-bar span { background: rgba(174, 209, 223, 0.26); }
.device-glow { background: radial-gradient(ellipse, rgba(149, 192, 211, .13), transparent 70%); }
.hero-strip { margin-top: 32px; }
.hero-strip span {
  border-color: rgba(153, 196, 214, .16);
  background: rgba(4, 11, 16, .58);
  color: rgba(207, 228, 235, 0.76);
}

.hero-device, .media-card, .glass-card, .terminal-card, .phone-card, .closing-panel,
.feature-list, .loop-node, .pipe-step, .tier, .contract-map div, .metric-row div, .method-grid div {
  border-color: rgba(151, 195, 214, 0.16);
  background: linear-gradient(180deg, rgba(8, 18, 26, 0.72), rgba(4, 10, 15, 0.76));
}
.section + .section::before { background: linear-gradient(90deg, transparent, rgba(151,195,214,.18), transparent); }
.eyebrow { color: #8bd7ec; }
.section-head p, .glass-card p, .feature-list li, .checklist li { color: #a8bac1; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-evidence { margin-top: 18px; justify-self: start; transform: none; width: 100%; }
  .hero-title { font-size: clamp(58px, 15vw, 96px); }
}

@media (max-width: 640px) {
  .hero-title { letter-spacing: 0.08em; }
  .hero-subtitle { letter-spacing: 0.32em; }
}
