:root {
  color-scheme: light;
  --bg: #f6f9ff;
  --bg-2: #eef5ff;
  --ink: #101827;
  --ink-soft: #33465f;
  --muted: #6a7890;
  --muted-2: #8a96aa;
  --line: rgba(87, 115, 150, 0.16);
  --line-strong: rgba(74, 106, 148, 0.26);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --glass-dark: rgba(255, 255, 255, 0.54);
  --blue: #147cff;
  --cyan: #25b9ff;
  --mint: #3dd7bd;
  --green: #2fc66d;
  --amber: #ffb84d;
  --rose: #ff5d7a;
  --shadow: 0 34px 110px rgba(92, 124, 172, 0.24);
  --shadow-soft: 0 20px 70px rgba(72, 104, 152, 0.16);
  --radius: 28px;
  --radius-sm: 18px;
  --sans: "SF Pro Display", "Segoe UI Variable Display", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Fira Code", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 22% -12%, rgba(69, 151, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 82% 18%, rgba(76, 224, 205, 0.2), transparent 32rem),
    radial-gradient(circle at 46% 78%, rgba(255, 206, 138, 0.16), transparent 38rem),
    linear-gradient(180deg, #fbfdff 0%, #edf6ff 38%, #f6fbff 72%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(rgba(65, 107, 163, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 107, 163, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 72%, transparent);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

button:hover,
.hero-button:hover,
.nav-links a:hover {
  transform: translateY(-2px);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.42);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  z-index: -3;
  overflow: clip;
  clip-path: inset(0);
  contain: paint;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(47, 134, 255, 0.28), transparent 24rem),
    radial-gradient(circle at 88% 4%, rgba(69, 224, 207, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), transparent 48%);
}

.ambient::after {
  display: none;
}

.ambient::before {
  content: "";
  position: absolute;
  inset: -7%;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  will-change: transform, opacity;
}

.ambient::before {
  opacity: 0.82;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 255, 255, 0.14) 44%, rgba(255, 255, 255, 0.58) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.72) 88%),
    url("./assets/generated/board-apple-liquid-glass.png");
  filter: saturate(1.12) contrast(1.02) blur(0.2px);
  animation: liquidDrift 22s ease-in-out infinite alternate;
}

.aurora {
  position: absolute;
  width: 58vw;
  height: 58vw;
  min-width: 620px;
  min-height: 620px;
  border-radius: 999px;
  filter: blur(62px);
  opacity: 0.28;
  mix-blend-mode: multiply;
  will-change: transform;
}

.scroll-cinema,
.refract-field,
.apple-lens {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.scroll-cinema,
.refract-field {
  inset: 0;
}

.scroll-cinema {
  opacity: 0.66;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(249, 253, 255, 0.16) 18%, rgba(255, 255, 255, 0.32) 78%, rgba(255, 255, 255, 0.78) 100%),
    url("./assets/generated/board-apple-scroll-backdrop.png");
  background-size: cover;
  background-position: center 32%;
  filter: saturate(1.06) contrast(1.01);
  transform: scale(1.04);
  animation: cinemaFloat 36s ease-in-out infinite alternate;
}

.refract-field {
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), transparent 45%, rgba(255, 255, 255, 0.64)),
    url("./assets/generated/board-apple-refraction-texture.png");
  background-size: cover, 760px 760px;
  mix-blend-mode: screen;
  filter: blur(0.3px);
  animation: refractionSlide 42s linear infinite;
}

.apple-lens {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.88), transparent 18%),
    radial-gradient(circle at 68% 72%, rgba(75, 154, 255, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 24px 20px 72px rgba(61, 152, 255, 0.08),
    0 32px 120px rgba(72, 116, 174, 0.14);
  opacity: 0.32;
  mix-blend-mode: screen;
}

.lens-one {
  right: 12vw;
  top: 18vh;
  width: min(520px, 38vw);
  height: min(520px, 38vw);
}

.lens-two {
  left: 3vw;
  top: 84vh;
  width: min(620px, 48vw);
  height: min(380px, 30vw);
  transform: rotate(-12deg);
}

.lens-three {
  right: 2vw;
  top: 172vh;
  width: min(760px, 58vw);
  height: min(440px, 34vw);
  transform: rotate(10deg);
}

.aurora-one {
  left: 2vw;
  top: -12vw;
  background: conic-gradient(from 120deg, rgba(125, 211, 252, 0), rgba(76, 151, 255, 0.72), rgba(124, 247, 207, 0.46), rgba(125, 211, 252, 0));
}

.aurora-two {
  right: 2vw;
  top: 6vw;
  background: conic-gradient(from 10deg, rgba(244, 201, 93, 0), rgba(34, 211, 238, 0.34), rgba(255, 184, 77, 0.22), rgba(124, 247, 207, 0.34), rgba(244, 201, 93, 0));
}

.glass-plane {
  position: absolute;
  left: 50%;
  top: 6%;
  width: min(1180px, 92vw);
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 54px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 50px 130px rgba(74, 119, 185, 0.16);
  transform: translateX(-50%) rotateX(58deg) rotateZ(-8deg);
  transform-origin: center top;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
}

.nav-glass {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(1680px, calc(100% - 48px));
  margin: 18px auto 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(91, 148, 210, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(218, 239, 255, 0.86), rgba(176, 219, 247, 0.72) 48%, rgba(198, 249, 241, 0.66)),
    rgba(219, 238, 252, 0.84);
  backdrop-filter: blur(34px) saturate(205%);
  box-shadow:
    0 16px 48px rgba(36, 88, 154, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(66, 126, 190, 0.16);
}

.nav-glass::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.7), transparent 20%, rgba(26, 116, 215, 0.16) 54%, transparent 78%),
    radial-gradient(circle at 82% 0%, rgba(67, 220, 196, 0.26), transparent 17rem);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  color: #061015;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #bfe7ff 48%, #8cf1df);
  box-shadow: 0 12px 32px rgba(47, 127, 225, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(60, 112, 176, 0.18);
  border-radius: 999px;
  background: rgba(222, 239, 252, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 22px rgba(44, 91, 148, 0.08);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 720;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(42, 100, 170, 0.12), inset 0 0 0 1px rgba(79, 139, 202, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.primary {
  color: #061014;
  border: 1px solid rgba(42, 146, 196, 0.32);
  background: linear-gradient(135deg, #ffffff, #9bd7ff 46%, #8df1df);
  box-shadow: 0 18px 42px rgba(30, 121, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(17, 124, 178, 0.18);
}

.secondary,
.ghost,
.template-button {
  color: var(--ink);
  border: 1px solid rgba(72, 116, 170, 0.22);
  background: rgba(239, 248, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 26px rgba(56, 98, 152, 0.12);
}

.user-switcher {
  display: grid;
  gap: 4px;
  min-width: 240px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.user-switcher select {
  border-color: rgba(62, 111, 171, 0.24);
  background-color: rgba(235, 247, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 22px rgba(53, 92, 142, 0.1);
}

.page-shell {
  width: min(1680px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 84px;
}

.hero-cinema {
  position: relative;
  min-height: calc(100dvh - 96px);
  display: grid;
  grid-template-columns: minmax(560px, 0.94fr) minmax(560px, 1.06fr);
  gap: clamp(28px, 4vw, 74px);
  align-items: center;
  padding: clamp(34px, 5vh, 76px) 0 clamp(56px, 8vh, 110px);
  overflow: hidden;
  isolation: isolate;
}

.hero-cinema::before,
.hero-cinema::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero-cinema::before {
  left: -14vw;
  right: -8vw;
  top: -7%;
  height: 110%;
  border-radius: 76px;
  background:
    radial-gradient(circle at 28% 35%, rgba(255, 255, 255, 0.98), transparent 18rem),
    radial-gradient(circle at 76% 34%, rgba(67, 153, 255, 0.22), transparent 30rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 48%, rgba(255, 255, 255, 0.78)),
    url("./assets/generated/board-apple-liquid-glass.png") center / cover;
  opacity: 0.88;
  filter: saturate(1.12) contrast(1.04) blur(0.1px);
  mask-image: radial-gradient(ellipse at 52% 46%, #000 0%, rgba(0, 0, 0, 0.82) 46%, transparent 84%);
  transform: skewY(-4deg) scale(1.02);
}

.hero-cinema::after {
  left: 39%;
  top: 10%;
  width: min(860px, 54vw);
  height: min(860px, 54vw);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.86), transparent 16%),
    radial-gradient(circle at 72% 68%, rgba(124, 247, 207, 0.28), transparent 28%),
    conic-gradient(from 120deg, rgba(60, 145, 255, 0.12), transparent 22%, rgba(255, 255, 255, 0.42), transparent 64%, rgba(98, 237, 215, 0.18)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(125, 211, 252, 0.12));
  opacity: 0.78;
  filter: blur(0.1px);
  transform: rotate(-16deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 42px 30px 120px rgba(125, 211, 252, 0.18),
    0 42px 160px rgba(53, 133, 221, 0.2);
}

.hero-spectacle {
  position: absolute;
  inset: -6% 0 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0);
}

.hero-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(255, 255, 255, 0.42) 59%, transparent 61%),
    conic-gradient(from 40deg, rgba(24, 119, 255, 0.2), transparent 18%, rgba(255, 255, 255, 0.56), transparent 48%, rgba(60, 222, 203, 0.22), transparent 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 30px 120px rgba(51, 120, 214, 0.14);
  backdrop-filter: blur(10px) saturate(180%);
  opacity: 0.72;
  will-change: transform;
}

.ring-one {
  right: -2%;
  top: 8%;
  width: min(920px, 56vw);
  height: min(920px, 56vw);
}

.ring-two {
  right: 14%;
  top: 20%;
  width: min(610px, 38vw);
  height: min(610px, 38vw);
  opacity: 0.5;
}

.ring-three {
  left: -1%;
  bottom: 4%;
  width: min(620px, 39vw);
  height: min(360px, 23vw);
  transform: rotate(-8deg);
  opacity: 0.46;
}

.light-beam {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(19, 116, 255, 0.22), rgba(255, 255, 255, 0.9), rgba(68, 229, 210, 0.22), transparent);
  filter: blur(0.2px);
  box-shadow: 0 0 34px rgba(37, 185, 255, 0.38);
  opacity: 0.7;
  will-change: transform, opacity;
}

.scan-wave {
  position: absolute;
  left: 38%;
  top: 13%;
  width: min(720px, 48vw);
  height: min(720px, 48vw);
  border-radius: 999px;
  background:
    repeating-conic-gradient(from 0deg, rgba(28, 130, 255, 0.2) 0deg 1deg, transparent 1deg 11deg),
    radial-gradient(circle, transparent 55%, rgba(255, 255, 255, 0.44) 56%, transparent 58%);
  filter: blur(0.2px);
  opacity: 0.32;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}

.particle-field {
  position: absolute;
  inset: 4% 0 10%;
  pointer-events: none;
}

.particle-field i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #fff 0 22%, rgba(49, 150, 255, 0.9) 36%, rgba(49, 150, 255, 0) 72%);
  box-shadow: 0 0 18px rgba(37, 185, 255, 0.64), 0 0 42px rgba(124, 247, 207, 0.28);
  opacity: 0.7;
  will-change: transform, opacity;
}

.particle-field i:nth-child(1) { left: 9%; top: 24%; }
.particle-field i:nth-child(2) { left: 18%; top: 62%; width: 10px; height: 10px; }
.particle-field i:nth-child(3) { left: 34%; top: 18%; }
.particle-field i:nth-child(4) { left: 44%; top: 77%; width: 9px; height: 9px; }
.particle-field i:nth-child(5) { left: 57%; top: 24%; }
.particle-field i:nth-child(6) { left: 66%; top: 58%; width: 11px; height: 11px; }
.particle-field i:nth-child(7) { left: 77%; top: 18%; }
.particle-field i:nth-child(8) { left: 86%; top: 44%; width: 9px; height: 9px; }
.particle-field i:nth-child(9) { left: 92%; top: 72%; }
.particle-field i:nth-child(10) { left: 52%; top: 8%; width: 5px; height: 5px; }

.beam-one {
  left: 4%;
  right: 0;
  top: 34%;
  transform: rotate(-11deg);
}

.beam-two {
  left: 10%;
  right: 8%;
  top: 67%;
  transform: rotate(7deg);
}

.floating-chip,
.hero-data-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(28px) saturate(210%);
  box-shadow: 0 24px 80px rgba(62, 104, 166, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.floating-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border-radius: 999px;
  color: #0f2f54;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.02em;
}

.chip-launch {
  right: 35%;
  top: 11%;
}

.chip-build {
  right: 7%;
  top: 50%;
}

.chip-push {
  left: 45%;
  bottom: 11%;
}

.hero-data-card {
  min-width: 184px;
  padding: 18px;
  border-radius: 26px;
  color: var(--ink);
}

.hero-data-card small {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-data-card strong {
  display: block;
  margin-top: 8px;
  font-size: 44px;
  line-height: 0.95;
}

.hero-data-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 760;
}

.data-card-one {
  left: 4px;
  top: 84px;
}

.data-card-two {
  right: 0;
  bottom: 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-shadow: 0 22px 90px rgba(255, 255, 255, 0.72);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.chapter-head h2,
.workflow-pin h2 {
  margin: 16px 0 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 1040px;
  font-size: clamp(78px, 6.9vw, 132px);
  font-weight: 880;
  letter-spacing: -0.035em;
  text-wrap: balance;
  background: linear-gradient(105deg, #06111f 0%, #101827 36%, #075be8 62%, #11a9c4 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 18px 44px rgba(43, 114, 220, 0.18));
}

.hero-copy > p:not(.eyebrow) {
  max-width: 780px;
  margin: 24px 0 0;
  color: #26384f;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.75;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #123052;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 36px rgba(64, 112, 180, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  font-size: 13px;
  font-weight: 820;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-stage {
  position: relative;
  z-index: 3;
  perspective: 1800px;
  min-height: 660px;
  display: grid;
  place-items: center;
}

.stage-aura {
  position: absolute;
  inset: 5% 0 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 44%, rgba(255, 255, 255, 0.92), transparent 20%),
    radial-gradient(circle at 46% 46%, rgba(68, 151, 255, 0.35), transparent 38%),
    radial-gradient(circle at 54% 58%, rgba(75, 234, 212, 0.26), transparent 48%);
  filter: blur(30px);
  opacity: 0.86;
  pointer-events: none;
}

.stage-shell {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  min-height: 560px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34)),
    linear-gradient(90deg, rgba(125, 211, 252, 0.16), rgba(124, 247, 207, 0.1));
  backdrop-filter: blur(42px) saturate(220%);
  box-shadow:
    0 64px 160px rgba(40, 82, 148, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transform: rotateX(10deg) rotateY(-13deg) rotateZ(1.5deg);
  transform-style: preserve-3d;
}

.stage-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 45px;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.76), transparent 24%, rgba(125, 211, 252, 0.18) 58%, transparent),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.6), transparent 14rem);
}

.stage-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.stage-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(122, 139, 166, 0.28);
}

.stage-toolbar span:first-child {
  background: var(--rose);
}

.stage-toolbar span:nth-child(2) {
  background: var(--amber);
}

.stage-toolbar span:nth-child(3) {
  background: var(--green);
}

.stage-toolbar b {
  margin-left: auto;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
}

.stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
  padding-top: 16px;
}

.stage-card {
  min-height: 166px;
  grid-column: span 3;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 20px 52px rgba(75, 112, 158, 0.11);
  overflow: hidden;
}

.stage-card-main {
  min-height: 278px;
  grid-column: span 6;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.16)),
    url("./assets/generated/board-apple-liquid-glass.png") 68% center / cover,
    radial-gradient(circle at 80% 20%, rgba(124, 247, 207, 0.28), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(225, 241, 255, 0.46));
}

.stage-card-wide {
  min-height: 130px;
  grid-column: span 6;
}

.stage-card small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.stage-card strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(34px, 4.4vw, 78px);
  line-height: 0.95;
}

.stage-card:not(.stage-card-main) strong {
  font-size: 30px;
}

.stage-card span {
  color: var(--ink-soft);
  line-height: 1.45;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 56px;
  margin-top: 28px;
}

.signal-bars i {
  flex: 1;
  min-width: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--cyan));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.32);
}

.signal-bars i:nth-child(1) { height: 36%; }
.signal-bars i:nth-child(2) { height: 66%; }
.signal-bars i:nth-child(3) { height: 48%; }
.signal-bars i:nth-child(4) { height: 92%; }
.signal-bars i:nth-child(5) { height: 72%; }

.orbit {
  position: absolute;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 999px;
  transform: rotateX(66deg) rotateZ(-18deg);
}

.halo-one {
  width: 760px;
  height: 380px;
  box-shadow: 0 0 80px rgba(34, 143, 238, 0.12);
}

.halo-two {
  width: 540px;
  height: 260px;
  border-color: rgba(124, 247, 207, 0.18);
  transform: rotateX(64deg) rotateZ(18deg);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -32px;
  position: relative;
  z-index: 4;
  padding: 12px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(226, 243, 255, 0.2)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.76), transparent 18rem);
  box-shadow: 0 30px 90px rgba(68, 104, 160, 0.12);
  backdrop-filter: blur(22px) saturate(180%);
}

.metric-card,
.glass-panel,
.notice-card,
.push-card,
.suggestion-box,
.webhook-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.38)),
    linear-gradient(90deg, rgba(125, 211, 252, 0.16), rgba(124, 247, 207, 0.08));
  backdrop-filter: blur(32px) saturate(190%);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(255, 255, 255, 0.42);
}

.metric-card::before,
.glass-panel::before,
.notice-card::before,
.push-card::before,
.suggestion-box::before,
.webhook-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), transparent 17%, transparent 58%, rgba(125, 211, 252, 0.14)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.72), transparent 12rem);
  opacity: 0.86;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.68));
}

.metric-card::after,
.glass-panel::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.75;
}

.nav-glass,
.stage-shell,
.metric-card,
.glass-panel,
.notice-card,
.push-card,
.need-card,
.solution-row {
  will-change: transform;
}

.stage-shell,
.metric-card,
.glass-panel,
.notice-card,
.push-card {
  isolation: isolate;
}

.stage-shell::after,
.notice-card::after,
.push-card::after {
  content: "";
  position: absolute;
  inset: -45% -60%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.7) 50%, transparent 58%);
  opacity: 0.24;
  transform: translateX(-34%) rotate(10deg);
  will-change: transform;
  animation: glassSheen 7.2s ease-in-out infinite;
}

.stage-shell > *,
.notice-card > *,
.push-card > * {
  position: relative;
  z-index: 1;
}

.metric-card {
  min-height: 132px;
  padding: 24px;
  border-radius: 28px;
}

.metric-card > * {
  position: relative;
  z-index: 1;
}

.metric-card span {
  display: block;
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 820;
  line-height: 0.95;
}

.metric-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 680;
}

.chapter {
  position: relative;
  padding: 128px 0 0;
}

.chapter::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 62px;
  width: min(1680px, 112vw);
  height: calc(100% + 54px);
  border-radius: 64px;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(62, 145, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 85% 22%, rgba(124, 247, 207, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.28) 42%, rgba(124, 247, 207, 0.08)),
    url("./assets/generated/board-apple-refraction-texture.png");
  background-size: auto, auto, auto, 620px 620px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 42px 120px rgba(73, 110, 158, 0.12);
  opacity: 0.82;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
}

#insights {
  margin-top: 112px;
  padding: 112px 28px 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 68px;
  color: #f8fbff;
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 113, 255, 0.42), transparent 24rem),
    radial-gradient(circle at 88% 20%, rgba(75, 234, 212, 0.24), transparent 24rem),
    linear-gradient(135deg, rgba(5, 16, 32, 0.98), rgba(10, 28, 52, 0.92) 54%, rgba(41, 174, 210, 0.36)),
    url("./assets/generated/board-apple-refraction-texture.png");
  background-size: auto, auto, auto, 620px 620px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 56px 150px rgba(2, 12, 24, 0.22);
  overflow: hidden;
  isolation: isolate;
}

#insights::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 113, 255, 0.42), transparent 24rem),
    radial-gradient(circle at 88% 20%, rgba(75, 234, 212, 0.24), transparent 24rem),
    linear-gradient(135deg, rgba(5, 16, 32, 0.96), rgba(10, 28, 52, 0.9) 54%, rgba(41, 174, 210, 0.34)),
    url("./assets/generated/board-apple-refraction-texture.png");
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  opacity: 0.3;
}

#insights::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 74px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(85, 202, 255, 0.8), rgba(255, 255, 255, 0.72), transparent);
  box-shadow: 0 0 28px rgba(37, 185, 255, 0.48);
  opacity: 0.76;
  animation: galleryScan 5.6s ease-in-out infinite alternate;
}

#insights .chapter-head,
#insights .insight-layout {
  position: relative;
  z-index: 1;
}

#insights .chapter-head h2,
#insights .panel-head h3,
#insights .solution-row b,
#insights .need-card strong,
#insights .need-title {
  color: #f8fbff;
}

#insights .chapter-head > p:last-child,
#insights .panel-head span,
#insights .need-card p,
#insights .solution-row p {
  color: rgba(229, 241, 255, 0.76);
}

#insights .glass-panel {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055)),
    radial-gradient(circle at 86% 8%, rgba(37, 185, 255, 0.16), transparent 12rem);
  box-shadow: 0 44px 120px rgba(2, 12, 24, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#insights .need-card,
#insights .solution-row {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 92% 14%, rgba(75, 234, 212, 0.12), transparent 11rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 70px rgba(0, 0, 0, 0.18);
}

.insight-fill,
.radar-strip,
.playbook-pipeline,
.sync-command,
.command-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 82% 22%, rgba(75, 234, 212, 0.14), transparent 12rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 22px 58px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(24px) saturate(170%);
}

.insight-fill {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
}

.insight-fill small {
  display: block;
  color: #50d8ff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.insight-fill strong {
  display: block;
  max-width: 520px;
  margin-top: 8px;
  color: #f8fbff;
  font-size: 18px;
  line-height: 1.45;
}

.insight-fill span {
  max-width: 300px;
  color: rgba(229, 241, 255, 0.72);
  line-height: 1.62;
}

.radar-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 22px;
}

.radar-strip span {
  position: relative;
  min-height: 58px;
  display: grid;
  align-content: end;
  gap: 8px;
  color: rgba(246, 251, 255, 0.86);
  font-size: 12px;
  font-weight: 820;
}

.radar-strip span::before {
  content: "";
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #21a8ff, #70f3d5) 0 / var(--level) 100% no-repeat,
    rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 22px rgba(37, 185, 255, 0.28);
}

.playbook-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 15px;
  border-radius: 22px;
}

.playbook-pipeline span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(246, 251, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 840;
  text-align: center;
}

.playbook-pipeline i {
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(80, 216, 255, 0.1), rgba(80, 216, 255, 0.8));
  box-shadow: 0 0 16px rgba(80, 216, 255, 0.5);
}

.sync-command {
  margin-top: 14px;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 18% 18%, rgba(33, 168, 255, 0.16), transparent 17rem),
    radial-gradient(circle at 94% 8%, rgba(112, 243, 213, 0.12), transparent 15rem);
  overflow: hidden;
}

.sync-command::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 76%);
  opacity: 0.72;
}

.sync-command-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.sync-command-head small,
.command-card small {
  display: block;
  color: #50d8ff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.sync-command-head strong {
  display: block;
  margin-top: 6px;
  color: #f8fbff;
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1;
}

.sync-command-head span {
  max-width: 360px;
  color: rgba(229, 241, 255, 0.72);
  line-height: 1.68;
  text-align: right;
}

.sync-command-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.command-card {
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 17px;
  border-radius: 22px;
}

.command-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(80, 216, 255, 0.8), transparent);
  box-shadow: 0 0 18px rgba(80, 216, 255, 0.28);
}

.command-card b {
  color: #f8fbff;
  font-size: 17px;
  line-height: 1.32;
}

.command-card p {
  margin: 0;
  color: rgba(229, 241, 255, 0.74);
  line-height: 1.62;
}

.command-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.command-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 251, 255, 0.88);
  font-weight: 720;
  line-height: 1.45;
}

.command-card li::before,
.push-timeline i {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #70f3d5;
  box-shadow: 0 0 16px rgba(112, 243, 213, 0.72);
}

.command-card-priority {
  min-height: 368px;
  grid-row: span 2;
}

.command-card-wide {
  min-height: 178px;
}

.command-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.command-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #061014;
  background: linear-gradient(135deg, #fff, #7cf7cf);
  font-size: 12px;
  font-weight: 820;
}

.push-timeline {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.push-timeline span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(246, 251, 255, 0.9);
  background: rgba(255, 255, 255, 0.075);
  font-weight: 760;
}

.chapter:nth-of-type(3)::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.9), transparent 18rem),
    radial-gradient(circle at 82% 10%, rgba(49, 150, 255, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(236, 247, 255, 0.4) 54%, rgba(64, 219, 202, 0.1)),
    url("./assets/generated/board-apple-refraction-texture.png");
  border-color: rgba(255, 255, 255, 0.54);
  opacity: 0.86;
}

.chapter:nth-of-type(3) .chapter-head h2,
.chapter:nth-of-type(3) .workflow-pin h2 {
  color: var(--ink);
  text-shadow: none;
}

.chapter:nth-of-type(3) .chapter-head > p:last-child,
.chapter:nth-of-type(3) .workflow-pin p:last-child {
  color: var(--ink-soft);
}

.chapter:nth-of-type(3) .glass-panel {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(242, 249, 255, 0.34)),
    radial-gradient(circle at 88% 10%, rgba(37, 185, 255, 0.12), transparent 12rem);
  color: var(--ink);
  box-shadow: 0 44px 120px rgba(72, 105, 156, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.chapter:nth-of-type(3) .panel-head h3,
.chapter:nth-of-type(3) .field-title,
.chapter:nth-of-type(3) .checkline,
.chapter:nth-of-type(3) label {
  color: var(--muted);
}

.chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.chapter-head h2,
.workflow-pin h2 {
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 810;
  text-wrap: balance;
}

.chapter-head > p:last-child,
.workflow-pin p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

#insights .chapter-head {
  min-height: 360px;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1fr);
  grid-template-areas:
    "meta title"
    "copy title";
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  margin: 0 0 34px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 88% 16%, rgba(68, 206, 255, 0.16), transparent 20rem);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(30px) saturate(170%);
}

#insights .chapter-head::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 185, 255, 0.9), rgba(255, 255, 255, 0.68), transparent);
  box-shadow: 0 0 28px rgba(37, 185, 255, 0.5);
  pointer-events: none;
}

#insights .chapter-head::after {
  content: "Searchable / Subscribable / Traceable";
  position: absolute;
  left: clamp(28px, 4vw, 54px);
  bottom: clamp(24px, 3vw, 38px);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(123, 223, 255, 0.28);
  border-radius: 999px;
  color: rgba(229, 247, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.06em;
  pointer-events: none;
}

#insights .chapter-head .eyebrow {
  grid-area: meta;
  align-self: end;
  color: #49cfff;
}

#insights .chapter-head h2 {
  grid-area: title;
  align-self: center;
  justify-self: end;
  max-width: 660px;
  margin: 0;
  font-size: clamp(58px, 5.6vw, 98px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-align: right;
  text-wrap: balance;
}

#insights .chapter-head > p:last-child {
  grid-area: copy;
  align-self: start;
  max-width: 620px;
  margin: 14px 0 54px;
  color: rgba(229, 241, 255, 0.82);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.8;
}

.insight-layout,
.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(390px, 0.68fr);
  gap: 18px;
  align-items: start;
}

.panel {
  border-radius: var(--radius);
  padding: 24px;
}

.dark-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(235, 246, 255, 0.42)),
    radial-gradient(circle at 84% 18%, rgba(43, 135, 255, 0.1), transparent 13rem);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.panel-head h3 {
  margin: 6px 0 0;
  font-size: clamp(22px, 2.1vw, 32px);
  letter-spacing: 0;
}

.panel-head span {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  text-align: right;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.need-card,
.solution-row {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.36)),
    radial-gradient(circle at 85% 12%, rgba(124, 247, 207, 0.15), transparent 11rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 18px 46px rgba(74, 109, 156, 0.12);
  overflow: hidden;
}

.need-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
}

.need-title {
  font-size: 18px;
  font-weight: 820;
}

.need-card p,
.solution-row p,
.suggestion-box p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.need-card strong {
  color: var(--ink);
  line-height: 1.5;
  font-weight: 760;
}

.mini-tags,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-tags span,
.tag,
.links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
}

.mini-tags span,
.tag {
  color: #071014;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(125, 211, 252, 0.84));
}

.solution-list {
  display: grid;
  gap: 10px;
}

.solution-row {
  min-height: 0;
  align-content: start;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(242, 249, 255, 0.4)),
    radial-gradient(circle at 88% 14%, rgba(125, 211, 252, 0.14), transparent 10rem);
}

.solution-row b {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.solution-row span {
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #061014;
  background: linear-gradient(135deg, #fff, #7cf7cf);
  font-size: 12px;
  font-weight: 820;
}

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 24px;
}

.workflow::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: 12%;
  width: min(860px, 72vw);
  height: 74%;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 44%, rgba(124, 247, 207, 0.24), transparent 32%),
    radial-gradient(circle at 68% 66%, rgba(69, 143, 255, 0.18), transparent 38%);
  filter: blur(42px);
  opacity: 0.82;
}

.workflow-pin {
  position: sticky;
  top: 124px;
  min-height: 420px;
  display: grid;
  align-content: center;
}

.workflow-stack {
  display: grid;
  gap: 24px;
}

.stack-card {
  min-height: 620px;
}

.template-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.template-button {
  min-height: 36px;
  padding: 0 13px;
  color: var(--ink-soft);
}

form,
.webhook-box {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  color: var(--ink);
  border: 1px solid rgba(80, 116, 160, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(202, 213, 232, 0.48);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(125, 211, 252, 0.35);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(125, 211, 252, 0.78);
  box-shadow: 0 0 0 4px rgba(37, 185, 255, 0.13);
  background: rgba(255, 255, 255, 0.94);
}

select {
  color-scheme: light;
}

textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.checkline input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--cyan);
}

.form-message {
  margin: 0;
  min-height: 20px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.field-title {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 850;
}

.suggestion-box,
.webhook-box {
  margin-bottom: 16px;
  padding: 15px;
  border-radius: 20px;
}

.suggestion-box b {
  display: block;
  margin-bottom: 6px;
}

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

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(80, 116, 160, 0.14);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
}

.choice-grid input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: var(--cyan);
}

.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 10px;
  margin-bottom: 16px;
}

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

.compact {
  gap: 10px;
}

.notice-card,
.push-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.notice-card::after,
.push-card::after {
  inset: auto 14px 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.55;
  transform: none;
  z-index: 0;
  animation: none;
}

.notice-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
}

.notice-card:hover,
.push-card:hover,
.need-card:hover,
.solution-row:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.32);
}

.notice-card.important {
  border-color: rgba(251, 113, 133, 0.42);
  background: linear-gradient(145deg, rgba(255, 232, 237, 0.78), rgba(255, 255, 255, 0.48));
}

.notice-card.important .tag {
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #f59e0b);
}

.card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.card-title-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.summary {
  margin: 10px 0 0;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.55;
}

.meta {
  margin: 9px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.content {
  margin: 13px 0 0;
  color: var(--ink-soft);
  line-height: 1.68;
  white-space: pre-wrap;
}

.links {
  margin-top: 13px;
}

.links a {
  color: #061014;
  text-decoration: none;
  background: linear-gradient(135deg, #fff, #9af4ff);
}

.push-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
}

pre {
  margin: 10px 0 0;
  padding: 13px;
  max-height: 300px;
  overflow: auto;
  border: 1px solid rgba(80, 116, 160, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
  line-height: 1.58;
  white-space: pre-wrap;
}

.empty {
  padding: 22px;
  border: 1px dashed rgba(80, 116, 160, 0.22);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
}

@media (max-width: 1080px) {
  .nav-glass {
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .nav-links,
  .nav-actions {
    justify-self: stretch;
    flex-wrap: wrap;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-cinema,
  .workflow,
  .insight-layout,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .workflow-pin {
    position: static;
    min-height: 0;
  }

  .hero-stage {
    min-height: 520px;
  }
}

@media (max-width: 880px) {
  .page-shell,
  .nav-glass {
    width: min(100% - 24px, 1500px);
  }

  .page-shell {
    padding-top: 22px;
  }

  .nav-glass {
    position: relative;
    top: 0;
    margin-top: 12px;
    gap: 12px;
    padding: 12px;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-actions {
    display: grid;
    gap: 10px;
  }

  .user-switcher {
    min-width: 0;
  }

  .hero-cinema {
    min-height: 0;
    padding: 32px 0 62px;
    overflow: hidden;
  }

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

  .hero-cinema::before {
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
  }

  .hero-cinema::after {
    left: 10%;
    max-width: 80vw;
  }

  .stage-shell {
    transform: none !important;
  }

  .metrics,
  .need-grid,
  .sync-command-grid,
  .form-row,
  .choice-grid,
  .filters,
  .chapter-head {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
  }

  .panel-head {
    display: grid;
  }

  .panel-head span {
    max-width: none;
    text-align: left;
  }

  .sync-command-head {
    display: grid;
  }

  .sync-command-head span {
    max-width: none;
    text-align: left;
  }

  .command-card-priority {
    min-height: 0;
    grid-row: auto;
  }

  .chapter {
    padding-top: 82px;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .nav-glass {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
  }

  .nav-glass,
  .panel,
  .metric-card {
    border-radius: 22px;
  }

  .nav-links a {
    padding: 0 11px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .nav-actions .primary,
  .nav-actions .secondary {
    width: 100%;
  }

  .chapter::before {
    width: calc(100vw - 14px);
    border-radius: 34px;
  }

  .aurora {
    width: 96vw;
    height: 96vw;
    min-width: 0;
    min-height: 0;
  }

  .scroll-cinema,
  .refract-field {
    inset: 0;
    transform: none !important;
    animation: none;
  }

  .hero-stage {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .stage-shell {
    width: 100%;
    max-width: 100%;
  }

  .glass-plane {
    left: 50%;
    width: calc(100vw - 42px);
    height: 460px;
    transform: translateX(-50%) !important;
  }

  .apple-lens,
  .aurora {
    display: none;
  }

  .orbit {
    display: none;
  }

  .stage-card,
  .stage-card-main,
  .stage-card-wide {
    grid-column: span 6;
  }

  .stage-card strong {
    font-size: 28px;
  }

  .hero-actions {
    display: grid;
  }
}

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

@keyframes liquidDrift {
  from {
    transform: scale(1.03) translate3d(-1.4%, -0.8%, 0);
  }
  to {
    transform: scale(1.1) translate3d(1.8%, 1.1%, 0);
  }
}

@keyframes liquidDriftSoft {
  from {
    transform: scale(1.06) translate3d(1.2%, -0.6%, 0);
  }
  to {
    transform: scale(1.13) translate3d(-1.4%, 1.4%, 0);
  }
}

@keyframes cinemaFloat {
  from {
    transform: scale(1.03) translate3d(0, 1.2%, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, -1.6%, 0);
  }
}

@keyframes refractionSlide {
  from {
    background-position: center, 0 0;
  }
  to {
    background-position: center, 760px 760px;
  }
}

@keyframes glassSheen {
  0%,
  28% {
    transform: translateX(-38%) rotate(10deg);
    opacity: 0;
  }
  48% {
    opacity: 0.34;
  }
  74%,
  100% {
    transform: translateX(38%) rotate(10deg);
    opacity: 0;
  }
}

@keyframes galleryScan {
  from {
    transform: translate3d(-5%, 0, 0);
    opacity: 0.42;
  }
  to {
    transform: translate3d(5%, 0, 0);
    opacity: 0.86;
  }
}
