/* ========================================
   Terms of Service — HoHeTo Kyle
   Figma specs extracted from design screenshot
   ======================================== */

/* ── Page Base ── */
html {
  scroll-behavior: smooth;
  overflow: auto !important;
  height: auto !important;
}
body {
  font-family: 'Instrument Sans', sans-serif;
  background: #F5F5F5;
  color: #111111;
  overflow: auto !important;
  height: auto !important;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

:root {
  --color-primary:      #08D2C1;
  --color-primary-dark: #06b5a6;
  --color-primary-glow: rgba(8, 210, 193, 0.35);
  --color-text-dark:    #111111;
  --color-text-body:    #333333;
  --color-text-muted:   #6D6D6D;
  --font-display:       'Exo 2', sans-serif;
  --font-body:          'Instrument Sans', sans-serif;
  --nav-height:         76px;
  --max-width:          1200px;
  --transition-normal:  0.25s ease;
  --transition-fast:    0.15s ease;
}

/* ══════════════════════════════════════
   PAGE HERO BANNER
   Figma: Same dark teal nebula bg as all inner pages
   Title: "Terms Of Service" — Exo 2 Bold white, centered
   Subtitle: Instrument Sans, rgba(255,255,255,0.85)
   ══════════════════════════════════════ */
.page-hero {
  position: relative;
  width: 100%;
  height: 351px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #041a18;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 18, 0.35);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: var(--max-width);
  padding: 0 40px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
}
.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 480px;
  text-align: center;
  margin: 0;
}

/* ══════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════ */
.breadcrumb {
  background: #F5F5F5;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.breadcrumb__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #4B4B4B;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumb__link:hover { color: var(--color-primary); }
.breadcrumb__sep {
  display: flex;
  align-items: center;
  color: #4B4B4B;
}
.breadcrumb__current {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #4B4B4B;
}

/* ══════════════════════════════════════
   TERMS CONTENT SECTION
   Figma: F5F5F5 bg, single-column prose
   Left-aligned, same container width as breadcrumb (max-width 1200px)
   ══════════════════════════════════════ */
.terms-section {
  background: #F5F5F5;
  padding: 48px 0 80px;
}
.terms-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Section block ── */
.terms-block {
  padding: 28px 0 4px;
  max-width: 780px;
}

/* Figma: Section headings — Exo 2 Bold ~22px, #0D0D0D
   Format: "1. Acceptance of Terms" */
.terms-block__heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

/* Figma: Body paragraphs — Instrument Sans Regular ~14px, #333, lh:1.7 */
.terms-block__body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  line-height: 1.75;
  margin: 0 0 10px 0;
}
.terms-block__body:last-child { margin-bottom: 0; }

/* ── Bullet list with teal shield-check icon ── */
.terms-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  line-height: 1.65;
}

/* Teal shield-check icon — 20×20 */
.terms-list li .terms-list__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  display: block;
}

/* ── Footer note / contact line ── */
.terms-footer-note {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  line-height: 1.75;
  padding-top: 32px;
  max-width: 780px;
}
.terms-footer-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
.terms-footer-note a:hover { color: var(--color-primary-dark); }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .page-hero { height: 260px; }
  .page-hero__title { font-size: 34px; }
  .page-hero__subtitle { font-size: 14px; }

  .breadcrumb__inner { padding: 0 24px; }

  .terms-section { padding: 36px 0 64px; }
  .terms-section__inner { padding: 0 24px; }
  .terms-block__heading { font-size: 20px; }
}

@media (max-width: 480px) {
  .page-hero__title { font-size: 28px; }
}