:root {
  --bg: #ffffff;
  --bg-soft: #fbfbfb;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5f6368;
  --line: #e5e7eb;
  --line-strong: #d7dbe0;
  --accent: #000000;
  --accent-contrast: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1080px;
  --heading-font: "Segoe UI", "Arial", sans-serif;
  --body-font: "Segoe UI", "Arial", sans-serif;
}

html[data-theme="dark"] {
  --bg: #0f1218;
  --bg-soft: #141923;
  --surface: #171d28;
  --text: #f3f5fb;
  --muted: #a7b0c2;
  --line: #2a3140;
  --line-strong: #354051;
  --accent: #f3f5fb;
  --accent-contrast: #0f1218;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}

button,
input,
textarea {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

[hidden] {
  display: none !important;
}

.site-body {
  position: relative;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-circle,
.loader-small {
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-circle {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(17, 17, 17, 0.14);
  border-top-color: var(--accent);
}

.loader-small {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border: 3px solid rgba(17, 17, 17, 0.14);
  border-top-color: var(--accent);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav,
.page-main,
.footer-grid,
.footer-copy {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.logo-button {
  display: inline-flex;
  align-items: center;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-mark {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.logo-copy {
  margin-left: 6px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
}

.theme-toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-link,
.footer-link,
.inline-link {
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link {
  color: var(--text);
  font-size: 0.96rem;
}

.nav-link:hover,
.nav-link.is-active,
.footer-link:hover,
.inline-link:hover {
  opacity: 0.72;
}

.cart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.cart-svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.9;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: -2px;
  min-width: 16px;
  padding: 1px 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.page-main {
  display: grid;
  gap: 72px;
  padding: 38px 0 0;
}

.internet-shell {
  display: grid;
  place-items: center;
  min-height: min(70vh, 720px);
}

.internet-card {
  width: min(100%, 700px);
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
}

.internet-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.internet-status {
  font-size: 0.94rem;
  color: var(--muted);
}

.internet-status[data-tone="error"] {
  color: #7f2a22;
}

.internet-status[data-tone="success"] {
  color: #215335;
}

.security-shell {
  display: grid;
  place-items: center;
  min-height: min(70vh, 720px);
}

.security-card {
  width: min(100%, 720px);
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
}

.security-card-error {
  border-color: rgba(127, 42, 34, 0.2);
}

.security-recaptcha-wrap {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-soft);
}

.security-status {
  font-size: 0.94rem;
  color: var(--muted);
}

.security-status[data-tone="error"] {
  color: #7f2a22;
}

.security-status[data-tone="success"] {
  color: #215335;
}

.announcement-section,
.page-hero,
.cta-band,
.tracking-shell {
  border: 0;
  background: transparent;
}

.announcement-banner {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.98rem;
  text-align: center;
}

.hero-home {
  display: grid;
  gap: 28px;
  max-width: 100%;
  padding-top: 34px;
}

.hero-home-copy {
  max-width: 700px;
}

.hero-marquee-shell {
  width: 100%;
  max-width: 1040px;
  margin-top: 8px;
  padding: 20px 0 10px;
}

.page-hero-compact {
  padding: 0;
}

.eyebrow,
.footer-eyebrow,
.card-kicker,
.section-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title,
.page-main h2,
.page-main h3,
.site-footer h2,
.site-footer h3 {
  font-family: var(--heading-font);
}

.hero-title {
  max-width: 11ch;
  margin-top: 10px;
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy,
.page-lead,
.section-intro,
.card p,
.footer-block p,
.faq-item p,
.blog-card p,
.tracking-card p {
  color: var(--muted);
}

.hero-copy,
.page-lead {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 1.12rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.btn-small {
  min-height: 38px;
  padding: 8px 16px;
}

.stat-row,
.quick-grid,
.grid,
.blog-list,
.contact-list,
.faq-list,
.jobs-grid {
  display: grid;
  gap: 26px;
}

.stat-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-card {
  padding: 0;
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-stack {
  display: grid;
  gap: 28px;
}

.section-head {
  display: grid;
  gap: 8px;
}

.section-head h2,
.blog-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.career-announce {
  gap: 16px;
  padding: 26px 28px;
}

.career-announce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 18px;
  align-items: center;
}

.career-announce-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.career-announce-copy p {
  max-width: 58ch;
  margin-top: 10px;
  color: var(--muted);
}

.career-announce-actions {
  margin-top: 0;
}

.quick-grid,
.grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.home-features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.form-card,
.summary-card,
.tracking-card,
.detail-panel,
.media-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.card h3 {
  font-size: 1.08rem;
}

.feature-card,
.faq-item,
.blog-card,
.status-card {
  padding: 22px;
}

.card-kicker-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.12);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.portal-shell {
  display: grid;
  gap: 28px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.portal-card {
  display: grid;
  gap: 14px;
}

.portal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-meta {
  display: grid;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.12);
  font-size: 0.84rem;
}

.status-pill.is-success {
  background: rgba(33, 83, 53, 0.18);
  color: #215335;
}

.portal-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-field {
  display: grid;
  gap: 8px;
}

.portal-field span {
  font-weight: 600;
}

.portal-field-wide {
  grid-column: 1 / -1;
}

.portal-note-stack {
  display: grid;
  gap: 12px;
}

.portal-note {
  color: var(--muted);
}

.product-card {
  display: grid;
  gap: 16px;
}

.product-card-media {
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 260px;
  border-radius: 24px;
  object-fit: cover;
}

.product-price-inline,
.price {
  font-weight: 700;
  color: var(--text);
}

.card-link-copy {
  margin-top: auto;
  color: var(--text);
  font-weight: 700;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 18px;
  align-items: center;
  padding-top: 10px;
}

.experience-band {
  display: grid;
  gap: 28px;
  padding: 30px 0 8px;
  border-top: 1px solid var(--line);
}

.experience-band-copy {
  max-width: 560px;
}

.experience-band-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.03;
}

.experience-band-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
}

.experience-band-copy .partner-marquee-shell {
  margin-top: 18px;
}

.experience-band-copy .btn-row {
  margin-top: 18px;
}

.partner-marquee-shell {
  position: relative;
  overflow: hidden;
  padding: 12px 0 6px;
}

.partner-marquee-shell::before,
.partner-marquee-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 72px;
  pointer-events: none;
}

.partner-marquee-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-marquee-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-marquee {
  overflow: hidden;
}

.partner-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: partner-scroll 24s linear infinite;
}

.partner-card {
  flex: 0 0 auto;
  width: 248px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
}

.partner-badge-svg {
  display: block;
  width: 208px;
  height: 76px;
}

.partner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.partner-logo {
  --partner-logo-scale: 1;
  width: 100%;
  height: 68px;
  object-fit: contain;
  object-position: center;
  transform: scale(var(--partner-logo-scale));
  transform-origin: center;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #f3f4f6;
}

.contact-list,
.blog-list,
.faq-list,
.jobs-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.career-detail-card {
  gap: 22px;
  padding: 26px;
}

.career-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.career-detail-block {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
}

.career-detail-block h4 {
  font-size: 1rem;
}

.career-bullet-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--muted);
}

.career-closing {
  font-weight: 700;
  color: var(--text);
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--text);
}

.contact-label {
  font-weight: 700;
}

.contact-link {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.2);
}

.blog-card-meta {
  margin: 6px 0 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-layout,
.forms-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.media-panel,
.detail-panel,
.summary-card,
.form-card,
.tracking-card {
  padding: 24px;
}

.product-img {
  width: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.2);
}

.price-hero {
  font-size: 1.24rem;
}

.form-card {
  display: grid;
  gap: 12px;
}

.form-card label {
  font-weight: 600;
}

.form-status {
  font-size: 0.94rem;
  color: var(--muted);
}

.form-status[data-tone="error"] {
  color: #7f2a22;
}

.form-status[data-tone="success"] {
  color: #215335;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
}

.input:focus {
  outline: 2px solid rgba(17, 17, 17, 0.08);
  outline-offset: 1px;
}

.recaptcha-wrap {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.recaptcha-slot {
  min-height: 78px;
}

.recaptcha-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

html[data-recaptcha-mode="score"] .recaptcha-slot {
  min-height: 0;
  height: 0;
  overflow: hidden;
}

html[data-recaptcha-mode="score"] .security-recaptcha-wrap {
  padding: 12px 16px;
}

.tracking-shell {
  display: grid;
  gap: 24px;
}

.tracking-card h2 {
  font-size: 1.4rem;
}

.timeline {
  position: relative;
  margin-top: 24px;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline-points {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.timeline-line {
  position: absolute;
  top: 9px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 1s ease;
}

.timeline-point {
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.14);
}

.timeline-point.active {
  background: var(--accent);
}

.camion {
  position: absolute;
  top: -24px;
  left: 0;
  width: 40px;
  color: var(--accent);
  transition: left 1s ease;
}

.camion svg {
  width: 40px;
  height: auto;
}

.status-expired .timeline-line {
  background: #7f2a22;
}

.status-expired .camion {
  color: #7f2a22;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item-meta {
  display: grid;
  gap: 6px;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 700;
}

.cart-item-price {
  color: var(--muted);
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-action {
  min-width: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.mini-action.wide {
  min-width: 110px;
}

.summary-card {
  display: grid;
  gap: 10px;
}

.checkout-status-card {
  display: grid;
  gap: 12px;
}

.checkout-status-card[data-tone="error"] h3,
.checkout-status-card[data-tone="error"] p,
.checkout-status-card[data-tone="error"] li {
  color: #7f2a22;
}

.checkout-status-card[data-tone="success"] h3 {
  color: #215335;
}

.checkout-order-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--muted);
}

.checkout-helper {
  color: var(--muted);
  font-size: 0.94rem;
}

.empty-state {
  padding: 20px 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 72px;
  padding: 36px 0 42px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-block {
  display: grid;
  gap: 10px;
}

.footer-block h2 {
  font-size: 1.8rem;
  line-height: 1.05;
}

.footer-block h3 {
  font-size: 0.98rem;
}

.footer-link {
  color: var(--muted);
}

.footer-copy {
  margin-top: 28px;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.88rem;
}

.chat-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.96);
  color: var(--accent-contrast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.chat-window {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  width: min(320px, calc(100vw - 30px));
  height: 380px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-window.is-open {
  opacity: 1;
  transform: translateY(0);
}

.chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.chat-box {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 0.94rem;
}

.chat-entry + .chat-entry {
  margin-top: 10px;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.chat-send {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  cursor: pointer;
}

.cookie-banner,
.cookie-settings {
  position: fixed;
  z-index: 1000;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.cookie-banner {
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 16px;
}

.cookie-settings {
  top: 50%;
  left: 50%;
  width: min(360px, calc(100vw - 30px));
  padding: 20px;
  transform: translate(-50%, -50%);
}

.cookie-buttons,
.cookie-settings-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.cookie-option {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.gary-ia-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.gary-ia-modal-shell {
  width: min(520px, calc(100vw - 24px));
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.gary-ia-modal-shell h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 0.98;
}

.gary-ia-modal-shell p {
  color: var(--muted);
}

.site-body.has-modal-blur #site-header,
.site-body.has-modal-blur .page-main,
.site-body.has-modal-blur #site-footer,
.site-body.has-modal-blur #global-ui > :not(#garyIaModal) {
  filter: blur(18px);
  pointer-events: none;
  user-select: none;
}

html[data-theme="dark"] .site-header { background: rgba(0, 0, 0, 0.96); }

html[data-theme="dark"] .status-pill.is-success,
html[data-theme="dark"] .form-status[data-tone="success"],
html[data-theme="dark"] .checkout-status-card[data-tone="success"] h3 {
  color: #9fe0b4;
}

html[data-theme="dark"] .form-status[data-tone="error"],
html[data-theme="dark"] .checkout-status-card[data-tone="error"] h3,
html[data-theme="dark"] .checkout-status-card[data-tone="error"] p,
html[data-theme="dark"] .checkout-status-card[data-tone="error"] li {
  color: #ffb7ae;
}

html[data-theme="dark"] .partner-marquee-shell::before {
  background: linear-gradient(90deg, var(--bg) 0%, rgba(15, 18, 24, 0) 100%);
}

html[data-theme="dark"] .partner-marquee-shell::after {
  background: linear-gradient(270deg, var(--bg) 0%, rgba(15, 18, 24, 0) 100%);
}

@media (max-width: 980px) {
  .nav,
  .cta-band,
  .detail-layout,
  .forms-layout,
  .footer-grid,
  .home-features-grid,
  .career-announce-layout,
  .career-detail-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .experience-band {
    gap: 22px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
  }

  .nav,
  .page-main,
  .footer-grid,
  .footer-copy {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    gap: 10px;
    margin-top: 2px;
    padding-bottom: 2px;
  }

  .nav-link {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(127, 127, 127, 0.12);
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .nav-tools {
    gap: 8px;
  }

  .theme-toggle {
    min-height: 38px;
    padding: 0 12px;
  }

  .nav-link.is-active {
    background: var(--accent);
    color: var(--accent-contrast);
    opacity: 1;
  }

  .page-main {
    padding-top: 24px;
    gap: 56px;
  }

  .announcement-banner {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-copy,
  .page-lead,
  .section-intro {
    max-width: 100%;
    font-size: 1rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .card,
  .form-card,
  .summary-card,
  .tracking-card,
  .detail-panel,
  .media-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .internet-card {
    padding: 22px;
    border-radius: 22px;
  }

  .security-card {
    padding: 22px;
    border-radius: 22px;
  }


  .quick-grid,
  .grid,
  .blog-list,
  .contact-list,
  .faq-list,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .partner-marquee-shell {
    padding: 10px 0 4px;
  }

  .partner-marquee-shell::before,
  .partner-marquee-shell::after {
    width: 36px;
  }

  .partner-marquee-track {
    gap: 16px;
  }

  .partner-card {
    width: 216px;
    height: 92px;
    padding: 12px 16px;
    border-radius: 22px;
  }

  .partner-badge-svg {
    width: 184px;
    height: 66px;
  }

  .portal-grid,
  .portal-meta-grid,
  .portal-command-grid {
    grid-template-columns: 1fr;
  }

  .recaptcha-slot {
    min-height: 72px;
    transform: scale(0.92);
    transform-origin: left top;
  }

  html[data-recaptcha-mode="score"] .recaptcha-slot {
    min-height: 0;
    height: 0;
    transform: none;
  }

  .partner-logo {
    height: 58px;
  }

  .product-card-media img,
  .product-img {
    border-radius: 20px;
  }

  .cart-item {
    flex-direction: column;
  }

  .timeline-labels {
    gap: 8px;
    font-size: 0.72rem;
  }

  .chat-button {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .chat-window {
    right: 12px;
    left: 12px;
    bottom: 78px;
    width: auto;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

.updates-body {
  background: #050505;
  color: #f7f7f7;
}

.updates-body .site-header {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.updates-body .nav-link,
.updates-body .logo-button,
.updates-body .cart-svg {
  color: #f7f7f7;
  stroke: #f7f7f7;
}

.updates-body .cart-count {
  background: #f7f7f7;
  color: #050505;
}

.updates-page {
  --text: #f7f7f7;
  --muted: #b7b7b7;
  --line: rgba(255, 255, 255, 0.16);
  --surface: #111111;
  --accent: #ffffff;
  --accent-contrast: #050505;
}

.updates-hero {
  padding: 24px 0 4px;
}

.updates-hero .hero-title {
  max-width: 12ch;
  color: #ffffff;
}

.updates-hero .hero-copy {
  max-width: 48ch;
  color: #c9c9c9;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.update-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #111111;
}

.update-card h2 {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.update-card p {
  color: #c9c9c9;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9f9f9f;
  font-size: 0.86rem;
}

.update-tag {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.updates-body .site-footer {
  background: #000000;
  border-top-color: rgba(255, 255, 255, 0.14);
}

.updates-body .footer-link,
.updates-body .footer-block p,
.updates-body .footer-copy {
  color: #b7b7b7;
}

.updates-body .footer-block h2,
.updates-body .footer-block h3,
.updates-body .footer-eyebrow {
  color: #ffffff;
}
.updates-toolbar,
.updates-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101010;
}

.updates-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 18px;
}

.updates-search-field,
.updates-filter-field,
.updates-form label {
  display: grid;
  gap: 8px;
  color: #f7f7f7;
  font-weight: 700;
}

.updates-input {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #050505;
  color: #ffffff;
}

.updates-input::placeholder {
  color: #7f7f7f;
}

.updates-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.22);
  outline-offset: 1px;
}

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

.updates-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
}

.updates-section-head h2,
.updates-panel h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}

.updates-count,
.updates-note {
  color: #b7b7b7;
}

.updates-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
}

.updates-form {
  display: grid;
  gap: 13px;
}

.updates-form textarea {
  resize: vertical;
}

.updates-actions {
  margin-top: 6px;
}

.update-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
  background: #050505;
}

.update-embed {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #050505;
}

.update-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .updates-toolbar,
  .updates-layout {
    grid-template-columns: 1fr;
  }

  .updates-panel {
    position: static;
  }
}
.footer-bottom {
  width: min(calc(100% - 40px), var(--max-width));
  display: grid;
  gap: 16px;
  margin: 28px auto 0;
}

.theme-switch {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.theme-switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.theme-switch-icon svg {
  width: 20px;
  height: 20px;
}

.theme-switch-moon,
html[data-theme="dark"] .theme-switch-sun {
  display: none;
}

html[data-theme="dark"] .theme-switch-moon {
  display: inline-flex;
}

html[data-theme="dark"] .loader-overlay { background: rgba(0, 0, 0, 0.78); }

html[data-theme="dark"] .loader-circle,
html[data-theme="dark"] .loader-small {
  border-color: rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent);
}

html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .mini-action,
html[data-theme="dark"] .social-link {
  background: var(--surface);
}

html[data-theme="dark"] .contact-icon {
  background: var(--bg-soft);
}

html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .input,
html[data-theme="dark"] .chat-input {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

html[data-theme="dark"] .footer-copy {
  color: rgba(243, 245, 251, 0.68);
}

.updates-body .theme-switch {
  border-color: rgba(255, 255, 255, 0.16);
  background: #111111;
  color: #ffffff;
}

@media (max-width: 720px) {
  .footer-bottom {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .theme-switch {
    width: 100%;
    justify-content: center;
  }
}
.footer-bottom .footer-copy {
  width: 100%;
  margin: 0;
}
.update-card-button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.update-card-button:hover,
.update-card-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: #151515;
  transform: translateY(-2px);
  outline: none;
}

.update-card-title {
  display: block;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.update-card-summary {
  display: block;
  color: #c9c9c9;
}

.update-open-copy {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: #ffffff;
  font-weight: 700;
}

.update-detail {
  scroll-margin-top: 110px;
}

.update-detail-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: #101010;
}

.update-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.update-detail-head h2 {
  margin-top: 10px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.update-detail-card p {
  color: #d2d2d2;
}

.update-detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.update-detail-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: #d2d2d2;
}

html[data-theme="dark"] .partner-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .partner-logo {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

@media (max-width: 720px) {
  .update-detail-card {
    padding: 20px;
  }

  .update-detail-head {
    grid-template-columns: 1fr;
  }

  .update-detail-close {
    justify-self: start;
  }
}


html[data-theme="dark"] body {
  background: #000000;
}

html[data-theme="dark"] .site-footer {
  background: #000000;
}
.footer-brand-block {
  align-content: start;
}

.footer-brand-logo {
  display: inline-flex;
  width: min(100%, 260px);
  min-height: 92px;
  align-items: center;
}

.footer-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo-dark,
html[data-theme="dark"] .footer-logo-light,
.updates-body .footer-logo-light {
  display: none;
}

html[data-theme="dark"] .footer-logo-dark,
.updates-body .footer-logo-dark {
  display: block;
}

@media (max-width: 720px) {
  .footer-brand-logo {
    width: min(100%, 230px);
    min-height: 78px;
  }
}
html[data-theme="dark"] {
  --bg: #000000;
  --bg-soft: #000000;
  --surface: #050505;
  --text: #ffffff;
  --muted: #c7c7c7;
  --line: #202020;
  --line-strong: #303030;
  --accent: #ffffff;
  --accent-contrast: #000000;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .page-main {
  background: #000000;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .tracking-card,
html[data-theme="dark"] .detail-panel,
html[data-theme="dark"] .media-panel,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .career-detail-block,
html[data-theme="dark"] .portal-card,
html[data-theme="dark"] .internet-card,
html[data-theme="dark"] .security-card,
html[data-theme="dark"] .cookie-banner,
html[data-theme="dark"] .cookie-settings,
html[data-theme="dark"] .chat-window,
html[data-theme="dark"] .gary-ia-modal-shell {
  background: #050505;
  border-color: #202020;
  box-shadow: none;
}

html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .input,
html[data-theme="dark"] .chat-input,
html[data-theme="dark"] .mini-action,
html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .social-link,
html[data-theme="dark"] .theme-switch {
  background: #050505;
  border-color: #202020;
  color: #ffffff;
}

html[data-theme="dark"] .pill,
html[data-theme="dark"] .status-pill,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .internet-badge {
  background: #111111;
  color: #ffffff;
}

html[data-theme="dark"] .product-card-media img,
html[data-theme="dark"] .product-img {
  background-color: #111111;
}

html[data-theme="dark"] .partner-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}


/* Final dark publish polish */
html[data-theme="dark"] .site-header,
.site-body[data-theme="dark"] .site-header,
html[data-theme="dark"] #site-header {
  background: rgba(0, 0, 0, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .loader-overlay,
.site-body[data-theme="dark"] .loader-overlay {
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(3px);
}

html[data-theme="dark"] .loader-circle,
html[data-theme="dark"] .loader-small,
.site-body[data-theme="dark"] .loader-circle,
.site-body[data-theme="dark"] .loader-small {
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-top-color: #ffffff !important;
}

html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .logo-button,
html[data-theme="dark"] .cart-svg {
  color: #ffffff;
  stroke: #ffffff;
}
/* Header dark nav cleanup */
html[data-theme="dark"] .site-header .nav-link,
html[data-theme="dark"] #site-header .nav-link,
.site-body[data-theme="dark"] .site-header .nav-link {
  background: transparent !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .site-header .nav-link:hover,
html[data-theme="dark"] #site-header .nav-link:hover,
html[data-theme="dark"] .site-header .nav-link.is-active,
html[data-theme="dark"] #site-header .nav-link.is-active,
.site-body[data-theme="dark"] .site-header .nav-link:hover,
.site-body[data-theme="dark"] .site-header .nav-link.is-active {
  background: transparent !important;
  color: #ffffff !important;
  opacity: 0.72;
}

@media (max-width: 720px) {
  html[data-theme="dark"] .site-header .nav-link,
  html[data-theme="dark"] #site-header .nav-link,
  .site-body[data-theme="dark"] .site-header .nav-link {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}

/* Mobile phone navigation and account button */
.mobile-menu-toggle { display: none; width: 38px; height: 38px; border: 0; background: transparent; color: var(--text); padding: 7px; cursor: pointer; }
.mobile-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 999px; }
.account-trigger { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #111111; color: #ffffff; font-weight: 800; text-decoration: none; border: 1px solid rgba(255,255,255,.14); box-shadow: none; }
.account-trigger.is-connected { background: var(--accent); color: var(--accent-contrast); }
.account-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.account-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #111111; color: #ffffff; font-weight: 900; }
.account-avatar-large { width: 56px; height: 56px; font-size: 1.3rem; }
.account-layout { align-items: start; }
.account-actions { margin-top: 18px; }
html[data-theme="dark"] .account-trigger { background: #ffffff; color: #000000; border-color: rgba(255,255,255,.22); }
html[data-theme="dark"] .account-trigger.is-connected { background: #ffffff; color: #000000; }
@media (max-width: 720px) {
  .nav { grid-template-columns: auto minmax(0, 1fr) auto; }
  .mobile-menu-toggle { display: inline-block; }
  .logo-button { justify-self: start; }
  .main-nav { display: none; grid-column: 1 / -1; width: 100%; padding: 10px 0 2px; border-top: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .nav-tools { justify-self: end; }
  .account-trigger { width: 36px; height: 36px; }
}


/* Header account/cart right alignment */
.nav-tools {
  justify-self: end;
  margin-left: auto;
}
@media (min-width: 721px) {
  .nav-tools {
    margin-right: -22px;
  }
}
@media (max-width: 720px) {
  .nav-tools {
    margin-right: -4px;
  }
}


/* Account page form polish */
.account-hero {
  padding-bottom: 22px;
}
.account-layout {
  display: block;
  max-width: 620px;
  margin-top: 0;
}
.account-card {
  width: 100%;
  padding: 30px;
}
.account-card .section-intro {
  max-width: 100%;
  margin-bottom: 22px;
}
.account-card .field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.account-card label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-weight: 700;
}
.account-card input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-weight: 600;
}
.account-card input::placeholder {
  color: var(--muted);
  opacity: 0.82;
}
.account-card input:focus {
  outline: 2px solid rgba(0, 128, 128, 0.28);
  outline-offset: 2px;
  border-color: var(--accent);
}
.account-actions {
  gap: 12px;
  margin-top: 24px;
}
.account-actions .btn {
  min-height: 46px;
}
@media (max-width: 720px) {
  .account-layout {
    max-width: none;
  }
  .account-card {
    padding: 22px;
  }
  .account-card .field-grid {
    grid-template-columns: 1fr;
  }
  .account-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .account-actions .btn {
    width: 100%;
  }
}


/* Full-screen mobile menu frame */
@media (max-width: 720px) {
  .main-nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    width: 100vw;
    min-height: 100vh;
    padding: 86px 24px 32px;
    border-top: 0;
    background: #ffffff;
    color: #050505;
    overflow-y: auto;
  }
  .main-nav.is-open .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: 100%;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.06) !important;
    color: #050505 !important;
    font-size: 1.05rem;
    font-weight: 800;
  }
  html[data-theme="dark"] .main-nav.is-open {
    background: #000000;
    color: #ffffff;
  }
  html[data-theme="dark"] .main-nav.is-open .nav-link {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }
  .mobile-menu-toggle {
    position: relative;
    z-index: 9999;
  }
  .site-header:has(.main-nav.is-open) {
    z-index: 10000;
  }
}

/* Gary Home dashboard */
.dashboard-main {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.dashboard-hero {
  padding-left: 0;
  padding-right: 0;
}

.dashboard-page .portal-shell {
  margin-top: 8px;
}

.dashboard-login-gate {
  min-height: 360px;
  place-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}

.dashboard-gate-copy {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 640px;
}

.dashboard-gate-copy .section-intro {
  margin: 0;
}

.dashboard-color-input {
  width: 100%;
  min-height: 48px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.dashboard-page .portal-card {
  border-radius: 8px;
}

html[data-theme="dark"] .dashboard-login-gate,
html[data-theme="dark"] .dashboard-color-input {
  background: #050505;
  border-color: #202020;
}

@media (max-width: 720px) {
  .dashboard-main {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .dashboard-login-gate {
    min-height: 300px;
    padding: 28px 20px;
  }
}

/* Gary Home products - June 13, 2026 */
.product-card-unavailable { cursor: default; }
.product-card-unavailable:hover { transform: none; }
.product-card-media { position: relative; }
.product-card-media img[src$=".svg"] { padding: 34px; background: #f2f3f4; object-fit: contain; }
.product-coming-soon { position: absolute; top: 14px; right: 14px; padding: 7px 10px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; font-weight: 700; }
.product-card-unavailable .card-link-copy { color: var(--muted); }


/* Catalogue Gary Corp : présentation large et sections distinctes. */
.catalog-section {
  gap: 26px;
}

.catalog-section-secondary {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.catalog-heading {
  max-width: 760px;
}

.catalog-heading .eyebrow {
  margin-bottom: 10px;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.catalog-other-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  gap: 30px;
}

.catalog-product-grid .product-card,
.catalog-other-grid .product-card {
  padding: 28px;
  border-radius: 30px;
}

.catalog-product-grid .product-card-media img {
  height: 340px;
}

.catalog-other-grid .product-card-media img {
  height: 320px;
}

.catalog-product-grid .product-card h3,
.catalog-other-grid .product-card h3 {
  font-size: 1.35rem;
}

.catalog-product-grid .product-card p,
.catalog-other-grid .product-card p {
  font-size: 1rem;
  line-height: 1.65;
}

@media (min-width: 1180px) {
  :root {
    --max-width: 1320px;
  }
}

@media (max-width: 800px) {
  .catalog-product-grid,
  .catalog-other-grid {
    grid-template-columns: 1fr;
  }

  .catalog-product-grid .product-card,
  .catalog-other-grid .product-card {
    padding: 20px;
  }

  .catalog-product-grid .product-card-media img,
  .catalog-other-grid .product-card-media img {
    height: 280px;
  }
}


/* Portail employé Gary Corp */
.employee-portal-body { background: #f4f5f2; }
.employee-portal-main { width: min(calc(100% - 40px), 1320px); margin: 0 auto; padding: 42px 0 90px; display: grid; gap: 28px; }
.employee-hero { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; gap: 40px; padding: clamp(38px, 6vw, 82px); border-radius: 42px; background: #111315; color: white; overflow: hidden; position: relative; }
.employee-hero:before { content: ""; position: absolute; inset: auto -12% -55% 22%; height: 430px; background: radial-gradient(circle, rgba(232,255,63,.21), transparent 68%); }
.employee-hero-copy { position: relative; z-index: 2; }
.employee-hero .eyebrow { margin-top: 34px; color: #e8ff3f; }
.employee-hero h1 { max-width: 760px; margin: 14px 0 22px; font-size: clamp(3rem, 6.6vw, 6rem); line-height: .92; letter-spacing: -.065em; }
.employee-hero-copy > p:last-of-type { max-width: 680px; color: #aeb3b9; font-size: 1.08rem; line-height: 1.75; }
.employee-security-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid #34383d; border-radius: 999px; color: #dce0e4; font-size: .78rem; font-weight: 700; }
.employee-security-pill i { width: 8px; height: 8px; border-radius: 50%; background: #56dc91; box-shadow: 0 0 0 5px rgba(86,220,145,.12); }
.employee-hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.employee-hero-points span { padding: 9px 13px; border-radius: 999px; background: #202327; color: #dce0e4; font-size: .78rem; }
.employee-hero-visual { min-height: 360px; display: grid; place-items: center; position: relative; }
.employee-hero-mark { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 42px; background: #e8ff3f; color: #111315; font-size: 5rem; font-weight: 900; transform: rotate(-7deg); box-shadow: 0 35px 90px rgba(0,0,0,.35); position: relative; z-index: 2; }
.employee-orbit { position: absolute; border: 1px solid rgba(232,255,63,.18); border-radius: 50%; }
.employee-orbit-one { width: 280px; height: 280px; }
.employee-orbit-two { width: 410px; height: 410px; }
.employee-auth-layout { display: grid; grid-template-columns: 1fr minmax(380px, .78fr); gap: 28px; align-items: stretch; }
.employee-auth-copy, .employee-login-card, .employee-dashboard { border: 1px solid var(--line); border-radius: 32px; background: var(--surface); }
.employee-auth-copy { padding: clamp(32px, 5vw, 64px); }
.employee-auth-copy h2 { max-width: 650px; margin: 10px 0 18px; font-size: clamp(2.1rem, 4vw, 4rem); letter-spacing: -.05em; }
.employee-auth-copy > p:last-of-type { max-width: 680px; color: var(--muted); line-height: 1.75; }
.employee-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.employee-trust-grid article { min-height: 135px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 22px; background: #f3f4f2; }
.employee-trust-grid b { font-size: 2rem; }
.employee-trust-grid span { margin-top: 6px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.employee-login-card { padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.employee-login-head { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.employee-lock-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #111315; color: #e8ff3f; font-weight: 900; font-size: 1.4rem; }
.employee-login-head h2 { margin: 0 0 5px; font-size: 1.5rem; }
.employee-login-head p { margin: 0; color: var(--muted); font-size: .85rem; }
.employee-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 22px; border-radius: 14px; background: #f0f1ef; }
.employee-auth-tabs button { border: 0; padding: 11px 8px; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.employee-auth-tabs button.active { background: white; color: #111315; box-shadow: 0 5px 18px rgba(20,24,32,.08); }
.employee-field { display: grid; gap: 9px; font-weight: 700; font-size: .86rem; }
.employee-field input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; background: white; color: #111315; font: inherit; }
.employee-field input:focus { outline: 3px solid rgba(232,255,63,.42); border-color: #9daa28; }
.employee-login-submit { width: 100%; justify-content: center; margin-top: 16px; min-height: 52px; }
.employee-login-submit:disabled { opacity: .65; cursor: wait; }
.employee-form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #f2f3f1; font-size: .84rem; }
.employee-form-status[data-tone="error"] { color: #a32d25; background: #fff0ee; }
.employee-form-status[data-tone="success"] { color: #176a3d; background: #eaf9f0; }
.employee-auth-note { margin: 18px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.employee-dashboard { padding: clamp(28px, 5vw, 58px); }
.employee-dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.employee-dashboard-head h2 { margin: 8px 0; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.05em; }
.employee-dashboard-head p { margin-bottom: 0; color: var(--muted); }
.employee-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.employee-tool-card { min-height: 270px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 25px; color: var(--text); background: #f7f8f6; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.employee-tool-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(20,24,32,.1); }
.employee-tool-card > span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.employee-tool-card h3 { margin: auto 0 10px; font-size: 1.7rem; }
.employee-tool-card p { max-width: 420px; margin: 0 0 22px; color: var(--muted); line-height: 1.6; }
.employee-tool-card b { font-size: .88rem; }
.employee-tool-dark { color: white; background: #111315; border-color: #111315; }
.employee-tool-dark p, .employee-tool-dark > span { color: #9da3aa; }
.employee-tool-dark b { color: #e8ff3f; }
.employee-internal-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 22px; padding: 28px; border-radius: 24px; background: #e8ff3f; color: #111315; }
.employee-internal-banner h3 { margin: 6px 0; font-size: 1.45rem; }
.employee-internal-banner p { margin: 0; max-width: 720px; }
.employee-internal-banner > span { font-weight: 900; font-size: .78rem; letter-spacing: .14em; }
@media (max-width: 900px) { .employee-hero, .employee-auth-layout { grid-template-columns: 1fr; } .employee-hero-visual { min-height: 260px; } .employee-dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .employee-portal-main { width: min(calc(100% - 24px), 1320px); padding-top: 22px; } .employee-hero { padding: 30px 24px; border-radius: 28px; } .employee-hero h1 { font-size: 3rem; } .employee-hero-visual { display: none; } .employee-auth-copy, .employee-login-card, .employee-dashboard { padding: 24px; border-radius: 24px; } .employee-trust-grid { grid-template-columns: 1fr; } .employee-dashboard-head, .employee-internal-banner { align-items: flex-start; flex-direction: column; } }

/* Portail employé: adaptation complète au thème sombre */
.employee-auth-layout-single{grid-template-columns:minmax(0,1.05fr) minmax(380px,.72fr);margin-top:20px}.employee-auth-layout-single .employee-auth-copy{background:#111315;color:#fff}.employee-auth-layout-single .employee-auth-copy>p{color:#b7bdc1}.employee-auth-layout-single .employee-auth-copy h1{margin:18px 0;font-size:clamp(3rem,6vw,6rem);line-height:.95;letter-spacing:-.065em}html[data-theme="dark"] .employee-portal-body{background:#090b0c}html[data-theme="dark"] .employee-login-card{background:#151819;border-color:#2c3133;color:#f5f7f4}html[data-theme="dark"] .employee-trust-grid article{background:#222628;color:#fff}html[data-theme="dark"] .employee-auth-tabs{background:#202426}html[data-theme="dark"] .employee-auth-tabs button.active{background:#f5f7f4;color:#111315}html[data-theme="dark"] .employee-field input{background:#0e1011;color:#fff;border-color:#34393c}html[data-theme="dark"] .employee-form-status{background:#222628;color:#fff}@media(max-width:900px){.employee-auth-layout-single{grid-template-columns:1fr}}
