:root {
  --bg: #020b16;
  --bg-2: #06182b;
  --panel: rgba(7, 25, 45, 0.72);
  --panel-strong: rgba(8, 31, 56, 0.9);
  --line: rgba(117, 193, 255, 0.28);
  --line-bright: rgba(48, 169, 255, 0.62);
  --text: #f4f8ff;
  --muted: #b7c7d9;
  --soft: #7f9ab5;
  --cyan: #35b7ff;
  --blue: #087df2;
  --blue-2: #0754b8;
  --white: #ffffff;
  --danger: #ff7b7b;
  --shadow: 0 22px 70px rgba(0, 119, 255, 0.18);
  --radius: 8px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 5%, rgba(38, 154, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 5% 22%, rgba(23, 114, 220, 0.16), transparent 26rem),
    linear-gradient(180deg, #020713 0%, #031020 48%, #020813 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(78, 171, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 171, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img, video, iframe { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 16px clamp(22px, 4vw, 54px);
  color: var(--text);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.site-header.inner,
.site-header.scrolled,
.site-header.nav-open {
  background: rgba(2, 11, 22, 0.82);
  border-bottom: 1px solid rgba(117, 193, 255, 0.14);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}
.brand { text-decoration: none; }
.logo-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(190px, 21vw, 310px);
  min-width: 190px;
}
.logo-brand img {
  width: 100%;
  height: auto;
  display: block;
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); font-weight: 700; }
.site-nav a { color: rgba(244, 248, 255, 0.92); text-decoration: none; }
.site-nav a:not(.button) { position: relative; padding: 8px 0; }
.site-nav a.active::after,
.site-nav a:not(.button):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(53, 183, 255, 0.8);
}

.button, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}
.button {
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(80, 189, 255, 0.58);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #0b92ff, #0752b5);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 40px rgba(0, 124, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.button:hover { filter: brightness(1.12); }
.button-small { min-height: 42px; padding: 0 17px; font-size: 0.9rem; text-transform: uppercase; }
.button-outline {
  color: var(--text);
  background: rgba(3, 16, 32, 0.36);
  border: 1px solid rgba(209, 232, 255, 0.54);
  box-shadow: none;
}
.button-outline.light { background: rgba(255, 255, 255, 0.03); }
.button-light { margin-top: 24px; width: fit-content; }
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}
.icon-button.danger { color: var(--danger); border-color: rgba(255, 123, 123, 0.45); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  background:
    radial-gradient(circle at 68% 42%, rgba(44, 158, 255, 0.08), transparent 22rem),
    linear-gradient(90deg, rgba(2, 8, 17, 0.96) 0%, rgba(2, 8, 17, 0.78) 32%, rgba(2, 8, 17, 0.22) 72%, rgba(2, 8, 17, 0.64) 100%),
    linear-gradient(180deg, rgba(2, 8, 17, 0.1), var(--bg) 100%);
}
.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 112px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: end;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow span, .section-heading.center .eyebrow span { color: var(--cyan); }
.blue-word {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(53, 183, 255, 0.38);
}
.accent-text {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: #f8fbff;
  background: linear-gradient(90deg, #ffffff 0%, #b9eaff 46%, #35b7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.03em;
  height: 0.16em;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(53, 183, 255, 0.08), rgba(53, 183, 255, 0.38));
}
.impact-phrase {
  position: relative;
  display: inline-block;
  color: #f4f8ff;
  font-weight: 900;
  text-shadow: none;
}
.impact-phrase::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.13em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(53, 183, 255, 0.12), rgba(53, 183, 255, 0.7));
}
.warm-word {
  color: #f0cf9f;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 0 20px rgba(240, 207, 159, .12);
}
.eyebrow.center {
  text-align: center;
}
strong {
  color: #d9f3ff;
  font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6.2vw, 5.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.06; }
h3 { margin-bottom: 10px; font-size: 1.08rem; }
.hero-copy {
  max-width: 520px;
  color: rgba(244, 248, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.75;
}
.home-hero .hero-copy-block {
  max-width: 650px;
  margin: 0;
  padding: 18px 0 14px;
  text-align: left;
}

.home-hero .hero-copy {
  margin-left: 0;
  margin-right: 0;
}

.home-hero .hero-actions {
  justify-content: center;
  width: min(620px, 100%);
  transform: translateX(-30px);
}
.home-hero h1 .blue-word { color: var(--cyan); }
.hero-actions, .contact-actions, .section-actions, .library-actions, .form-row.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.intro-section, .services-section, .process-section, .lab-section, .page-main, .topic-grid, .metrics-panel, .trusted-strip, .cta-panel {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}
.intro-section, .services-section, .process-section, .lab-section { padding: 72px 0; }
.page-main { padding: 142px 0 88px; }
.section-grid, .lab-section, .page-hero.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.section-grid p:last-child, .lab-copy p, .page-hero p, .contact-card p, .detail-description, .band-content p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading.center { max-width: none; text-align: center; }

.metrics-panel, .trusted-strip, .cta-panel, .service-card, .topic-grid article, .content-card, .admin-form, .admin-panel, .auth-card, .contact-card.large, .content-detail, .portal-preview, .case-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 30, 55, 0.72), rgba(4, 17, 32, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
  backdrop-filter: blur(16px);
}
.metrics-panel {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 16px 28px 22px;
}
.panel-title {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 900;
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.metrics-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  align-items: center;
  padding: 14px 24px;
  border-right: 1px solid var(--line);
}
.metrics-grid article:last-child { border-right: 0; }
.metrics-grid i, .service-card i, .topic-grid i, .cta-icon i {
  color: #77d4ff;
  filter: drop-shadow(0 0 10px rgba(53, 183, 255, 0.5));
}
.metrics-grid svg {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(12, 116, 220, 0.22);
  border: 1px solid rgba(53, 183, 255, 0.26);
}
.metrics-grid strong { color: #84cfff; font-size: clamp(1.75rem, 3.2vw, 2.8rem); font-weight: 400; }
.metrics-grid span { color: var(--muted); }

.service-grid, .topic-grid, .case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.service-grid.eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .topic-grid article {
  position: relative;
  min-height: 230px;
  padding: 28px 18px;
  text-align: center;
  overflow: hidden;
}
.service-card::before, .topic-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(53, 183, 255, .18), transparent 62%);
  transition: opacity 180ms ease;
}
.service-card:hover::before, .topic-grid article:hover::before { opacity: 1; }
.service-card > *, .topic-grid article > * { position: relative; }
.service-card svg, .topic-grid svg { width: 46px; height: 46px; margin: 0 auto 22px; }
.service-card p, .process-steps p, .topic-grid p, .content-card p, .detail-body, .case-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.service-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 30, 55, 0.72), rgba(4, 17, 32, 0.76));
  box-shadow: var(--shadow);
}
.service-thumb {
  position: relative;
  overflow: hidden;
}
.service-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.card-tool-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.card-tool-overlay span {
  padding: 6px 9px;
  border: 1px solid rgba(117, 193, 255, 0.38);
  border-radius: 999px;
  color: rgba(244, 248, 255, 0.96);
  background: rgba(2, 11, 22, 0.78);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 900;
}
.service-image-card > div:not(.service-thumb) {
  padding: 18px;
}
.service-thumb {
  padding: 0;
}
.service-image-card h3 {
  margin-bottom: 8px;
}
.service-image-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  min-height: 560px;
  width: min(1180px, calc(100% - 56px));
  margin: 52px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.image-panel { width: 100%; height: 100%; object-fit: cover; object-position: center; min-height: 420px; }
.band-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 72px); }

.systems-panel {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, .9fr);
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 56px));
  margin: 34px auto 0;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(3, 14, 27, .94), rgba(5, 28, 53, .76)),
    url("assets/images/real/real-growth-operations.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.systems-panel p {
  color: var(--muted);
  line-height: 1.7;
}
.systems-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.systems-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 11, 22, .62);
  backdrop-filter: blur(12px);
  font-weight: 900;
}
.systems-list svg {
  flex: 0 0 auto;
  color: var(--cyan);
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-cloud span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(244, 248, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-steps article { padding: 28px 28px 12px 0; border-right: 1px solid var(--line); }
.process-steps article + article { padding-left: 28px; }
.process-steps article:last-child { border-right: 0; }
.process-steps span { display: block; margin-bottom: 24px; color: var(--cyan); font-weight: 900; }

.portal-preview { overflow: hidden; }
.portal-preview img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.portal-preview-caption { padding: 22px; }

.custom-training-panel {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(330px, .78fr);
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 56px));
  margin: 48px auto 0;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(117, 193, 255, .24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(2, 11, 22, .34), rgba(2, 11, 22, .72)),
    radial-gradient(circle at 78% 20%, rgba(53, 183, 255, .12), transparent 24rem),
    linear-gradient(145deg, rgba(6, 26, 49, .84), rgba(3, 13, 26, .92));
  box-shadow: var(--shadow);
}
.training-copy h2 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
}
.training-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}
.training-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.training-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(117, 193, 255, .24);
  border-radius: var(--radius);
  background: rgba(2, 11, 22, .62);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .26);
}
.training-preview img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
}
.training-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 11, 22, .78));
}
.training-dashboard-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(117, 193, 255, .28);
  border-radius: var(--radius);
  background: rgba(2, 11, 22, .78);
  backdrop-filter: blur(14px);
}
.training-dashboard-card span {
  display: block;
  margin-bottom: 8px;
  color: #9bddff;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
}
.training-dashboard-card h3 {
  margin-bottom: 8px;
}
.training-dashboard-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}
.training-feature-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.training-feature-grid article {
  padding: 18px;
  border: 1px solid rgba(117, 193, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
}
.training-feature-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--cyan);
}
.training-feature-grid h3 {
  margin-bottom: 8px;
}
.training-feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}
.page-hero {
  margin-bottom: 42px;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 18%, rgba(53, 183, 255, .16), transparent 22rem),
    linear-gradient(180deg, rgba(9, 30, 55, 0.62), rgba(4, 17, 32, 0.58));
  box-shadow: var(--shadow);
}
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass-hero {
  padding: clamp(24px, 4vw, 34px);
}
.compact { padding-top: 0; }
.compact-home { padding-top: 58px; }
.tight-page { padding-top: 136px; }
.subpage-showcase {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.compact-tool-deck {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .76) 0%, rgba(3, 17, 33, .58) 52%, rgba(3, 17, 33, .36) 100%),
    url("assets/images/heroes/services-hero-ai-systems.jpg") center / cover no-repeat;
}
.subpage-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .78;
}
.industry-hero-panel .subpage-hero-image,
.about-hero-panel .subpage-hero-image {
  left: auto;
  right: 0;
  width: 132%;
  max-width: none;
  object-position: right center;
}
.compact-tool-deck::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 18%, rgba(53, 183, 255, .18), transparent 18rem),
    linear-gradient(180deg, rgba(2, 11, 22, .1), rgba(2, 11, 22, .62));
  pointer-events: none;
}
.compact-tool-deck > *:not(.subpage-hero-image) {
  position: relative;
  z-index: 2;
}
.compact-tool-deck h1 {
  max-width: 890px;
  margin-bottom: 16px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}
.subpage-lead {
  max-width: 790px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.centered-actions {
  justify-content: center;
}
.tool-deck-flat {
  margin-bottom: 28px;
  box-shadow: none;
}
.subpage-workbench {
  margin-top: 0;
}
.subpage-workbench .workbench-story {
  position: relative;
  top: auto;
}
.services-hero-panel {
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .76) 0%, rgba(3, 17, 33, .58) 52%, rgba(3, 17, 33, .36) 100%),
    url("assets/images/heroes/services-hero-ai-systems.jpg") center / cover no-repeat;
}
.industry-hero-panel {
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .76) 0%, rgba(3, 17, 33, .58) 52%, rgba(3, 17, 33, .36) 100%),
    url("assets/images/heroes/industries-hero-operations.jpg") center / cover no-repeat;
}
.about-hero-panel {
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .76) 0%, rgba(3, 17, 33, .58) 52%, rgba(3, 17, 33, .36) 100%),
    url("assets/images/heroes/about-hero-thinktank.jpg") center / cover no-repeat;
}
.industry-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.industry-card-grid article {
  min-height: 182px;
  padding: 20px;
  border: 1px solid rgba(117, 193, 255, .24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 29, 54, .72), rgba(4, 17, 32, .82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 44px rgba(0,0,0,.16);
}
.industry-card-grid svg {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #a9e3ff;
  filter: drop-shadow(0 0 10px rgba(53, 183, 255, 0.32));
}
.industry-card-grid h3 {
  margin-bottom: 8px;
}
.industry-card-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}
.compact-training-panel {
  margin-top: 28px;
  margin-bottom: 0;
}
.compact-training-panel .training-copy {
  max-width: none;
}
.service-hero {
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .94) 0%, rgba(3, 17, 33, .78) 48%, rgba(3, 17, 33, .58) 100%),
    url("assets/images/real/real-web-portal.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.service-hero-copy,
.compact-page-hero,
.access-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 10%, rgba(53, 183, 255, .14), transparent 20rem),
    linear-gradient(180deg, rgba(9, 30, 55, 0.72), rgba(4, 17, 32, 0.76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.service-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  max-width: 760px;
  padding: clamp(28px, 5vw, 54px);
  border: 0;
  background: transparent;
  box-shadow: none;
}
.service-hero-copy h1,
.compact-page-hero h1,
.access-card h1,
.about-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}
.service-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.service-stack article,
.industry-strip article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 30, 55, 0.62), rgba(4, 17, 32, 0.72));
}
.service-stack svg,
.industry-strip svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #77d4ff;
  filter: drop-shadow(0 0 10px rgba(53, 183, 255, 0.5));
}
.service-stack h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}
.service-stack p,
.industry-strip p,
.compact-page-hero p,
.access-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}
.compact-page-hero {
  display: block;
  min-height: 260px;
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .94) 0%, rgba(3, 17, 33, .78) 54%, rgba(3, 17, 33, .54) 100%),
    url("assets/images/real/real-growth-operations.jpg") center / cover no-repeat;
}
.compact-page-hero > div {
  max-width: 820px;
}
.industry-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.access-main {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 106px 18px 18px;
}
.access-card {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: center;
  width: min(1040px, 100%);
  padding: clamp(24px, 5vw, 44px);
}
.access-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.refined-access {
  align-items: start;
}
.access-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, .64fr);
  gap: 18px;
  align-items: stretch;
  width: min(1120px, 100%);
}
.single-auth-shell {
  grid-template-columns: minmax(0, .95fr) minmax(360px, .58fr);
  min-height: min(560px, calc(100vh - 160px));
}
.single-auth-shell .access-copy {
  min-height: auto;
}
.signup-shell {
  grid-template-columns: minmax(0, .82fr) minmax(390px, .68fr);
}
.access-copy,
.auth-panel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.access-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 470px;
  padding: clamp(22px, 3.4vw, 34px);
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .94) 0%, rgba(3, 17, 33, .78) 100%),
    url("assets/images/real/real-growth-operations.jpg") center / cover no-repeat;
}
.access-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
}
.access-copy p {
  color: var(--muted);
  line-height: 1.62;
}
.mini-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.mini-stack span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(244,248,255,.9);
  background: rgba(255,255,255,.05);
  font-size: .8rem;
  font-weight: 900;
}
.auth-panel-card {
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(53,183,255,.13), transparent 17rem),
    linear-gradient(180deg, rgba(9, 30, 55, 0.82), rgba(4, 17, 32, 0.86));
}
.auth-panel-card form {
  display: grid;
  gap: 10px;
}
.auth-panel-card input {
  min-height: 42px;
}
.auth-panel-card .button {
  min-height: 44px;
}
.auth-panel-card form[hidden] {
  display: none;
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}
.auth-tabs button.active {
  color: var(--white);
  background: linear-gradient(135deg, rgba(11,146,255,.9), rgba(7,82,181,.9));
}

.tool-section {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 58px 0 0;
}
.tool-section.inline-tools {
  padding: 22px 0 28px;
}
.tool-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(117, 193, 255, 0.22);
  border-radius: 999px;
  color: rgba(244, 248, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
  font-size: .88rem;
  font-weight: 900;
}
.tool-pill img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
.tool-pill.text-only {
  color: #dceeff;
  background: rgba(53, 183, 255, 0.08);
}

.home-workbench {
  position: relative;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 58px 0 26px;
}
.home-workbench::before {
  content: "";
  position: absolute;
  inset: 18px -24px auto;
  height: 520px;
  z-index: -1;
  border: 1px solid rgba(117, 193, 255, .12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 10%, rgba(53, 183, 255, .13), transparent 22rem),
    linear-gradient(180deg, rgba(5, 20, 38, .52), rgba(2, 11, 22, 0));
}
.tool-deck {
  margin-bottom: 48px;
  padding: 24px clamp(18px, 3vw, 30px) 22px;
  border: 1px solid rgba(117, 193, 255, .22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 30%, rgba(53, 183, 255, .12), transparent 19rem),
    linear-gradient(180deg, rgba(7, 26, 48, .78), rgba(4, 16, 31, .7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 55px rgba(0,0,0,.22);
}
.tool-deck .tool-logo-grid {
  justify-content: center;
  gap: 9px;
}
.tool-deck .tool-pill {
  min-height: 46px;
  padding: 0 15px;
  border-color: rgba(117, 193, 255, .16);
  background: rgba(3, 17, 33, .46);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.tool-deck-line {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
  letter-spacing: .08em;
  font-size: .92rem;
}
.workbench-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: stretch;
}
.workbench-story {
  position: sticky;
  top: 110px;
  align-self: start;
  min-height: 560px;
  padding: clamp(26px, 4vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(117, 193, 255, .28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(2, 11, 22, .4), rgba(2, 11, 22, .64)),
    linear-gradient(145deg, rgba(5, 22, 43, .96), rgba(3, 14, 28, .94));
  box-shadow: var(--shadow);
}
.workbench-story::before {
  content: "";
  position: absolute;
  inset: auto -18% -8% -18%;
  height: 260px;
  opacity: .72;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(38, 154, 255, .24), transparent 55%),
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,.7) 43%, rgba(52, 177, 255, .86) 43.5%, transparent 45%);
  mask-image: linear-gradient(to top, black, transparent 82%);
}
.workbench-story > * {
  position: relative;
}
.workbench-story h2 {
  max-width: 390px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 3.55rem);
  font-weight: 500;
  letter-spacing: 0;
}
.workbench-story > p {
  color: var(--muted);
  line-height: 1.65;
}
.story-points {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
.story-points article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
}
.story-points svg {
  width: 54px;
  height: 54px;
  padding: 14px;
  border: 1px solid rgba(117, 193, 255, .25);
  border-radius: 50%;
  color: #9bddff;
  background: rgba(53, 183, 255, .08);
}
.story-points h3 {
  margin: 0 0 5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
}
.story-points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: .94rem;
}
.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 14px;
  border: 1px solid rgba(117, 193, 255, .14);
  border-radius: var(--radius);
  background: rgba(2, 11, 22, .52);
}
.story-actions .text-link {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.workbench-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.showcase-card {
  padding: 14px;
  border: 1px solid rgba(117, 193, 255, .24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 29, 54, .72), rgba(4, 17, 32, .82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 44px rgba(0,0,0,.16);
}
.showcase-thumb {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid rgba(117, 193, 255, .18);
  border-radius: 6px;
  background: #06182b;
}
.showcase-thumb img {
  width: 100%;
  aspect-ratio: 16 / 7.8;
  object-fit: cover;
  object-position: center;
}
.showcase-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,11,22,.02), rgba(2,11,22,.28));
}
.showcase-thumb span {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(117, 193, 255, .42);
  border-radius: 999px;
  color: #dff5ff;
  background: rgba(2, 11, 22, .78);
  font-size: .72rem;
  font-weight: 900;
}
.showcase-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}
.showcase-card p {
  min-height: 0;
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.program-strip {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: calc(100% - 18px);
}
.program-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(209, 232, 255, .22);
  border-radius: 999px;
  color: rgba(244, 248, 255, .94);
  background: rgba(2, 11, 22, .78);
  backdrop-filter: blur(10px);
  font-size: .68rem;
  font-weight: 900;
}
.program-strip img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(117, 193, 255, .16);
  border-radius: 999px;
  color: #cfeeff;
  background: rgba(53, 183, 255, .08);
  font-size: .74rem;
  font-weight: 900;
}
.clarity-band {
  margin-top: 28px;
  padding: 28px clamp(20px, 4vw, 48px);
  border: 1px solid rgba(117, 193, 255, .22);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(53, 183, 255, .14), transparent 46%),
    linear-gradient(180deg, rgba(8, 29, 54, .72), rgba(4, 17, 32, .78));
  box-shadow: var(--shadow);
}
.clarity-band h2 {
  width: min(760px, 100%);
  margin: 0 auto 26px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}
.clarity-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.clarity-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: start;
}
.clarity-steps svg {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid rgba(117, 193, 255, .26);
  border-radius: var(--radius);
  color: #a9e3ff;
  background: rgba(53, 183, 255, .08);
}
.clarity-steps span {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 900;
}
.clarity-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: .92rem;
}

.about-hero {
  display: block;
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .94) 0%, rgba(3, 17, 33, .78) 54%, rgba(3, 17, 33, .5) 100%),
    url("assets/images/real/real-ai-lab-library.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.about-hero > div {
  max-width: 820px;
}
.about-hero p,
.about-grid p {
  color: var(--muted);
  line-height: 1.68;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.about-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 30, 55, 0.62), rgba(4, 17, 32, 0.72));
}
.about-grid h2 {
  font-size: 1.45rem;
}
.case-grid article { padding: 28px; }
.case-grid span { display: block; color: #84cfff; font-size: 3rem; margin-bottom: 12px; }

.trusted-strip { padding: 54px 0 18px; box-shadow: none; border: 0; background: transparent; }
.logo-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.logo-row span {
  padding: 16px 12px;
  border: 1px solid rgba(117, 193, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}
.operator-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.operator-grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 14px 10px;
  border: 1px solid rgba(117, 193, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.operator-grid svg {
  width: 30px;
  height: 30px;
  color: var(--cyan);
}
.cta-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 40px auto 72px;
  padding: 32px;
}
.cta-panel h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-panel p { margin-bottom: 0; color: var(--muted); font-size: 1.14rem; }
.cta-icon {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: rgba(0, 118, 255, 0.12);
}
.cta-icon svg { width: 54px; height: 54px; }

.library-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  padding-top: 18px;
}
.library-header h1 { font-size: clamp(2.7rem, 7vw, 6rem); }
.library-header p { max-width: 680px; color: var(--muted); line-height: 1.65; }
.library-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(160px, 220px));
  gap: 12px;
  margin-bottom: 22px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}
.search-box input, .library-tools select {
  width: 100%;
  min-height: 50px;
  border: 0;
  color: var(--text);
  background: transparent;
  outline: 0;
}
.library-tools select { padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #06182b; }
.lab-browser {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.library-tree,
.admin-tree {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 30, 55, 0.58), rgba(4, 17, 32, 0.72));
}
.library-tree {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 132px);
  overflow: auto;
}
.library-tree details,
.admin-tree details {
  margin-bottom: 8px;
}
.library-tree summary,
.admin-tree summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  line-height: 1.35;
}
.library-tree summary small,
.admin-tree summary small {
  margin-left: auto;
  color: var(--soft);
}
.library-tree ul,
.admin-tree ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 12px 18px;
  padding: 0;
  list-style: none;
}
.library-tree a,
.admin-tree a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}
.library-tree svg,
.admin-tree svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--cyan);
}
.content-library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.content-card { overflow: hidden; }
.content-thumb { display: block; aspect-ratio: 16 / 10; background: #06182b; overflow: hidden; }
.content-thumb img, .content-thumb video, .content-thumb iframe, .detail-media img, .detail-media video, .detail-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.content-card-body { padding: 18px; }
.content-card h2 { font-size: 1.35rem; line-height: 1.15; }
.content-card h2 a { text-decoration: none; }
.content-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 0.76rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 900; text-decoration: none; }
.text-button {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}
.reset-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(117, 193, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
}
.reset-panel form {
  display: grid;
  gap: 12px;
}
.empty-state { display: grid; place-items: center; text-align: center; padding: 60px 18px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--panel); }
.empty-state.inline { border: 0; }
.empty-state svg { width: 42px; height: 42px; color: var(--cyan); }
.attachment-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.attachment-list a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(117, 193, 255, .18);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  text-decoration: none;
  font-weight: 800;
}
.attachment-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-list small {
  color: var(--soft);
  font-size: .78rem;
}

.auth-main { min-height: calc(100vh - 88px); display: grid; place-items: center; padding: 124px 18px 60px; }
.auth-card, .contact-card.large { width: min(720px, 100%); padding: clamp(24px, 5vw, 46px); }
.auth-card form, .contact-form, .admin-form { display: grid; gap: 16px; }
.contact-main {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 138px 18px 32px;
}
.strategy-call-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .78fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  width: min(1080px, 100%) !important;
  min-height: min(560px, calc(100vh - 150px));
  margin-top: 34px;
  padding: clamp(24px, 4vw, 42px) !important;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .88), rgba(4, 17, 32, .7)),
    url("assets/images/heroes/services-hero-ai-systems.jpg") center / cover no-repeat !important;
}
.strategy-call-card h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 5.4vw, 5.1rem);
}
.contact-intro p {
  max-width: 590px;
  margin-bottom: 0;
}
.call-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.call-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(117, 193, 255, .2);
  border-radius: var(--radius);
  background: rgba(2, 11, 22, .58);
  font-weight: 900;
}
.call-points svg {
  flex: 0 0 auto;
  color: #a9e3ff;
}
.contact-panel {
  padding: 18px;
  border: 1px solid rgba(117, 193, 255, .22);
  border-radius: var(--radius);
  background: rgba(2, 11, 22, .68);
  backdrop-filter: blur(16px);
}
.strategy-call-card .contact-form {
  gap: 12px;
}
.strategy-call-card input {
  min-height: 46px;
}
.strategy-call-card textarea {
  min-height: 118px;
}
.strategy-call-card .button {
  min-height: 48px;
}
.compact-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.compact-contact-actions .button {
  width: 100%;
}
label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.45; }
.checkbox-label input { width: 18px; min-height: 18px; margin-top: 2px; flex: 0 0 auto; }
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
textarea { padding: 12px 13px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(183, 199, 217, 0.58); }
.upload-field {
  gap: 10px;
}
.upload-field-wide {
  width: 100%;
}
.admin-help-box {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(53, 183, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(53, 183, 255, 0.08);
  color: var(--muted);
  line-height: 1.45;
}
.admin-help-box strong {
  color: var(--text);
}
label small {
  display: block;
  margin-top: 7px;
  color: var(--soft);
  line-height: 1.35;
}
label small strong {
  color: var(--cyan);
}
.upload-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.upload-dropzone {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 94px;
  padding: 14px;
  border: 1px dashed rgba(117, 193, 255, .42);
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(circle at 92% 12%, rgba(53, 183, 255, .12), transparent 12rem),
    rgba(255, 255, 255, .045);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.upload-dropzone:hover {
  border-color: rgba(53, 183, 255, .76);
  background:
    radial-gradient(circle at 92% 12%, rgba(53, 183, 255, .18), transparent 12rem),
    rgba(255, 255, 255, .065);
  transform: translateY(-1px);
}
.upload-dropzone svg {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(117, 193, 255, .22);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(53, 183, 255, .08);
}
.upload-dropzone strong {
  color: var(--white);
  font-size: 1rem;
}
.upload-dropzone small {
  color: var(--soft);
  font-weight: 700;
  line-height: 1.35;
}
.selected-files {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: .9rem;
  font-weight: 800;
}
.selected-files span {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(117, 193, 255, .16);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}
.selected-files span svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
}
.selected-files span small {
  color: var(--soft);
}
.form-note { margin: 0; color: var(--soft); font-size: 0.92rem; line-height: 1.5; }
.form-note.success { color: #8ee9bd; }
.form-note.error { color: #ffb4b4; }
.form-row.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-row.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.auth-switch { margin: 12px 0 0; color: var(--muted); }
.auth-switch a { color: var(--cyan); font-weight: 900; }

.admin-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); gap: 18px; align-items: start; }
.admin-form, .admin-panel { padding: 22px; }
.admin-panel h2 { font-size: 1.4rem; }
.admin-list, .lead-list, .access-code-list { display: grid; gap: 12px; }
.admin-tree { margin-bottom: 18px; max-height: 360px; overflow: auto; }
.leads-panel, .access-code-panel { margin-top: 18px; }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.admin-item, .lead-item, .access-code-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.access-code-form { display: grid; gap: 14px; margin-bottom: 18px; }
.access-code-item strong {
  display: block;
  color: var(--cyan);
  letter-spacing: .08em;
}
.access-code-item span { display: block; font-weight: 900; }
.access-code-item small { color: var(--soft); }
.admin-item p, .lead-item p { margin-bottom: 0; color: var(--muted); line-height: 1.5; }
.lead-item p { margin-bottom: 10px; }
.admin-item-actions { display: flex; gap: 8px; align-items: start; }
.lead-consent {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(53, 183, 255, 0.16);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.content-detail { padding: clamp(22px, 5vw, 44px); }
.detail-media { margin: 22px 0 28px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: #020b16; border: 1px solid var(--line); }
.detail-body { max-width: 850px; font-size: 1.05rem; }
.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: start;
}
.lesson-main .detail-media {
  margin-top: 18px;
}
.lesson-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.lesson-panel {
  padding: 18px;
  border: 1px solid rgba(117, 193, 255, .22);
  border-radius: var(--radius);
  background: rgba(2, 11, 22, .56);
}
.lesson-panel h2 {
  margin-bottom: 14px;
  font-size: 1.18rem;
}
.lesson-panel .content-meta {
  display: flex;
  margin-bottom: 10px;
}
.lesson-panel .hero-actions {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: var(--soft);
  background: rgba(2, 8, 17, 0.86);
  border-top: 1px solid rgba(117, 193, 255, 0.14);
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 800; text-decoration: none; }

@media (max-width: 1060px) {
  .site-nav { gap: 14px; font-size: 0.92rem; }
  .service-grid.eight, .service-grid.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid article:nth-child(2) { border-right: 0; }
  .metrics-grid article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .workbench-grid { grid-template-columns: 1fr; }
  .workbench-story {
    position: relative;
    top: auto;
    min-height: auto;
  }
  .story-points {
    margin-top: 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(2, 11, 22, 0.96);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 4px; }
  .section-grid, .image-band, .lab-section, .page-hero.split, .admin-layout, .cta-panel, .hero-content, .access-card, .systems-panel, .access-auth-shell, .custom-training-panel, .strategy-call-card, .lab-browser, .library-tools, .lesson-layout { grid-template-columns: 1fr; }
  .service-grid, .topic-grid, .content-library, .process-steps, .case-grid, .service-stack, .industry-strip, .service-image-grid, .about-grid, .industry-card-grid { grid-template-columns: 1fr; }
  .workbench-cards, .clarity-steps, .training-feature-grid { grid-template-columns: 1fr; }
  .process-steps article, .process-steps article + article { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .library-header { align-items: start; flex-direction: column; }
  .library-tree { position: relative; top: auto; max-height: none; }
  .lesson-sidebar { position: relative; top: auto; }
  .logo-row, .operator-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .intro-section, .services-section, .process-section, .lab-section, .page-main, .topic-grid, .metrics-panel, .trusted-strip, .cta-panel, .image-band, .systems-panel, .home-workbench, .custom-training-panel, .subpage-showcase {
    width: min(100% - 32px, 1180px);
  }
  .home-workbench::before { left: 0; right: 0; }
  .tool-deck { padding: 20px 14px; }
  .tool-deck .tool-logo-grid { justify-content: flex-start; }
  .tool-deck .tool-pill { min-height: 40px; padding: 0 11px; font-size: .8rem; }
  .story-points { grid-template-columns: 1fr; }
  .story-actions .button { width: 100%; }
  .showcase-card p { min-height: 0; }
  .training-actions { flex-direction: column; }
  .training-preview img { aspect-ratio: 16 / 12; }
  .contact-main { padding-top: 112px; align-items: start; }
  .strategy-call-card { min-height: auto; }
  .call-points, .compact-contact-actions { grid-template-columns: 1fr; }
  .hero-content { width: min(100% - 32px, 1180px); padding-bottom: 80px; }
  .home-hero .hero-actions { transform: none; }
  h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero { min-height: 680px; }
  .compact-tool-deck { min-height: 420px; }
  .hero-actions, .contact-actions, .library-actions, .form-row.actions, .site-footer { flex-direction: column; }
  .button { width: 100%; }
  .library-tools, .form-row.two, .form-row.three, .metrics-grid, .service-grid.eight, .service-grid.six, .systems-list { grid-template-columns: 1fr; }
  .metrics-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .metrics-grid article:last-child { border-bottom: 0; }
  .logo-brand {
    width: 184px;
    min-width: 184px;
  }
}
