:root {
  color-scheme: dark;
  --white: #080D16;
  --off-white: #0D1724;
  --blue-primary: #00D9FF;
  --blue-light: #102634;
  --blue-mid: #B347FF;
  --blue-dark: #00A9CC;
  --steel: rgba(158, 195, 220, .18);
  --text-dark: #EAF6FF;
  --text-mid: #A9C0D2;
  --text-light: #7F9AAF;
  --accent-line: rgba(0, 217, 255, .065);
  --panel: rgba(13, 23, 36, .86);
  --panel-raised: rgba(17, 31, 47, .92);
  --cyan-glow: 0 0 28px rgba(0, 217, 255, .18);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; background: #080D16; }
body { isolation: isolate; min-height: 100vh; background: #080D16; color: var(--text-dark); }
body::selection { color: #041017; background: var(--blue-primary); }
body::before { position: fixed; inset: 0; z-index: -2; pointer-events: none; content: ""; background: radial-gradient(ellipse at 12% 9%, rgba(0,217,255,.09), transparent 32%), radial-gradient(ellipse at 91% 28%, rgba(179,71,255,.08), transparent 32%), linear-gradient(180deg,#080D16,#09111d 54%,#080D16); }
.tech-bg { z-index: -1; opacity: .48; background-image: linear-gradient(rgba(0,217,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(0,217,255,.045) 1px,transparent 1px),radial-gradient(circle at 50% 20%,transparent 10%,rgba(8,13,22,.55) 75%); background-size: 52px 52px,52px 52px,100% 100%; mask-image: linear-gradient(to bottom,black 0%,rgba(0,0,0,.6) 45%,transparent 95%); }
main, footer { position: relative; z-index: 1; }
a { color: var(--blue-primary); }
:focus-visible { outline: 2px solid var(--blue-primary) !important; outline-offset: 3px; }

/* Intro: a short, skippable activation sequence. */
.boot-intro { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; overflow: hidden; isolation: isolate; color: #EAF6FF; background: radial-gradient(ellipse at center,rgba(13,34,51,.96),#050910 68%); opacity: 1; transition: opacity .5s ease, visibility .5s ease; }
.boot-intro[hidden] { display: none !important; }
.boot-intro::before,.boot-intro::after { position: absolute; inset: 0; z-index: -1; pointer-events: none; content: ""; }
.boot-intro::before { background: radial-gradient(circle at 50% 50%,rgba(0,217,255,.13),transparent 18%),radial-gradient(circle at 50% 50%,rgba(179,71,255,.09),transparent 43%); transform: scale(.45); opacity: 0; transition: transform 1.4s ease,opacity 1s ease; }
.boot-intro::after { background: linear-gradient(transparent 49.8%,rgba(0,217,255,.14) 50%,transparent 50.2%); transform: translateY(-100%); opacity: 0; }
.boot-intro.phase-collect::before,.boot-intro.phase-reveal::before { transform: scale(1.5); opacity: 1; }
.boot-intro.phase-flash::after { animation: boot-scan .48s ease-out both; }
.boot-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .92; }
.boot-circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; }
.boot-circuit path { fill: none; stroke: #00D9FF; stroke-width: 1; stroke-dasharray: 1 16; stroke-dashoffset: 0; transition: stroke-dasharray 1.1s ease,opacity 1s ease; }
.phase-init .boot-circuit path { stroke-dasharray: 1 16; }
.phase-collect .boot-circuit path,.phase-reveal .boot-circuit path,.phase-flash .boot-circuit path { stroke-dasharray: 150 6; }
.boot-rings { position: absolute; left: 50%; top: 50%; width: min(70vmin,520px); aspect-ratio: 1; transform: translate(-50%,-50%); opacity: .7; }
.boot-rings i,.boot-rings b { position: absolute; inset: 0; border: 1px solid rgba(0,217,255,.35); border-radius: 50%; transform: scale(.08); opacity: 0; }
.boot-rings i:nth-child(2) { inset: 11%; border-color: rgba(179,71,255,.42); }
.boot-rings i:nth-child(3) { inset: 23%; border-style: dashed; }
.boot-rings b { inset: 36%; border-color: rgba(234,246,255,.72); box-shadow: 0 0 30px rgba(0,217,255,.5),inset 0 0 24px rgba(0,217,255,.14); }
.phase-init .boot-rings i:nth-child(1) { animation: boot-ring-in 1.5s .1s ease-out both; }
.phase-init .boot-rings i:nth-child(2) { animation: boot-ring-in 1.5s .27s ease-out both; }
.phase-init .boot-rings i:nth-child(3) { animation: boot-ring-in 1.5s .42s ease-out both; }
.phase-init .boot-rings b { animation: boot-ring-in 1.1s .52s ease-out both,boot-core-pulse 1s 1.5s ease-in-out infinite alternate; }
.boot-copy { position: relative; z-index: 2; width: min(90vw,780px); text-align: center; }
.boot-kicker,.boot-status { color: #80edff; font-size: 10px; font-weight: 750; letter-spacing: .28em; text-transform: uppercase; }
.boot-kicker { margin-bottom: 24px; opacity: 0; }
.phase-init .boot-kicker { animation: boot-fade-up .55s .25s ease forwards; }
.boot-brand { display: flex; justify-content: center; gap: .04em; margin: 0; color: #EAF6FF; font-family: 'Noto Sans','Noto Sans SC',sans-serif; font-size: clamp(44px,10vw,104px); font-weight: 750; line-height: .95; letter-spacing: .12em; text-indent: .12em; text-shadow: 0 0 35px rgba(0,217,255,.3); opacity: 0; filter: blur(12px); transform: scale(1.08); }
.boot-brand span:last-child { color: #00D9FF; }
.phase-reveal .boot-brand { animation: boot-brand-in .85s cubic-bezier(.2,.8,.2,1) forwards; }
.phase-flash .boot-brand { animation: boot-brand-settle .55s ease-out both; }
.boot-slogan { margin: 16px 0 0; color: #C8E8F5; font-size: clamp(11px,2vw,15px); letter-spacing: .42em; text-indent: .42em; opacity: 0; transform: translateY(8px); }
.phase-reveal .boot-slogan { animation: boot-fade-up .55s .28s ease forwards; }
.boot-status { margin: 30px 0 0; font-size: 9px; letter-spacing: .24em; color: #9bb4c8; }
.phase-init .boot-status { animation: boot-fade-up .5s .55s ease both; }
.boot-skip { position: absolute; z-index: 4; top: max(22px,env(safe-area-inset-top)); right: max(24px,env(safe-area-inset-right)); border: 1px solid rgba(0,217,255,.42); border-radius: 999px; padding: 9px 15px; color: #C9F7FF; background: rgba(6,17,27,.7); font: inherit; font-size: 11px; letter-spacing: .08em; cursor: pointer; transition: color .2s,border-color .2s,background .2s; }
.boot-skip:hover { color: #06111a; border-color: #00D9FF; background: #00D9FF; }
@keyframes boot-ring-in { 0% { transform: scale(.08) rotate(-30deg); opacity: 0; } 55% { opacity: .8; } 100% { transform: scale(1) rotate(0); opacity: .75; } }
@keyframes boot-core-pulse { to { transform: scale(1.045); box-shadow: 0 0 55px rgba(0,217,255,.68),inset 0 0 35px rgba(0,217,255,.25); } }
@keyframes boot-fade-up { to { opacity: 1; transform: translateY(0); } }
@keyframes boot-brand-in { 0% { opacity: 0; filter: blur(12px); transform: scale(1.08); letter-spacing: .42em; } 65% { opacity: 1; filter: blur(0); } 100% { opacity: 1; filter: blur(0); transform: scale(1); letter-spacing: .16em; } }
@keyframes boot-brand-settle { 0% { opacity: 1; filter: brightness(2.2); text-shadow: 0 0 55px #00D9FF; } 100% { opacity: 1; filter: brightness(1); text-shadow: 0 0 20px rgba(0,217,255,.3); } }
@keyframes boot-scan { 0% { opacity: 0; transform: translateY(-100%); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(100%); } }

/* Shared frame and navigation. */
.main-nav { min-height: 72px; height: auto; padding: 10px clamp(16px,3.3vw,54px); gap: 14px; border-bottom: 1px solid rgba(0,217,255,.2); background: rgba(8,13,22,.82); box-shadow: 0 10px 35px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.main-nav .logo-img,footer .logo-img { display: none !important; }
.main-nav .logo-mark,footer .logo-mark { display: flex !important; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(0,217,255,.48); border-radius: 10px; background: linear-gradient(145deg,#10364a,#11182b); box-shadow: 0 0 20px rgba(0,217,255,.14); }
.main-nav .logo-mark svg,footer .logo-mark svg { fill: #EAF6FF; }
.logo-text { color: #EAF6FF !important; font-size: 16px; font-weight: 800; letter-spacing: .15em; }
.logo-text span { color: #00D9FF; text-shadow: 0 0 13px rgba(0,217,255,.2); }
.main-nav .logo-mark,footer .logo-mark { width: 40px; height: 40px; flex-basis: 40px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.mech-emblem { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 7px rgba(0,217,255,.22)); transition: filter .3s ease,transform .3s cubic-bezier(.2,.75,.25,1); }
.logo:hover .mech-emblem { transform: translateY(-1px) scale(1.07); filter: drop-shadow(0 0 5px rgba(0,217,255,.8)) drop-shadow(0 0 14px rgba(179,71,255,.28)); }
.emblem-shell { fill: #0A1724; stroke: #8AEFFF; stroke-width: 2.2; stroke-linejoin: round; }
.emblem-facet { fill: rgba(0,217,255,.18); }
.emblem-glint { fill: rgba(234,246,255,.22); }
.emblem-monogram { fill: none; stroke: #EAF6FF; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: bevel; }
.emblem-cut { fill: none; stroke: #00D9FF; stroke-width: 1.4; stroke-linecap: round; opacity: .95; }
.nav-links { align-items: center; gap: clamp(8px,1.25vw,19px); }
.nav-links a,.mobile-menu a { position: relative; color: #A9C0D2; font-size: 12px; transition: color .22s ease; }
.nav-links a:hover,.mobile-menu a:hover,.nav-links a[aria-current="page"] { color: #EAF6FF; }
.nav-links a::before,.mobile-menu a::before,.cad-nav-button::before { display: none !important; }
.nav-icon { width: 17px; height: 17px; flex: 0 0 17px; overflow: visible; opacity: .88; transition: transform .24s cubic-bezier(.2,.75,.25,1),filter .24s ease,opacity .24s ease; }
.nav-icon-line { fill: none; }
.nav-icon-accent { fill: none; filter: drop-shadow(0 0 2px rgba(179,71,255,.3)); }
.nav-links a:hover .nav-icon,.mobile-menu a:hover .nav-icon,.nav-links a[aria-current="page"] .nav-icon,.mobile-menu a[aria-current="page"] .nav-icon { opacity: 1; transform: translateY(-1px); filter: drop-shadow(0 0 4px rgba(0,217,255,.48)); }
.mobile-menu .nav-icon { width: 20px; height: 20px; flex-basis: 20px; }
.cad-nav-button .nav-icon { width: 18px; height: 18px; flex-basis: 18px; }
.nav-links a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 1px; content: ""; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#00D9FF,#B347FF); box-shadow: 0 0 10px rgba(0,217,255,.6); transition: transform .24s ease; }
.nav-links a:hover::after,.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.cad-nav-button { position: relative; border: 1px solid rgba(0,217,255,.55); border-radius: 9px; background: rgba(0,217,255,.08); color: #D8F8FF; padding: 8px 12px; font-size: 11px; letter-spacing: .08em; transition: background .2s,box-shadow .2s; }
.cad-nav-button:hover,.cad-nav-button:focus-visible { background: rgba(0,217,255,.18); color: white; box-shadow: var(--cyan-glow); }
.lang-switch { gap: 3px; }
.lang-btn { border-color: transparent; border-radius: 6px; color: #8EA6BA; font-size: 10px; background: transparent; }
.lang-btn.active,.lang-btn:hover { border-color: rgba(0,217,255,.35); color: #041017; background: #00D9FF; }
.nav-hamburger { padding: 9px; border: 1px solid rgba(0,217,255,.24); border-radius: 9px; background: rgba(12,25,39,.8); }
.nav-hamburger span { background: #CFF8FF; }
.mobile-menu { top: 72px; border-color: rgba(0,217,255,.22); border-radius: 0 0 18px 18px; background: rgba(7,15,25,.97); box-shadow: 0 24px 50px rgba(0,0,0,.45); backdrop-filter: blur(18px); }
.mobile-menu a { border-color: rgba(158,195,220,.12); }
.mobile-menu .lang-switch { border-color: rgba(158,195,220,.16) !important; }
@media (max-width: 1220px) { .nav-links,.main-nav > .cad-nav-button { display: none; } .nav-hamburger { display: flex; } }

/* Cinematic landing panel. */
.news-section,.automation-tiles-section,.tools-tiles-section,.prompts-section,.article-view-section { padding: clamp(24px,4.8vw,64px) clamp(16px,4.3vw,64px); background: transparent; background-image: none; }
.mech-hero { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: clamp(12px,4vw,70px); max-width: 1440px; min-height: min(670px,calc(100svh - 88px)); margin: 0 auto clamp(54px,8vw,112px); padding: clamp(38px,6vw,86px) clamp(24px,6vw,88px); overflow: hidden; isolation: isolate; border: 1px solid rgba(0,217,255,.22); border-radius: 28px; background: linear-gradient(116deg,rgba(9,18,30,.97) 5%,rgba(10,19,32,.89) 51%,rgba(15,18,39,.93)); box-shadow: 0 28px 90px rgba(0,0,0,.32),inset 0 0 55px rgba(0,217,255,.035); }
.mech-hero::before,.mech-hero::after { position: absolute; pointer-events: none; content: ""; }
.mech-hero::before { z-index: -1; inset: 0; background: linear-gradient(110deg,transparent 0 48%,rgba(0,217,255,.035) 48.1%,transparent 48.3%),radial-gradient(ellipse at 84% 52%,rgba(0,217,255,.11),transparent 33%),radial-gradient(ellipse at 100% 0%,rgba(179,71,255,.09),transparent 37%); }
.mech-hero::after { right: 4%; bottom: 0; left: 4%; height: 1px; background: linear-gradient(90deg,transparent,rgba(0,217,255,.7),rgba(179,71,255,.45),transparent); box-shadow: 0 0 18px rgba(0,217,255,.45); }
.hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .42; background-image: linear-gradient(rgba(0,217,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(0,217,255,.06) 1px,transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg,black,transparent 75%); }
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: #91AFC3; font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1.5; }
.hero-live-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #00D9FF; box-shadow: 0 0 12px rgba(0,217,255,.9); }
.hero-title { position: relative; display: block; width: min(100%,680px); max-width: 100%; margin: 0; padding: 0 0 .78em; overflow: visible; isolation: isolate; font-family: 'Noto Sans','Noto Sans SC',sans-serif; font-size: clamp(52px,8.4vw,112px); line-height: 1; }
.hero-wordmark { display: block; width: 100%; height: auto !important; max-width: 100%; overflow: visible; object-fit: contain; filter: drop-shadow(0 3px 16px rgba(0,217,255,.13)); animation: hero-logo-glitch .72s steps(1,end) both; }
@keyframes hero-logo-glitch { 0% { opacity: 0; transform: translateX(-2px); filter: hue-rotate(28deg) drop-shadow(0 0 13px rgba(0,217,255,.32)); } 18% { opacity: 1; transform: translateX(1px); } 23% { opacity: .78; transform: translateX(-1px); } 30%,100% { opacity: 1; transform: none; filter: drop-shadow(0 3px 16px rgba(0,217,255,.13)); } }
.boot-brand { display: block; width: min(88vw,740px); height: auto; margin: 0 auto; object-fit: contain; letter-spacing: 0; text-indent: 0; }
.main-nav .brand-lockup,.footer-brand .brand-lockup { display: block; width: clamp(158px,16vw,213px); height: auto; max-height: 54px; object-fit: contain; }
.hero-title { width: min(100%,700px); padding: 0; }
.hero-title-eu { position: absolute; top: .1em; right: -.46em; padding: .24em .42em; border: 1px solid rgba(179,71,255,.44); border-radius: 4px; color: #D8A7FF; background: rgba(179,71,255,.08); font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1; box-shadow: 0 0 16px rgba(179,71,255,.1); }
.hero-slogan { margin: 22px 0 17px; color: #D9EAF3; font-family: 'Noto Sans','Noto Sans SC',sans-serif; font-size: clamp(12px,1.55vw,17px); font-weight: 650; letter-spacing: .26em; }
.hero-slogan span { color: #B347FF; }
.main-nav,.mobile-menu,.logo-text,.boot-copy,.hero-copy { font-family: 'Noto Sans','Noto Sans SC',sans-serif; }
.hero-intro { max-width: 480px; margin: 0; color: #9CB3C5; font-size: clamp(14px,1.4vw,16px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(0,217,255,.38); border-radius: 9px; color: #CFEAF4; background: rgba(11,24,38,.82); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .22s,border-color .22s,background .22s,box-shadow .22s; }
.hero-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-action:hover { transform: translateY(-2px); border-color: #00D9FF; background: rgba(0,217,255,.12); box-shadow: 0 8px 28px rgba(0,217,255,.12); }
.hero-action-primary { color: #041017; border-color: #00D9FF; background: linear-gradient(110deg,#00D9FF,#75E8FF); box-shadow: 0 0 24px rgba(0,217,255,.2); }
.hero-action-primary:hover { color: #041017; background: #66E8FF; box-shadow: 0 8px 34px rgba(0,217,255,.28); }
.hero-action-game { color: #D9F7FF; border-color: rgba(179,71,255,.55); background: linear-gradient(110deg,rgba(44,25,75,.95),rgba(11,31,49,.95)); text-decoration: none; }
.hero-action-game svg { color: #d89bff; }
.hero-action-game:hover { border-color: #B347FF; background: linear-gradient(110deg,rgba(69,33,109,.95),rgba(11,42,60,.95)); }
.hero-footline { display: flex; align-items: center; gap: 11px; margin-top: clamp(32px,5vw,64px); color: #6F879A; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.hero-footline span:first-child { color: #00D9FF; }
.hero-footline i { width: 52px; height: 1px; background: linear-gradient(90deg,#00D9FF,rgba(0,217,255,.05)); }
.hero-visual { position: relative; display: grid; place-items: center; width: min(100%,520px); aspect-ratio: 1; justify-self: center; }
.hero-visual-glow { position: absolute; inset: 12%; border-radius: 50%; background: #00D9FF; opacity: .15; filter: blur(65px); }
.hero-visual svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.hero-core-halo { fill: url(#heroCoreFill); opacity: .8; }
.hero-field { fill: none; stroke-width: 1.35; stroke-dasharray: none; opacity: .36; }
.field-a,.field-d,.field-f { stroke: url(#fieldCyan); }
.field-b,.field-c,.field-e { stroke: url(#fieldViolet); }
.cinematic-ready .hero-field { stroke-dasharray: 1; stroke-dashoffset: 1; animation: field-draw 1.65s cubic-bezier(.2,.68,.2,1) var(--draw-delay,0s) forwards; }
.field-a { --draw-delay: .04s; }
.field-b { --draw-delay: .14s; }
.field-c { --draw-delay: .24s; }
.field-d { --draw-delay: .34s; }
.field-e { --draw-delay: .44s; }
.field-f { --draw-delay: .54s; }
@keyframes field-draw { to { stroke-dashoffset: 0; opacity: .55; } }
.field-pulse { fill: none; stroke: #DDFBFF; stroke-width: 2.1; stroke-dasharray: .075 .925; stroke-dashoffset: 1; stroke-linecap: round; opacity: 0; filter: url(#fieldGlow); }
.cinematic-ready .field-pulse { animation: field-travel 8.6s linear var(--pulse-delay,2.2s) infinite; }
.pulse-a { --pulse-delay: 2.25s; }
.pulse-b { --pulse-delay: 3.05s; }
.pulse-c { --pulse-delay: 3.85s; }
.pulse-d { --pulse-delay: 4.65s; }
.pulse-e { --pulse-delay: 5.45s; }
.pulse-f { --pulse-delay: 6.25s; }
@keyframes field-travel { 0%,4% { stroke-dashoffset: 1; opacity: 0; } 9% { opacity: .85; } 18% { opacity: .5; } 25%,100% { stroke-dashoffset: 0; opacity: 0; } }
.field-terminations { fill: #8CF4FF; filter: drop-shadow(0 0 5px rgba(0,217,255,.65)); }
.field-terminations .field-dot-violet { fill: #D5A1FF; filter: drop-shadow(0 0 5px rgba(179,71,255,.7)); }
.hero-crystal-mark { filter: drop-shadow(0 0 8px rgba(0,217,255,.42)); }
.crystal-shell { fill: rgba(5,19,31,.92); stroke: url(#heroLine); stroke-width: 2.3; stroke-linejoin: round; }
.crystal-facet { fill: rgba(0,217,255,.17); }
.crystal-glint { fill: rgba(234,246,255,.2); }
.crystal-monogram { fill: none; stroke: #EAF6FF; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: bevel; }
.crystal-cut { fill: none; stroke: #00D9FF; stroke-width: 1.5; stroke-linecap: round; }
.hero-node { fill: #00D9FF; filter: drop-shadow(0 0 7px rgba(0,217,255,.9)); }
.hero-node-purple { fill: #B347FF; filter: drop-shadow(0 0 7px rgba(179,71,255,.8)); }
.hero-readout { position: absolute; display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; border-left: 1px solid rgba(0,217,255,.65); color: #819BAE; background: rgba(7,16,26,.75); font-size: 8px; letter-spacing: .16em; backdrop-filter: blur(9px); }
.hero-readout b { color: #D9F7FF; font-size: 8px; font-weight: 700; }
.hero-readout-top { top: 20%; right: -1%; }
.hero-readout-bottom { bottom: 5%; left: -2%; flex-direction: row; align-items: center; gap: 7px; }
.hero-readout-bottom i { width: 20px; height: 1px; background: #B347FF; }
.news-section > .section-header,.news-section > .articles-grid,.news-section > .news-pagination { max-width: 1360px; margin-right: auto; margin-left: auto; }
.news-heading { display: flex; flex-direction: column; gap: 4px; }
.news-section .section-header { align-items: center; border-color: rgba(0,217,255,.18); }
.section-eyebrow { color: #00D9FF; text-shadow: 0 0 15px rgba(0,217,255,.22); }
.section-title { color: #EAF6FF; text-shadow: 0 0 24px rgba(0,217,255,.12); }

/* Cards, content views, tools and editorial surfaces. */
.news-section,.automation-tiles-section,.tools-tiles-section,.prompts-section,.article-view-section,.ai-directory-section { background-color: transparent; background-image: radial-gradient(ellipse at 85% 8%,rgba(0,217,255,.055),transparent 38%),radial-gradient(ellipse at 7% 80%,rgba(179,71,255,.035),transparent 36%); background-attachment: scroll; }
.article-card,.automation-tile,.prompt-card,.ai-directory-card,.calc-card,.article-paper,.modal-box,.editor-box,.cookie-modal,.contact-modal,.about-modal,.calc-subcard,.tool-card,.schematic-card { color: #EAF6FF; border-color: rgba(151,190,215,.18); background-color: rgba(13,23,36,.92); box-shadow: 0 16px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.025); }
.article-card,.automation-tile,.prompt-card,.ai-directory-card { position: relative; overflow: hidden; transition: transform .26s cubic-bezier(.2,.75,.25,1),border-color .25s,box-shadow .25s,background .25s; }
.article-card::after,.automation-tile::after,.prompt-card::after,.ai-directory-card::after { position: absolute; inset: 0; z-index: 0; pointer-events: none; content: ""; opacity: 0; background: radial-gradient(260px circle at var(--pointer-x,50%) var(--pointer-y,50%),rgba(0,217,255,.11),transparent 65%); transition: opacity .25s; }
.article-card:hover,.automation-tile:hover,.prompt-card:hover,.ai-directory-card:hover { transform: translateY(-4px); border-color: rgba(0,217,255,.5); background-color: rgba(15,29,44,.98); box-shadow: 0 20px 55px rgba(0,0,0,.33),0 0 26px rgba(0,217,255,.07); }
.article-card:hover::after,.automation-tile:hover::after,.prompt-card:hover::after,.ai-directory-card:hover::after { opacity: 1; }
.article-card-link,.article-body,.article-admin-bar,.automation-tile-icon,.automation-tile-name,.automation-tile-desc,.prompt-card > *, .ai-directory-card > * { position: relative; z-index: 1; }
.article-body { color: #EAF6FF; }
.article-date,.article-view-date { color: #7F9AAF; }
.article-title,.article-view-title,.prompt-title,.calc-title,.editor-title,.cookie-modal h2,.cookie-modal h3,.contact-modal h2,.section-title,.automation-tile-name,.ai-directory-card-name { color: #EAF6FF; }
.article-excerpt,.article-view-body,.prompt-description,.automation-tile-desc,.ai-directory-card-desc,.modal-content,.cookie-modal p,.cookie-toggle-desc,.about-modal p { color: #A9C0D2; }
.article-img { background: linear-gradient(140deg,#0d2838,#201933 72%,#11172a); }
.article-img-pattern { background-image: linear-gradient(rgba(0,217,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(0,217,255,.08) 1px,transparent 1px); }
.article-category { border-color: rgba(0,217,255,.28); color: #D9F7FF; background: rgba(5,14,24,.82); }
.article-admin-bar { background: rgba(5,14,24,.65); border-color: rgba(151,190,215,.14); }
.section-header { border-color: rgba(0,217,255,.17); }
.no-articles { color: #91A8BA; }
.article-view-section { background-image: radial-gradient(ellipse at 15% 0%,rgba(0,217,255,.08),transparent 40%),radial-gradient(ellipse at 85% 20%,rgba(179,71,255,.08),transparent 38%),#080D16; }
.article-paper { border: 1px solid rgba(0,217,255,.22); }
.article-view-category { color: #00D9FF; }
.modal-overlay,.editor-overlay,.cookie-modal-overlay,.contact-modal-overlay { background: rgba(2,7,12,.78); backdrop-filter: blur(8px); }
.modal-box,.editor-box,.cookie-modal,.contact-modal { border: 1px solid rgba(0,217,255,.23); background: #0D1724; color: #EAF6FF; box-shadow: 0 30px 100px rgba(0,0,0,.58),0 0 34px rgba(0,217,255,.08); }
.editor-tabs { border-color: rgba(151,190,215,.18); }
.editor-tab,.modal-close,.editor-close,.cookie-modal-close,.contact-modal-close { color: #A9C0D2; }
.form-group label,.contact-form-group label,.cookie-toggle-label,.article-gallery h4 { color: #D1E2EC; }
.form-group input[type=text],.form-group textarea,.form-group select,.contact-form-group input,.contact-form-group textarea,.ai-directory-search,.conv-in select,.calc-grid input,.ai-chat-demo input { color: #EAF6FF !important; border-color: rgba(151,190,215,.25) !important; background: #09121e !important; }
.form-group input:focus,.form-group textarea:focus,.contact-form-group input:focus,.contact-form-group textarea:focus,.ai-directory-search:focus,.calc-grid input:focus { border-color: #00D9FF !important; box-shadow: 0 0 0 3px rgba(0,217,255,.12); }
.gallery-upload-area,.gallery-thumb,.article-gallery { border-color: rgba(151,190,215,.2); }
.calc-card { background-image: linear-gradient(rgba(0,217,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(0,217,255,.04) 1px,transparent 1px); background-size: 28px 28px; }
.calc-result,.calc-note,.conv-table th,.article-admin-bar,.cookie-table th,.cookie-table tr:nth-child(even) td { color: #CBE1ED; background-color: rgba(22,39,55,.92); }
.calc-result b,.calc-tab.active { color: #07141d; }
.calc-reset,.calc-tab,.calc-help-icon,.btn-cancel,.btn-accept-all-modal { color: #BAD0DE; border-color: rgba(151,190,215,.22); background: rgba(14,29,43,.92); }
.calc-reset:hover,.calc-tab:hover,.calc-help-icon:hover { background: rgba(0,217,255,.12); }
.calc-tab.active,.force-tabs .calc-tab.active,.convert-tabs .calc-tab.active,.wires-tabs .calc-tab.active { border-color: #00D9FF; color: #041017; background: linear-gradient(120deg,#00D9FF,#7BEAFF); box-shadow: 0 0 22px rgba(0,217,255,.16); }
.calc-help { color: #D8D1F3; border-color: rgba(179,71,255,.35); background: rgba(37,25,52,.9); }
.calc-warn { color: #FFD9D9; border-color: rgba(255,126,126,.4); background: rgba(73,24,35,.72); }
.cookie-banner { border-color: #00D9FF; background: rgba(7,15,25,.97); backdrop-filter: blur(18px); }
.cookie-banner-text,.cookie-modal p { color: #A9C0D2; }
.cookie-banner-text a,.btn-cookie-settings { color: #00D9FF; }
.cookie-table th,.cookie-table td { border-color: rgba(151,190,215,.2); }
.cookie-table td { color: #B5CBD9; }
.cookie-type.necessary { color: #9CF2D0; background: rgba(29,108,79,.3); }
.cookie-type.functional { color: #9ADCF5; background: rgba(26,91,120,.35); }
.cookie-type.analytics { color: #FFD994; background: rgba(119,83,29,.35); }
.btn-cookie-reject,.cookie-modal-actions { border-color: rgba(151,190,215,.2); }
.donate-btn { color: #06121a; }
.lightbox-overlay { background: rgba(2,7,12,.94); }
.admin-topbar { color: #DDF8FF; border-color: rgba(0,217,255,.25); background: rgba(8,21,32,.96); }
.admin-login-form { border: 1px solid rgba(0,217,255,.3); background: #0d1724; box-shadow: 0 18px 48px rgba(0,0,0,.4); }

/* Recolor the category tiles as a single instrument family. */
.automation-tiles-inner,.tools-tiles-inner { max-width: 1420px; margin: 0 auto; }
.automation-tiles-grid,.tools-tiles-grid { gap: 16px; }
.automation-tile { min-height: 194px; padding: 23px 17px; text-align: left; border: 1px solid rgba(0,217,255,.16); border-radius: 15px; }
.automation-tile-icon { width: 54px; height: 54px; margin: 0 0 20px; border: 1px solid rgba(0,217,255,.27); border-radius: 13px; background: linear-gradient(145deg,rgba(0,217,255,.16),rgba(179,71,255,.12)) !important; }
.automation-tile-icon .tile-shine { display: none; }
.automation-tile-icon svg { width: 29px; height: 29px; stroke: #B6F5FF !important; }
.automation-tile-name,.tile-pneumatika .automation-tile-name,.tile-elektro .automation-tile-name,.tile-hydraulika .automation-tile-name,.tile-ostatne .automation-tile-name,.tile-zdroje .automation-tile-name,.tile-nf .automation-tile-name,.tile-meracie .automation-tile-name,.tile-digital .automation-tile-name { color: #EAF6FF; font-size: 15px; }
.automation-tile-desc { color: #8EA8BA; line-height: 1.55; }
.ai-directory-section { color: #EAF6FF; }
.ai-directory-eyebrow { color: #00D9FF; }
.ai-directory-filter,.ai-directory-sort,.ai-directory-search { color: #BBD0DE; border-color: rgba(151,190,215,.22); background: rgba(12,24,37,.85); }
.ai-directory-filter[aria-pressed="true"],.ai-directory-filter:hover { border-color: #00D9FF; color: #05131b; background: #00D9FF; }
.ai-directory-empty { color: #91A8BA; }
.prompt-card { border-radius: 15px; }
.prompt-text { border-color: rgba(151,190,215,.2); color: #D8EAF4; background: rgba(3,10,17,.68); }
.prompt-copy,.btn-edit,.btn-add-article,.btn-automation-add,.btn-save,.btn-save-prefs,.btn-contact-submit,.btn-add-article,.ai-directory-action { border: 1px solid rgba(0,217,255,.36); color: #041017; background: linear-gradient(115deg,#00D9FF,#7DEBFF); box-shadow: 0 0 16px rgba(0,217,255,.1); transition: transform .2s,box-shadow .2s,filter .2s; }
.prompt-copy:hover,.btn-edit:hover,.btn-add-article:hover,.btn-automation-add:hover,.btn-save:hover,.btn-save-prefs:hover,.btn-contact-submit:hover,.ai-directory-action:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 25px rgba(0,217,255,.22); }
.btn-delete { color: #FFD9DE; background: rgba(124,37,55,.42); }
.btn-delete:hover { background: rgba(151,45,66,.58); }
.article-back,.calc-help-icon { color: #BDECF6; border-color: rgba(0,217,255,.3); background: rgba(9,23,35,.9); }
.arcade-shell { border-color: rgba(0,217,255,.24); box-shadow: 0 24px 70px rgba(0,0,0,.35),0 0 35px rgba(0,217,255,.06); }
.ai-banner { border: 1px solid rgba(0,217,255,.23); background: linear-gradient(120deg,#0d1724,#10172b 72%,#17122a); }

/* Footer and controls. */
footer { margin-top: 30px; padding: 28px clamp(18px,5vw,70px) 18px; border-top: 1px solid rgba(0,217,255,.17); background: rgba(5,10,17,.72); }
.footer-owner { border-color: rgba(0,217,255,.17) !important; }
.footer-owner img { border-color: #00D9FF !important; box-shadow: 0 0 22px rgba(0,217,255,.12); }
.footer-grid { grid-template-columns: minmax(0,2fr) repeat(2,minmax(0,1fr)); border-color: rgba(151,190,215,.12); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-text { color: #EAF6FF !important; }
.footer-col h4,.footer-col a,.footer-bottom,.footer-bottom p { color: #8EA7B9; }
.footer-col a:hover,.footer-bottom a:hover { color: #00D9FF; }
.footer-bottom { border-color: rgba(151,190,215,.14); }
.news-pagination button { border-color: rgba(0,217,255,.3); background: rgba(9,20,31,.92); }
.news-pagination button:hover { color: #06121a; background: #00D9FF; }
.news-pagination span { color: #BBD0DE; }

/* Purposeful view entrance, card reveals and cursor-reactive edge light. */
.cinematic-ready main { animation: content-unseal .75s cubic-bezier(.2,.75,.2,1) both; }
@keyframes content-unseal { from { opacity: .72; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.cinematic-reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease,transform .55s cubic-bezier(.2,.75,.25,1); }
.cinematic-reveal.is-revealed { opacity: 1; transform: translateY(0); }
.hero-visual > svg { animation: core-breathe 9s ease-in-out infinite alternate; }
@keyframes core-breathe { from { filter: brightness(.96); } to { filter: brightness(1.08); } }
.cinematic-ready .wordmark-glyph { animation: wordmark-arrive .72s cubic-bezier(.2,.78,.22,1) var(--glyph-delay,0s) both; }
.glyph-m { --glyph-delay: .04s; }
.glyph-e1 { --glyph-delay: .13s; }
.glyph-c { --glyph-delay: .22s; }
.glyph-h { --glyph-delay: .31s; }
.glyph-n { --glyph-delay: .4s; }
.glyph-e2 { --glyph-delay: .49s; }
.glyph-x { --glyph-delay: .58s; }
.glyph-t { --glyph-delay: .67s; }
@keyframes wordmark-arrive { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.cinematic-ready .glyph-x { animation: wordmark-arrive .72s cubic-bezier(.2,.78,.22,1) .58s both,x-energy 1.05s cubic-bezier(.2,.7,.2,1) .86s both; }
@keyframes x-energy { 0% { opacity: .86; transform: scale(1); filter: drop-shadow(0 0 1px rgba(0,217,255,.2)); } 42% { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(0,217,255,.82)); } 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 3px rgba(0,217,255,.38)); } }

@media (max-width: 960px) {
  .main-nav { min-height: 66px; }
  .mech-hero { grid-template-columns: 1fr minmax(270px,.8fr); min-height: 590px; padding: 48px 36px; gap: 12px; }
  .hero-title { width: min(100%,620px); font-size: clamp(55px,10vw,90px); }
  .hero-visual { width: min(100%,420px); }
  .hero-readout { font-size: 7px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .main-nav { min-height: 64px; padding: 9px 15px; }
  .mobile-menu { top: 64px; max-height: calc(100svh - 64px); overflow-y: auto; }
  .mech-hero { grid-template-columns: 1fr; min-height: auto; margin-bottom: 48px; padding: 38px 23px 27px; border-radius: 20px; }
  .hero-copy { max-width: 100%; }
  .hero-kicker { margin-bottom: 23px; font-size: 8px; letter-spacing: .16em; }
  .hero-title { width: calc(100% - 14px); padding-bottom: .78em; font-size: clamp(52px,15vw,88px); }
  .hero-wordmark { height: auto !important; }
  .hero-slogan { margin-top: 17px; font-size: 11px; letter-spacing: .18em; }
  .hero-intro { font-size: 14px; }
  .hero-actions { margin-top: 24px; }
  .hero-action { min-height: 44px; padding: 0 13px; font-size: 11px; }
  .hero-footline { margin-top: 30px; font-size: 8px; }
  .hero-visual { width: min(90%,350px); margin-top: -4px; }
  .hero-readout-top { right: -7%; }
  .hero-readout-bottom { left: -7%; }
  .news-section,.automation-tiles-section,.tools-tiles-section,.prompts-section,.article-view-section { padding: 24px 15px 42px; }
  .news-section .section-header { align-items: flex-end; }
  .articles-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,280px),1fr)); gap: 15px; }
  .automation-tiles-grid,.tools-tiles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .automation-tile { min-height: 172px; padding: 16px 13px; }
  .automation-tile-icon { width: 46px; height: 46px; margin-bottom: 15px; }
  .automation-tile-icon svg { width: 25px; height: 25px; }
  .article-paper { padding: 23px 18px; }
  .modal-box,.editor-box,.cookie-modal,.contact-modal { padding: 25px 19px; }
  .footer-owner { align-items: flex-start !important; }
}
@media (max-width: 390px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-action { width: 100%; }
  .hero-readout { display: none; }
  .section-header { align-items: flex-start; }
  .automation-tile-name { font-size: 13px; }
  .automation-tile-desc { font-size: 10px; }
}
@media (hover: none), (pointer: coarse) {
  .hero-visual > svg { animation: none; }
  .field-pulse { animation: none !important; opacity: 0; }
  .article-card::after,.automation-tile::after,.prompt-card::after,.ai-directory-card::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wordmark { animation: none !important; }
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cinematic-reveal { opacity: 1; transform: none; }
  .boot-intro { display: none !important; }
  .hero-field { stroke-dashoffset: 0; opacity: .48; }
  .field-pulse,.wordmark-glyph,.wordmark-reflection { animation: none !important; }
}

/* MechNext neural mesh identity. */
.boot-brand { display:flex; align-items:center; justify-content:center; gap:clamp(10px,2.5vw,26px); width:min(90vw,780px); margin:0 auto; letter-spacing:0; text-indent:0; }
.boot-logo-icon { display:block; width:clamp(100px,20vw,190px); height:auto; flex:0 0 auto; filter:drop-shadow(0 0 20px rgba(0,217,255,.28)); }
.boot-brand-mark { display:block; width:min(60vw,560px); height:auto; flex:0 1 auto; filter:drop-shadow(0 3px 16px rgba(0,217,255,.13)); }
.phase-reveal .boot-logo-icon { animation:boot-mark-reveal .62s .08s cubic-bezier(.2,.78,.22,1) both; }
.phase-reveal .boot-brand-mark { animation:boot-mark-reveal .72s .52s cubic-bezier(.2,.78,.22,1) both; }
@keyframes boot-mark-reveal { from { opacity:0; transform:scale(.94); filter:blur(4px) drop-shadow(0 0 0 rgba(0,217,255,0)); } to { opacity:1; transform:scale(1); filter:blur(0) drop-shadow(0 0 20px rgba(0,217,255,.28)); } }
@keyframes boot-text-reveal { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
.hero-title { width:min(100%,700px); padding:0; }
.hero-readout { z-index:2; }
@media (max-width: 700px) {
  .main-nav .logo-text { font-size:14px; letter-spacing:.1em; }
  .boot-brand { width:min(94vw,620px); gap:12px; }
  .boot-logo-icon { width:clamp(72px,20vw,125px); }
  .boot-brand-mark { width:min(60vw,420px); }
}

/* 3D mascot stage, shared by the opening sequence, hero and menu transitions. */
.boot-brand { gap: clamp(8px,2vw,22px); }
.boot-brand .mascot-stage { position: relative; display: block; width: clamp(92px,17vw,164px); height: clamp(148px,24vw,196px); flex: 0 0 auto; }
.mascot-stage { isolation: isolate; overflow: visible; }
.mascot-canvas { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; outline: 0; }
.mascot-shadow { position: absolute; z-index: 0; left: 18%; right: 18%; bottom: 7%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse,rgba(0,217,255,.3) 0%,rgba(0,217,255,.12) 42%,transparent 75%); filter: blur(9px); transform: scaleX(1.08); transition: transform .35s ease,opacity .35s ease; }
.mascot-stage.is-airborne .mascot-shadow { transform: scaleX(.74); opacity: .66; }
.phase-reveal .boot-brand .mascot-stage { animation: mascot-emerge 1.4s 1s cubic-bezier(.18,.72,.2,1) both; }
@keyframes mascot-emerge { from { opacity: 0; transform: scale(.97); filter: blur(16px) drop-shadow(0 0 0 rgba(0,217,255,0)); } to { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 0 18px rgba(0,217,255,.24)); } }
.hero-visual #mascotStage { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.hero-visual > svg { z-index: 0; }
.hero-visual .mascot-shadow { bottom: 9%; left: 27%; right: 27%; height: 6%; background: radial-gradient(ellipse,rgba(0,0,0,.62) 0%,rgba(0,0,0,.27) 46%,transparent 75%); filter: blur(11px); }
.hero-readout { z-index: 2; }
.mascot-transition-overlay { position: fixed; z-index: 9998; inset: 0; display: grid; place-items: center; overflow: hidden; pointer-events: auto; visibility: hidden; opacity: 0; background: radial-gradient(ellipse at center,rgba(11,34,51,.97),rgba(4,9,16,.98) 68%); transition: opacity .24s ease,visibility .24s ease; }
.mascot-transition-overlay.is-active { visibility: visible; opacity: 1; }
.mascot-transition-ring { position: absolute; width: min(64vmin,500px); aspect-ratio: 1; border: 1px solid rgba(0,217,255,.34); border-radius: 50%; box-shadow: inset 0 0 70px rgba(0,217,255,.08),0 0 60px rgba(0,217,255,.11); animation: mascot-ring-turn 12s linear infinite; }
.mascot-transition-ring::before,.mascot-transition-ring::after { position: absolute; inset: 10%; border: 1px solid rgba(179,71,255,.3); border-radius: 50%; content: ""; }
.mascot-transition-ring::after { inset: 23%; border-style: dashed; border-color: rgba(0,217,255,.3); }
.mascot-transition-overlay #mascotStage { position: relative; z-index: 1; width: min(54vmin,360px); height: min(74vmin,440px); }
.mascot-transition-overlay .mascot-shadow { bottom: 4%; left: 22%; right: 22%; height: 7%; }
.mascot-transition-label { position: absolute; z-index: 2; left: 50%; bottom: max(9vh,40px); transform: translateX(-50%); color: #9bb4c8; font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; text-shadow: 0 0 16px rgba(0,217,255,.45); }
@keyframes mascot-ring-turn { to { transform: rotate(360deg); } }
@media (max-width:700px) {
  .boot-brand { gap: 8px; }
  .boot-brand .mascot-stage { width: clamp(76px,23vw,112px); height: clamp(136px,40vw,174px); }
  .mascot-transition-ring { width: min(78vmin,420px); }
  .mascot-transition-overlay #mascotStage { width: min(72vw,330px); height: min(66vh,430px); }
  .mascot-transition-label { bottom: max(7vh,32px); font-size: 9px; letter-spacing: .16em; }
}
@media (prefers-reduced-motion:reduce) {
  .mascot-transition-ring { animation:none; }
  .mascot-transition-overlay { transition:none; }
}
