:root {
  --ink: #17212b;
  --muted: #5f6f7a;
  --paper: #f7faf8;
  --surface: #ffffff;
  --line: #dbe7df;
  --green: #1f8a5b;
  --green-dark: #12623f;
  --teal: #0f7f8a;
  --yellow: #f6c84c;
  --coral: #e76f51;
  --blue: #3d79d8;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

main {
  display: flex;
  flex-direction: column;
}

#about-company {
  order: 10;
}

#current-service {
  order: 20;
}

.hero {
  order: 22;
}

.stats-strip {
  order: 30;
}

#lab {
  order: 40;
}

#appointments {
  order: 50;
}

#executive-ai-assistant-desk {
  order: 25;
}

.extra-page {
  order: 80;
}

#research {
  order: 90;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-left: 0;
  filter: drop-shadow(0 8px 14px rgba(31, 111, 235, 0.22));
}

.underline-mark {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 128px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(38px, 7vw, 90px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(31, 138, 91, 0.1), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #edf7f2 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
}

.intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.7;
}

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

.hero-contact-card {
  position: absolute;
  top: clamp(24px, 5vw, 58px);
  right: clamp(18px, 5vw, 72px);
  z-index: 3;
  display: grid;
  gap: 7px;
  min-width: min(320px, calc(100vw - 36px));
  padding: 16px 18px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 36, 31, 0.9), rgba(13, 79, 75, 0.84));
  border: 1px solid rgba(144, 238, 203, 0.45);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-contact-card span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-contact-card a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.hero-contact-card a:hover {
  color: #c7f7e2;
}

.company-section .hero-contact-card {
  position: absolute;
  top: clamp(48px, 6vw, 82px);
  right: clamp(24px, 5vw, 80px);
  width: min(430px, 30vw);
  min-width: 300px;
  margin: 0;
  z-index: 4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: #ffffff;
  border-color: var(--line);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-side-stack {
  display: grid;
  gap: 18px;
  align-self: center;
}

.hero:not(.service-view) .hero-side-stack {
  display: none;
}

.hero:not(.service-view) {
  grid-template-columns: minmax(0, 1fr);
}

.hero.service-view {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: calc(100vh - 74px);
  padding-top: 42px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(246, 200, 76, 0.32), transparent 24%),
    radial-gradient(circle at 90% 16%, rgba(61, 121, 216, 0.3), transparent 28%),
    linear-gradient(135deg, #05201c 0%, #0f3b34 44%, #eefaf5 44%, #ffffff 100%);
}

.hero.service-view::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid rgba(31, 138, 91, 0.24);
  border-radius: 8px;
  pointer-events: none;
}

.hero.service-view::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: conic-gradient(from 90deg, rgba(31, 138, 91, 0.3), rgba(61, 121, 216, 0.28), rgba(246, 200, 76, 0.26), rgba(31, 138, 91, 0.3));
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.8;
}

.hero.service-view .hero-copy {
  display: none;
}

.hero.service-view .hero-side-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  justify-self: center;
}

.hero.service-view .services-card {
  margin-top: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 250, 240, 0.98));
  border: 2px solid rgba(31, 138, 91, 0.3);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.hero.service-view .energy-board {
  min-height: 420px;
  border: 3px solid rgba(246, 200, 76, 0.72);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.24);
}

.services-card {
  display: grid;
  gap: 14px;
  margin-top: clamp(18px, 4vw, 52px);
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.services-page {
  display: grid;
  min-height: calc(100vh - 74px);
  place-items: center;
  padding-inline: clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 18%, rgba(31, 138, 91, 0.25), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(61, 121, 216, 0.25), transparent 28%),
    linear-gradient(135deg, #05201c 0%, #0f3b34 36%, #eefaf5 36%, #ffffff 100%);
}

.services-page .services-card {
  width: min(100%, 1180px);
  margin-top: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 2px solid rgba(31, 138, 91, 0.3);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.services-card:target {
  outline: 4px solid rgba(31, 138, 91, 0.18);
  box-shadow: 0 22px 55px rgba(23, 33, 43, 0.16);
}

.services-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5.2vw, 4.9rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.services-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.55;
}

.services-card li::marker {
  color: var(--green);
}

.services-card .button {
  justify-self: start;
}

.service-accordion {
  display: grid;
  gap: 10px;
}

.service-accordion details {
  overflow: hidden;
  border: 1px solid rgba(31, 138, 91, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.06);
}

.service-accordion summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 13px 42px 13px 15px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 15px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  background: var(--green);
  border-radius: 999px;
  transform: translateY(-50%);
}

.service-accordion details[open] summary {
  color: #087f8c;
  border-bottom: 1px solid rgba(31, 138, 91, 0.14);
}

.service-accordion details[open] summary::after {
  content: "-";
}

.service-accordion ul {
  gap: 7px;
  padding: 12px 18px 14px 34px;
  font-size: 0.94rem;
}

.energy-board {
  position: relative;
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 16%, rgba(246, 200, 76, 0.32), transparent 18%),
    linear-gradient(180deg, #bfe8f0 0 42%, #83caa0 42% 70%, #4f9b72 70% 100%);
  box-shadow: var(--shadow);
}

.charge-orb {
  position: absolute;
  top: 50px;
  right: 70px;
  width: 86px;
  height: 86px;
  border: 10px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: conic-gradient(var(--yellow) 0 72%, rgba(255, 255, 255, 0.35) 72% 100%);
  box-shadow: 0 0 70px rgba(31, 138, 91, 0.55);
}

.battery-bank {
  position: absolute;
  left: 54px;
  bottom: 124px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.battery-bank span {
  position: relative;
  display: block;
  width: 58px;
  height: 178px;
  border: 5px solid #f4fbf8;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fff9 0 24%, var(--green) 24% 100%);
  box-shadow: 0 16px 26px rgba(23, 33, 43, 0.18);
}

.battery-bank span::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 16px;
  width: 20px;
  height: 12px;
  border-radius: 5px 5px 0 0;
  background: #f4fbf8;
}

.battery-bank span:nth-child(2) {
  height: 224px;
  background: linear-gradient(180deg, #f8fff9 0 12%, var(--yellow) 12% 100%);
}

.battery-bank span:nth-child(3) {
  height: 142px;
  background: linear-gradient(180deg, #f8fff9 0 38%, var(--teal) 38% 100%);
}

.storage-row {
  position: absolute;
  right: 42px;
  bottom: 112px;
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 8px;
  transform: skewX(-10deg);
}

.storage-row span {
  aspect-ratio: 1.4;
  position: relative;
  background: linear-gradient(180deg, #f8fff9 0 18%, #1f8a5b 18% 100%);
  border: 3px solid #d8f2ff;
}

.storage-row span::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -10px;
  width: 8px;
  height: 18px;
  background: #d8f2ff;
  border-radius: 0 4px 4px 0;
}

.city {
  position: absolute;
  right: 28px;
  bottom: 188px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.city span {
  display: block;
  width: 38px;
  background: #29445a;
  border-top: 8px solid #f2f7fa;
}

.city span:nth-child(1) { height: 80px; }
.city span:nth-child(2) { height: 116px; }
.city span:nth-child(3) { height: 94px; }
.city span:nth-child(4) { height: 132px; }

.power-line {
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: 86px;
  height: 12px;
  background: #273a34;
  box-shadow: 0 20px 0 rgba(39, 58, 52, 0.28);
}

.stats-strip,
.section {
  padding-inline: clamp(18px, 5vw, 72px);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats-strip article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 28px;
  background: #ffffff;
}

.stats-strip strong {
  color: var(--green);
  font-size: 2.2rem;
}

.stats-strip span,
.module-card p,
.app-subdivision p,
.mini-app-card p,
.software-card p,
.software-card li,
.app-folder-card span,
.folder-card p,
.download-panel p,
.company-live p,
.company-notes p,
.appointment-panel p,
.research-list p,
.research-card p,
.doc-page p,
.action-list p,
footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-card,
.mini-app-card,
.software-card,
.app-folder-card,
.folder-card,
.download-panel,
.company-live,
.appointment-panel,
.research-controls,
.research-card,
.doc-index,
.doc-page,
.quiz-card,
.score-panel,
.action-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.module-card {
  min-height: 280px;
  padding: 24px;
}

.icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #ecf7f1;
}

.storage-icon::before,
.grid-icon::before,
.home-icon::before,
.battery-icon::before {
  content: "";
  position: absolute;
  inset: 12px;
}

.storage-icon::before {
  border: 4px solid var(--green);
  border-radius: 5px;
  background: linear-gradient(90deg, var(--yellow) 0 68%, transparent 68%);
  box-shadow: 24px 8px 0 -7px var(--green);
}

.grid-icon::before {
  border: 4px solid var(--teal);
  background: linear-gradient(90deg, transparent 43%, var(--teal) 43% 57%, transparent 57%),
    linear-gradient(0deg, transparent 43%, var(--teal) 43% 57%, transparent 57%);
}

.home-icon::before {
  background: var(--green);
  clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
}

.battery-icon::before {
  border: 4px solid var(--blue);
  border-radius: 4px;
  box-shadow: 25px 8px 0 -7px var(--blue);
}

.apps-section {
  background: #ffffff;
}

.app-folder-block + .app-folder-block {
  margin-top: 42px;
}

.app-folder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.app-folder-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.app-folder-card h3 {
  margin: 0 0 8px;
  font-size: 1.34rem;
}

.app-folder-card .eyebrow {
  margin-bottom: 6px;
}

.app-folder-card:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.app-subdivision {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px;
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-subdivision h3,
.mini-app-card h4 {
  margin: 0;
}

.app-subdivision p {
  max-width: 520px;
  margin: 0;
}

.new-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.mini-app-card {
  min-height: 190px;
  padding: 20px;
}

.mini-app-card span {
  color: var(--coral);
  font-weight: 800;
}

.mini-app-card h4 {
  margin-top: 12px;
  font-size: 1.05rem;
}

.mini-app-card p {
  margin-bottom: 0;
}

.mini-app-card .button,
.software-card .button {
  margin-top: 18px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.software-card {
  min-height: 330px;
  padding: 24px;
}

.software-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--green-dark);
  background: #e6f6ee;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.software-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.downloads-section {
  background: #eef7f9;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.folder-grid {
  display: grid;
  gap: 16px;
}

.folder-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.folder-card h3 {
  margin-top: 0;
}

.folder-card .button {
  margin-top: 8px;
}

.folder-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 44px;
  margin-top: 4px;
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: inset 0 -12px 0 rgba(23, 33, 43, 0.08);
}

.folder-icon::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 28px;
  height: 14px;
  border-radius: 8px 8px 0 0;
  background: var(--yellow);
}

.download-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.subscribe-form,
.folder-form {
  display: grid;
  gap: 12px;
}

.subscribe-form h3,
.folder-form h3 {
  margin: 0;
}

.subscribe-form label,
.folder-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.subscribe-form input,
.folder-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.download-panel p {
  margin: 0;
  font-size: 0.92rem;
}

.company-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(12, 30, 34, 0.84), rgba(5, 8, 7, 0.94)),
    #050807;
  isolation: isolate;
  transition: background 900ms ease;
}

.company-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 12% 24%, rgba(246, 200, 76, 0.16), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(15, 127, 138, 0.2), transparent 28%);
  background-size: 76px 76px, 76px 76px, 100% 100%, 100% 100%;
  animation: labBackgroundShift 18s ease-in-out infinite alternate;
}

.company-section::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 92px);
  top: clamp(34px, 8vw, 90px);
  z-index: -1;
  width: min(520px, 72vw);
  height: min(360px, 48vw);
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(255, 255, 255, 0.65) 9% 10%, transparent 10% 100%),
    linear-gradient(0deg, transparent 0 19%, rgba(255, 255, 255, 0.55) 19% 20%, transparent 20% 100%),
    linear-gradient(135deg, transparent 0 40%, rgba(246, 200, 76, 0.68) 40% 42%, transparent 42% 100%),
    radial-gradient(circle at 20% 62%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 62%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 40% 62%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 60% 62%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(15, 127, 138, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  transform: skewX(-6deg);
  transition: opacity 900ms ease, transform 900ms ease, filter 900ms ease;
}

.company-section[data-lab-scene="1"]::after {
  opacity: 0.26;
  transform: translateX(-24px) skewX(5deg);
  filter: hue-rotate(18deg);
}

.company-section[data-lab-scene="2"]::after {
  opacity: 0.2;
  transform: translateY(20px) scale(0.96);
  filter: hue-rotate(48deg);
}

.company-section[data-lab-scene="3"]::after {
  opacity: 0.28;
  transform: translate(-12px, 10px) skewX(-10deg);
  filter: hue-rotate(-22deg);
}

@keyframes labBackgroundShift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 76px 42px, -38px 76px, 10% 0, 90% 20%;
  }
}

.company-section .eyebrow {
  color: var(--yellow);
}

.company-section h2,
.company-section .section-heading p:not(.eyebrow) {
  color: #ffffff;
}

.company-section .section-heading {
  position: relative;
  z-index: 1;
}

.company-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.company-title img {
  width: clamp(54px, 6vw, 76px);
  height: clamp(54px, 6vw, 76px);
  object-fit: contain;
  animation: logo-live-pulse 4.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes logo-live-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(31, 111, 235, 0));
    transform: rotate(0deg) scale(1);
  }

  35% {
    filter: drop-shadow(0 0 12px rgba(31, 111, 235, 0.55));
    transform: rotate(5deg) scale(1.06);
  }

  70% {
    filter: drop-shadow(0 0 8px rgba(31, 138, 91, 0.5));
    transform: rotate(-4deg) scale(1.02);
  }
}

.company-section .section-heading p:not(.eyebrow) {
  max-width: 850px;
  margin: 14px 0 0;
  color: #dbe7df;
  font-size: 1rem;
  line-height: 1.65;
}

.brand-pronunciation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 980px;
  margin-top: 14px;
  color: #ffffff;
}

.brand-pronunciation strong,
.brand-pronunciation span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(199, 247, 226, 0.24);
  border-radius: 8px;
}

.brand-pronunciation strong {
  color: var(--yellow);
  letter-spacing: 0.1em;
}

.brand-pronunciation span:last-child {
  color: #d7f8e8;
}

.company-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
}

.company-live {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 210px;
  padding: 26px;
  background: rgba(16, 23, 22, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.company-live > span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.company-live p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.45;
}

.autonomous-lab-display {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(110px, 1fr) 100px;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  margin: 8px 0 4px;
  padding: 16px;
  color: #0d3b2b;
  background:
    linear-gradient(135deg, rgba(211, 255, 231, 0.94), rgba(149, 235, 190, 0.88)),
    #bff6d4;
  border: 1px solid rgba(190, 255, 219, 0.95);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52), 0 16px 34px rgba(9, 31, 23, 0.25);
  overflow: hidden;
}

.autonomous-lab-display::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 59, 43, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(13, 59, 43, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  animation: labPanelShift 10s linear infinite;
}

.autonomous-lab-display strong {
  position: relative;
  z-index: 1;
  align-self: end;
  grid-column: 1 / -1;
  color: #0d3b2b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.lab-arm,
.lab-screen,
.sample-plate {
  position: relative;
  z-index: 1;
}

.lab-arm {
  width: 78px;
  height: 78px;
  border-left: 12px solid #1f8a5b;
  border-bottom: 12px solid #1f8a5b;
  border-radius: 8px 0 0 8px;
  transform-origin: 16px 66px;
  animation: labArmMove 4.8s ease-in-out infinite;
}

.lab-arm::before,
.lab-arm::after {
  content: "";
  position: absolute;
  background: #0f7f8a;
  border-radius: 8px;
}

.lab-arm::before {
  left: 18px;
  top: 2px;
  width: 56px;
  height: 12px;
}

.lab-arm::after {
  right: -12px;
  top: -7px;
  width: 18px;
  height: 26px;
  background: var(--yellow);
}

.lab-screen {
  display: grid;
  gap: 8px;
  padding: 13px;
  min-height: 74px;
  background: rgba(13, 59, 43, 0.92);
  border-radius: 8px;
}

.lab-screen.autonomous-lab-video {
  min-height: 104px;
  padding: 0;
  overflow: hidden;
  background: #0d3b2b;
  border: 2px solid #2cff1f;
}

.lab-screen.autonomous-lab-video img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
  object-position: center;
  opacity: 0.98;
}

.lab-screen span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #95ebbe;
  animation: dataLinePulse 3.8s ease-in-out infinite;
}

.lab-screen span:nth-child(2) {
  width: 72%;
  background: #f6c84c;
  animation-delay: 0.5s;
}

.lab-screen span:nth-child(3) {
  width: 48%;
  animation-delay: 1s;
}

.sample-plate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 8px;
}

.sample-plate span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1f8a5b;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.42);
  animation: samplePulse 4s ease-in-out infinite;
}

.sample-plate span:nth-child(3n) {
  background: #0f7f8a;
  animation-delay: 0.4s;
}

.sample-plate span:nth-child(4n) {
  background: #f6c84c;
  animation-delay: 0.8s;
}

@keyframes labPanelShift {
  to {
    background-position: 28px 28px, -28px 28px;
  }
}

@keyframes labArmMove {
  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(7deg) translateX(5px);
  }
}

@keyframes dataLinePulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.72);
    transform-origin: left;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes samplePulse {
  0%,
  100% {
    transform: scale(0.92);
  }

  50% {
    transform: scale(1.06);
  }
}

.company-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.company-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.company-notes {
  display: grid;
  gap: 14px;
}

.company-notes article {
  padding: 20px;
  background: rgba(16, 23, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.company-notes strong {
  color: var(--yellow);
}

.company-notes p {
  color: #dbe7df;
  margin-bottom: 0;
}

.research-section {
  background: #ffffff;
}

.research-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.research-controls {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.research-controls h3,
.institution-links h3 {
  margin: 0;
}

.topic-button {
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.topic-button.active,
.topic-button:hover {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.research-results,
.research-list {
  display: grid;
  gap: 16px;
}

.research-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.research-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.research-status span {
  color: var(--muted);
  font-weight: 800;
}

.research-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.research-card h3 {
  margin: 0;
}

.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.research-meta span {
  padding: 6px 9px;
  color: var(--green-dark);
  background: #e6f6ee;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
}

.research-card a,
.institution-links a {
  color: var(--green-dark);
  font-weight: 800;
}

.institution-links {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.appointment-section {
  background: #ffffff;
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hidden-field {
  display: none;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.appointment-form textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.appointment-wide,
.appointment-form .button,
#appointmentStatus {
  grid-column: 1 / -1;
}

#appointmentStatus {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.appointment-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.appointment-panel h3 {
  margin: 0;
}

.appointment-dashboard {
  width: 100%;
}

.time-window {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #f4faf7;
  border-radius: 8px;
}

.time-window span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.appointment-list {
  display: grid;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.appointment-request {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f4faf7;
  border-radius: 8px;
}

.appointment-request strong {
  color: var(--green-dark);
}

.customer-finance-section {
  background: #ffffff;
}

.finance-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.finance-request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.finance-request-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.finance-request-form input,
.finance-request-form select,
.finance-request-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.finance-request-form textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.finance-wide,
.finance-request-form .button {
  grid-column: 1 / -1;
}

.finance-request-note {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
}

.finance-request-note h3,
.finance-request-note p {
  margin: 0;
}

.finance-request-note p {
  color: #dbe7df;
  line-height: 1.65;
}

.docs-section {
  background: #f3f7fb;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.doc-index {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.doc-index a {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 800;
}

.doc-index a:hover {
  color: var(--green-dark);
  background: #e6f6ee;
}

.doc-pages {
  display: grid;
  gap: 14px;
}

.doc-page {
  padding: 24px;
}

.doc-page h3 {
  margin-top: 0;
}

.lab-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(246, 200, 76, 0.3), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(61, 121, 216, 0.28), transparent 26%),
    linear-gradient(135deg, #08241f 0%, #0f3f35 34%, #e8f6ef 34%, #ffffff 100%);
  color: var(--ink);
}

.lab-section .section-heading {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 138, 91, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.12);
}

.lab-live-status {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.lab-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(230, 250, 241, 0.72));
  border: 2px solid rgba(31, 138, 91, 0.2);
  border-radius: 8px;
  box-shadow: 0 26px 72px rgba(23, 33, 43, 0.18);
}

.lab-controls {
  display: grid;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(135deg, #12212a, #0d3b2b);
  border: 1px solid rgba(246, 200, 76, 0.28);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.lab-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
}

.lab-controls input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--yellow);
}

.lab-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
}

.lab-results canvas,
.score-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 250, 246, 0.98));
  border: 1px solid rgba(31, 138, 91, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 33, 43, 0.12);
}

canvas {
  width: 100%;
  height: auto;
  min-height: 320px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-panel {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.score-panel p,
.score-panel span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.score-panel strong {
  color: var(--green);
  font-size: 3.6rem;
  line-height: 1;
}

.quiz-card {
  max-width: 820px;
  padding: 26px;
}

#questionText {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.answers {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.answer-button {
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.answer-button.correct {
  border-color: var(--green);
  background: #e6f6ee;
}

.answer-button.wrong {
  border-color: var(--coral);
  background: #fff0eb;
}

.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#quizResult {
  color: var(--muted);
  font-weight: 700;
}

.action-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.action-list article {
  padding: 22px;
}

.action-list span {
  color: var(--coral);
  font-weight: 800;
}

.executive-desk-section {
  background: #ffffff;
  color: var(--ink);
  padding-top: 36px;
  padding-bottom: 36px;
}

.executive-desk-section .eyebrow {
  color: var(--teal);
}

.executive-desk-section h2,
.executive-desk-section .section-heading p {
  color: var(--ink);
}

.executive-desk-frame-wrap {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.executive-desk-frame {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
}

.extra-page:not(:target) {
  display: none;
}

.extra-page:target {
  display: block;
}

footer {
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
}

footer p {
  margin: 0;
  color: #dbe7df;
}

/* Visual polish layer */
body {
  background:
    linear-gradient(180deg, #f4faf7 0%, #eef7f8 38%, #f8fbf8 100%);
}

.topbar {
  box-shadow: 0 12px 32px rgba(23, 33, 43, 0.08);
}

.topbar {
  background:
    linear-gradient(90deg, rgba(31, 138, 91, 0.18), rgba(15, 127, 138, 0.2), rgba(61, 121, 216, 0.16)),
    rgba(255, 255, 255, 0.96);
  border-bottom: 4px solid rgba(31, 138, 91, 0.45);
}

.topbar::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: -4px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue), var(--yellow));
  border-radius: 999px;
}

.brand {
  font-size: 1.05rem;
}

.brand-mark {
  box-shadow: 0 10px 22px rgba(31, 138, 91, 0.25);
}

nav a {
  position: relative;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(31, 138, 91, 0.16);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--teal));
  transform: translateY(-1px);
}

.button {
  box-shadow: 0 12px 26px rgba(23, 33, 43, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  box-shadow: 0 16px 34px rgba(23, 33, 43, 0.16);
}

.company-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(31, 138, 91, 0.36), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(61, 121, 216, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(6, 20, 22, 0.92), rgba(8, 36, 31, 0.9) 48%, rgba(3, 11, 12, 0.96)),
    #061415;
}

.company-title {
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.company-live,
.company-notes article {
  border-color: rgba(77, 255, 187, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(77, 255, 187, 0.08);
}

.autonomous-lab-display {
  transform: translateZ(0);
}

.hero {
  background:
    linear-gradient(120deg, rgba(31, 138, 91, 0.13), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #edf8f4 100%);
}

.services-card,
.appointment-panel,
.research-card,
.doc-page,
.quiz-card,
.module-card,
.folder-card,
.app-folder-card {
  border-color: rgba(31, 138, 91, 0.18);
  box-shadow: 0 18px 48px rgba(23, 33, 43, 0.1);
}

.services-card {
  position: relative;
  overflow: hidden;
}

.services-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--yellow));
}

.services-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 252, 244, 0.98));
}

.energy-board,
.autonomous-lab-display {
  border: 2px solid rgba(31, 138, 91, 0.32);
}

.company-pills span {
  background: linear-gradient(135deg, rgba(31, 138, 91, 0.38), rgba(61, 121, 216, 0.24));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.stats-strip {
  border-block: 1px solid var(--line);
}

.stats-strip article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 245, 0.96));
}

.lab-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(246, 200, 76, 0.2), transparent 24%),
    linear-gradient(180deg, #eaf4ef 0%, #f8fbf9 100%);
}

.appointment-section,
.research-section,
.executive-desk-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 242, 0.94));
}

.executive-desk-frame-wrap {
  box-shadow: 0 22px 56px rgba(23, 33, 43, 0.12);
}

.research-controls,
.appointment-form,
.finance-request-form {
  box-shadow: 0 18px 46px rgba(23, 33, 43, 0.09);
}

footer {
  background:
    linear-gradient(135deg, #101820, #0b2b25);
}

.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31, 138, 91, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(61, 121, 216, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.8;
}

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

#learn {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 248, 239, 0.96) 48%, rgba(229, 244, 255, 0.94));
}

.module-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 250, 246, 0.96));
}

.module-card::before,
.app-folder-card::before,
.folder-card::before,
.doc-page::before,
.action-list article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
}

.apps-section {
  background:
    linear-gradient(135deg, rgba(238, 249, 244, 0.98), rgba(255, 255, 255, 0.98) 44%, rgba(234, 243, 255, 0.96));
}

.app-folder-card,
.folder-card,
.doc-page,
.action-list article {
  position: relative;
  overflow: hidden;
}

.app-folder-card {
  background:
    linear-gradient(135deg, #ffffff, #effaf5);
}

.mini-app-card,
.software-card {
  background:
    linear-gradient(180deg, #ffffff, #f1faf6);
  border-color: rgba(31, 138, 91, 0.18);
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.08);
}

.downloads-section {
  background:
    linear-gradient(135deg, rgba(232, 247, 249, 0.98), rgba(245, 252, 249, 0.98));
}

.folder-card {
  background:
    linear-gradient(135deg, #ffffff, #eef9fb);
}

.download-panel {
  background:
    linear-gradient(180deg, #ffffff, #f2fbf8);
  box-shadow: 0 18px 46px rgba(23, 33, 43, 0.1);
}

.docs-section {
  background:
    linear-gradient(135deg, rgba(243, 247, 251, 0.98), rgba(235, 249, 242, 0.98));
}

.doc-index {
  background:
    linear-gradient(180deg, #ffffff, #edf8f4);
  box-shadow: 0 18px 42px rgba(23, 33, 43, 0.09);
}

.doc-page {
  background:
    linear-gradient(135deg, #ffffff, #f5fbff);
}

.research-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 250, 244, 0.98));
}

.research-controls {
  background:
    linear-gradient(180deg, #ffffff, #eefaf5);
}

.research-card {
  background:
    linear-gradient(135deg, #ffffff, #f6fbff);
  border-left: 5px solid rgba(31, 138, 91, 0.48);
}

.lab-section {
  background:
    linear-gradient(135deg, #e8f6ef, #ffffff 55%, #edf6ff);
}

.lab-card,
.lab-results article,
.mix-chart-wrap {
  background:
    linear-gradient(180deg, #ffffff, #f2fbf8);
  box-shadow: 0 18px 46px rgba(23, 33, 43, 0.1);
}

.quiz-section {
  background:
    linear-gradient(135deg, #fffaf0, #f4fbf7 52%, #edf6ff);
}

.quiz-card,
.score-panel {
  background:
    linear-gradient(180deg, #ffffff, #f8fcf9);
  box-shadow: 0 18px 46px rgba(23, 33, 43, 0.1);
}

.appointment-section {
  background:
    linear-gradient(135deg, #ffffff, #eef9f5 48%, #f5f9ff);
}

.appointment-form,
.appointment-panel {
  background:
    linear-gradient(180deg, #ffffff, #f4fbf8);
  border-color: rgba(31, 138, 91, 0.18);
}

.executive-desk-section {
  background:
    linear-gradient(135deg, #f8fbff, #ffffff 46%, #edf8f3);
}

.executive-desk-frame-wrap {
  border: 1px solid rgba(31, 138, 91, 0.22);
  background:
    linear-gradient(135deg, rgba(31, 138, 91, 0.12), rgba(61, 121, 216, 0.1)),
    #ffffff;
}

.customer-finance-section {
  background:
    linear-gradient(135deg, #ffffff, #f3faf6 50%, #fff8ed);
}

.finance-request-form,
.finance-request-panel {
  background:
    linear-gradient(180deg, #ffffff, #f7fcf9);
  border-color: rgba(31, 138, 91, 0.18);
}

.action-section {
  background:
    linear-gradient(135deg, #f8fbf9, #fff9f1 45%, #edf6ff);
}

.action-list article {
  background:
    linear-gradient(180deg, #ffffff, #f9fbf5);
  box-shadow: 0 18px 44px rgba(23, 33, 43, 0.1);
}

.section-heading .eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  background: rgba(31, 138, 91, 0.1);
  border: 1px solid rgba(31, 138, 91, 0.16);
  border-radius: 8px;
}

.company-section .section-heading .eyebrow {
  background: rgba(246, 200, 76, 0.12);
  border-color: rgba(246, 200, 76, 0.28);
}

@media (max-width: 980px) {
  .hero,
  .download-layout,
  .company-layout,
  .appointment-layout,
  .finance-request-layout,
  .research-layout,
  .lab-layout,
  .lab-results {
    grid-template-columns: 1fr;
  }

  .energy-board {
    min-height: 420px;
  }

  .module-grid,
  .app-folder-grid,
  .new-app-grid,
  .software-grid,
  .action-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-index {
    position: static;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 16px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .energy-board {
    min-height: 340px;
  }

  .battery-bank {
    left: 24px;
    bottom: 108px;
    scale: 0.72;
    transform-origin: bottom left;
  }

  .storage-row {
    right: 20px;
    bottom: 92px;
    grid-template-columns: repeat(2, 52px);
  }

  .city {
    right: 18px;
    bottom: 156px;
    scale: 0.78;
    transform-origin: bottom right;
  }

  .stats-strip,
  .module-grid,
  .app-folder-grid,
  .new-app-grid,
  .software-grid,
  .action-list {
    grid-template-columns: 1fr;
  }

  .app-subdivision {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-folder-card,
  .folder-card {
    grid-template-columns: 1fr;
  }

  .appointment-form {
    grid-template-columns: 1fr;
  }

  .finance-request-form {
    grid-template-columns: 1fr;
  }

  .autonomous-lab-display {
    grid-template-columns: 1fr;
  }

  .lab-arm {
    justify-self: center;
  }

  .quiz-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .quiz-footer .button {
    width: 100%;
  }
}

/* Final visible decoration for page 2 and page 4 */
.hero.service-view {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(246, 200, 76, 0.34), transparent 24%),
    radial-gradient(circle at 90% 16%, rgba(61, 121, 216, 0.32), transparent 28%),
    linear-gradient(135deg, #05201c 0%, #0f3b34 44%, #eefaf5 44%, #ffffff 100%) !important;
}

.hero.service-view .services-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 250, 240, 0.98)) !important;
  border: 2px solid rgba(31, 138, 91, 0.3);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.hero.service-view .energy-board {
  border: 3px solid rgba(246, 200, 76, 0.72);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.24);
}

.lab-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(246, 200, 76, 0.3), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(61, 121, 216, 0.28), transparent 26%),
    linear-gradient(135deg, #08241f 0%, #0f3f35 34%, #e8f6ef 34%, #ffffff 100%) !important;
}

.lab-section .section-heading {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 138, 91, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.12);
}

.lab-layout {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(230, 250, 241, 0.74));
  border: 2px solid rgba(31, 138, 91, 0.2);
  border-radius: 8px;
  box-shadow: 0 26px 72px rgba(23, 33, 43, 0.18);
}

/* Compact spacing cleanup */
.section {
  padding-top: clamp(38px, 5vw, 68px) !important;
  padding-bottom: clamp(38px, 5vw, 68px) !important;
}

#about-company {
  padding-top: clamp(26px, 3vw, 44px) !important;
}

.section-heading {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.company-layout,
.lab-layout,
.appointment-layout,
.download-layout,
.research-layout,
.doc-layout,
.finance-request-layout {
  gap: clamp(14px, 2vw, 22px);
}

.company-live,
.company-notes article,
.services-card,
.appointment-panel,
.research-controls,
.download-panel,
.doc-index,
.doc-page,
.quiz-card,
.score-panel,
.action-list article {
  padding: clamp(18px, 2vw, 24px);
}

.hero {
  min-height: auto;
  padding-top: clamp(34px, 5vw, 66px);
  padding-bottom: clamp(34px, 5vw, 66px);
}

.hero.service-view {
  min-height: auto;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.stats-strip article {
  min-height: 118px;
  padding: clamp(20px, 3vw, 26px);
}

/* Final top-gap cleanup across pages */
.section {
  padding-top: clamp(20px, 3vw, 42px) !important;
  padding-bottom: clamp(30px, 4vw, 58px) !important;
}

.hero {
  align-items: start;
  min-height: auto !important;
  padding-top: clamp(18px, 3vw, 36px) !important;
  padding-bottom: clamp(24px, 4vw, 52px) !important;
}

.hero-copy,
.hero-side-stack {
  align-self: start;
}

.executive-desk-section {
  padding-top: clamp(16px, 2vw, 28px) !important;
}

.executive-desk-section .section-heading {
  margin-bottom: clamp(12px, 2vw, 20px);
}

.company-section {
  padding-top: clamp(18px, 2.4vw, 34px) !important;
}

.section-heading {
  margin-bottom: clamp(12px, 2vw, 22px) !important;
}

/* Keep later pages out of the main home flow; top navigation opens them when selected. */
.nav-only-page {
  display: none;
}

.nav-only-page:target {
  display: block;
}

@media (max-width: 760px) {
  .hero-contact-card {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 18px;
  }

  .company-section .hero-contact-card {
    width: auto;
  }
}
