/* Get the Expert CFO — Behance Pro–inspired dark product UI */
:root {
  --bg: #000000;
  --bg-elevated: #191919;
  --bg-card: #222222;
  --bg-soft: #2A2A2A;
  --text: #FFFFFF;
  --muted: #B3B3B3;
  --muted-dim: #8A8A8A;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #0057FF;
  --blue-hover: #0046CC;
  --blue-soft: rgba(0, 87, 255, 0.18);
  --radius: 12px;
  --radius-lg: 16px;
  --be-font: "acumin-pro-wide", "Acumin Pro Wide", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --be-font-weight-semibold: 600;
  --be-sp-3-5: 1.25rem;
  --be-sp-5: 2rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--be-font);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-headers {
  font-family: var(--be-font);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mono {
  font-family: var(--be-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}

a { color: inherit; }

/* ——— Header (Behance Pro layout) ——— */
.gtec-header {
  background: #000;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 50;
}
.gtec-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 16px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .gtec-header-inner {
    /* left | search — right CTAs hidden until 980px */
    grid-template-columns: max-content minmax(0, 1fr);
    padding: 0 20px;
    gap: 20px;
  }
}
@media (min-width: 980px) {
  .gtec-header-inner {
    /* left | search | CTAs — left nav never collapses under search */
    grid-template-columns: max-content minmax(0, 1fr) max-content;
  }
}
@media (min-width: 1100px) {
  .gtec-header-inner {
    padding: 0 28px;
    gap: 28px;
  }
}

.gtec-header-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: max-content;
  flex-shrink: 0;
}
.gtec-header-burger {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
}
@media (min-width: 980px) {
  .gtec-header-burger { display: none; }
}
.gtec-header-right {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  min-width: max-content;
}
@media (min-width: 980px) {
  .gtec-header-right { display: flex; }
}

.gtec-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.gtec-logo-mark { display: none !important; }
.gtec-logo-text {
  font-family: var(--be-font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.gtec-logo-sub { display: none !important; }

.gtec-nav {
  display: none;
  align-items: center;
  gap: 18px;
}
@media (min-width: 980px) {
  .gtec-nav { display: flex; }
}
.gtec-nav a {
  font-family: var(--be-font);
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.gtec-nav a:hover,
.gtec-nav a.active { opacity: 0.75; }
.gtec-nav .nav-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
}
.gtec-nav .has-caret::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fff;
  vertical-align: middle;
  opacity: 0.85;
}

/* Nav dropdown (Risorse) */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-family: var(--be-font);
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown-toggle.active { opacity: 0.75; }
.nav-dropdown.open .nav-dropdown-toggle.has-caret::after {
  transform: rotate(180deg);
}
.nav-dropdown-toggle.has-caret::after {
  transition: transform 0.2s ease;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem;
  z-index: 60;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted) !important;
  white-space: normal;
  opacity: 1 !important;
}
.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}
.nav-dropdown-menu a span {
  display: block;
  font-size: 11px;
  color: var(--muted-dim);
  margin-top: 2px;
  font-weight: 400;
}

/* Mobile nested Risorse */
.mobile-dd {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-dd > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0;
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-dd > summary::-webkit-details-marker { display: none; }
.mobile-dd > summary::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--muted);
  opacity: 0.85;
  transition: transform 0.2s;
}
.mobile-dd[open] > summary::after { transform: rotate(180deg); }
.mobile-dd[open] > summary { color: var(--text); }
.mobile-dd-links {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.5rem 0.75rem;
  gap: 0.15rem;
}
.mobile-dd-links a {
  padding: 0.45rem 0 !important;
  border-bottom: none !important;
  font-size: 0.85rem;
}

/* Official docs list */
.doc-list { display: grid; gap: 0.85rem; }
.doc-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.doc-item:hover {
  border-color: rgba(0, 87, 255, 0.45);
  transform: translateY(-2px);
}
.doc-item .ico {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--blue-soft);
  color: #6B9BFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}
.doc-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.doc-item .ext {
  margin-left: auto;
  color: var(--muted-dim);
  flex-shrink: 0;
  padding-top: 0.35rem;
}

/* Center search — Behance size/shape */
.be-search {
  display: none;
  width: 100%;
  max-width: 360px;
  min-width: 0;
  margin: 0 auto;
  justify-self: center;
  position: relative;
}
@media (min-width: 768px) {
  .be-search { display: block; }
}
@media (min-width: 1200px) {
  .be-search { max-width: 420px; }
}
.be-search input {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2b2b2b;
  color: #fff;
  font-family: var(--be-font);
  font-size: 14px;
  padding: 0 16px 0 42px;
  outline: none;
  box-sizing: border-box;
}
.be-search input::placeholder { color: #9a9a9a; }
.be-search input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: #333;
}
.be-search .be-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9a9a9a;
  font-size: 14px;
  pointer-events: none;
}

#mobile-menu {
  display: none;
  background: #111;
  border-top: 1px solid var(--line);
}
#mobile-menu.open { display: block; }
#mobile-menu a {
  color: var(--muted);
  text-decoration: none;
}
#mobile-menu a:hover { color: var(--text); }

/* ——— Buttons ——— */
button.btn-blue,
button.btn-ghost,
button.btn-white {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-blue {
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--be-font);
  white-space: nowrap;
}
.btn-blue:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: #000 !important;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--be-font);
  white-space: nowrap;
}
.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text) !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--be-font);
  white-space: nowrap;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-header {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
}

/* ——— Hero first screen (Behance Pro exact) ——— */
.beh-hero-screen {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
  padding: 48px 24px 80px;
  box-sizing: border-box;
}
.beh-hero-screen::before,
.beh-hero-screen::after {
  content: '';
  position: absolute;
  width: min(55vw, 640px);
  height: min(55vw, 640px);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
}
.beh-hero-screen::before {
  left: -8%;
  bottom: -18%;
  background: radial-gradient(circle, #00cee6 0%, #004ee6 45%, transparent 70%);
}
.beh-hero-screen::after {
  right: -6%;
  bottom: -22%;
  background: radial-gradient(circle, #e65f37 0%, #e6294d 40%, transparent 70%);
}
.beh-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.beh-hero-inner h1 {
  font-family: "acumin-pro-wide", "Acumin Pro Wide", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(36px, 6.2vw, 70px);
  font-weight: var(--be-font-weight-semibold);
  letter-spacing: -2.1px;
  line-height: 1;
  margin: var(--be-sp-5) 0 var(--be-sp-3-5);
  max-width: 1000px;
  color: #fff;
  text-wrap: balance;
}
@media (min-width: 900px) {
  .beh-hero-inner h1 {
    font-size: 70px;
    line-height: 68px;
  }
}
.beh-hero-inner .support {
  font-family: var(--be-font);
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 620px;
  margin: 0 auto 28px;
  opacity: 0.95;
}
.beh-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.beh-hero-ctas .btn-white,
.beh-hero-ctas .btn-ghost {
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 479px) {
  .beh-hero-ctas { width: 100%; flex-direction: column; }
  .beh-hero-ctas .btn-white,
  .beh-hero-ctas .btn-ghost { width: 100%; }
}

/* legacy art (unused on home) */
.beh-hero-art { display: none; }

/* ——— Sections ——— */
.beh-section {
  padding: 4.5rem 0;
}
.beh-section.alt { background: var(--bg-elevated); }
.beh-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .beh-wrap { padding: 0 1.75rem; }
}
.beh-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}
.beh-section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin: 0 0 0.75rem;
  font-weight: 800;
}
.beh-section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}
.beh-section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.beh-section-bar > div { min-width: 0; flex: 1 1 14rem; }
.beh-section-bar .btn-blue,
.beh-section-bar .btn-ghost { flex-shrink: 0; }
.beh-section-bar h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 0.4rem;
  font-weight: 800;
}
.beh-section-bar p {
  color: var(--muted);
  margin: 0;
  max-width: 28rem;
}

/* Why pillars */
.why-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s;
}
.why-card:hover {
  border-color: rgba(0, 87, 255, 0.45);
  transform: translateY(-3px);
}
.why-card .ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: var(--blue-soft);
  color: #6B9BFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.why-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.why-card a.learn {
  display: inline-block;
  margin-top: 1rem;
  color: #6B9BFF;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.why-card a.learn:hover { text-decoration: underline; }

/* Play feature cards */
.play-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .play-grid { grid-template-columns: repeat(3, 1fr); }
}
.play-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s;
}
.play-card .play-cover {
  overflow: hidden;
}
.play-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}
.play-cover {
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  overflow: hidden;
}
.play-btn { display: none !important; }
/* Unified blue–crimson tint (no grayscale base) */
.media-card .play-cover,
.blog-card-img {
  filter: saturate(1.2) contrast(1.08) brightness(0.92);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.media-card .play-cover::after,
.blog-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(0, 78, 230, 0.55) 0%,
    rgba(0, 78, 230, 0.2) 42%,
    rgba(176, 27, 81, 0.45) 100%
  );
  mix-blend-mode: soft-light;
}
.media-card .play-cover::before,
.blog-card-img::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    20deg,
    rgba(176, 27, 81, 0.28),
    transparent 45%,
    rgba(0, 78, 230, 0.35)
  );
  mix-blend-mode: color;
  opacity: 0.85;
}
.media-card:hover .play-cover,
.blog-card:hover .blog-card-img {
  transform: scale(1.03);
  filter: saturate(1.28) contrast(1.1) brightness(0.95);
}
.play-body {
  padding: 1.25rem 1.2rem 1.4rem;
}
.play-body h3 {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}
.play-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Compare */
.compare-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
}
.compare-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.compare-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.compare-card .label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6B9BFF;
  margin-bottom: 0.5rem;
}
.compare-card h3 {
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
}
.compare-card .desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}
.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}
.compare-card ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  line-height: 1.4;
}
.compare-card ul li i {
  color: var(--blue);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Blog cards */
.blog-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(4, 1fr); }
}
.blog-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
}
.blog-card-img {
  position: relative;
  height: 9.5rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.blog-card-body { padding: 1.1rem 1.1rem 1.25rem; }
.blog-card .tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6B9BFF;
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  font-weight: 700;
}
.blog-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Form */
.gtec-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.gtec-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.gtec-input::placeholder { color: #777; }
.gtec-input option { background: #222; color: #fff; }

.demo-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .demo-panel { padding: 2rem; }
}

/* Lead / meeting request modal */
.gtec-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.gtec-lead-modal.open { display: flex; }
.gtec-lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.gtec-lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
@media (min-width: 640px) {
  .gtec-lead-modal-dialog { padding: 2.25rem 2.25rem 2rem; }
}
.gtec-lead-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gtec-lead-modal-close:hover { border-color: rgba(255,255,255,0.35); }
body.gtec-lead-modal-open { overflow: hidden; }

/* Page hero strip (inner pages) */
.page-hero {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 0.75rem;
  font-weight: 800;
}
.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0;
  line-height: 1.5;
}

/* Article / legal prose on dark */
.prose-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}
@media (min-width: 640px) {
  .prose-panel { padding: 2.5rem 2.25rem; }
}
.prose-panel.light {
  background: #F5F5F5;
  color: #1A1A1A;
  border: none;
}
.prose-panel.light h1,
.prose-panel.light h2,
.prose-panel.light h3 { color: #111; }
.prose-panel.light p,
.prose-panel.light li { color: #333; }
.prose-section {
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
}
.prose-panel.light .prose-section { border-left-color: var(--blue); }

/* Footer — same glow language as first screen + film grain */
.gtec-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  color: var(--muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
}
.gtec-footer::before,
.gtec-footer::after {
  content: '';
  position: absolute;
  width: min(55vw, 640px);
  height: min(55vw, 640px);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
}
.gtec-footer::before {
  left: -8%;
  bottom: -28%;
  background: radial-gradient(circle, #00cee6 0%, #004ee6 45%, transparent 70%);
}
.gtec-footer::after {
  right: -6%;
  bottom: -32%;
  background: radial-gradient(circle, #e65f37 0%, #e6294d 40%, transparent 70%);
}
.gtec-footer > * {
  position: relative;
  z-index: 1;
}
.gtec-footer .gtec-footer-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}
.gtec-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .gtec-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.75rem;
  }
}
@media (min-width: 1024px) {
  .gtec-footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 2.5rem 1.5rem;
    align-items: start;
  }
}
.gtec-footer-brand .gtec-logo { display: inline-flex; margin-bottom: 0.75rem; }
.gtec-footer-tagline {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-dim);
  margin: 0 0 0.65rem;
  max-width: 16rem;
}
.gtec-footer-entity {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-dim);
  margin: 0;
  max-width: 16rem;
}
.gtec-footer-entity strong { color: var(--muted); font-weight: 600; }
.gtec-footer h4 {
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-weight: 700;
}
.gtec-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gtec-footer ul li + li { margin-top: 0.5rem; }
.gtec-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.875rem;
}
.gtec-footer a:hover { color: var(--text); }
.gtec-footer .gtec-logo-text { color: var(--text); }
.gtec-footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.gtec-legal-bar {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted-dim);
  margin: 0;
  max-width: none;
}
.gtec-legal-bar a { color: #6B9BFF; text-decoration: underline; }
.gtec-legal-bar strong { color: var(--muted); font-weight: 600; }

/* Cookie */
.gtec-cookie {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 100;
  background: var(--bg-elevated);
  color: var(--muted);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  max-width: 52rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .gtec-cookie {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
  }
}
.gtec-cookie.visible { display: flex; }
.gtec-cookie a { color: #6B9BFF; }
.gtec-cookie-main { flex: 1 1 16rem; min-width: 0; }
.gtec-cookie-customize {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.gtec-cookie-customize[hidden] { display: none !important; }
.gtec-cookie-reopen {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 99;
  background: var(--bg-elevated);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-family: var(--be-font);
  cursor: pointer;
}
.gtec-cookie-reopen:hover { color: #fff; border-color: rgba(255,255,255,0.28); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Disclaimer */
.disclaimer-box {
  border-left: 3px solid var(--blue);
  background: var(--bg-elevated);
  padding: 1rem 1.15rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}
.disclaimer-box strong { color: var(--text); }
.disclaimer-box a { color: #6B9BFF; }

/* Legacy class aliases */
.btn-teal,
a.btn-teal,
button.btn-teal {
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-teal:hover { background: var(--blue-hover); }
.btn-outline-teal {
  background: transparent;
  color: var(--text) !important;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}
.btn-outline-teal:hover { background: rgba(255, 255, 255, 0.06); }

.gtec-topbar { display: none !important; }

@media print {
  .gtec-header, .gtec-cookie, footer { display: none; }
  body { background: #fff; color: #000; }
}
