/* Gary Corp CSS chunk 1/6. styles.css kept as fallback. */
: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-visible {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 800;
}

.internet-help {
  color: var(--muted);
  line-height: 1.75;
}

.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;
}

.legal-document {
  width: min(100%, 980px);
  margin: 0 auto;
  color: var(--text);
  line-height: 1.75;
}

.legal-document h2 {
  margin: 46px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document ul {
  margin: 12px 0 0;
  padding-left: 24px;
}

.legal-document a {
  color: var(--text);
  font-weight: 800;
}

.legal-updated {
  margin: 0 0 28px;
  font-weight: 800;
  color: var(--text);
}

.plain-document,
.clean-page-block {
  width: min(100%, 980px);
  margin-inline: auto;
}

.plain-document {
  line-height: 1.75;
}

.plain-document h2 {
  margin: 38px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

.plain-document p,
.plain-document li,
.plain-note p {
  color: var(--muted);
}

.plain-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.plain-document a {
  color: var(--text);
  font-weight: 800;
}

.region-blocked {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
  color: var(--text);
  background: var(--bg);
}

.region-blocked-panel {
  width: min(780px, 100%);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
}

.region-blocked-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.region-blocked-panel p {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.8;
}

.region-blocked-meta {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--text) !important;
  font-weight: 800;
}
