/* /var/www/claimfreedom-crm/ergoregiontechnologies/styles.css */
:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #111111;
  --surface-2: #191919;
  --text: #ffffff;
  --muted: #e7e7e7;
  --muted-2: #cfcfcf;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(52, 252, 255, 0.58);
  --accent: #34fcff;
  --accent-2: #f909fd;
  --ring: #f909fd;
  --shadow: 0 0 0 1px rgba(52, 252, 255, 0.22), 0 0 34px rgba(52, 252, 255, 0.12);
  --radius: 8px;
  --layout-max: 1180px;
  --gutter: 20px;
  --section-pad: 72px;
  --header-h: 84px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "IBM Plex Sans", "Aptos", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-padding-top: calc(var(--header-h) + 18px);
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: 0;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home-page {
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body::selection {
  background: rgba(52, 252, 255, 0.28);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(52, 252, 255, 0.6);
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  flex: 0 0 auto;
  z-index: 50;
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  object-fit: contain;
  background: rgba(52, 252, 255, 0.08);
  box-shadow: var(--shadow);
}

.brand-name {
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--muted);
  font-size: 16px;
}

.nav a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out),
    color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(52, 252, 255, 0.12);
}

.nav-toggle {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 8px 11px;
}

.surface {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.92);
}

.surface-interactive {
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .surface-interactive:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
  }
}

.home-main {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-items: center;
  padding-block: 14px 24px;
}

.home-shell {
  max-width: min(1500px, calc(100vw - 40px));
  height: min(760px, calc(100svh - 118px));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  padding: 20px;
  overflow: hidden;
}

.home-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 22px;
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.48);
}

.home-title {
  display: grid;
  gap: 14px;
}

.home-title h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 46px rgba(52, 252, 255, 0.18);
}

.home-title p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.3;
}

.panel-stage {
  min-height: 0;
  overflow: auto;
  padding-right: 6px;
}

.content-panel {
  max-width: 880px;
}

.content-panel[hidden] {
  display: none;
}

.content-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.content-panel p {
  margin: 0;
  max-width: 78ch;
  color: var(--muted);
  font-size: 18px;
}

.content-panel p + p,
.content-panel p + .compact-list,
.content-panel p + .compact-grid,
.compact-list + p {
  margin-top: 14px;
}

.compact-list,
.compact-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list {
  display: grid;
  gap: 10px;
}

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

.compact-list li,
.compact-grid li {
  position: relative;
  min-height: 48px;
  padding: 12px 12px 12px 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.82);
  color: var(--muted);
}

.compact-list li::before,
.compact-grid li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(52, 252, 255, 0.72);
}

.positioning-copy {
  max-width: 22ch !important;
  color: var(--text) !important;
  font-size: clamp(28px, 4.4vw, 58px) !important;
  line-height: 1.06;
  font-weight: 900;
}

.shell-sidebar {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.shell-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.shell-nav-item {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out),
    color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.shell-nav-item:hover,
.shell-nav-item[aria-selected="true"] {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(52, 252, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(52, 252, 255, 0.12);
}

.shell-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-2);
  font-size: 14px;
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  justify-items: center;
  padding-block: 82px 56px;
}

.hero-content {
  width: 100%;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 46px rgba(52, 252, 255, 0.18);
}

.lead {
  margin: 22px 0 0;
  max-width: none;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: #041010;
  font-weight: 900;
  text-align: center;
  transition: filter 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.button:hover {
  filter: brightness(1.04);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface-2);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  filter: none;
}

.section {
  padding-block: var(--section-pad);
}

.section-title {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-title h2,
.statement h2,
.contact-strip h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.section-title p:not(.eyebrow) {
  margin: 0;
  max-width: 78ch;
  color: var(--muted);
}

.prose-block {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.prose-block p {
  margin: 0;
  max-width: 88ch;
  color: var(--muted);
  font-size: 18px;
}

.bullet-grid,
.capability-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.bullet-grid li {
  position: relative;
  padding: 0 0 0 24px;
  color: var(--muted);
}

.capability-list li {
  min-height: 88px;
  position: relative;
  padding: 18px 18px 18px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(25, 25, 25, 0.86);
  color: var(--text);
}

.bullet-grid li::before,
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(52, 252, 255, 0.8);
}

.capability-list li::before {
  left: 18px;
  top: 26px;
}

.capability-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.technical-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.technical-list li {
  min-height: 72px;
  padding: 18px 18px 18px 42px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.technical-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.technical-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(52, 252, 255, 0.8);
}

.statement {
  padding: 28px;
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.statement h2 {
  max-width: 980px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.contact-strip .button {
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 28px 0 58px;
  color: var(--muted-2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.82);
}

.footer-brand {
  color: var(--text);
  font-weight: 900;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.dot {
  opacity: 0.65;
}

.legal h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.legal h2 {
  margin: 30px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.legal p,
.legal li {
  max-width: 82ch;
  color: var(--muted);
}

.legal ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.muted {
  color: var(--muted-2);
}

@media (max-width: 1050px) {
  .home-shell {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .compact-grid {
    grid-template-columns: 1fr;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 16px;
    --section-pad: 54px;
  }

  body.home-page {
    height: auto;
    min-height: 100svh;
    overflow: auto;
    display: block;
  }

  .home-main {
    display: block;
    padding-block: 12px 24px;
  }

  .home-shell {
    height: auto;
    min-height: calc(100svh - 104px);
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
  }

  .home-content {
    padding: 22px;
  }

  .home-title h1 {
    font-size: 46px;
  }

  .panel-stage {
    overflow: visible;
    padding-right: 0;
  }

  .shell-sidebar {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0 0;
  }

  .shell-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header[data-nav-enhanced="true"] .nav-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-header[data-nav-enhanced="true"][data-nav-open="false"] .nav {
    display: none;
  }

  .nav a {
    width: 100%;
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding-block: 64px 36px;
  }

  .hero h1 {
    max-width: none;
    font-size: 52px;
  }

  .lead {
    font-size: 21px;
  }

  .section-title h2,
  .statement h2,
  .contact-strip h2,
  .legal h1 {
    font-size: 30px;
  }

  .bullet-grid,
  .capability-list,
  .technical-list {
    grid-template-columns: 1fr;
  }

  .technical-list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .technical-list li:last-child {
    border-bottom: 0;
  }

  .contact-strip,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner {
    border-radius: var(--radius);
  }

  .brand-name {
    max-width: 220px;
  }

  .home-shell {
    padding: 14px;
  }

  .home-title h1 {
    font-size: 36px;
  }

  .home-title p {
    font-size: 18px;
  }

  .shell-nav {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

  .section-title h2,
  .statement h2,
  .contact-strip h2,
  .legal h1 {
    font-size: 26px;
  }
}

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