:root {
  --so-primary: #f34e3a;
  --so-ink: #141417;
  --so-text: #27272a;
  --so-text-2: #52525b;
  --so-muted: #71717a;
  --so-canvas: #ffffff;
  --so-surface: #f7f7f8;
  --so-hairline: #e4e4e7;
  --so-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--so-text);
  background: var(--so-canvas);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--so-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Header */
.so-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 23, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.so-header-inner {
  max-width: var(--so-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.so-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.so-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.so-nav a {
  color: #e4e4e7;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.so-nav a:hover,
.so-nav a[aria-current="page"] {
  color: var(--so-primary);
  text-decoration: none;
}

/* Containers & Sections */
.so-container {
  max-width: var(--so-max);
  margin: 0 auto;
  padding: 0 24px;
}

.so-hero {
  background: var(--so-canvas);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--so-hairline);
}

.so-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--so-muted);
  margin-bottom: 18px;
}

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

.so-breadcrumb a:hover {
  color: var(--so-primary);
}

.so-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-primary);
  margin-bottom: 10px;
}

.so-h1 {
  margin: 0 0 12px;
  font-family: 'Teko', 'Ubuntu', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--so-ink);
}

.so-h2 {
  margin: 0 0 12px;
  font-family: 'Teko', 'Ubuntu', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--so-ink);
}

.so-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--so-text-2);
  max-width: 68ch;
}

/* Legal Layout */
.so-legal-body {
  padding: 56px 0 72px;
}

.so-legal-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 960px) {
  .so-legal-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

.so-legal-content {
  display: grid;
  gap: 36px;
  min-width: 0;
}

.so-in-short {
  background: var(--so-surface);
  border: 1px solid var(--so-hairline);
  border-left: 4px solid var(--so-primary);
  border-radius: 6px;
  padding: 24px 26px;
}

.so-in-short .so-h2 {
  margin-bottom: 14px;
}

.so-rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.so-rule-list li {
  position: relative;
  padding-left: 20px;
  color: var(--so-text);
  font-size: 15.5px;
}

.so-rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--so-primary);
}

.so-section {
  scroll-margin-top: 96px;
  border-top: 1px solid var(--so-hairline);
  padding-top: 30px;
  max-width: 72ch;
}

.so-section p {
  margin: 0 0 14px;
  color: var(--so-text-2);
}

.so-section p:last-child {
  margin-bottom: 0;
}

.so-section ul {
  margin: 8px 0 14px;
  padding-left: 20px;
  color: var(--so-text-2);
  display: grid;
  gap: 8px;
}

.so-sec-num {
  color: var(--so-muted);
  margin-right: 8px;
}

/* Sticky TOC */
.so-toc {
  display: none;
}

@media (min-width: 960px) {
  .so-toc {
    display: grid;
    gap: 10px;
    position: sticky;
    top: 96px;
    border-left: 1px solid var(--so-hairline);
    padding-left: 20px;
  }
}

.so-toc a {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--so-text-2);
  text-decoration: none;
}

.so-toc a:hover {
  color: var(--so-primary);
}

/* Footer */
.so-footer {
  background: #141417;
  color: #a1a1aa;
  padding: 32px 0;
  font-size: 14px;
}

.so-footer-inner {
  max-width: var(--so-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.so-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.so-footer-links a {
  color: #d4d4d8;
}

.so-footer-links a:hover {
  color: var(--so-primary);
}
