/* pages-strapless.css — layout + UI for content pages without Bootstrap grid/utilities
   Scope: used with <main class="ws-page"> on About, Contact, Licenses, Collector Agreement. */

/* --------------------------------------------------------------------------
   Page shell (replaces flex-grow-1 + container + section vertical padding)
--------------------------------------------------------------------------- */
.ws-page {
  flex: 1 0 auto;
  min-height: 0;
  display: block;
}

.ws-page__section {
  padding-top: clamp(2.5rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3rem);
}

.ws-page__inner {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Typography (replaces display-*, lead, h4/h5 utility headings)
--------------------------------------------------------------------------- */
.ws-page__title {
  margin: 0 0 0.5rem;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ws-page__title--sm {
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
}

.ws-page__lead {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.55;
}

.ws-subhead {
  margin: 0 0 0.75rem;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.ws-subhead--sm {
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   Spacing / alignment (replaces Bootstrap spacing + text utilities)
--------------------------------------------------------------------------- */
.ws-text-center {
  text-align: center;
}

.ws-opacity-75 {
  opacity: 0.75;
}

.ws-text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.ws-mt-0 { margin-top: 0; }
.ws-mt-sm { margin-top: 0.5rem; }
.ws-mt-md { margin-top: 1rem; }
.ws-mt-lg { margin-top: 1.5rem; }
.ws-mt-xl { margin-top: 2rem; }
.ws-mt-2xl { margin-top: 3rem; }

.ws-mb-0 { margin-bottom: 0; }
.ws-mb-sm { margin-bottom: 0.5rem; }
.ws-mb-md { margin-bottom: 1rem; }
.ws-mb-lg { margin-bottom: 1.5rem; }
.ws-mb-xl { margin-bottom: 2rem; }
.ws-mb-2xl { margin-bottom: 3rem; }

.ws-my-xl {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Panels inside .wicked-edge (replaces p-4, p-md-5, p-lg-5 on edges)
--------------------------------------------------------------------------- */
.ws-inset {
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

@media (min-width: 768px) {
  .ws-inset--md-wide {
    padding: clamp(1.25rem, 4vw, 3rem);
  }
}

@media (min-width: 992px) {
  .ws-inset--lg-wide {
    padding: clamp(1.25rem, 4vw, 3rem);
  }
}

/* --------------------------------------------------------------------------
   Grids (replaces row / col-* / g-*)
--------------------------------------------------------------------------- */
.ws-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 992px) {
  .ws-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-grid--7-5 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.ws-grid__full {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   Flex rows (replaces d-flex, gap-*, align-items-*)
--------------------------------------------------------------------------- */
.ws-row-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ws-row-flex--start {
  align-items: flex-start;
}

.ws-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ws-btn-row--center {
  justify-content: center;
}

/* Tier / licenses header stack */
.ws-tier-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}

.ws-tier-stack__media {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Collector agreement hero bar */
.ws-agreement-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 992px) {
  .ws-agreement-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   Horizontal rule (replaces hr + my-4)
--------------------------------------------------------------------------- */
.ws-rule {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Buttons (replaces btn / btn-primary / btn-outline-light / btn-light)
--------------------------------------------------------------------------- */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ws-btn:focus-visible {
  outline: 2px solid rgba(120, 190, 255, 0.7);
  outline-offset: 2px;
}

.ws-btn--primary {
  color: rgba(230, 238, 248, 0.94);
  background: color-mix(in srgb, var(--accent, #78beff) 22%, transparent);
  border-color: color-mix(in srgb, var(--accent, #78beff) 40%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent, #78beff) 12%, transparent);
}

.ws-btn--primary:hover {
  color: #fff;
  background: color-mix(in srgb, var(--accent, #78beff) 30%, transparent);
  border-color: color-mix(in srgb, var(--accent, #78beff) 60%, transparent);
}

.ws-btn--outline {
  color: rgba(230, 238, 248, 0.9);
  background: transparent;
  border-color: rgba(207, 230, 255, 0.35);
}

.ws-btn--outline:hover {
  color: #fff;
  border-color: rgba(207, 230, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.ws-btn--light {
  color: #0b0f14;
  background: rgba(240, 245, 255, 0.92);
  border-color: rgba(240, 245, 255, 0.95);
}

.ws-btn--light:hover {
  background: #fff;
  border-color: #fff;
}

/* --------------------------------------------------------------------------
   Forms — Contact (replaces form-control / form-label / row g-3 / col-*)
--------------------------------------------------------------------------- */
.ws-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ws-form__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .ws-form__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ws-form__full {
  grid-column: 1 / -1;
}

.ws-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(207, 230, 255, 0.88);
}

.ws-input,
.ws-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(230, 238, 248, 0.94);
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(207, 230, 255, 0.18);
  border-radius: 0.375rem;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ws-input:focus,
.ws-textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent, #78beff) 55%, rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent, #78beff) 15%, transparent);
}

.ws-textarea {
  min-height: 8rem;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   Alerts (replaces alert alert-success / alert-danger)
--------------------------------------------------------------------------- */
.ws-alert {
  padding: 1rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(207, 230, 255, 0.14);
  background: var(--panel, rgba(8, 10, 14, 0.55));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ws-alert--success {
  border-color: rgba(72, 180, 120, 0.45);
  background: rgba(12, 28, 20, 0.55);
  color: rgba(200, 240, 215, 0.95);
}

.ws-alert--danger {
  border-color: rgba(220, 100, 100, 0.45);
  background: rgba(32, 14, 14, 0.5);
  color: rgba(255, 210, 210, 0.92);
}

/* --------------------------------------------------------------------------
   Legal / compact layouts (terms, privacy, disclaimer)
--------------------------------------------------------------------------- */
.ws-page__inner--narrow {
  max-width: 900px;
}

.ws-meta-muted {
  margin: 0 0 1rem;
  color: rgba(180, 198, 218, 0.55);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Centered shells (404, thank-you)
--------------------------------------------------------------------------- */
.ws-page--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(2.5rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3rem);
  min-height: 0;
}

.ws-page__card--md {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ws-btn--lg {
  padding: 0.65rem 1.35rem;
  font-size: 1.125rem;
}
