/* Public Greenline design only. Do not load this stylesheet in the authenticated portal. */

.public-shell {
  --gl-green: #147a50;
  --gl-green-deep: #0d5f3d;
  --gl-green-bright: #45cf8d;
  --gl-accent: #7acfa5;
  --gl-yellow: #e7d06a;
  --gl-radius: 22px;
  --gl-font: Inter, Cairo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--gl-font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  min-height: 100vh;
  transition: background-color .25s ease, color .25s ease;
}

html[data-theme="light"] .public-shell {
  --gl-bg: #f5f8f6;
  --gl-bg-2: #edf5f0;
  --gl-surface: #ffffff;
  --gl-surface-2: #f4f8f5;
  --gl-text: #13241c;
  --gl-muted: #67786f;
  --gl-border: #dbe7e0;
  --gl-header: #ffffff;
  --gl-card: #ffffff;
  --gl-card-soft: #f2f7f4;
  --gl-shadow: 0 22px 70px rgba(13,95,61,.10);
  --bs-body-bg: #ffffff;
  --bs-tertiary-bg: #f4f8f5;
  --bs-border-color: #dbe7e0;
  --bs-body-color: #13241c;
  --bs-primary: #147a50;
  --bs-white: #ffffff;
  --bs-secondary: #0f9f7a;
  --bs-white: #ffffff;
  --bs-info: #d9b64b;
  --bs-body-color: #211800;
  --bs-secondary: #0b2117;
  --bs-white: #eef9f3;
  --bs-success: #15965e;
  --bs-info: #2b7eb8;
  --bs-warning: #cf861d;
  --bs-danger: #c94949;
  background: var(--gl-bg);
  color: var(--gl-text);
}

html[data-theme="dark"] .public-shell {
  --gl-bg: #07110c;
  --gl-bg-2: #0a1710;
  --gl-surface: #0c1a13;
  --gl-surface-2: #102219;
  --gl-text: #eef9f3;
  --gl-muted: #9db0a4;
  --gl-border: #1d392b;
  --gl-header: #08150f;
  --gl-card: #0e2118;
  --gl-card-soft: #10271c;
  --gl-shadow: 0 24px 70px rgba(0,0,0,.28);
  --bs-body-bg: #0c1a13;
  --bs-tertiary-bg: #0a1710;
  --bs-border-color: #1d392b;
  --bs-body-color: #eef9f3;
  --bs-primary: #45cf8d;
  --bs-white: #07160e;
  --bs-secondary: #54d5b2;
  --bs-white: #07160e;
  --bs-info: #e7d06a;
  --bs-body-color: #201900;
  --bs-secondary: #07110c;
  --bs-white: #eef9f3;
  --bs-success: #45cf8d;
  --bs-info: #66b5e5;
  --bs-warning: #e6a953;
  --bs-danger: #ee7777;
  background: var(--gl-bg);
  color: var(--gl-text);
}

.public-shell h1,
.public-shell h2,
.public-shell h3,
.public-shell h4,
.public-shell h5,
.public-shell h6 {
  font-family: var(--gl-font);
  font-weight: 700;
  letter-spacing: -.025em;
}
.public-shell button,
.public-shell input,
.public-shell select,
.public-shell textarea {
  font: inherit;
}

.public-shell a { color: inherit; }
.public-shell main { background: var(--gl-bg); color: var(--gl-text); }
.public-shell .text-body-secondary { color: var(--gl-muted)!important; }

/* Header */
.gl-public-topbar {
  min-height: 38px;
  background: #0d4c35;
  color: #d9f6e7;
  font-size: .78rem;
}
.gl-public-topbar-inner,
.gl-public-nav-inner,
.gl-home-container,
.gl-footer-inner {
  width: min(100% - 2rem, 1460px);
  margin-inline: auto;
}
.gl-public-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.gl-public-topbar a { color: #9be2bf; text-decoration: none; }
.gl-public-topbar-contact { display: flex; align-items: center; gap: 1.4rem; }

.gl-public-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: color-mix(in oklab, var(--gl-header) 95%, transparent);
  border-bottom: 1px solid var(--gl-border);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
.gl-public-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 5px;
  gap: 2rem;
}
.gl-public-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.gl-public-logo img { width: 105px; max-height: 58px; object-fit: contain; }
.gl-public-desktop-menu { display: flex; justify-content: center; min-width: 0; }
.gl-public-actions { display: flex; align-items: center; gap: .7rem; }
.gl-public-theme,
.gl-public-lang,
.gl-public-user,
.gl-public-primary,
.gl-public-secondary {
  border: 1px solid var(--gl-border);
  background: transparent;
  color: var(--gl-text);
  border-radius: 12px;
  padding: .3rem .5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}
.gl-public-theme { width: 44px; padding: 0; }
.gl-public-primary {
  border-color: var(--gl-green-bright);
  background: var(--gl-green-bright);
  color: #07130d;
  box-shadow: 0 10px 26px rgba(69,207,141,.18);
}
.gl-public-secondary {
  border-color: color-mix(in oklab, var(--gl-green-bright) 45%, var(--gl-border));
  color: var(--gl-green-bright);
}
html[data-theme="light"] .gl-public-primary { color: #fff; background: var(--gl-green); border-color: var(--gl-green); }
html[data-theme="light"] .gl-public-secondary { color: var(--gl-green-deep); border-color: rgba(20,122,80,.35); }
.gl-public-theme:hover,
.gl-public-lang:hover,
.gl-public-user:hover,
.gl-public-secondary:hover { background: var(--gl-surface-2); border-color: color-mix(in oklab, var(--gl-green-bright) 45%, var(--gl-border)); }
.gl-public-primary:hover { transform: translateY(-2px); filter: brightness(1.03); }

/* Desktop menus */
.gl-public-desktop-menu nav > ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gl-public-desktop-menu nav > ul > li > a,
.gl-public-desktop-menu .glis-nav-trigger {
  min-height: 42px;
  padding: .58rem .82rem!important;
  border: 0!important;
  border-radius: 10px!important;
  background: transparent!important;
  color: var(--gl-text)!important;
  font-size: .9rem!important;
  font-weight: 600!important;
  text-decoration: none!important;
  box-shadow: none!important;
}
.gl-public-desktop-menu nav > ul > li > a:hover,
.gl-public-desktop-menu .glis-nav-trigger:hover,
.gl-public-desktop-menu details[open] > .glis-nav-trigger {
  color: var(--gl-green-bright)!important;
  background: color-mix(in oklab, var(--gl-green-bright) 8%, transparent)!important;
}
html[data-theme="light"] .gl-public-desktop-menu nav > ul > li > a:hover,
html[data-theme="light"] .gl-public-desktop-menu .glis-nav-trigger:hover,
html[data-theme="light"] .gl-public-desktop-menu details[open] > .glis-nav-trigger {
  color: var(--gl-green-deep)!important;
  background: #edf7f1!important;
}
.glis-nav-dropdown { position: relative; }
.glis-nav-dropdown > summary { list-style: none; cursor: pointer; }
.glis-nav-dropdown > summary::-webkit-details-marker { display: none; }
.glis-nav-dropdown > summary::marker { content: ""; display: none; }
.glis-nav-chevron { transition: transform .18s ease; }
.glis-nav-dropdown[open] .glis-nav-chevron { transform: rotate(180deg); }
.glis-nav-panel {
  position: absolute!important;
  inset-block-start: calc(100% + .7rem)!important;
  inset-inline-start: 0!important;
  min-width: 28rem;
  max-width: min(36rem,92vw);
  margin: 0!important;
  padding: 1rem!important;
  background: var(--gl-surface)!important;
  color: var(--gl-text)!important;
  border: 1px solid var(--gl-border)!important;
  border-radius: 18px!important;
  box-shadow: var(--gl-shadow)!important;
  animation: gl-public-dropdown .16s ease both;
}
.glis-nav-dropdown-end .glis-nav-panel { inset-inline-start: auto!important; inset-inline-end: 0!important; min-width: 20rem; }
.glis-nav-panel a { color: var(--gl-text)!important; }
.glis-nav-panel a:hover { color: var(--gl-green-bright)!important; background: color-mix(in oklab, var(--gl-green-bright) 8%, transparent)!important; }

.gl-public-mobile-toggle { display: none; }
.gl-public-mobile-nav {
  display: none;
  border-top: 1px solid var(--gl-border);
  background: var(--gl-header);
}
.gl-public-mobile-nav[hidden] { display: none!important; }
.gl-public-mobile-nav-inner { width: min(100% - 2rem, 720px); margin-inline:auto; padding: 1rem 0 1.2rem; }

/* Home hero */
.gl-home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 64%, rgba(70,135,76,.18) 0 7rem, transparent 7.1rem),
    radial-gradient(circle at 98% 28%, rgba(70,135,76,.13) 0 9rem, transparent 9.1rem),
    linear-gradient(135deg, var(--gl-bg-2), var(--gl-bg));
}
html[data-theme="dark"] .gl-home-hero {
  background:
    radial-gradient(circle at 3% 70%, rgba(83,145,85,.24) 0 8rem, transparent 8.1rem),
    radial-gradient(circle at 98% 33%, rgba(83,145,85,.18) 0 9rem, transparent 9.1rem),
    linear-gradient(135deg, #0a2b1d 0%, #08160f 56%, #07110c 100%);
}
.gl-home-hero-grid {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
  padding-block: 2rem 3.2rem;
}
.gl-home-copy h1 {
  margin: 0;
  max-width: 820px;
  color: var(--gl-text);
  font-size: clamp(2.75rem,4.8vw,4.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
  text-wrap: balance;
}
.gl-home-copy p {
  margin: 1.7rem 0 0;
  max-width: 760px;
  color: var(--gl-muted);
  font-size: clamp(1rem,1.25vw,1.125rem);
  line-height: 1.7;
}
.gl-home-actions { display:flex; flex-wrap:wrap; gap:.9rem; margin-top:1.75rem; }
.gl-btn {
  min-height: 50px;
  padding: .85rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.gl-btn-primary { background: var(--gl-green-bright); color:#082016!important; box-shadow:0 12px 28px rgba(69,207,141,.18); }
html[data-theme="light"] .gl-btn-primary { background:var(--gl-green); color:#fff!important; }
.gl-btn-secondary { border:1px solid var(--gl-border); color:var(--gl-text)!important; background:color-mix(in oklab,var(--gl-surface) 40%,transparent); }
.gl-btn:hover { transform:translateY(-2px); }
.gl-home-visual { position:relative; min-height:390px; display:grid; place-items:center; perspective:1200px; }
.gl-home-image-card {
  width:min(100%,590px);
  border-radius:36px;
  overflow:hidden;
  background:#dbe4de;
  border:1px solid var(--gl-border);
  box-shadow:0 26px 70px rgba(0,0,0,.18);
  transform:translateZ(0);
}
.gl-home-image-card img { display:block; width:100%; height:100%; max-height:390px; object-fit:contain; }
.gl-home-image-placeholder { min-height:380px; display:grid; place-items:center; font-size:4rem; color:var(--gl-green); }
.gl-home-floating {
  position:absolute;
  z-index:3;
  display:flex;
  align-items:center;
  gap:.7rem;
  min-height:48px;
  padding:.75rem 1rem;
  border-radius:14px;
  background:#0b2117;
  border:1px solid #234334;
  color:#edf9f2;
  font-weight:800;
  box-shadow:0 18px 50px rgba(0,0,0,.24);
  translate:var(--glis-parallax-x,0) var(--glis-parallax-y,0);
  animation:gl-public-float 6s ease-in-out infinite;
}
.gl-home-floating i { color:#d9bf43; }
.gl-home-floating-top { inset-inline-end:-1.2rem; top:2.2rem; }
.gl-home-floating-bottom { inset-inline-start:-1.6rem; bottom:3rem; animation-delay:-1.8s; }
.gl-home-orb { position:absolute; border-radius:50%; pointer-events:none; filter:blur(.1px); opacity:.4; }

/* quick service strip */
.gl-quick-services { background:var(--gl-bg); border-top:1px solid var(--gl-border); border-bottom:1px solid var(--gl-border); }
.gl-quick-services .gl-home-container { padding-block:1.1rem 1.5rem; }
.gl-quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; margin:0; padding:0; list-style:none; }
.gl-quick-card {
  min-height:150px;
  padding:1.35rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  text-align:center;
  border:1px solid var(--gl-border);
  border-radius:18px;
  background:var(--gl-card);
  color:var(--gl-text);
  transition:transform .2s ease,border-color .2s ease,background-color .2s ease;
}
.gl-quick-card:hover { transform:translateY(-5px); border-color:color-mix(in oklab,var(--gl-green-bright) 34%,var(--gl-border)); }
.gl-quick-card > span { width:56px; height:56px; display:grid; place-items:center; border-radius:18px; background:color-mix(in oklab,var(--gl-green-bright) 12%,transparent)!important; color:var(--gl-green-bright)!important; font-size:1.35rem; }
html[data-theme="light"] .gl-quick-card > span { color:var(--gl-green)!important; }
.gl-quick-card a { font-weight:700; text-decoration:none; color:var(--gl-text); }
.gl-quick-card div div { color:var(--gl-muted)!important; }

/* Section headings */
.gl-services-section,
.gl-tpa-section { padding:5.4rem 0; background:var(--gl-bg); }
.gl-tpa-section { background:var(--gl-bg-2); border-block:1px solid var(--gl-border); }
.gl-section-heading { max-width:840px; }
.gl-section-heading-center { margin-inline:auto; text-align:center; }
.gl-section-kicker {
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .95rem;
  border-radius:999px;
  border:1px solid color-mix(in oklab,var(--gl-green-bright) 28%,var(--gl-border));
  background:color-mix(in oklab,var(--gl-green-bright) 8%,transparent);
  color:var(--gl-green-bright);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
html[data-theme="light"] .gl-section-kicker { color:var(--gl-green-deep); }
.gl-section-heading h2 { margin:1.15rem 0 0; color:var(--gl-text); font-size:clamp(2.25rem,3.7vw,3.75rem); line-height:1.08; letter-spacing:-.035em; font-weight:800; text-wrap:balance; }
.gl-section-heading h2 span {
  background:linear-gradient(90deg,var(--gl-green-bright),var(--gl-yellow));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
html[data-theme="light"] .gl-section-heading h2 span {
  background:linear-gradient(90deg,var(--gl-green),#b69b30);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.gl-section-heading p { margin:1.1rem 0 0; color:var(--gl-muted); font-size:1rem; line-height:1.7; max-width:820px; }

/* Connected service cards */
.gl-service-grid { margin-top:3.2rem; display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.gl-service-link { text-decoration:none; display:block; height:100%; }
.gl-service-card {
  position:relative;
  min-height:310px;
  height:100%;
  border:1px solid var(--gl-border);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(145deg,var(--gl-card),color-mix(in oklab,var(--gl-card-soft) 82%,var(--gl-card)));
  color:var(--gl-text);
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.gl-service-card::after {
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  border-radius:50%;
  inset-inline-end:-44px;
  inset-block-end:-46px;
  background:color-mix(in oklab,var(--gl-green-bright) 12%,transparent);
}
.gl-service-link:hover .gl-service-card { transform:translateY(-7px); border-color:color-mix(in oklab,var(--gl-green-bright) 34%,var(--gl-border)); box-shadow:var(--gl-shadow); }
.gl-service-card-body { min-height:310px; padding:1.9rem; display:flex; flex-direction:column; }
.gl-service-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; background:color-mix(in oklab,var(--gl-green-bright) 12%,transparent); color:var(--gl-green-bright); font-size:1.5rem; }
html[data-theme="light"] .gl-service-icon { color:var(--gl-green); }
.gl-service-title { margin:1.4rem 0 .75rem; font-size:1.35rem; line-height:1.2; font-weight:700; color:var(--gl-text); }
.gl-service-copy { color:var(--gl-muted); line-height:1.65; font-size:.95rem; }
.gl-service-action { margin-top:auto; padding-top:1.5rem; color:var(--gl-green-bright); font-weight:700; display:flex; align-items:center; gap:.65rem; }
html[data-theme="light"] .gl-service-action { color:var(--gl-green); }

/* TPA cards */
.gl-tpa-grid { margin-top:3.1rem; display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.gl-tpa-card {
  position:relative;
  min-height:255px;
  border:1px solid var(--gl-border);
  border-radius:22px;
  background:linear-gradient(145deg,var(--gl-card),var(--gl-card-soft));
  color:var(--gl-text);
  overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.gl-tpa-card::after {
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  border-radius:50%;
  inset-inline-end:-54px;
  inset-block-end:-60px;
  background:color-mix(in oklab,var(--gl-green-bright) 10%,transparent);
}
.gl-tpa-card:hover { transform:translateY(-6px); border-color:color-mix(in oklab,var(--gl-green-bright) 32%,var(--gl-border)); box-shadow:var(--gl-shadow); }
.gl-tpa-card figure { display:none; }
.gl-tpa-card-body { min-height:255px; padding:1.8rem; display:flex; flex-direction:column; position:relative; z-index:1; }
.gl-tpa-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; background:color-mix(in oklab,var(--gl-green-bright) 12%,transparent); color:var(--gl-green-bright); font-size:1.5rem; }
html[data-theme="light"] .gl-tpa-icon { color:var(--gl-green); }
.gl-tpa-title { margin:1.3rem 0 .75rem; font-size:1.2rem; font-weight:700; color:var(--gl-text); }
.gl-tpa-copy { color:var(--gl-muted); line-height:1.65; font-size:.95rem; }

/* Keep daisyUI-loaded sections consistent with the public theme */
.public-shell .bg-body { background-color:var(--gl-card)!important; }
.public-shell .bg-body-tertiary\/55,
.public-shell .bg-body-tertiary\/60,
.public-shell .bg-body-tertiary\/50,
.public-shell .bg-body-tertiary\/45,
.public-shell .bg-body-tertiary\/40 { background-color:var(--gl-bg-2)!important; }
.public-shell .border-body { border-color:var(--gl-border)!important; }
.public-shell .text-body,
.public-shell .text-body\/80 { color:var(--gl-text)!important; }
.public-shell .text-body\/60,
.public-shell .text-body\/55,
.public-shell .text-body\/50,
.public-shell .text-body\/45 { color:var(--gl-muted)!important; }
.public-shell .text-primary { color:var(--gl-green-bright)!important; }
html[data-theme="light"] .public-shell .text-primary { color:var(--gl-green)!important; }


/* Public authentication pages */
.glis-auth-shell {
  min-height: calc(100dvh - 120px);
  background:
    radial-gradient(circle at 12% 18%, color-mix(in oklab,var(--gl-green-bright) 10%,transparent), transparent 24rem),
    radial-gradient(circle at 88% 76%, color-mix(in oklab,var(--gl-accent) 8%,transparent), transparent 22rem),
    var(--gl-bg)!important;
}
.glis-auth-story {
  background:
    radial-gradient(circle at 16% 10%, rgba(69,207,141,.18), transparent 18rem),
    linear-gradient(145deg,#071b14,#0b2c20 58%,#0d3b2a)!important;
  color:#eef9f3!important;
  border:1px solid #1f4935!important;
}
.glis-auth-card {
  background:var(--gl-surface)!important;
  color:var(--gl-text)!important;
  border-color:var(--gl-border)!important;
}
.glis-card-lift { transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.glis-card-lift:hover { transform:translateY(-5px); box-shadow:var(--gl-shadow)!important; border-color:color-mix(in oklab,var(--gl-green-bright) 26%,var(--gl-border))!important; }

/* footer */
.gl-public-footer {
  position:relative;
  background:#07170f;
  color:#eef8f2;
  border-top:1px solid #173626;
}
.gl-public-footer::before { content:""; display:block; height:3px; background:linear-gradient(90deg,transparent,#38c988 22%,#6bddaa 50%,#38c988 78%,transparent); }
.gl-public-footer-main { padding:3.8rem 0 3rem; display:grid; grid-template-columns:1.5fr .7fr .7fr 1fr; gap:3rem; }
.gl-footer-brand img { width:105px; background:#fff; border-radius:14px; padding:.45rem; }
.gl-footer-summary { margin-top:1rem; max-width:460px; color:#9bb5a7; line-height:1.75; font-size:.9rem; }
.gl-footer-title { margin:0; color:#f4fbf7; font-size:.76rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.gl-footer-links { margin:1.1rem 0 0; padding:0; list-style:none; display:grid; gap:.75rem; }
.gl-footer-links a,.gl-public-footer a { color:#a9c1b5; text-decoration:none; }
.gl-footer-links a:hover,.gl-public-footer a:hover { color:#62dda8; }
.gl-footer-contact { margin-top:1.1rem; display:grid; gap:.85rem; color:#a9c1b5; font-size:.9rem; }
.gl-footer-contact span { display:flex; gap:.75rem; align-items:flex-start; }
.gl-public-footer-bottom { border-top:1px solid rgba(255,255,255,.08); }
.gl-public-footer-bottom .gl-footer-inner { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:1rem; color:#789285; font-size:.75rem; }

/* public floating theme button */
.gl-public-theme-fab {
  position:fixed;
  z-index:80;
  inset-inline-end:1.2rem;
  bottom:1.2rem;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid var(--gl-border);
  background:var(--gl-surface);
  color:var(--gl-text);
  display:grid;
  place-items:center;
  box-shadow:var(--gl-shadow);
}

/* reveal animation */
.public-shell [data-reveal] { opacity:0; transform:translateY(18px); transition:opacity .55s ease,transform .55s ease; }
.public-shell [data-reveal].is-visible { opacity:1; transform:none; }

@keyframes gl-public-dropdown { from { opacity:0; transform:translateY(-5px) scale(.985); } to { opacity:1; transform:none; } }
@keyframes gl-public-float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }

@media (max-width: 1180px) {
  .gl-public-nav-inner { grid-template-columns:auto auto; }
  .gl-public-desktop-menu { display:none; }
  .gl-public-mobile-toggle { display:inline-flex; justify-self:end; }
  .gl-public-actions { display:none; }
  .gl-public-mobile-nav { display:block; }
}
@media (max-width: 980px) {
  .gl-home-hero-grid { grid-template-columns:1fr; gap:2rem; padding-block:3.2rem; }
  .gl-home-copy { text-align:center; }
  .gl-home-copy p { margin-inline:auto; }
  .gl-home-actions { justify-content:center; }
  .gl-home-visual { min-height:360px; }
  .gl-home-floating-top { inset-inline-end:0; }
  .gl-home-floating-bottom { inset-inline-start:0; }
  .gl-quick-grid,.gl-service-grid,.gl-tpa-grid { grid-template-columns:repeat(2,1fr); }
  .gl-public-footer-main { grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px) {
  .gl-public-topbar-contact { display:none; }
  .gl-public-nav-inner { min-height:72px; gap:1rem; }
  .gl-public-logo img { width:92px; }
  .gl-home-copy h1 { font-size:clamp(2.8rem,12vw,4rem); }
  .gl-home-copy p { font-size:1rem; }
  .gl-home-visual { min-height:300px; }
  .gl-home-floating { font-size:.72rem; min-height:42px; padding:.6rem .75rem; }
  .gl-home-floating-top { top:.5rem; }
  .gl-home-floating-bottom { bottom:.5rem; }
  .gl-quick-grid,.gl-service-grid,.gl-tpa-grid,.gl-public-footer-main { grid-template-columns:1fr; }
  .gl-section-heading h2 { font-size:2.7rem; }
  .gl-public-footer-bottom .gl-footer-inner { flex-direction:column; justify-content:center; padding-block:1rem; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  .public-shell *, .public-shell *::before, .public-shell *::after { scroll-behavior:auto!important; animation:none!important; transition-duration:.01ms!important; }
}

/* Cinematic GLIS homepage */
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-topbar {
  background:#050d11;
  color:#a9c8c0;
}
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-topbar a { color:#8de8c3; }
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-header {
  --gl-header:rgba(5,13,17,.94);
  --gl-border:rgba(177,231,216,.12);
  background:var(--gl-header);
  border-bottom-color:var(--gl-border);
  box-shadow:0 12px 36px rgba(0,0,0,.12);
}
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-nav-inner > a img { filter:brightness(0) invert(1); }
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-desktop-menu nav > ul > li > a,
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-desktop-menu .glis-nav-trigger,
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-theme,
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-lang,
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-user,
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-secondary {
  color:#edf9f5!important;
}
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-mobile-nav {
  background:#081419;
  border-color:rgba(177,231,216,.12);
}
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-mobile-nav .glis-menu,
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-mobile-nav a,
html[data-theme="dark"] .public-shell:has(.gl-home-hero--cinematic) .gl-public-mobile-nav button { color:#edf9f5!important; }

.gl-home-hero--cinematic {
  --gl-hero-ink:var(--gl-text);
  --gl-hero-muted:var(--gl-muted);
  --gl-hero-green:var(--bs-primary);
  --gl-hero-teal:var(--bs-secondary);
  position:relative;
  isolation:isolate;
  min-height:0;
  overflow:hidden;
  color:var(--gl-hero-ink);
  background:
    radial-gradient(ellipse at 76% 48%,rgba(27,131,111,.25),transparent 38%),
    radial-gradient(ellipse at 12% 85%,rgba(51,169,122,.15),transparent 32%),
    linear-gradient(118deg,var(--gl-bg) 0%,var(--gl-bg-2) 48%,var(--gl-bg) 100%);
}
.gl-home-hero--cinematic::before,
.gl-home-hero--cinematic::after {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
}
.gl-home-hero--cinematic::before {
  inset:0;
  opacity:.36;
  background-image:
    linear-gradient(rgba(152,235,210,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(152,235,210,.04) 1px,transparent 1px);
  background-size:82px 82px;
  mask-image:linear-gradient(to bottom,transparent,black 18%,black 76%,transparent);
}
.gl-home-hero--cinematic::after {
  width:46rem;
  height:46rem;
  inset-inline-end:-15rem;
  top:-28rem;
  border-radius:50%;
  border:1px solid rgba(117,235,197,.09);
  box-shadow:0 0 0 3.5rem rgba(117,235,197,.018),0 0 0 8rem rgba(117,235,197,.015);
}
.gl-home-starfield {
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  opacity:.72;
  background-image:
    radial-gradient(circle,rgba(207,255,236,.8) 0 1px,transparent 1.5px),
    radial-gradient(circle,rgba(78,233,192,.66) 0 1px,transparent 1.5px),
    radial-gradient(circle,rgba(132,168,255,.56) 0 1px,transparent 1.5px);
  background-size:181px 173px,257px 221px,313px 287px;
  background-position:13px 27px,79px 11px,31px 113px;
  animation:gl-home-stars 32s linear infinite;
}
.gl-home-hero--cinematic .gl-home-hero-grid {
  position:relative;
  z-index:1;
  min-height:inherit;
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);
  gap:clamp(1.5rem,4vw,4rem);
  padding-block:clamp(2rem,4vw,3.25rem);
}
.gl-home-copy { position:relative; z-index:2; }
.gl-home-kicker {
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  padding:.62rem .9rem;
  border:1px solid rgba(105,238,194,.24);
  border-radius:999px;
  background:rgba(54,182,148,.09);
  color:var(--gl-hero-green);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.3;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
}
.gl-home-kicker i { color:var(--gl-hero-green); font-size:.95rem; }
.gl-home-hero--cinematic .gl-home-copy h1 {
  position:relative;
  max-width:680px;
  margin:1rem 0 0;
  color:var(--gl-hero-ink);
  font-size:clamp(2rem,3.7vw,3.75rem);
  font-weight:800;
  line-height:1.12;
  letter-spacing:-.045em;
  text-wrap:balance;
  text-shadow:0 12px 56px rgba(87,223,188,.08);
}
.gl-home-hero--cinematic .gl-home-copy h1::after {
  content:"";
  display:block;
  width:clamp(5rem,15vw,11rem);
  height:4px;
  margin-top:1rem;
  border-radius:99px;
  background:linear-gradient(90deg,#59e9b6,#44d2d2 68%,transparent);
  box-shadow:0 0 28px rgba(66,222,184,.42);
}
.gl-home-hero--cinematic .gl-home-copy p {
  max-width:620px;
  margin:1rem 0 0;
  color:var(--gl-hero-muted);
  font-size:clamp(1rem,1.2vw,1.125rem);
  line-height:1.7;
}
.gl-home-hero--cinematic .gl-home-actions { gap:.75rem; margin-top:1.4rem; }
.gl-home-hero--cinematic .gl-btn {
  min-height:46px;
  padding:.75rem 1.1rem;
  border-radius:999px;
  font-size:.93rem;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
}
.gl-home-hero--cinematic .gl-btn-primary {
  color:var(--bs-white)!important;
  background:linear-gradient(120deg,var(--gl-hero-green),var(--gl-hero-teal));
  box-shadow:0 12px 34px rgba(49,218,165,.21),inset 0 1px 0 rgba(255,255,255,.58);
}
.gl-home-hero--cinematic .gl-btn-secondary {
  color:var(--gl-hero-ink)!important;
  border-color:var(--gl-border);
  background:color-mix(in srgb,var(--gl-surface) 70%,transparent);
  backdrop-filter:blur(12px);
}
.gl-home-hero--cinematic .gl-btn:hover {
  transform:translateY(-3px);
  box-shadow:0 18px 44px rgba(49,218,165,.22);
}
.gl-home-proof {
  display:flex;
  flex-wrap:wrap;
  gap:.8rem 1.35rem;
  margin-top:1.4rem;
  color:var(--gl-hero-muted);
  font-size:.78rem;
  font-weight:650;
}
.gl-home-proof span { display:inline-flex; align-items:center; gap:.45rem; }
.gl-home-proof i { color:var(--gl-hero-green); font-size:.9rem; }

.gl-home-hero--cinematic .gl-home-visual {
  min-height:340px;
  overflow:visible;
  perspective:1200px;
}
.gl-home-hero--cinematic .gl-home-image-card {
  position:relative;
  display:grid;
  width:min(100%,430px);
  min-height:320px;
  place-items:center;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transform:translate3d(var(--glis-parallax-x,0),var(--glis-parallax-y,0),0);
  transition:transform .2s ease-out;
}
.gl-medical-globe {
  position:relative;
  z-index:1;
  display:grid;
  width:min(76vw,310px);
  aspect-ratio:1;
  place-items:center;
  transform-style:preserve-3d;
  filter:drop-shadow(0 30px 48px rgba(0,0,0,.38));
  animation:gl-home-globe-hover 7s ease-in-out infinite;
}
.gl-globe-surface {
  position:absolute;
  inset:13.6%;
  overflow:hidden;
  border:1px solid rgba(155,255,220,.44);
  border-radius:50%;
  background:
    radial-gradient(circle at 31% 25%,rgba(161,255,219,.46),transparent 28%),
    radial-gradient(circle at 64% 68%,rgba(45,192,190,.28),transparent 45%),
    linear-gradient(145deg,#14463d,#0a2228 65%,#102e35);
  box-shadow:inset -20px -18px 52px rgba(1,11,18,.58),inset 14px 10px 34px rgba(191,255,227,.12),0 0 86px rgba(45,220,177,.2);
}
.gl-globe-surface::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(128deg,rgba(255,255,255,.18),transparent 34%,transparent 72%,rgba(68,229,194,.12));
}
.gl-globe-photo {
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.48;
  mix-blend-mode:screen;
  filter:saturate(.75) contrast(1.06);
}
.gl-globe-wireframe {
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  overflow:visible;
  filter:drop-shadow(0 0 12px rgba(72,239,197,.2));
  transform-origin:50% 50%;
  animation:gl-home-globe-turn 38s linear infinite;
}
.gl-globe-latitudes { transform-origin:210px 210px; }
.gl-globe-core {
  position:absolute;
  z-index:3;
  display:grid;
  width:72px;
  aspect-ratio:1;
  place-items:center;
  border:1px solid rgba(198,255,232,.54);
  border-radius:24px;
  color:#d8ffed;
  background:linear-gradient(145deg,rgba(131,255,210,.28),rgba(27,117,105,.16));
  box-shadow:0 0 34px rgba(81,239,185,.26),inset 0 1px 0 rgba(255,255,255,.36);
  backdrop-filter:blur(14px);
  transform:translateZ(72px) rotate(-8deg);
}
.gl-globe-core i { font-size:1.8rem; filter:drop-shadow(0 0 9px rgba(97,244,188,.8)); }
.gl-orbit-ring {
  position:absolute;
  z-index:0;
  top:50%;
  left:50%;
  width:112%;
  height:34%;
  border:1px solid rgba(100,239,199,.45);
  border-radius:50%;
  box-shadow:0 0 22px rgba(64,226,190,.1),inset 0 0 16px rgba(91,235,196,.08);
  transform-style:preserve-3d;
  pointer-events:none;
}
.gl-orbit-ring-one {
  transform:translate(-50%,-50%) rotate(-24deg) rotateX(68deg);
  animation:gl-home-orbit-one 18s linear infinite;
}
.gl-orbit-ring-two {
  width:97%;
  height:58%;
  border-color:rgba(147,176,255,.32);
  transform:translate(-50%,-50%) rotate(54deg) rotateX(68deg);
  animation:gl-home-orbit-two 23s linear infinite;
}
.gl-home-hero--cinematic .gl-home-floating {
  z-index:4;
  min-height:64px;
  gap:.65rem;
  padding:.8rem 1rem;
  border:1px solid rgba(196,250,232,.16);
  border-radius:18px;
  color:var(--gl-hero-ink);
  background:color-mix(in srgb,var(--gl-surface) 90%,transparent);
  box-shadow:0 18px 52px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter:blur(18px) saturate(145%);
  animation:gl-public-float 6.4s ease-in-out infinite;
}
.gl-home-hero--cinematic .gl-home-floating i { color:#6ff0be; font-size:1.2rem; }
.gl-home-floating span:not(.gl-live-dot) { display:grid; gap:.14rem; }
.gl-home-floating strong { font-size:.8rem; line-height:1.2; }
.gl-home-floating small { color:var(--gl-hero-muted); font-size:.68rem; font-weight:500; }
.gl-home-hero--cinematic .gl-home-floating-top { top:13%; inset-inline-end:-1%; }
.gl-home-hero--cinematic .gl-home-floating-bottom { bottom:12%; inset-inline-start:-3%; animation-delay:-2.4s; }
.gl-live-dot {
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:#6bf0ad;
  box-shadow:0 0 0 5px rgba(107,240,173,.12),0 0 16px rgba(107,240,173,.65);
  animation:gl-home-pulse 2.2s ease-in-out infinite;
}
.gl-home-scroll {
  position:absolute;
  z-index:2;
  inset-inline-start:50%;
  bottom:1.4rem;
  display:grid;
  width:30px;
  height:44px;
  place-items:start center;
  padding-top:8px;
  border:1px solid rgba(228,255,246,.28);
  border-radius:99px;
  transform:translateX(-50%);
}
.gl-home-scroll span {
  width:4px;
  height:9px;
  border-radius:9px;
  background:#8df4cd;
  animation:gl-home-scroll 1.8s ease-in-out infinite;
}

/* The animated illustration follows the same light palette as the page. */
html[data-theme="light"] .gl-home-starfield { opacity:.22; background-image:radial-gradient(circle,#147a50 0 1px,transparent 1.5px); }
html[data-theme="light"] .gl-home-kicker { border-color:var(--gl-border); background:color-mix(in srgb,var(--gl-hero-green) 8%,var(--gl-surface)); }
html[data-theme="light"] .gl-globe-surface { border-color:#91cab0; background:radial-gradient(circle at 31% 25%,#ffffff,transparent 55%),linear-gradient(145deg,#d8f2e6,#b9e3d2); box-shadow:inset -15px -15px 40px rgba(20,122,80,.1),0 20px 45px rgba(20,122,80,.12); }
html[data-theme="light"] .gl-globe-photo { opacity:.55; mix-blend-mode:multiply; }
html[data-theme="light"] .gl-globe-core { color:var(--gl-green); border-color:#92caae; background:linear-gradient(145deg,#f4fff9,#d3efdf); box-shadow:0 8px 28px rgba(20,122,80,.16); }
html[data-theme="light"] .gl-home-hero--cinematic .gl-home-floating { border-color:var(--gl-border); box-shadow:var(--gl-shadow); }
html[data-theme="light"] .gl-home-hero--cinematic .gl-home-floating i { color:var(--gl-green); }
html[data-theme="light"] .gl-home-scroll { border-color:var(--gl-border); }
html[data-theme="light"] .gl-home-scroll span { background:var(--gl-green); }

/* Slight depth on the service cards; all content remains CMS-driven. */
.gl-home-page .gl-service-card,
.gl-home-page .gl-tpa-card,
.gl-home-page .gl-quick-card {
  transform-style:preserve-3d;
  transition:transform .28s cubic-bezier(.2,.75,.25,1),border-color .24s ease,box-shadow .24s ease;
}
.gl-home-page .gl-service-link:hover .gl-service-card,
.gl-home-page .gl-tpa-card:hover,
.gl-home-page .gl-quick-card:hover {
  transform:translateY(-7px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
}

@keyframes gl-home-stars { to { background-position:194px 9px,21px 232px,344px 18px; } }
@keyframes gl-home-globe-turn { to { transform:rotate(360deg); } }
@keyframes gl-home-globe-hover { 0%,100% { transform:translateY(0) rotateX(-2deg); } 50% { transform:translateY(-10px) rotateX(2deg); } }
@keyframes gl-home-orbit-one { to { transform:translate(-50%,-50%) rotate(336deg) rotateX(68deg); } }
@keyframes gl-home-orbit-two { to { transform:translate(-50%,-50%) rotate(-306deg) rotateX(68deg); } }
@keyframes gl-home-pulse { 0%,100% { opacity:.72; scale:1; } 50% { opacity:1; scale:1.18; } }
@keyframes gl-home-scroll { 0%,100% { opacity:.45; transform:translateY(0); } 55% { opacity:1; transform:translateY(9px); } }

@media (max-width:1180px) {
  .gl-home-hero--cinematic .gl-home-hero-grid { grid-template-columns:minmax(0,1fr) minmax(280px,.88fr); gap:2rem; }
  .gl-home-hero--cinematic .gl-home-visual { min-height:320px; }
  .gl-home-hero--cinematic .gl-home-image-card { min-height:300px; }
  .gl-home-hero--cinematic .gl-home-floating-top { inset-inline-end:0; }
  .gl-home-hero--cinematic .gl-home-floating-bottom { inset-inline-start:0; }
}
@media (max-width:980px) {
  .gl-home-hero--cinematic { min-height:0; }
  .gl-home-hero--cinematic .gl-home-hero-grid { grid-template-columns:1fr; gap:1.6rem; padding-block:2.5rem 3rem; }
  .gl-home-hero--cinematic .gl-home-copy { text-align:center; }
  .gl-home-hero--cinematic .gl-home-copy h1 { margin-inline:auto; }
  .gl-home-hero--cinematic .gl-home-copy h1::after { margin-inline:auto; }
  .gl-home-hero--cinematic .gl-home-copy p { margin-inline:auto; }
  .gl-home-hero--cinematic .gl-home-actions,.gl-home-proof { justify-content:center; }
  .gl-home-hero--cinematic .gl-home-visual { min-height:300px; }
  .gl-home-hero--cinematic .gl-home-image-card { min-height:280px; }
  .gl-home-hero--cinematic .gl-home-floating-top { inset-inline-end:8%; }
  .gl-home-hero--cinematic .gl-home-floating-bottom { inset-inline-start:8%; }
}
@media (max-width:640px) {
  .gl-home-hero--cinematic .gl-home-hero-grid { padding-block:2rem 2.5rem; }
  .gl-home-hero--cinematic .gl-home-copy h1 { font-size:clamp(2rem,7.5vw,2.65rem); }
  .gl-home-hero--cinematic .gl-home-copy p { margin-top:1.2rem; font-size:1rem; }
  .gl-home-hero--cinematic .gl-home-actions { flex-direction:column; align-items:stretch; }
  .gl-home-hero--cinematic .gl-btn { justify-content:center; }
  .gl-home-proof { gap:.65rem .95rem; font-size:.7rem; }
  .gl-home-hero--cinematic .gl-home-visual { min-height:240px; }
  .gl-home-hero--cinematic .gl-home-image-card { min-height:240px; }
  .gl-medical-globe { width:min(76vw,240px); }
  .gl-home-hero--cinematic .gl-home-floating { min-height:54px; padding:.65rem .75rem; }
  .gl-home-hero--cinematic .gl-home-floating-top { top:4%; inset-inline-end:0; }
  .gl-home-hero--cinematic .gl-home-floating-bottom { bottom:5%; inset-inline-start:0; }
  .gl-home-hero--cinematic .gl-home-floating strong { font-size:.72rem; }
  .gl-home-hero--cinematic .gl-home-floating small { font-size:.62rem; }
  .gl-home-scroll { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .gl-home-starfield,
  .gl-medical-globe,
  .gl-globe-wireframe,
  .gl-orbit-ring,
  .gl-live-dot,
  .gl-home-scroll span { animation:none!important; }
  .gl-home-hero--cinematic .gl-home-image-card { transform:none!important; }
}


/* Public inner-page compatibility and CMS layout */

/*
 * The homepage is implemented with the current Tailwind/daisyUI public design,
 * while several inner CMS templates still use Bootstrap utility/component
 * classes. Keep those legacy templates theme-aware and visually consistent
 * without changing the homepage.
 */
.public-shell {
  --bs-body-bg: var(--gl-bg);
  --bs-body-color: var(--gl-text);
  --bs-emphasis-color: var(--gl-text);
  --bs-secondary-color: var(--gl-muted);
  --bs-tertiary-color: var(--gl-muted);
  --bs-secondary-bg: var(--gl-surface-2);
  --bs-tertiary-bg: var(--gl-bg-2);
  --bs-border-color: var(--gl-border);
  --bs-border-color-translucent: color-mix(in srgb, var(--gl-border) 72%, transparent);
  --bs-primary: var(--bs-primary);
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--gl-green-bright);
  --bs-card-bg: var(--gl-card);
  --bs-card-color: var(--gl-text);
}

html[data-theme="light"] .public-shell {
  --bs-body-bg-rgb: 245,248,246;
  --bs-body-color-rgb: 19,36,28;
  --bs-secondary-bg-rgb: 244,248,245;
  --bs-tertiary-bg-rgb: 237,245,240;
  --bs-primary-rgb: 20,122,80;
  --bs-success-rgb: 21,150,94;
  --bs-info-rgb: 43,126,184;
  --bs-warning-rgb: 207,134,29;
  --bs-danger-rgb: 201,73,73;
}

html[data-theme="dark"] .public-shell {
  --bs-body-bg-rgb: 7,17,12;
  --bs-body-color-rgb: 238,249,243;
  --bs-secondary-bg-rgb: 16,34,25;
  --bs-tertiary-bg-rgb: 10,23,16;
  --bs-primary-rgb: 69,207,141;
  --bs-success-rgb: 69,207,141;
  --bs-info-rgb: 102,181,229;
  --bs-warning-rgb: 230,169,83;
  --bs-danger-rgb: 238,119,119;
}

/* Common inner-page surfaces */
.public-shell .about-hero,
.public-shell .support-hero,
.public-shell .download-hero,
.public-shell .page-hero {
  color: var(--gl-text);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--bs-primary) 10%, transparent), transparent 24rem),
    linear-gradient(135deg, var(--gl-bg) 0%, var(--gl-bg-2) 62%, var(--gl-bg) 100%) !important;
  border-color: var(--gl-border) !important;
}

.public-shell .bg-body {
  background-color: var(--gl-card) !important;
  color: var(--gl-text) !important;
}
.public-shell .bg-body-tertiary {
  background-color: var(--gl-bg-2) !important;
  color: var(--gl-text) !important;
}
.public-shell .border,
.public-shell .border-top,
.public-shell .border-bottom,
.public-shell .border-start,
.public-shell .border-end {
  border-color: var(--gl-border) !important;
}

.public-shell .shadow,
.public-shell .shadow-sm,
.public-shell .shadow-lg {
  box-shadow: var(--gl-shadow) !important;
}

.public-shell .about-feature-card,
.public-shell .about-purpose-card,
.public-shell .about-value-box,
.public-shell .support-step-card,
.public-shell .support-feature {
  background: var(--gl-card) !important;
  color: var(--gl-text);
  border-color: var(--gl-border) !important;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--gl-text) 6%, transparent);
}

.public-shell .about-feature-card:hover,
.public-shell .about-purpose-card:hover,
.public-shell .about-value-box:hover,
.public-shell .support-step-card:hover,
.public-shell .support-feature:hover {
  border-color: color-mix(in srgb, var(--bs-primary) 38%, var(--gl-border)) !important;
  box-shadow: var(--gl-shadow) !important;
}

.public-shell .about-cta,
.public-shell .support-cta {
  background: linear-gradient(135deg, var(--gl-green-deep), var(--gl-green)) !important;
  color: #fff !important;
}

.public-shell .about-cta .btn-light,
.public-shell .support-cta .btn-light {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--gl-green-deep) !important;
}

.public-shell .btn-primary {
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}
.public-shell .btn-outline-primary {
  background: transparent !important;
  border-color: color-mix(in srgb, var(--bs-primary) 55%, var(--gl-border)) !important;
  color: var(--bs-primary) !important;
}
.public-shell .btn-outline-primary:hover {
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

.public-shell .bg-primary-subtle,
.public-shell .bg-success-subtle,
.public-shell .bg-info-subtle,
.public-shell .bg-warning-subtle {
  background: color-mix(in srgb, currentColor 10%, var(--gl-card)) !important;
}

/* Generic django-CMS content pages such as Services */
.public-shell .public-content-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--gl-border);
  border-radius: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--gl-card);
  color: var(--gl-text);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--gl-shadow);
}

.public-shell .public-content-card > :first-child { margin-top: 0; }
.public-shell .public-content-card > :last-child { margin-bottom: 0; }
.public-shell .public-content-card img { max-width: 100%; height: auto; }
.public-shell .public-content-card .row { row-gap: 1.25rem; }
.public-shell .public-content-card .card {
  height: 100%;
  border-color: var(--gl-border);
  background: var(--gl-card);
  color: var(--gl-text);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--gl-text) 5%, transparent);
}
.public-shell .public-content-card .card-header,
.public-shell .public-content-card .card-footer {
  border-color: var(--gl-border);
  background: var(--gl-surface-2);
}
.public-shell .public-content-card h1,
.public-shell .public-content-card h2,
.public-shell .public-content-card h3,
.public-shell .public-content-card h4 {
  color: var(--gl-text);
}
.public-shell .public-content-card p,
.public-shell .public-content-card li {
  color: var(--gl-muted);
  line-height: 1.75;
}
.public-shell .public-content-card a:not(.btn) {
  color: var(--bs-primary);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

/* Legacy non-CMS public content model */
.public-shell .page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.public-shell .page-hero .container,
.public-shell .section-space .container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}
.public-shell .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .8rem;
  border: 1px solid color-mix(in srgb, var(--bs-primary) 28%, var(--gl-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bs-primary) 9%, var(--gl-card));
  color: var(--bs-primary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.public-shell .page-hero h1 {
  max-width: 900px;
  margin: 1rem 0 0;
  color: var(--gl-text);
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.05;
}
.public-shell .page-hero p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--gl-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}
.public-shell .section-space {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  background: var(--gl-bg);
}
.public-shell .content-prose {
  color: var(--gl-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.public-shell .content-prose h2,
.public-shell .content-prose h3 {
  margin-top: 2rem;
  color: var(--gl-text);
}
.public-shell .content-section {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--gl-border);
  border-radius: 1.25rem;
  background: var(--gl-card);
}
.public-shell .preview-banner {
  padding: .75rem 1rem;
  background: color-mix(in srgb, var(--bs-warning) 14%, var(--gl-card));
  color: var(--gl-text);
  border-bottom: 1px solid var(--gl-border);
  text-align: center;
  font-weight: 700;
}

/* Inner-page responsive corrections */
@media (max-width: 991.98px) {
  .public-shell .about-hero,
  .public-shell .support-hero {
    text-align: center;
  }
  .public-shell .about-hero .d-flex.flex-wrap,
  .public-shell .support-hero .d-flex.flex-wrap {
    justify-content: center;
  }
  .public-shell .about-image-area,
  .public-shell .support-visual {
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .public-shell .public-content-card {
    padding: 1rem;
    border-radius: 1rem;
  }
  .public-shell .page-hero {
    padding-block: 2.5rem;
  }
  .public-shell .page-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}
