﻿:root {
  --text-color: #3d3d3d;
  --muted-color: #747474;
  --border-color: #d3d3d3;
}

html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84) 38%, rgba(248, 250, 252, 1) 100%),
    #f8fafc;
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: inherit; }
p { margin: 5px 0; }

.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.pb-full { padding-bottom: 100%; }
.max-w-sm { max-width: 40rem; }
.min-h-screen { min-height: 100vh; }
.h-2 { height: 0.18rem; }
.m-8 { margin: .5rem 1.8rem; }
.my-3 { margin-top: .75rem; margin-bottom: .75rem; }
.mb-7 { margin-bottom: 1rem; }
.leading-normal { line-height: 1.5; }
.bg-grey-light { background-color: #ddd; }
.text-5xl { font-size: 2rem; }
.text-2xl { font-size: 1.5rem; }
.text-grey-darker { color: #606f7b; }
.font-sans { font-family: 'Montserrat', sans-serif; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.font-black { font-weight: 900; }

.main-body {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.55;
}

.page-shell::before {
  width: 18rem;
  height: 18rem;
  top: -6rem;
  left: -5rem;
  background: rgba(56, 189, 248, 0.18);
}

.page-shell::after {
  width: 22rem;
  height: 22rem;
  right: -8rem;
  bottom: -8rem;
  background: rgba(59, 130, 246, 0.14);
}

.content-panel {
  position: relative;
  z-index: 1;
  padding: clamp(0.9rem, 2.2vw, 1.5rem);
}

.info-card {
  width: min(100%, 41rem);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 28px;
  padding: clamp(1rem, 2vw, 1.45rem);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

.accent-blue {
  --accent-rgb: 14 165 233;
  --accent-rgb-soft: 56 189 248;
  --accent-ink: #075985;
  --accent-bg: rgba(56, 189, 248, 0.12);
  --accent-border: rgba(14, 165, 233, 0.16);
  --accent-glow: rgba(14, 165, 233, 0.16);
}

.accent-yellow {
  --accent-rgb: 245 158 11;
  --accent-rgb-soft: 251 191 36;
  --accent-ink: #92400e;
  --accent-bg: rgba(251, 191, 36, 0.14);
  --accent-border: rgba(245, 158, 11, 0.2);
  --accent-glow: rgba(245, 158, 11, 0.18);
}

.accent-red {
  --accent-rgb: 239 68 68;
  --accent-rgb-soft: 248 113 113;
  --accent-ink: #991b1b;
  --accent-bg: rgba(248, 113, 113, 0.14);
  --accent-border: rgba(239, 68, 68, 0.2);
  --accent-glow: rgba(239, 68, 68, 0.18);
}

.accent-green {
  --accent-rgb: 34 197 94;
  --accent-rgb-soft: 74 222 128;
  --accent-ink: #166534;
  --accent-bg: rgba(74, 222, 128, 0.14);
  --accent-border: rgba(34, 197, 94, 0.2);
  --accent-glow: rgba(34, 197, 94, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-bg, rgba(56, 189, 248, 0.12));
  color: var(--accent-ink, #075985);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgb(var(--accent-rgb, 14 165 233));
  box-shadow: 0 0 0 4px var(--accent-glow, rgba(14, 165, 233, 0.16));
}

.hero-title {
  margin: 0.65rem 0 0.45rem;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.domain-highlight {
  margin-top: 0.55rem;
  padding: 0.82rem 0.95rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(var(--accent-rgb, 14 165 233) / 0.09), rgb(var(--accent-rgb-soft, 56 189 248) / 0.05));
  border: 1px solid var(--accent-border, rgba(14, 165, 233, 0.16));
  color: #0f172a;
}

.page-summary {
  margin: 0;
  color: var(--accent-ink, #0f172a);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
}

.domain-highlight .sub-header h1,
.domain-highlight .sub-header p,
.domain-highlight .sub-header span {
  color: var(--accent-ink, #0f172a);
}

.page-body {
  margin-top: 0.85rem;
}

.footer-stack {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.55), transparent);
  margin: 0.2rem 0 0.75rem;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--muted-color);
  font-size: 0.75rem;
  line-height: 1.2;
}

/* Worker-specific styles */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.metric {
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.metric-label {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.metric-value {
  display: block;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.sub-footer {
  margin-top: 0;
}

.left-sec {
  background-image: url('../images/bg-1x.jpg');
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
  color: var(--text-color);
}

.left-sec p,
.left-sec ul li,
.left-sec h1 {
  font-size: 12px;
  color: var(--text-color);
  line-height: 1.35;
}

.left-sec ul { padding-left: 1.1rem; }
.left-sec ul li { margin-bottom: 1rem; }
.left-sec ul li strong { font-weight: 600; }
.left-sec p.std-text.bold { font-weight: 600; }
.left-sec p.highlight { font-size: 14px; font-weight: 600; }

.content-body { max-height: 66vh; overflow-y: auto; }
.sub-header h1 { font-size: 1.15rem !important; }
.sub-footer p { color: var(--muted-color); }
.sub-footer ul { padding: 0; }
.sub-footer ul li { color: var(--text-color); font-size: 10px; display: inline; margin-left: 5px; }
.sub-footer ul li:first-child { margin-left: 0; }
.sub-footer ul li::before { content: '•'; padding-right: 6px; }
.sub-footer ul li:first-child::before { content: none; }

.right-sec {
  background-size: 100% 100%;
  position: relative;
  min-height: 34vh;
  overflow: hidden;
}

.right-sec::before,
.right-overlay {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.right-sec::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.03), rgba(15, 23, 42, 0.2));
}

.right-overlay {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.18));
}

body.dark-mode {
  background-color: rgba(0, 0, 0, 0.842);
  background-image: none;
  color: white;
}

body.dark-mode .page-shell::before,
body.dark-mode .page-shell::after {
  display: none;
}

body.dark-mode .info-card {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

body.dark-mode .eyebrow {
  background: rgba(14, 165, 233, 0.16);
  color: #7dd3fc;
}

body.dark-mode .hero-title,
body.dark-mode .domain-highlight {
  color: #e2e8f0;
}

body.dark-mode .domain-highlight {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.92));
  border-color: rgba(14, 165, 233, 0.16);
}

body.dark-mode .footer-chips span {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

body.dark-mode .oops {
  color: #e2e8f0 !important;
}

body.dark-mode .sub-footer ul li,
body.dark-mode .left-sec p,
body.dark-mode .left-sec h1,
body.dark-mode .left-sec ul li {
  color: white !important;
}

body.dark-mode .metric {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(148, 163, 184, 0.14);
}

body.dark-mode .metric-label {
  color: #94a3b8;
}

body.dark-mode .metric-value {
  color: #e2e8f0;
}

@media (max-width: 767px) {
  .main-body { display: flex; flex-direction: column; }
  .left-sec {
    order: 2;
    text-align: center;
    min-height: 64vh;
    background-image: url('../images/bg-1x-mobile.png') !important;
  }
  .right-sec {
    order: 1;
    padding-bottom: unset;
    background-size: cover !important;
    background-position: center center;
    min-height: 28vh;
  }
  .m-8 { margin: .5rem 1.8rem; }
  .content-body { max-height: none; overflow-y: visible; }
  .text-5xl { font-size: 1.7rem; }
  .mb-7 { margin-bottom: 0.9rem; }
  .footer-chips { flex-direction: column; }
  .footer-chips span { width: 100%; }
  .sub-header h1 { font-size: 1.08rem !important; }
  .metric-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:w-1\/2 { width: 50%; }
  .md\:min-h-screen { min-height: 100vh; }
  .md\:pb-0 { padding-bottom: 0; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-15xl { font-size: 2rem; }
  .md\:my-6 { margin-top: 1.5rem; margin-bottom: 1rem; }
}

@media (min-width: 768px) and (max-width: 992px) {
  .md\:w-1\/2 { width: 70%; }
  .md\:w-1\/2:last-child { width: 30%; }
  .right-sec { background-size: unset !important; }
  .left-sec { background-image: url('../images/bg-1x-tablet.png') !important; }
}

@media (min-width: 992px) {
  .lg\:bg-center { background-position: center; }
}