@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:opsz@8..144&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #06080d;
  --bg-deep: #030508;
  --bg-soft: #0b1017;
  --panel: rgba(14, 20, 29, 0.72);
  --panel-strong: rgba(17, 24, 35, 0.9);
  --panel-solid: #0d1420;
  --text: #edf3fb;
  --muted: #96a8bc;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #3af0c7;
  --accent-glow: rgba(58, 240, 199, 0.35);
  --page-accent: #3af0c7;
  --page-accent-glow: rgba(58, 240, 199, 0.35);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.25);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --section-pad: clamp(72px, 10vw, 132px);
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--bg);
  scroll-snap-type: y proximity;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
  transition: background 0.6s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, var(--page-accent-glow), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(90, 166, 255, 0.16), transparent 25%);
  opacity: 0.9;
  transition: background 0.6s ease;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.48;
  mix-blend-mode: screen;
  animation: float 18s ease-in-out infinite;
  transition: transform 0.6s ease;
}

.orb-one {
  background: radial-gradient(circle, rgba(58, 240, 199, 0.7), transparent 60%);
  top: -160px;
  left: -120px;
}

.orb-two {
  background: radial-gradient(circle, rgba(92, 161, 255, 0.65), transparent 60%);
  bottom: -180px;
  right: -180px;
  animation-delay: -6s;
}

.orb-three {
  background: radial-gradient(circle, rgba(245, 200, 106, 0.62), transparent 60%);
  top: 38vh;
  right: 18vw;
  animation-delay: -12s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.04) 96%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.04) 96%);
  background-size: 120px 120px;
  opacity: 0.24;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><circle cx='7' cy='11' r='1.2' fill='white' opacity='0.14'/><circle cx='31' cy='24' r='1' fill='white' opacity='0.1'/><circle cx='54' cy='18' r='1' fill='white' opacity='0.09'/><circle cx='88' cy='37' r='1.2' fill='white' opacity='0.11'/><circle cx='110' cy='40' r='1.1' fill='white' opacity='0.15'/><circle cx='18' cy='64' r='1.2' fill='white' opacity='0.1'/><circle cx='46' cy='85' r='1' fill='white' opacity='0.08'/><circle cx='77' cy='71' r='1.2' fill='white' opacity='0.1'/><circle cx='118' cy='96' r='1' fill='white' opacity='0.1'/><circle cx='62' cy='118' r='1' fill='white' opacity='0.08'/></svg>");
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding: 0 clamp(18px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(7, 10, 15, 0.72);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  z-index: 20;
}

.topbar-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-slot {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  padding: 4px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-soft);
  overflow: hidden;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.topnav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--page-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.topnav a:hover,
.topnav a.active {
  color: var(--text);
}

.topnav a:hover::after,
.topnav a:focus-visible::after,
.topnav a.active::after {
  transform: scaleX(1);
}

.top-cta {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--page-accent);
  color: #071114;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), 0 0 36px var(--page-accent-glow);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.08);
}

.rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 19;
}

.rail a {
  font-size: 12px;
  color: var(--muted);
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.rail a::after {
  content: attr(data-label);
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.42);
}

.rail a.active {
  color: var(--text);
  border-color: var(--page-accent);
}

main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad) clamp(18px, 7vw, 140px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  scroll-snap-align: start;
  overflow: clip;
}

.section::before {
  content: "";
  position: absolute;
  inset: 10% 10% auto;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent 64%);
  opacity: 0.7;
  filter: blur(24px);
  pointer-events: none;
}

.section::after {
  content: attr(data-index);
  position: absolute;
  right: clamp(18px, 5vw, 56px);
  top: clamp(90px, 12vw, 140px);
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-size: clamp(72px, 14vw, 180px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.section[data-accent="teal"] {
  --accent: #3af0c7;
  --accent-glow: rgba(58, 240, 199, 0.35);
}

.section[data-accent="mint"] {
  --accent: #57f2bd;
  --accent-glow: rgba(87, 242, 189, 0.32);
}

.section[data-accent="amber"] {
  --accent: #f3bf68;
  --accent-glow: rgba(243, 191, 104, 0.32);
}

.section[data-accent="blue"] {
  --accent: #63a8ff;
  --accent-glow: rgba(99, 168, 255, 0.34);
}

.section[data-accent="rose"] {
  --accent: #ff7e8d;
  --accent-glow: rgba(255, 126, 141, 0.34);
}

.section[data-accent="copper"] {
  --accent: #ffac73;
  --accent-glow: rgba(255, 172, 115, 0.34);
}

.section[data-accent="emerald"] {
  --accent: #57e6a6;
  --accent-glow: rgba(87, 230, 166, 0.32);
}

.section[data-accent="steel"] {
  --accent: #8fb1d6;
  --accent-glow: rgba(143, 177, 214, 0.3);
}

.section[data-accent="gold"] {
  --accent: #f5cb73;
  --accent-glow: rgba(245, 203, 115, 0.35);
}

.section-content {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(32px, 6vw, 80px);
}

.section-content.split {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.9fr);
  align-items: center;
}

.panel-layout {
  position: relative;
  padding: clamp(24px, 5vw, 42px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.panel-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent),
    radial-gradient(circle at 15% 15%, var(--accent-glow), transparent 26%);
  pointer-events: none;
}

#tools .copy,
#education .copy {
  order: 2;
}

#tools .media,
#education .media {
  order: 1;
}

.copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.copy.wide {
  max-width: 780px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2.6px;
  color: var(--accent);
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
}

h1,
h2 {
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.72) 35%,
    var(--accent, #3af0c7) 70%,
    rgba(255, 255, 255, 0.5) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headline-shimmer 8s ease-in-out infinite;
}

@keyframes headline-shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

h1 {
  font-size: clamp(44px, 6vw, 88px);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
}

.lead {
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--muted);
  max-width: 64ch;
}

.signal-row,
.section-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-chip,
.section-badges span,
.hero-screen-meta span,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.signal-chip {
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding-top: calc(var(--header-height) + 56px);
}

.hero .section-content {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.02fr);
  align-items: center;
}

.hero-brand-spotlight {
  grid-column: 1 / -1;
  position: relative;
  z-index: 4;
  width: min(460px, 46vw);
  margin: 0 auto -18px;
  display: grid;
  place-items: center;
  pointer-events: none;
  isolation: isolate;
}

.splash-glow {
  position: absolute;
  width: min(420px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(249, 115, 22, 0.16) 0%, rgba(249, 115, 22, 0.08) 34%, transparent 72%);
  filter: blur(14px);
  opacity: 0;
  animation: glowPulse 1.2s ease-out forwards;
}

.hero-logo-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 18px 54px rgba(7, 12, 20, 0.4))
    drop-shadow(0 0 18px rgba(123, 154, 219, 0.12));
  overflow: visible;
}

.hero-logo-svg .logo-letter,
.hero-logo-svg .logo-dot,
.hero-logo-svg .logo-underline {
  vector-effect: non-scaling-stroke;
}

.hero-logo-svg .logo-letter {
  fill: #7b9adb;
  stroke: #7b9adb;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill-opacity: 0;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  animation: drawLetter 0.7s ease-in-out forwards, fillLetter 0.4s ease-out forwards;
}

.hero-logo-svg .logo-dot {
  fill: #ffffff;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 1280px 1065px;
  animation: dotBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both;
}

.hero-logo-svg .logo-underline {
  fill: #ffffff;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 196px 1250px;
  animation: underlineReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both;
}

.hero-logo-svg > .logo-letter:nth-child(1) {
  animation-delay: 0.2s, 0.5s;
}

.hero-logo-svg > .logo-letter:nth-child(2) {
  animation-delay: 0.26s, 0.56s;
}

.hero-logo-svg > .logo-letter:nth-child(3) {
  animation-delay: 0.32s, 0.62s;
}

.hero-logo-svg > .logo-letter:nth-child(4) {
  animation-delay: 0.38s, 0.68s;
}

.hero-logo-svg > .logo-letter:nth-child(5) {
  animation-delay: 0.44s, 0.74s;
}

.hero-logo-svg > .logo-letter:nth-child(6) {
  animation-delay: 0.5s, 0.8s;
}

.hero-logo-svg > .logo-letter:nth-child(7) {
  animation-delay: 0.56s, 0.86s;
}

.hero-logo-svg > .logo-letter:nth-child(8) {
  animation-delay: 0.62s, 0.92s;
}

.hero-logo-svg > .logo-letter:nth-child(9) {
  animation-delay: 0.68s, 0.98s;
}

.hero-logo-svg > .logo-letter:nth-child(10) {
  animation-delay: 0.74s, 1.04s;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

.hero-proof > div,
.float-card,
.hero-overview,
.hero-floating {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-proof > div {
  padding: 18px 18px 16px;
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.hero-proof p {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  display: grid;
  gap: 20px;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-dome {
  position: absolute;
  inset: 8% 8% 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 38%),
    radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 64%);
  filter: blur(10px);
}

.hero-overview {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
  padding: 18px;
  overflow: hidden;
}

.overview-head,
.overview-footer {
  display: grid;
  gap: 12px;
}

.overview-head {
  grid-template-columns: repeat(2, auto);
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.overview-kicker,
.overview-status,
.overview-label,
.showcase-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.overview-status {
  color: var(--accent);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-bottom: 14px;
}

.overview-card {
  min-height: 148px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  align-content: start;
  gap: 12px;
}

.overview-card.primary {
  grid-row: span 2;
  min-height: 310px;
  background:
    radial-gradient(circle at top right, var(--accent-glow), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 18, 0.78);
}

.overview-card.accent {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 18, 0.72);
}

.overview-card h3 {
  max-width: 11ch;
  font-size: clamp(28px, 3vw, 40px);
}

.overview-card p {
  color: var(--muted);
  font-size: 14px;
}

.overview-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.overview-strip span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.overview-stat {
  display: grid;
  gap: 4px;
}

.overview-footer {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.overview-stat strong {
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.overview-stat span {
  font-size: 12px;
  color: var(--muted);
}

.hero-floating {
  position: absolute;
  z-index: 4;
  width: min(240px, 44%);
  padding: 18px;
}

.hero-floating .tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-floating p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-floating-left {
  top: 8%;
  left: -4%;
}

.hero-floating-right {
  right: -4%;
  top: 18%;
}

.feature-card::before,
.specialty-card::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 28%);
}

.hero-marquee,
.specialty-marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-marquee::before,
.specialty-marquee::before,
.hero-marquee::after,
.specialty-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 132px;
  z-index: 1;
  pointer-events: none;
}

.hero-marquee::before,
.specialty-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(6, 8, 13, 0.95), transparent);
}

.hero-marquee::after,
.specialty-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(6, 8, 13, 0.95), transparent);
}

.marquee-track {
  flex: 0 0 auto;
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 12px 20px;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 22px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  opacity: 0.6;
}

.scroll-hint span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  animation: scroll 1.8s ease-in-out infinite;
}

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

.section-content.split .feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-content.split .feature-grid .feature-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.article-counter {
  display: grid;
  gap: 14px;
}

.article-counter-main,
.cta-signal,
.cta-note,
.training-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 18, 0.72);
  box-shadow: var(--shadow-soft);
}

.article-counter-main {
  padding: 20px 22px;
}

.counter-kicker,
.training-label,
.cta-note-label {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-counter-value {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  color: var(--text);
}

.article-counter-main p,
.training-panel p,
.cta-signal p,
.cta-note p {
  color: var(--muted);
}

.article-counter-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.feature-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  min-width: 0;
  padding: 20px 18px 18px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card h3 {
  max-width: none;
  font-size: clamp(20px, 1.75vw, 24px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.9;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.26), 0 0 30px rgba(255, 255, 255, 0.04);
}

.feature-card p,
.specialty-card p,
.caption,
.placeholder-copy p,
.slot p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.caption {
  display: none;
}

.media {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  width: 100%;
}

.showcase-frame,
.device-frame {
  position: relative;
  width: min(700px, 100%);
  aspect-ratio: 16 / 10;
  padding: 14px 14px 16px;
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(7, 10, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-frame::before,
.device-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius-xl) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.showcase-frame::after,
.device-frame::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -35%;
  width: 60%;
  height: 160%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  pointer-events: none;
}

.showcase-frame video {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  height: 100%;
}

.showcase-frame.wide {
  aspect-ratio: 16 / 9;
}

.video-showcase {
  aspect-ratio: 16 / 9;
}

.panel-layout .showcase-frame,
.panel-layout .device-frame {
  transform: perspective(1200px) rotateY(-10deg) rotateX(3deg) rotateZ(-2deg);
}

#tools .showcase-frame,
#education .showcase-frame,
#tools .device-frame,
#education .device-frame {
  transform: perspective(1200px) rotateY(10deg) rotateX(3deg) rotateZ(2deg);
}

.caption {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.specialty-marquee {
  margin-top: -12px;
}

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

.specialty-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 14, 22, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.specialty-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26), 0 0 28px var(--accent-glow);
}

.specialty-card > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.specialty-card.accent {
  background:
    radial-gradient(circle at top right, rgba(243, 191, 104, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(243, 191, 104, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(13, 15, 20, 0.92);
  border-color: rgba(243, 191, 104, 0.36);
}

.showcase-frame.placeholder,
.device-frame.placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.04) 12px,
      rgba(255, 255, 255, 0.04) 24px
    );
}

.placeholder-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 0 24px;
}

.placeholder-copy span {
  font-size: 18px;
}

.cinematic-stage {
  min-height: 420px;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 172, 115, 0.24), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(9, 12, 18, 0.88);
}

.training-glow {
  position: absolute;
  inset: 12% 12% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 172, 115, 0.3), transparent 65%);
  filter: blur(22px);
  pointer-events: none;
}

.training-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  width: 100%;
}

.training-panel {
  padding: 18px;
}

.training-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.training-panel-main {
  grid-row: span 2;
  min-height: 280px;
  align-content: end;
  background:
    radial-gradient(circle at top right, rgba(255, 172, 115, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(10, 13, 19, 0.84);
}

.training-panel-main h3 {
  margin-bottom: 12px;
  max-width: 12ch;
  font-size: clamp(28px, 3vw, 40px);
}

.training-panel.soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(17, 22, 32, 0.82);
}

.cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 65%);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 32px;
  padding: clamp(30px, 6vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, var(--accent-glow), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(11, 16, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-actions {
  display: grid;
  align-content: end;
  gap: 16px;
}

.cta-copy {
  display: grid;
  gap: 18px;
}

.cta-signal,
.cta-note {
  padding: 18px;
}

.cta-signal strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.slot {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.24);
}

.slot span {
  display: block;
  margin-bottom: 6px;
}

.footer {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--text);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.section.is-visible .feature-card,
.section.is-visible .article-counter-main,
.section.is-visible .showcase-frame,
.section.is-visible .device-frame,
.section.is-visible .specialty-card,
.section.is-visible .training-panel,
.section.is-visible .hero-proof > div,
.section.is-visible .hero-brand-spotlight,
.section.is-visible .hero-overview,
.section.is-visible .hero-floating,
.section.is-visible .cta-signal,
.section.is-visible .cta-note,
.section.is-visible .article-counter-note {
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.section.is-visible .feature-card:nth-child(2),
.section.is-visible .hero-proof > div:nth-child(2) {
  animation-delay: 0.1s;
}

.section.is-visible .training-panel:nth-child(2) {
  animation-delay: 0.1s;
}

.section.is-visible .feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.section.is-visible .training-panel:nth-child(3),
.section.is-visible .cta-note {
  animation-delay: 0.2s;
}

.section.is-visible .specialty-card:nth-child(2) {
  animation-delay: 0.1s;
}

.section.is-visible .specialty-card:nth-child(3) {
  animation-delay: 0.18s;
}

.section.is-visible .specialty-card:nth-child(4) {
  animation-delay: 0.26s;
}

.section.is-visible .specialty-card:nth-child(5) {
  animation-delay: 0.34s;
}

.section.is-visible .specialty-card:nth-child(6) {
  animation-delay: 0.42s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(18px) scale(1.04);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

@keyframes drawLetter {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fillLetter {
  to {
    fill-opacity: 1;
  }
}

@keyframes dotBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes underlineReveal {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes scroll {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(6px);
    opacity: 0;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 1180px) {
  .hero-stage {
    min-height: 560px;
  }

  .hero-floating-left {
    left: 0;
  }

  .hero-floating-right {
    right: 0;
  }
}

@media (max-width: 1024px) {
  .topnav,
  .rail {
    display: none;
  }

  .section-content.split,
  .cta-card,
  .hero .section-content {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .specialty-grid,
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 120px;
  }

  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .training-stack {
    grid-template-columns: 1fr 1fr;
  }

  .overview-card.primary {
    grid-row: auto;
    min-height: 220px;
  }

  .training-panel-main {
    grid-row: auto;
    min-height: 220px;
  }

  #tools .copy,
  #education .copy,
  #tools .media,
  #education .media {
    order: initial;
  }
}

@media (max-width: 840px) {
  html,
  body {
    scroll-snap-type: none;
  }

  html {
    scroll-padding-top: 92px;
  }

  .section {
    scroll-snap-align: none;
  }

  .topbar {
    top: 12px;
    left: 12px;
    right: 12px;
    height: auto;
    padding: 10px 12px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .logo-slot {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    padding: 6px;
  }

  .brand-title {
    font-size: 18px;
    line-height: 1;
  }

  .brand-subtitle {
    display: none;
  }

  .topbar-toggle {
    display: inline-flex;
  }

  .topnav,
  .top-cta {
    display: none;
    grid-column: 1 / -1;
  }

  .topbar.is-open .topnav {
    display: grid;
    gap: 10px;
    padding-top: 8px;
  }

  .topbar.is-open .topnav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .topbar.is-open .top-cta {
    display: grid;
    gap: 10px;
    width: 100%;
    padding-top: 8px;
  }

  .topbar.is-open .topbar-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .topbar.is-open .topbar-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .feature-grid,
  .section-content.split .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-content.split .feature-grid .feature-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .section {
    padding: calc(var(--section-pad) + 12px) 20px;
  }

  .section::after {
    top: 130px;
    font-size: clamp(54px, 18vw, 120px);
  }

  .hero {
    padding-top: calc(var(--header-height) + 40px);
  }

  .hero .section-content {
    gap: 28px;
  }

  .orb {
    animation: none;
    opacity: 0.34;
  }

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

  .hero-brand-spotlight {
    width: min(270px, 68vw);
    margin-bottom: 4px;
  }

  .hero-brand-spotlight::before {
    inset: 18% 14% 20%;
    filter: blur(34px);
  }

  .hero-stage {
    padding: 0;
  }

  .hero-media {
    display: none;
  }

  .hero-floating {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 16px;
  }

  .hero-overview {
    width: 100%;
    padding: 16px;
  }

  .overview-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-marquee,
  .specialty-marquee,
  .scroll-hint {
    display: none;
  }

  .panel-layout .showcase-frame,
  .panel-layout .device-frame,
  #tools .showcase-frame,
  #education .showcase-frame,
  #tools .device-frame,
  #education .device-frame {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-proof,
  .feature-grid,
  .specialty-grid,
  .training-stack {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

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

  .topbar {
    padding: 9px 10px;
  }

  .topbar-toggle {
    width: 42px;
    height: 42px;
  }

  .btn {
    width: 100%;
  }

  .hero-overview,
  .showcase-frame,
  .device-frame {
    width: 100%;
  }

  .overview-head {
    gap: 8px;
  }

  .hero-brand-spotlight {
    width: min(230px, 66vw);
    margin-bottom: 2px;
  }

  .overview-card,
  .overview-card.primary {
    min-height: auto;
  }

  .overview-card h3 {
    max-width: none;
    font-size: clamp(24px, 8vw, 34px);
  }

  .overview-strip {
    display: none;
  }

  .overview-stat strong {
    font-size: 18px;
  }

  .overview-stat span {
    font-size: 11px;
  }

  .showcase-frame {
    padding: 10px;
  }

  .panel-layout,
  .cta-card {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
  }
}

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

  html,
  body {
    scroll-snap-type: none;
  }

  .orb,
  .hero-brand-spotlight::before,
  .hero-brand-spotlight::after,
  .scroll-hint span,
  .marquee-track,
  .section.is-visible .article-counter-main,
  .section.is-visible .showcase-frame,
  .section.is-visible .feature-card,
  .section.is-visible .device-frame,
  .section.is-visible .specialty-card,
  .section.is-visible .training-panel,
  .section.is-visible .hero-proof > div,
  .section.is-visible .hero-overview,
  .section.is-visible .hero-floating,
  .section.is-visible .cta-signal,
  .section.is-visible .cta-note,
  .section.is-visible .article-counter-note {
    animation: none;
  }

  .tilt-card {
    transform: none !important;
  }

  h1,
  h2 {
    animation: none;
    background-position: 0% 0%;
  }

  .splash-glow,
  .hero-logo-svg .logo-letter,
  .hero-logo-svg .logo-dot,
  .hero-logo-svg .logo-underline {
    animation: none !important;
  }

  .splash-glow {
    opacity: 0.4;
    transform: none;
  }

  .hero-logo-svg .logo-letter {
    fill-opacity: 1;
    stroke-dashoffset: 0;
  }

  .hero-logo-svg .logo-dot,
  .hero-logo-svg .logo-underline {
    opacity: 1;
    transform: none;
  }
}
