*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --sowall-bg-top: #f3f0e4;
  --sowall-bg-bottom: #ebe7d6;
  --sowall-card: #fbf9f0;
  --sowall-paper: #fffdf7;
  --sowall-olive: #6b7a3a;
  --sowall-olive-deep: #556330;
  --sowall-sage: #9aa878;
  --sowall-sage-soft: #c4ccab;
  --sowall-rose: #b06a5c;
  --sowall-rose-deep: #985548;
  --sowall-moss: #2e3a1e;
  --sowall-copy: #6a7458;
  --sowall-border: #c4ccab;
  --sowall-shadow: 0 14px 32px rgba(71, 78, 49, 0.08), 0 2px 8px rgba(46, 58, 30, 0.06);
  --sowall-radius: 8px;
  --sowall-shell: 1180px;
  --sowall-copy-width: 760px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background:
    radial-gradient(circle at 1px 1px, rgba(90, 110, 60, 0.04) 1px, transparent 0),
    linear-gradient(180deg, var(--sowall-bg-top), var(--sowall-bg-bottom));
  background-size: 5px 5px, auto;
  color: var(--sowall-moss);
  font-family: "Inter", sans-serif;
  line-height: 1.68;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(154, 168, 120, 0.14), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(176, 106, 92, 0.1), transparent 22%);
}

body::after {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(0deg, rgba(107, 122, 58, 0.04), transparent 28%);
}

a {
  color: inherit;
}

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

button,
input,
select {
  font: inherit;
}

.sowall-page {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

.sowall-shell {
  width: min(calc(100% - 2rem), var(--sowall-shell));
  margin: 0 auto;
}

.sowall-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 250;
  background: rgba(46, 58, 30, 0.08);
}

.sowall-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--sowall-olive), var(--sowall-rose));
}

.sowall-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 0.9rem 1rem;
  background: rgba(46, 58, 30, 0.97);
  color: var(--sowall-paper);
  border-top: 1px solid rgba(196, 204, 171, 0.34);
  pointer-events: none;
}

.sowall-cookie-banner[data-sowall-cookie-state="hidden"] {
  display: none;
}

.sowall-cookie-inner {
  width: min(calc(100% - 1rem), var(--sowall-shell));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
}

.sowall-cookie-copy {
  margin: 0;
  font-size: 0.94rem;
}

.sowall-cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sowall-cookie-actions a {
  color: var(--sowall-paper);
  text-decoration-color: rgba(196, 204, 171, 0.8);
}

.sowall-cookie-banner .sowall-button--ghost {
  color: var(--sowall-paper);
  border-color: rgba(255, 255, 255, 0.65);
}

.sowall-cookie-banner .sowall-button--ghost:hover,
.sowall-cookie-banner .sowall-button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.sowall-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(243, 240, 228, 0.95);
  border-bottom: 1px solid var(--sowall-sage-soft);
}

.sowall-header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  min-height: 78px;
  position: relative;
  overflow: visible;
}

.sowall-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  padding: 0.85rem 0;
  text-decoration: none;
}

.sowall-brand img {
  width: min(252px, 100%);
  height: auto;
}

.sowall-nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
}

.sowall-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25rem;
  margin: 0;
  padding: 0;
}

.sowall-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 0.95rem;
  text-decoration: none;
  color: var(--sowall-moss);
  font-size: 0.94rem;
  font-weight: 500;
}

.sowall-nav a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.62rem;
  height: 1px;
  background: var(--sowall-olive);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sowall-nav a:hover,
.sowall-nav a:focus-visible {
  color: var(--sowall-olive);
}

.sowall-nav a:hover::after,
.sowall-nav a:focus-visible::after,
.sowall-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.sowall-nav a[aria-current="page"] {
  color: var(--sowall-olive);
}

.sowall-nav a[aria-current="page"]::before {
  content: "❧";
  font-size: 0.84rem;
}

.sowall-burger {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(46, 58, 30, 0.18);
  border-radius: 8px;
  background: var(--sowall-card);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.sowall-burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--sowall-moss);
}

.sowall-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body:not(.sowall-nav-open) .sowall-header {
  backdrop-filter: blur(8px);
}

body.sowall-nav-open .sowall-header {
  backdrop-filter: none;
}

.sowall-page > main,
.sowall-page > footer {
  position: relative;
  z-index: 1;
}

.sowall-age-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  z-index: 2147483646 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: max(env(safe-area-inset-top), 16px) 0.65rem max(env(safe-area-inset-bottom), 16px) !important;
  background: rgba(0, 0, 0, 0.85) !important;
  margin: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

.sowall-age-box {
  margin-block: auto;
  flex-shrink: 0;
  width: min(420px, calc(100% - 12px));
  max-width: 100%;
  background: var(--sowall-paper);
  border: 1px solid rgba(196, 204, 171, 0.7);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.sowall-age-overlay[data-sowall-age-state="confirmed"],
.sowall-age-overlay[data-sowall-age-state="hidden"] {
  display: none !important;
}

.sowall-age-kicker,
.sowall-mini-kicker,
.sowall-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--sowall-olive);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sowall-age-title,
.sowall-hero h1,
.sowall-section-head h2,
.sowall-card h3,
.sowall-story-block h2,
.sowall-legal-hero h1,
.sowall-legal-section h2,
.sowall-timeline-title,
.sowall-footer-title {
  margin: 0;
  font-family: "Spectral", serif;
  color: var(--sowall-moss);
}

.sowall-age-title {
  font-size: 2rem;
  line-height: 1.12;
}

.sowall-age-copy {
  margin: 0.85rem 0 0;
  color: var(--sowall-copy);
}

.sowall-age-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.35rem;
}

.sowall-button,
.sowall-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border-radius: 6px;
  border: 1.5px solid var(--sowall-olive);
  background: var(--sowall-olive);
  color: var(--sowall-paper);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Spectral", serif;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(107, 122, 58, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.sowall-button:hover,
.sowall-button:focus-visible,
.sowall-cta-btn:hover,
.sowall-cta-btn:focus-visible {
  background: var(--sowall-moss);
  border-color: var(--sowall-moss);
  transform: translateY(-1px);
}

.sowall-button--ghost,
.sowall-ghost-btn {
  background: transparent;
  color: var(--sowall-moss);
  border-color: var(--sowall-moss);
  box-shadow: none;
}

.sowall-button--ghost:hover,
.sowall-button--ghost:focus-visible,
.sowall-ghost-btn:hover,
.sowall-ghost-btn:focus-visible {
  background: rgba(46, 58, 30, 0.06);
}

.sowall-hero,
.sowall-band,
.sowall-story,
.sowall-legal-main {
  padding: 4.8rem 0;
}

.sowall-hero {
  position: relative;
  padding-top: 5.3rem;
}

.sowall-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: end;
}

.sowall-branch {
  position: absolute;
  width: min(180px, 20vw);
  height: auto;
  opacity: 0.35;
  stroke: var(--sowall-olive);
  stroke-width: 1.5;
  fill: none;
}

.sowall-branch--left {
  top: 2.2rem;
  left: 2rem;
}

.sowall-branch--right {
  top: 2.7rem;
  right: 2rem;
  transform: scaleX(-1);
}

.sowall-kicker {
  margin: 0 0 1rem;
  color: var(--sowall-olive);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sowall-hero h1 {
  font-size: clamp(2.625rem, 7vw, 6rem);
  line-height: 0.98;
  max-width: 11ch;
}

.sowall-hero h1 em {
  color: var(--sowall-olive);
  font-style: italic;
}

.sowall-hero-rule {
  width: 80px;
  height: 1px;
  background: var(--sowall-olive);
  margin: 1.4rem 0;
}

.sowall-hero p,
.sowall-section-head p,
.sowall-story-block p,
.sowall-legal-section p,
.sowall-rg-copy p,
.sowall-card p,
.sowall-timeline-copy p,
.sowall-glossary-answer p {
  color: var(--sowall-copy);
}

.sowall-hero p {
  max-width: 56ch;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
}

.sowall-hero-note {
  display: grid;
  gap: 1rem;
}

.sowall-hero-note-card,
.sowall-panel,
.sowall-card,
.sowall-rg-card,
.sowall-story-block,
.sowall-legal-section,
.sowall-footer-panel,
.sowall-query,
.sowall-timeline-item,
.sowall-highlight-card {
  background: var(--sowall-card);
  border: 1px solid var(--sowall-border);
  border-left: 3px solid var(--sowall-olive);
  border-radius: var(--sowall-radius);
  box-shadow: var(--sowall-shadow);
}

.sowall-hero-note-card {
  padding: 1.2rem 1.2rem 1rem;
}

.sowall-hero-note-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Spectral", serif;
  font-size: 1.1rem;
  color: var(--sowall-moss);
}

.sowall-hero-note-card p {
  margin: 0;
  font-size: 0.96rem;
}

.sowall-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.sowall-section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.sowall-section-head p {
  max-width: 42ch;
  margin: 0;
}

.sowall-highlight-grid,
.sowall-casino-list,
.sowall-glossary-grid,
.sowall-story-grid,
.sowall-footer-grid,
.sowall-grid {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}

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

.sowall-highlight-card {
  position: relative;
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease, border-left-color 0.2s ease;
}

.sowall-card,
.sowall-query,
.sowall-timeline-item,
.sowall-hero-note-card {
  transition: transform 0.2s ease, border-color 0.2s ease, border-left-color 0.2s ease;
}

.sowall-highlight-card:hover,
.sowall-card:hover,
.sowall-query:hover,
.sowall-hero-note-card:hover,
.sowall-timeline-item:hover {
  transform: translateY(-2px);
  border-color: var(--sowall-sage);
  border-left-color: var(--sowall-olive-deep);
}

.sowall-card-top,
.sowall-brand-meta,
.sowall-score {
  min-width: 0;
}

.sowall-card-top {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) minmax(0, 132px);
  gap: 1rem;
  align-items: center;
}

.sowall-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(140px, 100%);
  height: auto;
  min-height: 4.25rem;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.sowall-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sowall-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.sowall-field-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--sowall-rose);
  background: var(--sowall-paper);
  color: var(--sowall-moss);
  font-family: "Spectral", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sowall-promo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(154, 168, 120, 0.18);
  border: 1px solid rgba(107, 122, 58, 0.26);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sowall-moss);
}

.sowall-specimen {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.64rem;
  font-style: italic;
  color: var(--sowall-copy);
}

.sowall-brand-meta h3 {
  font-size: 1.65rem;
  margin-bottom: 0.25rem;
}

.sowall-brand-meta p {
  margin: 0;
  font-size: 0.97rem;
}

.sowall-score {
  text-align: right;
  min-width: 0;
  flex-shrink: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sowall-score strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Spectral", serif;
  font-size: 1.5rem;
  color: var(--sowall-moss);
}

.sowall-rating {
  display: inline-flex;
  gap: 0.35rem;
}

.sowall-leaf,
.sowall-leaf--empty {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sowall-leaf {
  background: var(--sowall-olive);
}

.sowall-leaf--empty {
  border: 1.5px solid var(--sowall-sage);
  background: transparent;
}

.sowall-bonus {
  margin: 1rem 0 0.35rem;
  font-family: "Spectral", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--sowall-moss);
}

.sowall-bonus::after {
  content: "";
  display: block;
  width: 60%;
  max-width: 220px;
  height: 1px;
  background: var(--sowall-olive);
  margin-top: 0.45rem;
}

.sowall-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.sowall-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(196, 204, 171, 0.24);
  border: 1px solid rgba(107, 122, 58, 0.32);
  color: var(--sowall-moss);
  font-size: 0.82rem;
  font-weight: 500;
}

.sowall-band--pale {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
  border-top: 1px solid rgba(196, 204, 171, 0.5);
  border-bottom: 1px solid rgba(196, 204, 171, 0.5);
}

.sowall-calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.sowall-panel {
  padding: 1.4rem;
}

.sowall-calculator-controls {
  display: grid;
  gap: 1rem;
}

.sowall-form-field {
  display: grid;
  gap: 0.35rem;
}

.sowall-form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sowall-moss);
}

.sowall-form-field select,
.sowall-form-field input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--sowall-sage-soft);
  border-radius: 6px;
  background: #fff;
  color: var(--sowall-moss);
}

.sowall-calculator-result {
  display: grid;
  gap: 0.8rem;
}

.sowall-result-box {
  padding: 1.15rem;
  border-radius: 8px;
  border: 1px dashed rgba(107, 122, 58, 0.48);
  background: rgba(255, 255, 255, 0.58);
}

.sowall-result-box strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Spectral", serif;
  font-size: 1.2rem;
}

.sowall-casino-list {
  grid-template-columns: 1fr;
}

.sowall-card {
  padding: 1.35rem;
}

.sowall-card-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 220px);
  gap: 1.4rem;
  align-items: start;
}

.sowall-card-main {
  min-width: 0;
}

.sowall-card-side {
  min-width: 0;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  justify-items: stretch;
}

.sowall-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--sowall-copy);
}

.sowall-rg-grid,
.sowall-story-grid,
.sowall-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 1.4rem;
  min-width: 0;
}

.sowall-rg-card,
.sowall-story-block,
.sowall-footer-panel {
  padding: 1.35rem;
}

.sowall-rg-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.sowall-rg-links a,
.sowall-legal-section a,
.sowall-footer a,
.sowall-cookie-actions a {
  color: var(--sowall-olive-deep);
}

.sowall-rg-links a:hover,
.sowall-legal-section a:hover,
.sowall-footer a:hover,
.sowall-cookie-actions a:hover {
  color: var(--sowall-rose-deep);
}

.sowall-rg-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(176, 106, 92, 0.12);
  color: var(--sowall-rose-deep);
  border: 1px solid rgba(176, 106, 92, 0.32);
  font-size: 0.78rem;
  font-weight: 600;
}

.sowall-timeline {
  display: grid;
  gap: 1rem;
  counter-reset: sowall-step;
}

.sowall-timeline-item {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 4.2rem;
}

.sowall-timeline-item::before {
  counter-increment: sowall-step;
  content: counter(sowall-step, decimal-leading-zero);
  position: absolute;
  left: 1.15rem;
  top: 1.28rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--sowall-olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sowall-paper);
  color: var(--sowall-olive);
  font-family: "Spectral", serif;
  font-weight: 700;
}

.sowall-timeline-title {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.sowall-timeline-copy p {
  margin: 0.45rem 0 0;
}

.sowall-query {
  padding: 1rem 1.1rem;
}

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

.sowall-query-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sowall-moss);
  text-align: left;
  cursor: pointer;
}

.sowall-query-toggle span {
  font-family: "Spectral", serif;
  font-size: 1.18rem;
  font-weight: 600;
}

.sowall-query-toggle strong {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--sowall-olive);
}

.sowall-glossary-answer {
  display: none;
  padding-top: 0.85rem;
}

.sowall-query.is-open .sowall-glossary-answer {
  display: block;
}

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

.sowall-story-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.sowall-footer {
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--sowall-sage-soft);
  background: rgba(251, 249, 240, 0.92);
}

.sowall-footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sowall-footer-panel {
  padding: 1.1rem;
}

.sowall-footer-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.sowall-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.sowall-footer p {
  margin: 0;
  color: var(--sowall-copy);
}

.sowall-footer-meta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 204, 171, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
}

.sowall-scrolltop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--sowall-olive);
  background: var(--sowall-olive);
  color: var(--sowall-paper);
  box-shadow: 0 10px 20px rgba(107, 122, 58, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sowall-scrolltop.is-live {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sowall-legal-main {
  padding-top: 4rem;
}

.sowall-legal-hero {
  margin-bottom: 1.4rem;
}

.sowall-legal-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.sowall-legal-hero p,
.sowall-crumbs {
  max-width: var(--sowall-copy-width);
}

.sowall-crumbs {
  margin: 0 0 0.8rem;
  color: var(--sowall-copy);
  font-size: 0.9rem;
}

.sowall-legal-layout {
  align-items: start;
}

.sowall-legal-stack {
  display: grid;
  gap: 1rem;
}

.sowall-legal-section {
  padding: 1.35rem;
}

.sowall-legal-section h2 {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
}

.sowall-legal-section ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  color: var(--sowall-copy);
}

.sowall-legal-aside {
  display: grid;
  gap: 1rem;
}

.sowall-aside-card {
  padding: 1.15rem;
}

.sowall-aside-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

@media (max-width: 1100px) {
  .sowall-burger {
    display: flex;
  }

  .sowall-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    z-index: 201;
    background: #ffffff;
    transform: translateX(calc(100% + 16px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
    padding: 1.5rem 1rem;
    max-width: min(320px, 85vw) !important;
    box-shadow: -12px 0 24px rgba(46, 58, 30, 0.16);
  }

  .sowall-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .sowall-nav a {
    padding: 0.9rem 0.3rem;
  }

  body.sowall-nav-open .sowall-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
  }

  body.sowall-nav-open .sowall-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.sowall-nav-open {
    overflow: hidden;
  }

  .sowall-hero-grid,
  .sowall-calculator,
  .sowall-rg-grid,
  .sowall-legal-layout,
  .sowall-story-grid,
  .sowall-footer-grid,
  .sowall-glossary-grid,
  .sowall-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sowall-card-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .sowall-score {
    text-align: left;
  }

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

  .sowall-card-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  html,
  body {
    overflow-x: clip;
  }

  .sowall-page * {
    max-width: 100%;
  }

  .sowall-casino-list,
  .sowall-grid {
    grid-template-columns: 1fr !important;
    min-width: 0;
  }

  .sowall-casino-list > *,
  .sowall-grid > * {
    min-width: 0;
  }

  .sowall-card {
    flex-direction: column !important;
    min-width: 0;
  }

  .sowall-card *,
  .sowall-highlight-card *,
  .sowall-rg-grid *,
  .sowall-story-grid *,
  .sowall-legal-layout * {
    min-width: 0;
    max-width: 100%;
  }

  .sowall-card-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .sowall-logo-wrap {
    max-width: 120px;
    height: 36px;
  }

  .sowall-cta-btn,
  .sowall-button,
  .sowall-ghost-btn {
    width: 100% !important;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  h1,
  h2 {
    font-size: clamp(1.25rem, 6vw, 2rem) !important;
  }

  .sowall-card:hover,
  .sowall-highlight-card:hover,
  .sowall-query:hover,
  .sowall-timeline-item:hover {
    transform: none !important;
  }

  .sowall-header-inner {
    position: relative;
  }

  .sowall-nav {
    max-width: min(320px, 85vw) !important;
  }

  table {
    table-layout: auto;
    width: max-content;
    min-width: 0;
  }

  .sowall-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  .sowall-table-wrap table {
    min-width: 100%;
    width: max-content;
  }

  :not(.sowall-table-wrap) > table {
    width: 100%;
  }

  thead th {
    white-space: nowrap;
  }

  td {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .sowall-hero,
  .sowall-band,
  .sowall-story,
  .sowall-legal-main {
    padding: 3.4rem 0;
  }

  .sowall-kicker {
    letter-spacing: 0.09em;
  }

  .sowall-cookie-inner,
  .sowall-section-head,
  .sowall-footer-meta {
    flex-direction: column;
    align-items: start;
  }

  .sowall-scrolltop {
    right: 0.8rem;
    bottom: 5.5rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: clamp(1.1rem, 7vw, 1.5rem) !important;
  }

  .sowall-logo-wrap {
    max-width: 90px;
    height: 30px;
  }

  .sowall-bonus-text,
  .sowall-bonus {
    font-size: 0.85rem;
  }
}
