:root {
  --navy: #092a3d;
  --navy-deep: #051a28;
  --ink: #102b3a;
  --paper: #f6f9fa;
  --blue: #117c9e;
  --bright: #9deaf1;
  --ember: #f28d69;
}
body { background: var(--paper); }
.topline { background: #dfeef1; }
.site-header { box-shadow: 0 8px 22px rgba(4, 38, 55, .035); }
.brand-symbol i:nth-child(2) { background: #ef8b66; }
.brand-symbol i:nth-child(3) { background: #80cedd; }
.header-action { border-color: #75a5b8; border-radius: 2px; }
.header-action:hover { background: #0c6c8a; border-color: #0c6c8a; }
.hero {
  background:
    radial-gradient(circle at 75% 48%, rgba(25, 100, 126, .38), transparent 41%),
    linear-gradient(115deg, #061b2a 0%, #08283a 58%, #0b3446 100%);
}
.hero:before {
  background-image:
    linear-gradient(rgba(179, 230, 239, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 230, 239, .065) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.hero-inner { min-height: 452px; grid-template-columns: 1.06fr .94fr; }
.hero-copy { padding: 66px 0 59px; }
.hero-kicker {
  color: #c4eaf0;
  font-size: .78rem;
  letter-spacing: .12em;
  font-weight: 600;
}
.live-dot { background: var(--ember); box-shadow: 0 0 0 5px rgba(242, 141, 105, .12); }
.hero h1 {
  font-size: clamp(2.9rem, 4.6vw, 4.7rem);
  line-height: 1.26;
  margin-top: 33px;
  margin-bottom: 26px;
  max-width: 700px;
}
.hero h1 em { color: #c3f2f4; }
.hero-copy p { max-width: 630px; color: #b8d3dd; }
.hero-link {
  margin-top: 32px;
  color: #fff;
  border: 1px solid rgba(169, 220, 231, .68);
  padding: 13px 19px;
  gap: 47px;
  background: rgba(11, 90, 118, .28);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hero-link:hover { background: rgba(46, 139, 163, .4); border-color: #c6f0f4; color: #fff; transform: translateY(-2px); }
.hero-foot { min-height: 47px; font-size: .73rem; }
.hero-foot span:last-child { color: #d4e7eb; }
.knowledge-art {
  min-height: 452px;
  isolation: isolate;
  overflow: visible;
}
.knowledge-halo {
  position: absolute;
  z-index: -1;
  width: 400px;
  height: 400px;
  left: calc(50% - 200px);
  top: 22px;
  background: radial-gradient(circle, rgba(86, 204, 222, .21) 0%, rgba(36, 128, 158, .11) 34%, transparent 70%);
  filter: blur(12px);
}
.knowledge-frame {
  position: absolute;
  width: 218px;
  height: 256px;
  left: calc(50% - 109px);
  top: 81px;
  border: 1px solid rgba(160, 228, 239, .48);
  background:
    linear-gradient(140deg, rgba(170, 241, 247, .14), rgba(7, 38, 56, .4) 52%, rgba(66, 169, 192, .07)),
    rgba(4, 27, 42, .38);
  box-shadow: inset 0 0 0 8px rgba(4, 37, 54, .3), 0 28px 90px rgba(0, 12, 21, .3), 0 0 100px rgba(92, 214, 234, .14);
  backdrop-filter: blur(10px);
  transform: rotate(-5deg);
  overflow: hidden;
}
.knowledge-frame:before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(181, 234, 241, .16);
}
.knowledge-frame:after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 72px;
  top: -72px;
  background: linear-gradient(180deg, transparent, rgba(179, 243, 249, .11), transparent);
  animation: knowledge-scan 7s ease-in-out infinite;
  pointer-events: none;
}
.frame-corner { position: absolute; z-index: 3; width: 15px; height: 15px; border-color: #f2a27f; border-style: solid; }
.corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.corner-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.corner-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.knowledge-glyph {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 11.4rem;
  line-height: 1.25;
  font-weight: 600;
  color: #c4f5f5;
  text-shadow: 0 0 22px rgba(103, 238, 240, .35), 4px 4px 0 rgba(21, 105, 136, .55);
}
.glyph-caption {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  font: 600 .57rem ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #a2dbe6;
  letter-spacing: .16em;
  margin-top: -4px;
}
.knowledge-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #f4a583;
  stroke: rgba(131, 209, 226, .55);
  stroke-width: 1;
  stroke-dasharray: 5 7;
  animation: knowledge-flow 22s linear infinite;
}
.knowledge-tag {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 112px;
  padding: 9px 12px 10px;
  border-left: 2px solid #ef9a75;
  background: linear-gradient(90deg, rgba(10, 60, 79, .92), rgba(9, 48, 66, .52));
  box-shadow: 0 9px 26px rgba(1, 17, 27, .16);
}
.knowledge-tag span {
  color: #f5b398;
  font: 600 .58rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.knowledge-tag strong { color: #e5f7f8; font-size: .82rem; font-weight: 600; }
.tag-x { left: 1%; top: 72px; }
.tag-doc { right: 0; top: 70px; }
.tag-build { left: -1%; bottom: 82px; }
.tag-publish { right: -1%; bottom: 82px; }
.knowledge-index {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 19px;
  padding-top: 10px;
  border-top: 1px solid rgba(173, 222, 233, .25);
  color: #8fb9c7;
  font: 500 .59rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}
.knowledge-index span { float: right; color: #f3ae8e; }
@keyframes knowledge-scan { 0%, 13% { top: -72px; } 55%, 100% { top: 256px; } }
@keyframes knowledge-flow { to { stroke-dashoffset: -144; } }
.focus-section { padding-top: 51px; }
.section-heading { margin-bottom: 24px; }
.section-index { color: #d36e4d; font-size: .74rem; letter-spacing: .14em; }
.section-heading h2 { font-size: clamp(1.8rem, 2.8vw, 2.55rem); }
.feature-card {
  border-color: #cbdde5;
  box-shadow: 0 24px 65px rgba(4, 44, 63, .09);
}
.feature-content { background: linear-gradient(140deg, #fff 45%, #f1f8f9 100%); }
.feature-top { border-bottom: 1px solid #e2ecef; padding-bottom: 14px; }
.feature-content h3 { font-size: clamp(2.1rem, 3.2vw, 3.25rem); }
.feature-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, rgba(4, 33, 47, .17));
  pointer-events: none;
}
.library-section { padding-top: 83px; }
.content-card {
  border-color: #d4e3e9;
  box-shadow: 0 10px 26px rgba(9, 48, 67, .035);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.content-card:hover {
  border-color: #7cbbcb;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(8, 54, 75, .1);
}
.card-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.1), transparent 35%, rgba(0,0,0,.08));
  pointer-events: none;
}
.art-muse { background: radial-gradient(circle at 76% 15%, #3e91a6 0%, #123e54 34%, #071e2e 82%); }
.art-muse-ring { border-color: rgba(182, 240, 243, .62); box-shadow: 0 0 0 35px rgba(182,232,239,.09), 0 0 0 70px rgba(182,232,239,.05); }
.art-method { background: linear-gradient(125deg, #d3e8ed, #eff8f8); }
.art-signal { background: linear-gradient(145deg, #102f42, #14526b); }
.art-video { background: linear-gradient(145deg, #bddbe6, #edf6f8); }
.side-panel {
  background: linear-gradient(145deg, #07344a 0%, #061f30 85%);
  box-shadow: 0 18px 38px rgba(5, 41, 57, .11);
}
.side-panel:after { border-color: rgba(146, 226, 239, .35); }
.side-kicker { color: #f0a486; }
.about-strip { background: linear-gradient(120deg, #dceef2, #eaf4f5); }
.article-page .article-header { position: relative; }
.article-page .article-header:before {
  content: "";
  position: absolute;
  left: 0;
  top: 42px;
  width: 42px;
  height: 3px;
  background: var(--ember);
}
.article-page .article-header .eyebrow { color: #b75d41; }
.article-page .article-layout { gap: 45px; }
.article-page .prose {
  padding: 37px 44px 50px;
  background: #fff;
  border: 1px solid #dbe8ec;
  box-shadow: 0 18px 50px rgba(7, 48, 66, .035);
}
.article-page .toc { border-left-color: #e68a67; }
.article-page .factbox { border-left-color: #e58d6a; }
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1.02fr .98fr; }
  .knowledge-tag { min-width: 93px; }
}
@media (max-width: 850px) {
  .hero-inner { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 58px 0 20px; }
  .knowledge-art { min-height: 325px; margin: 0; opacity: 1; }
  .knowledge-frame { top: 31px; transform: rotate(-5deg) scale(.84); transform-origin: top center; }
  .knowledge-halo { top: -20px; }
  .knowledge-tag { padding: 7px 9px; }
  .tag-x, .tag-doc { top: 39px; }
  .tag-build, .tag-publish { bottom: 47px; }
  .knowledge-index { bottom: 6px; }
}
@media (max-width: 600px) {
  .hero-copy { padding: 48px 0 11px; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 3.2rem); }
  .hero-link { margin-top: 22px; }
  .knowledge-art { height: 250px; min-height: 250px; margin: 0; }
  .knowledge-frame { top: 16px; transform: rotate(-5deg) scale(.66); }
  .knowledge-halo { width: 280px; height: 280px; left: calc(50% - 140px); top: -18px; }
  .knowledge-lines { top: -31px; height: 280px; }
  .knowledge-tag { min-width: 78px; padding: 6px 7px; gap: 2px; }
  .knowledge-tag span { font-size: .47rem; }
  .knowledge-tag strong { font-size: .67rem; }
  .tag-x, .tag-doc { top: 19px; }
  .tag-build, .tag-publish { bottom: 35px; }
  .knowledge-index { left: 5%; right: 5%; bottom: 4px; font-size: .49rem; }
  .feature-content h3 { font-size: 1.78rem; }
  .article-page .article-header:before { top: 23px; }
  .article-page .prose { padding: 26px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .knowledge-frame:after, .knowledge-lines { animation: none; }
  .hero-link, .content-card { transition: none; }
  .hero-link:hover, .content-card:hover { transform: none; }
}
