/* ── Terms of Service (tos) ─────────────── */

  .tos-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0;
    background: #FF4562;
    z-index: 1000;
    transition: width 0.05s linear;
  }

  .tos-hero {
    width: 100%;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    padding: 64px 24px 48px;
    border-bottom: 1px solid #e5e5e5;
  }
  .tos-hero__container { max-width: 920px; margin: 0 auto; text-align: center; }
  .tos-hero__eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #FF4562;
    margin-bottom: 18px;
  }
  .tos-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1b1b3c;
    margin: 0 0 8px;
  }
  .tos-hero__subtitle {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1b1b3c;
    letter-spacing: 0.02em;
    margin: 0 0 14px;
  }
  .tos-hero__tag {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #1b1b3c;
    margin: 0 auto 18px;
    max-width: 720px;
  }
  .tos-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #4e4e70;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 6px 14px;
    border-radius: 12px;
  }
  .tos-hero__updated svg { width: 13px; height: 13px; color: #a3a3a3; }

  .tos-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 280px;
    grid-template-rows: auto;
    gap: 48px;
  }
  .tos-body { grid-column: 1; grid-row: 1; min-width: 0; }
  .tos-sidebar {
    grid-column: 2; grid-row: 1;
    position: sticky; top: 100px;
    align-self: start;
    display: flex; flex-direction: column; gap: 24px;
  }

  .tos-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 20px 22px;
  }
  .tos-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1b1b3c;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 14px;
  }
  .tos-toc-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
  }
  .tos-toc-list a {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #1b1b3c;
    text-decoration: none;
    padding: 4px 0 4px 10px;
    margin-left: -10px;
    border-left: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
  }
  .tos-toc-list a:hover,
  .tos-toc-list a.is-active {
    color: #FF4562;
    border-color: #FF4562;
  }

  .tos-breadcrumb {
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 6px;
    font-size: 0.8125rem;
    color: #4e4e70;
    margin-bottom: 24px;
  }
  .tos-breadcrumb a { color: #4e4e70; text-decoration: none; }
  .tos-breadcrumb a:hover { color: #FF4562; }
  .tos-breadcrumb__sep { color: #d4d4d4; font-size: 0.75rem; }
  .tos-breadcrumb__current { color: #FF4562; font-weight: 600; }

  .tos-article {
    font-size: 1rem;
    line-height: 1.75;
    color: #404040;
    max-width: 76ch;
  }
  .tos-article p { margin: 0 0 18px; }
  .tos-article h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1b1b3c;
    margin: 48px 0 16px;
    padding-left: 14px;
    border-left: 3px solid #FF4562;
    line-height: 1.25;
    letter-spacing: -0.01em;
    scroll-margin-top: 100px;
  }
  .tos-article h2:first-child { margin-top: 0; }
  .tos-article h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 28px 0 10px;
    line-height: 1.35;
    scroll-margin-top: 100px;
  }
  .tos-article ul {
    margin: 0 0 20px;
    padding-left: 0;
    list-style: none;
  }
  .tos-article ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    line-height: 1.65;
  }
  .tos-article ul li::before {
    content: '';
    position: absolute;
    left: 6px; top: 11px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #FF4562;
  }
  .tos-article strong { color: #1b1b3c; font-weight: 700; }
  .tos-article a {
    color: #FF4562;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,69,98,0.3);
    word-break: break-word;
  }
  .tos-article a:hover { text-decoration-color: #FF4562; }
  .tos-defterm { font-weight: 700; color: #1b1b3c; }

  /* Notice block */
  .tos-notice {
    background: linear-gradient(135deg, #fff 0%, #fff1f3 100%);
    border: 1px solid rgba(255, 69, 98, 0.20);
    border-radius: 16px;
    padding: 18px 22px;
    margin: 0 0 22px;
    position: relative;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .tos-notice__icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 12px;
    background: #FF4562;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .tos-notice__icon svg { width: 16px; height: 16px; }
  .tos-notice__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 0 0 4px;
    letter-spacing: 0.02em;
  }
  .tos-notice__text {
    font-size: 0.9375rem;
    color: #404040;
    margin: 0;
    line-height: 1.6;
  }

  /* Article number callout */
  .tos-article-num {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #4e4e70;
    margin-bottom: 4px;
  }

  /* Disclaimer/legal-emphasis box */
  .tos-disclaimer {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-left: 3px solid #FF4562;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #404040;
    margin: 0 0 22px;
    text-transform: none;
  }

  /* Schedule heading */
  .tos-schedule-divider {
    margin: 64px 0 24px;
    padding: 24px;
    background: linear-gradient(135deg, #1b1b3c 0%, #2a2a52 100%);
    color: #fff;
    border-radius: 16px;
    text-align: center;
  }
  .tos-schedule-divider__label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #FF4562;
    margin-bottom: 8px;
  }
  .tos-schedule-divider__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
  }

  @media (max-width: 960px) {
    .tos-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 64px; }
    .tos-sidebar { position: static; }
    .tos-article { max-width: 100%; }
    /* Comfortable tap targets for TOC on tablet/mobile */
    .tos-toc-list { gap: 2px; }
    .tos-toc-list a { padding: 13px 0 13px 10px; line-height: 1.4; }
  }
  @media (max-width: 640px) {
    .tos-hero { padding: 40px 16px 32px; }
    .tos-hero__tag { font-size: 1rem; }
    .tos-layout { gap: 24px; padding: 28px 16px 56px; }
    .tos-card { padding: 18px 18px; }
    .tos-article { font-size: 0.9375rem; }
    .tos-article h2 { font-size: 1.3125rem; margin: 36px 0 14px; }
    .tos-article h3 { font-size: 1rem; }
    .tos-notice { padding: 16px 16px; gap: 12px; }
    .tos-disclaimer { padding: 14px 16px; }
    .tos-schedule-divider { padding: 20px 16px; margin: 48px 0 20px; }
    .tos-schedule-divider__title { font-size: 1.3125rem; }
  }
