/* Clarion Registry Desk - Gelagen Website Directory Styles */
:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Palette */
  --gw-ink: #181113;
  --gw-ink-muted: #57484b;
  --gw-ink-soft: #857276;
  --gw-canvas: #faf7f5;
  --gw-surface: #ffffff;
  --gw-surface-warm: #f5eeea;
  --gw-border: #e6dcda;
  --gw-border-subtle: #f0e7e5;

  /* Brand Accents */
  --gw-primary: #be185d;
  --gw-primary-dark: #9d174d;
  --gw-primary-light: #fce7f3;
  --gw-gold: #c9933b;
  --gw-gold-soft: #fef3c7;
  --gw-emerald: #059669;
  --gw-emerald-soft: #d1fae5;
  --gw-amber: #d97706;
  --gw-amber-soft: #fef3c7;
  --gw-danger: #dc2626;
  --gw-danger-soft: #fee2e2;

  --gw-radius-sm: 6px;
  --gw-radius-md: 10px;
  --gw-radius-lg: 16px;
  --gw-shadow-sm: 0 1px 2px rgba(24, 17, 19, 0.05);
  --gw-shadow-md: 0 4px 12px rgba(24, 17, 19, 0.08);
  --gw-shadow-lg: 0 12px 24px rgba(24, 17, 19, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--gw-canvas);
  color: var(--gw-ink);
  font-family: var(--gw-font-body, var(--font-body));
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  height: auto;
  max-width: 100%;
  display: block;
}

a {
  color: var(--gw-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gw-primary-dark);
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--gw-ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: var(--gw-radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Disclosure Ribbon */
.gw-disclosure-strip {
  background-color: #241619;
  color: #eedddf;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #3d262b;
}

.gw-disclosure-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.gw-disclosure-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gw-disclosure-badge {
  background-color: var(--gw-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Header */
.gw-header {
  background-color: var(--gw-surface);
  border-bottom: 1px solid var(--gw-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.gw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.gw-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.gw-brand-logo {
  width: 38px;
  height: 38px;
  background: #1b1214;
  border-radius: var(--gw-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gw-primary);
}

.gw-brand-title {
  display: flex;
  flex-direction: column;
}

.gw-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gw-ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gw-brand-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gw-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gw-brand-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--gw-surface-2);
  color: var(--gw-primary-deep);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-pill);
  padding: 0.15rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.gw-hero-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gw-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gw-ink);
}

.gw-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.gw-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gw-ink-muted);
  transition: color 0.15s ease;
}

.gw-nav-link:hover {
  color: var(--gw-primary);
  text-decoration: none;
}

.gw-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--gw-primary);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--gw-radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.gw-header-cta:hover {
  background-color: var(--gw-primary-dark);
  text-decoration: none;
}

.gw-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gw-ink);
}

/* Mobile Nav Drawer */
.gw-mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--gw-surface);
  border-bottom: 2px solid var(--gw-primary);
  box-shadow: var(--gw-shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
  z-index: 999;
}

.gw-mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
}

/* Hero Section */
.gw-hero {
  padding: 2.5rem 0 2rem 0;
  background: linear-gradient(180deg, #f5edeb 0%, var(--gw-canvas) 100%);
  border-bottom: 1px solid var(--gw-border);
}

.gw-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.gw-url-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.gw-url-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gw-surface);
  border: 1.5px solid var(--gw-border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gw-ink);
  box-shadow: var(--gw-shadow-sm);
}

.gw-status-indicator {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--gw-emerald);
}

.gw-meta-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gw-ink-soft);
  background: var(--gw-surface-warm);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.gw-h1 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--gw-ink);
  margin-bottom: 1.1rem;
}

.gw-canonical-card {
  background-color: var(--gw-surface);
  border-left: 4px solid var(--gw-primary);
  border-radius: var(--gw-radius-sm);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--gw-shadow-sm);
  margin-bottom: 1.5rem;
}

.gw-canonical-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gw-ink);
  margin: 0;
}

.gw-hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gw-highlight-item {
  background-color: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 0.75rem;
  text-align: center;
}

.gw-highlight-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gw-primary);
}

.gw-highlight-lbl {
  font-size: 0.75rem;
  color: var(--gw-ink-soft);
  margin-top: 0.15rem;
}

/* Buy Box Card */
.gw-buybox {
  background: var(--gw-surface);
  border: 1.5px solid var(--gw-border);
  border-radius: var(--gw-radius-md);
  padding: 1.5rem;
  box-shadow: var(--gw-shadow-md);
}

.gw-buybox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gw-border-subtle);
}

.gw-buybox-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gw-ink);
}

.gw-buybox-badge {
  background-color: var(--gw-emerald-soft);
  color: var(--gw-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.gw-buybox-visual {
  text-align: center;
  margin-bottom: 1.25rem;
  background: radial-gradient(circle at center, #ffffff 40%, #fdf7f9 100%);
  border: 1px solid #f1e6eb;
  border-radius: var(--gw-radius-md);
  padding: 1.25rem 1rem;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-buybox-img {
  margin: 0 auto;
  max-height: 230px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(24, 17, 19, 0.1));
  transition: transform 0.25s ease;
}

.gw-pack-selector {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.gw-pack-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.gw-pack-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gw-pack-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 0.75rem 0.9rem;
  background-color: var(--gw-surface);
  transition: border-color 0.15s, background-color 0.15s;
}

.gw-pack-input:checked + .gw-pack-label {
  border-color: var(--gw-primary);
  background-color: #fdf2f8;
}

.gw-pack-left {
  display: flex;
  flex-direction: column;
}

.gw-pack-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--gw-ink);
}

.gw-pack-bonus {
  font-size: 0.75rem;
  color: var(--gw-primary);
  font-weight: 600;
}

.gw-pack-right {
  text-align: right;
}

.gw-pack-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gw-ink);
}

.gw-pack-unit {
  font-size: 0.75rem;
  color: var(--gw-ink-soft);
}

.gw-price-summary {
  background-color: var(--gw-surface-warm);
  border-radius: var(--gw-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
}

.gw-summary-label {
  font-size: 0.8125rem;
  color: var(--gw-ink-muted);
}

.gw-summary-total {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gw-ink);
}

.gw-summary-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gw-emerald);
}

.gw-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--gw-primary);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  padding: 0.95rem 1.25rem;
  border-radius: var(--gw-radius-sm);
  box-shadow: 0 4px 10px rgba(190, 24, 93, 0.25);
  transition: background-color 0.15s ease, transform 0.05s ease;
  text-decoration: none;
}

.gw-cta-btn:hover {
  background-color: var(--gw-primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.gw-buybox-footer {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--gw-ink-soft);
  text-align: center;
  line-height: 1.4;
}

/* Sections */
.gw-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gw-border);
}

.gw-section:nth-child(even) {
  background-color: var(--gw-surface);
}

.gw-h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gw-ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.gw-h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gw-ink);
  margin-bottom: 0.5rem;
}

.gw-prose p {
  margin-bottom: 1rem;
  color: var(--gw-ink);
  font-size: 0.98rem;
}

.gw-prose p:last-child {
  margin-bottom: 0;
}

/* Data Tables */
.gw-table-wrap {
  margin: 1.5rem 0;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-md);
  overflow: hidden;
  box-shadow: var(--gw-shadow-sm);
}

.gw-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9125rem;
}

.gw-table caption {
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  background-color: var(--gw-surface-warm);
  color: var(--gw-ink);
  text-align: left;
  border-bottom: 1px solid var(--gw-border);
}

.gw-table th, .gw-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gw-border);
}

.gw-table th {
  background-color: var(--gw-surface-warm);
  color: var(--gw-ink);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gw-table tr:last-child td {
  border-bottom: none;
}

.gw-url-text {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gw-ink);
  word-break: break-all;
}

.gw-badge-yes {
  display: inline-block;
  background-color: var(--gw-emerald-soft);
  color: var(--gw-emerald);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.gw-badge-no {
  display: inline-block;
  background-color: var(--gw-danger-soft);
  color: var(--gw-danger);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.gw-badge-gateway {
  display: inline-block;
  background-color: var(--gw-amber-soft);
  color: var(--gw-amber);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Callout Box / Cards */
.gw-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.gw-card {
  background-color: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-md);
  padding: 1.5rem;
  box-shadow: var(--gw-shadow-sm);
}

.gw-pack-card {
  background-color: var(--gw-surface);
  border: 1.5px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: 1.25rem;
  box-shadow: var(--gw-shadow-sm);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gw-pack-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary);
}

.gw-pack-visual {
  background: radial-gradient(circle at center, #ffffff 40%, #faf4f6 100%);
  border: 1px solid #f1e6eb;
  border-radius: var(--gw-radius-md);
  padding: 1.25rem 0.5rem 0.75rem 0.5rem;
  margin-bottom: 1.25rem;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gw-pack-img {
  max-height: 210px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 16px rgba(24, 17, 19, 0.12));
  transition: transform 0.25s ease;
}

.gw-pack-card:hover .gw-pack-img {
  transform: scale(1.04);
}

.gw-pack-badge-floating {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gw-primary);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--gw-radius-pill);
  box-shadow: 0 4px 10px rgba(190, 24, 93, 0.25);
  white-space: nowrap;
  z-index: 2;
}

.gw-card-danger {
  border-left: 4px solid var(--gw-danger);
}

.gw-card-verified {
  border-left: 4px solid var(--gw-emerald);
}

.gw-card-notice {
  border-left: 4px solid var(--gw-primary);
}

.gw-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--gw-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* PAA FAQ Group */
.gw-faq-item {
  background-color: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.gw-faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gw-ink);
  margin-bottom: 0.65rem;
}

.gw-faq-item p {
  color: var(--gw-ink-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Sticky Dock Bar */
.gw-sticky-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1b1214;
  color: #ffffff;
  padding: 0.75rem 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 990;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.gw-sticky-dock.is-visible {
  transform: translateY(0);
}

.gw-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gw-sticky-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gw-sticky-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--gw-radius-sm);
  background: #ffffff;
  object-fit: contain;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.gw-sticky-info {
  display: flex;
  flex-direction: column;
}

.gw-sticky-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
}

.gw-sticky-desc {
  font-size: 0.75rem;
  color: #e5b3c4;
}

.gw-sticky-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gw-sticky-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.gw-sticky-btn {
  background-color: var(--gw-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--gw-radius-sm);
  text-decoration: none;
  white-space: nowrap;
}

/* Footer */
.gw-footer {
  background-color: #181113;
  color: #b09fa3;
  padding: 3.5rem 0 2rem 0;
  font-size: 0.875rem;
}

.gw-footer a {
  color: #eedddf;
}

.gw-footer a:hover {
  color: #ffffff;
}

.gw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.gw-footer-col h4 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gw-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gw-footer-disclaimers {
  background-color: #23181a;
  border: 1px solid #362529;
  border-radius: var(--gw-radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #a89599;
}

.gw-footer-disclaimers p {
  margin-bottom: 0.65rem;
}

.gw-footer-disclaimers p:last-child {
  margin-bottom: 0;
}

.gw-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2d1e22;
  font-size: 0.8125rem;
}

/* Responsive Table to Cards */
@media (max-width: 768px) {
  .gw-hero-grid {
    grid-template-columns: 1fr;
  }

  .gw-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gw-nav {
    display: none;
  }

  .gw-menu-btn {
    display: block;
  }

  .gw-header-cta {
    display: none;
  }

  .gw-h1 {
    font-size: 1.85rem;
  }

  .gw-table thead {
    display: none;
  }

  .gw-table, .gw-table tbody, .gw-table tr, .gw-table td {
    display: block;
    width: 100%;
  }

  .gw-table tr {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gw-border);
    background-color: var(--gw-surface);
  }

  .gw-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    border-bottom: 1px solid var(--gw-border-subtle);
    padding: 0.65rem 0.85rem;
  }

  .gw-table td::before {
    content: attr(data-label);
    font-weight: 700;
    text-align: left;
    color: var(--gw-ink-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-right: 1rem;
  }
}
