/* ============================================================
   CSGO500 Promo Code Site — salsatrading.com
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --csg-bg: #15141A;
  --csg-surface: #1D1C22;
  --csg-surface2: #262230;
  --csg-border: #302A3D;
  --csg-accent: #FE617C;
  --csg-accent-light: #FF7E94;
  --csg-text: #FFFFFF;
  --csg-muted: #8F89A6;
  --csg-badge-bg: #27262C;
  --csg-badge-text: #FE617C;
  --csg-code-bg: #222127;
  --csg-warning: #8A7105;
  --csg-radius: 8px;
  --csg-radius-lg: 12px;
  --csg-radius-xl: 16px;
  --csg-transition: 0.2s ease;
  --csg-container: 1120px;
  --csg-gap: 1.5rem;
  --csg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --csg-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--csg-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--csg-text);
  background-color: var(--csg-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--csg-accent-light);
  text-decoration: none;
  transition: color var(--csg-transition);
}

a:hover {
  color: var(--csg-accent);
}

a:focus-visible,
button:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--csg-accent);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --- Utility --- */
.csg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.csg-container {
  width: 100%;
  max-width: var(--csg-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Buttons --- */
.csg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--csg-font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--csg-radius);
  cursor: pointer;
  transition: all var(--csg-transition);
  text-decoration: none;
  white-space: nowrap;
}

.csg-btn--primary {
  background: var(--csg-accent);
  color: #fff;
}

.csg-btn--primary:hover {
  background: var(--csg-accent-light);
  box-shadow: 0 4px 16px rgba(254, 97, 124, 0.25);
  color: #fff;
}

.csg-btn--secondary {
  background: #242329;
  color: #fff;
}

.csg-btn--secondary:hover {
  background: var(--csg-surface2);
  color: #fff;
}

.csg-btn--sm {
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  background: var(--csg-accent);
  color: #fff;
  border-radius: var(--csg-radius);
  border: none;
  cursor: pointer;
  font-family: var(--csg-font);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--csg-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.csg-btn--sm:hover {
  background: var(--csg-accent-light);
  box-shadow: 0 4px 16px rgba(254, 97, 124, 0.25);
  color: #fff;
}

/* --- Header / Masthead --- */
.csg-masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--csg-surface2);
  border-bottom: 1px solid var(--csg-border);
  transition: background var(--csg-transition), backdrop-filter var(--csg-transition);
}

.csg-masthead--scrolled {
  background: rgba(38, 34, 48, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.csg-masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.csg-masthead__brand img {
  height: 36px;
  width: auto;
}

.csg-masthead__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.csg-masthead__links {
  display: flex;
  gap: 0.25rem;
}

.csg-masthead__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--csg-muted);
  border-radius: var(--csg-radius);
  transition: color var(--csg-transition), background var(--csg-transition);
}

.csg-masthead__link:hover {
  color: var(--csg-text);
  background: rgba(255, 255, 255, 0.05);
}

.csg-masthead__link--active {
  color: var(--csg-text);
  background: rgba(254, 97, 124, 0.1);
}

.csg-masthead__cta {
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

.csg-masthead__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.csg-masthead__toggle span {
  display: block;
  height: 2px;
  background: var(--csg-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Hero --- */
.csg-hero {
  padding: 4rem 0 3.5rem;
  background: var(--csg-bg);
  position: relative;
  overflow: hidden;
}

.csg-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(254, 97, 124, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.csg-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.csg-hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.csg-hero__subtitle {
  font-size: 1.15rem;
  color: var(--csg-accent-light);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

/* --- Promo Widget --- */
.csg-promowidget {
  background: var(--csg-surface);
  border: 1px solid var(--csg-accent);
  border-radius: var(--csg-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.csg-promowidget__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.csg-promowidget__badge {
  background: var(--csg-badge-bg);
  color: var(--csg-badge-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.csg-promowidget__date {
  color: var(--csg-muted);
  font-size: 0.8rem;
}

.csg-promowidget__body {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.csg-promowidget__codebox {
  flex: 1;
  background: var(--csg-code-bg);
  border: 1px solid var(--csg-border);
  border-radius: var(--csg-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  min-height: 52px;
}

.csg-promowidget__code {
  font-family: var(--csg-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--csg-text);
  letter-spacing: 0.08em;
  user-select: all;
}

.csg-promowidget__copy {
  min-width: 130px;
  font-size: 0.9rem;
}

.csg-promowidget__confirm {
  min-height: 1.4rem;
  font-size: 0.82rem;
  color: #4ade80;
  font-weight: 500;
}

.csg-promowidget__desc {
  font-size: 0.85rem;
  color: var(--csg-muted);
  line-height: 1.5;
}

/* --- Hero Actions --- */
.csg-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.csg-hero__actions .csg-btn {
  min-width: 140px;
}

/* --- Hero Visual --- */
.csg-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.csg-hero__showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem;
}

.csg-hero__logo-wrap {
  position: relative;
  z-index: 2;
}

.csg-hero__logo-wrap img {
  height: 52px;
  width: auto;
}

.csg-hero__stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.csg-hero__stat {
  background: var(--csg-surface);
  border: 1px solid var(--csg-border);
  border-radius: var(--csg-radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color var(--csg-transition), transform var(--csg-transition);
}

.csg-hero__stat:hover {
  border-color: var(--csg-accent);
  transform: translateY(-2px);
}

.csg-hero__stat-value {
  display: block;
  font-family: var(--csg-font);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--csg-accent);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.csg-hero__stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--csg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.csg-hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border: 1px solid rgba(254, 97, 124, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: csg-pulse 6s ease-in-out infinite;
}

.csg-hero__ring--outer {
  width: 380px;
  height: 380px;
  border-color: rgba(254, 97, 124, 0.06);
  animation-delay: 3s;
}

@keyframes csg-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

/* --- Compact Hero (subpages) --- */
.csg-hero--compact {
  padding: 2.5rem 0 2rem;
}

.csg-hero--compact .csg-hero__title {
  font-size: 1.85rem;
}

/* --- Breadcrumb --- */
.csg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--csg-muted);
  margin-bottom: 1rem;
}

.csg-breadcrumb a {
  color: var(--csg-muted);
}

.csg-breadcrumb a:hover {
  color: var(--csg-text);
}

/* --- Sections --- */
.csg-section {
  padding: 3.5rem 0;
}

.csg-section--alt {
  background: var(--csg-surface);
}

/* --- Headings --- */
.csg-heading {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* --- Prose --- */
.csg-prose {
  max-width: 800px;
}

.csg-prose p {
  margin-bottom: 1rem;
  color: var(--csg-text);
  font-weight: 400;
  line-height: 1.7;
}

.csg-prose p:last-child {
  margin-bottom: 0;
}

.csg-prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.csg-prose ul,
.csg-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.csg-prose ul {
  list-style: disc;
}

.csg-prose ol {
  list-style: decimal;
}

.csg-prose li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

/* --- Benefit List --- */
.csg-benefit-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.csg-benefit-list li {
  background: var(--csg-bg);
  border: 1px solid var(--csg-border);
  border-radius: var(--csg-radius);
  padding: 1rem 1.25rem;
  line-height: 1.6;
}

.csg-benefit-list li strong {
  color: var(--csg-accent-light);
}

/* --- Requirements List --- */
.csg-req-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.csg-req-list li {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--csg-border);
  line-height: 1.6;
}

.csg-req-list li strong {
  color: var(--csg-text);
}

/* --- Tables --- */
.csg-tableframe {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--csg-radius-lg);
  border: 1px solid var(--csg-border);
}

.csg-codegrid th,
.csg-codegrid td,
.csg-compare th,
.csg-compare td,
.csg-conditions th,
.csg-conditions td {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--csg-border);
  vertical-align: middle;
}

.csg-codegrid thead,
.csg-compare thead {
  background: var(--csg-surface2);
}

.csg-codegrid th,
.csg-compare th {
  font-weight: 600;
  color: var(--csg-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.csg-codegrid tbody tr,
.csg-compare tbody tr,
.csg-conditions tbody tr {
  background: var(--csg-surface);
  transition: background var(--csg-transition);
}

.csg-codegrid tbody tr:hover,
.csg-compare tbody tr:hover,
.csg-conditions tbody tr:hover {
  background: var(--csg-surface2);
}

.csg-codegrid tbody tr:last-child td,
.csg-compare tbody tr:last-child td,
.csg-conditions tbody tr:last-child td {
  border-bottom: none;
}

.csg-codegrid__code {
  font-family: var(--csg-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--csg-accent);
  background: var(--csg-code-bg);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.csg-codegrid__status {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.csg-conditions th {
  font-weight: 600;
  color: var(--csg-muted);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  width: 40%;
  background: var(--csg-surface2);
}

/* --- Step Flow --- */
.csg-stepflow {
  list-style: none;
  counter-reset: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.csg-stepflow__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--csg-surface);
  border: 1px solid var(--csg-border);
  border-radius: var(--csg-radius-lg);
  padding: 1.25rem;
  transition: border-color var(--csg-transition);
}

.csg-stepflow__item:hover {
  border-color: var(--csg-accent);
}

.csg-stepflow__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--csg-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.csg-stepflow__item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.csg-stepflow__item p {
  color: var(--csg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* --- CTA Row --- */
.csg-cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Promo Cards --- */
.csg-promo-card {
  background: var(--csg-surface);
  border: 1px solid var(--csg-border);
  border-radius: var(--csg-radius-lg);
  padding: 1.5rem;
  margin-top: 1.25rem;
  transition: border-color var(--csg-transition);
}

.csg-promo-card:hover {
  border-color: rgba(254, 97, 124, 0.3);
}

.csg-promo-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--csg-text);
}

.csg-promo-card p {
  color: var(--csg-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Troubleshoot List --- */
.csg-troubleshoot {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0;
}

.csg-troubleshoot li {
  background: var(--csg-surface);
  border: 1px solid var(--csg-border);
  border-radius: var(--csg-radius);
  padding: 1.15rem 1.25rem;
}

.csg-troubleshoot li strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.csg-troubleshoot li p {
  color: var(--csg-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Accordion / FAQ --- */
.csg-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.csg-accordion__item {
  background: var(--csg-bg);
  border: 1px solid var(--csg-border);
  border-radius: var(--csg-radius-lg);
  overflow: hidden;
  transition: border-color var(--csg-transition);
}

.csg-section--alt .csg-accordion__item {
  background: var(--csg-surface2);
}

.csg-accordion__item[open] {
  border-color: var(--csg-accent);
}

.csg-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--csg-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--csg-transition);
}

.csg-accordion__trigger::-webkit-details-marker {
  display: none;
}

.csg-accordion__trigger::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--csg-muted);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.csg-accordion__item[open] .csg-accordion__trigger::after {
  content: '−';
  color: var(--csg-accent);
}

.csg-accordion__trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

.csg-accordion__panel {
  padding: 0 1.25rem 1.15rem;
  animation: csg-slide-down 0.25s ease;
}

.csg-accordion__panel p {
  color: var(--csg-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

@keyframes csg-slide-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Updated --- */
.csg-updated {
  padding: 2rem 0;
}

.csg-updated__text {
  font-size: 0.85rem;
  color: var(--csg-muted);
  font-weight: 500;
}

/* --- Legal Pages --- */
.csg-legal {
  padding-top: 2rem;
}

.csg-legal__updated {
  font-size: 0.85rem;
  color: var(--csg-muted);
  margin-bottom: 2rem;
}

.csg-legal .csg-prose h2 {
  font-size: 1.2rem;
  margin-top: 2.5rem;
}

.csg-legal .csg-prose h2:first-of-type {
  margin-top: 0;
}

/* --- Footer --- */
.csg-footer {
  background: var(--csg-surface);
  border-top: 1px solid var(--csg-border);
  padding: 3rem 0 2rem;
}

.csg-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--csg-border);
  margin-bottom: 2rem;
}

.csg-footer__brand img {
  height: 32px;
  width: auto;
}

.csg-footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.csg-footer__nav a {
  font-size: 0.85rem;
  color: var(--csg-muted);
  font-weight: 500;
  transition: color var(--csg-transition);
}

.csg-footer__nav a:hover {
  color: var(--csg-text);
}

.csg-footer__warning {
  background: rgba(138, 113, 5, 0.1);
  border: 1px solid rgba(138, 113, 5, 0.25);
  border-radius: var(--csg-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.csg-footer__warning p {
  font-size: 0.85rem;
  color: var(--csg-muted);
  line-height: 1.6;
  margin: 0;
}

.csg-footer__warning p:first-child {
  color: var(--csg-text);
  margin-bottom: 0.5rem;
}

.csg-footer__orgs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.csg-footer__org-badge {
  background: var(--csg-badge-bg);
  color: var(--csg-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--csg-border);
}

.csg-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--csg-border);
}

.csg-footer__bottom p {
  font-size: 0.78rem;
  color: var(--csg-muted);
  line-height: 1.6;
}

/* --- Scroll to Top --- */
.csg-scrolltop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--csg-surface2);
  border: 1px solid var(--csg-border);
  color: var(--csg-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.csg-scrolltop[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.csg-scrolltop:hover {
  background: var(--csg-accent);
  border-color: var(--csg-accent);
}

/* ========================================
   Mobile Menu Overlay
   ======================================== */
.csg-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(21, 20, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
}

.csg-mobile-menu--open {
  display: flex;
}

.csg-mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--csg-text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--csg-radius);
  transition: background var(--csg-transition);
}

.csg-mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--csg-accent-light);
}

.csg-mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--csg-text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .csg-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .csg-hero__visual {
    order: 2;
  }

  .csg-hero__content {
    order: 1;
  }

  .csg-hero__title {
    font-size: 1.75rem;
  }

  .csg-heading {
    font-size: 1.4rem;
  }

  .csg-hero__stat-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .csg-hero__stat {
    padding: 1rem 0.5rem;
  }

  .csg-hero__stat-value {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .csg-masthead__nav {
    display: none;
  }

  .csg-masthead__cta {
    display: none;
  }

  .csg-masthead__toggle {
    display: flex;
  }

  .csg-hero {
    padding: 2.5rem 0 2rem;
  }

  .csg-hero__title {
    font-size: 1.5rem;
  }

  .csg-hero__subtitle {
    font-size: 1rem;
  }

  .csg-promowidget__body {
    flex-direction: column;
  }

  .csg-promowidget__copy {
    min-width: 100%;
  }

  .csg-hero__actions {
    flex-direction: column;
  }

  .csg-hero__actions .csg-btn {
    width: 100%;
  }

  .csg-cta-row .csg-btn {
    width: 100%;
  }

  .csg-section {
    padding: 2.5rem 0;
  }

  .csg-hero__showcase {
    padding: 1.5rem;
  }

  .csg-hero__ring {
    width: 200px;
    height: 200px;
  }

  .csg-hero__ring--outer {
    width: 280px;
    height: 280px;
  }

  .csg-codegrid td:nth-child(2) {
    min-width: 200px;
  }

  .csg-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .csg-footer__nav {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .csg-hero__title {
    font-size: 1.3rem;
  }

  .csg-promowidget__code {
    font-size: 1.1rem;
  }

  .csg-heading {
    font-size: 1.25rem;
  }

  .csg-hero__stat-cards {
    grid-template-columns: 1fr;
  }

  .csg-stepflow__item {
    flex-direction: column;
    gap: 0.6rem;
  }

  .csg-hero--compact .csg-hero__title {
    font-size: 1.3rem;
  }
}