.page-disclaimer {
  --terms-card-bg: rgba(255, 255, 255, 0.04);
  --terms-card-border: rgba(255, 255, 255, 0.08);
  background: var(--bg-primary);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.terms-hero {
  position: relative;
  padding-top: 36px;
  overflow: hidden;
}

.terms-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--ease);
}

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

.terms-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 40px 0 48px;
}

.terms-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.terms-title {
  font-family: var(--font-headline);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 14px;
  letter-spacing: 0.01em;
}

.terms-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 46em;
  margin: 0 0 20px;
}

.terms-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.terms-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(182, 255, 0, 0.1);
  border: 1px solid rgba(182, 255, 0, 0.22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--speed);
  line-height: 1.4;
}

.terms-hero-visual {
  min-width: 0;
}

.terms-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.terms-speed-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.terms-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 40px 24px 72px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.terms-layout-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.terms-sidebar,
.terms-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.terms-summary-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 20px;
}

.terms-summary-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.terms-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terms-summary-item {
  margin-bottom: 4px;
}

.terms-summary-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: background var(--ease), transform var(--ease);
}

.terms-summary-link:hover {
  background: rgba(182, 255, 0, 0.1);
  transform: translateX(4px);
}

.term-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--speed);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.term-num--lg {
  min-width: 46px;
  height: 44px;
  font-size: 15px;
  padding: 0 16px;
}

.term-num--dark {
  background: var(--bg-primary);
  color: var(--speed);
}

.terms-summary-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 8px;
}

.terms-side-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.terms-side-title {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.terms-side-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terms-side-links li {
  margin-bottom: 8px;
}

.terms-side-links a {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--ease);
}

.terms-side-links a::before {
  content: "→";
  margin-right: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: transform var(--ease);
}

.terms-side-links a:hover {
  color: var(--speed);
}

.terms-side-links a:hover::before {
  transform: translateX(3px);
}

.terms-section {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  margin-bottom: 24px;
  transition: border-color var(--ease), box-shadow var(--ease);
  scroll-margin-top: 110px;
}

.terms-section:target {
  border-color: var(--speed);
  box-shadow: 0 0 0 3px rgba(182, 255, 0, 0.12);
}

.terms-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.terms-section-heading {
  min-width: 0;
}

.terms-section-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--text);
}

.terms-section-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.terms-section-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.9);
  max-width: 65ch;
}

.terms-section-body p {
  margin: 0 0 16px;
}

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

.terms-section--disclaimer {
  background: var(--bg-cream);
  color: var(--text-ink);
  border-color: transparent;
}

.terms-section--disclaimer .terms-section-title {
  color: var(--text-ink);
}

.terms-section--disclaimer .terms-section-sub {
  color: #6b6b64;
}

.terms-section--disclaimer .terms-section-body {
  color: #2a2a26;
}

.terms-section--disclaimer .term-num--lg {
  background: var(--text-ink);
  color: var(--speed);
}

.terms-data-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.terms-data-item {
  background: rgba(182, 255, 0, 0.08);
  border: 1px solid rgba(182, 255, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  transition: background var(--ease), border-color var(--ease);
}

.terms-data-item:hover {
  background: rgba(182, 255, 0, 0.14);
  border-color: rgba(182, 255, 0, 0.35);
}

.terms-data-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.terms-data-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--speed);
  line-height: 1.2;
}

.terms-duty-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.terms-duty-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  line-height: 1.6;
}

.terms-duty-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.18);
}

.terms-duty-list li:last-child {
  border-bottom: none;
}

.terms-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  color: var(--amber);
}

.terms-callout-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.terms-quote {
  position: relative;
  margin: 0 0 20px;
  padding: 20px 20px 20px 48px;
  background: #fffdf8;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  color: var(--text-ink);
}

.terms-quote p {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.terms-quote-mark {
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-headline);
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  pointer-events: none;
}

.terms-contact-inline {
  background: var(--bg-primary);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  margin-top: 8px;
}

.terms-contact-inline-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
}

.terms-contact-inline p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}

.terms-inline-contact-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.terms-inline-contact-list li {
  padding-left: 20px;
  position: relative;
}

.terms-inline-contact-list li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--speed);
  font-family: var(--font-mono);
  font-weight: 700;
}

.terms-inline-contact-list a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--ease);
}

.terms-inline-contact-list a:hover {
  color: var(--speed);
}

.terms-contact-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .terms-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .terms-hero-text {
    padding-right: 8px;
  }

  .terms-lede {
    font-size: 17px;
  }

  .terms-section {
    padding: 30px 28px;
  }
}

@media (min-width: 1024px) {
  .terms-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    padding: 48px 32px 96px;
  }

  .terms-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
  }

  .terms-summary-card,
  .terms-side-card {
    padding: 26px 24px;
  }

  .terms-section {
    padding: 34px 36px;
    margin-bottom: 28px;
  }

  .terms-section-title {
    font-size: 26px;
  }

  .terms-section-body {
    font-size: 15.5px;
  }

  .terms-contact-inline {
    padding: 32px 36px;
  }
}
