:root { --r: 0; }

.breadcrumb { padding-top: 96px; }
.breadcrumb-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--jakarta); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4);
}
.breadcrumb-inner a { transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner .sep { color: var(--rule); }
.breadcrumb-inner .current { color: var(--ink-2); }

.terms-header { padding: 64px 0 0; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.terms-header-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--rule-2) 1px, transparent 1px), linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
}
.terms-header-inner { position: relative; z-index: 1; }
.terms-eyebrow {
  font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.terms-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.terms-h {
  font-family: var(--jakarta); font-weight: 800;
  font-size: clamp(40px, 6vw, 80px); line-height: .94; letter-spacing: -.04em;
}
.terms-meta-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); margin-top: 56px; }
.terms-meta-item { background: var(--white); padding: 20px 24px; }
.terms-meta-item .ml { font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 7px; }
.terms-meta-item .mv { font-family: var(--jakarta); font-weight: 700; font-size: 14px; color: var(--ink-2); }

.terms-layout { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start; padding: 80px 0 120px; }

.toc { position: sticky; top: 96px; }
.toc-head {
  font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.toc-list li a {
  display: block; font-family: var(--jakarta); font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-4); padding: 10px 0; border-bottom: 1px solid var(--rule-2); transition: color .2s; line-height: 1.4;
}
.toc-list li a:hover { color: var(--accent); }
.toc-list li a.active { color: var(--accent); }
.toc-list li:last-child a { border-bottom: none; }
.toc-cta { margin-top: 28px; }
.toc-cta a {
  display: block; font-family: var(--jakarta); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 13px 16px; background: var(--ink); color: var(--white); text-align: center; transition: background .2s;
}
.toc-cta a:hover { background: var(--accent); color: var(--white); }

.terms-body p { font-size: 15px; line-height: 1.78; color: var(--ink-2); margin-bottom: 18px; }
.terms-body p:last-child { margin-bottom: 0; }
.terms-body strong { color: var(--ink); font-weight: 600; }
.terms-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.terms-section { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--rule); scroll-margin-top: 96px; }
.terms-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.section-num {
  font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-num::after { content: ''; flex: 0 0 24px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--jakarta); font-weight: 800; font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -.025em; line-height: 1.1; margin-bottom: 28px;
}

.sub-section { margin-bottom: 32px; }
.sub-section:last-child { margin-bottom: 0; }
.sub-title {
  font-family: var(--jakarta); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.sub-title::before { content: ''; width: 16px; height: 2px; background: var(--accent); flex: none; }

.def-list { border: 1px solid var(--rule); overflow: hidden; margin-bottom: 24px; }
.def-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--rule-2); }
.def-row:last-child { border-bottom: none; }
.def-term {
  font-family: var(--jakarta); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink); padding: 16px 20px; background: var(--off); border-right: 1px solid var(--rule);
}
.def-def { font-size: 14px; color: var(--ink-2); padding: 16px 20px; line-height: 1.6; }

.eng-table { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); margin-bottom: 24px; }
.eng-table th {
  font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 14px 18px; background: var(--off); border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule); text-align: left; color: var(--ink-4);
}
.eng-table td {
  font-size: 13px; color: var(--ink-2); padding: 13px 18px;
  border-bottom: 1px solid var(--rule-2); border-right: 1px solid var(--rule); line-height: 1.5; vertical-align: top;
}
.eng-table tr:last-child td { border-bottom: none; }
.eng-table th:last-child, .eng-table td:last-child { border-right: none; }

.notice { border-left: 3px solid var(--accent); background: var(--accent-2); padding: 18px 22px; margin-bottom: 24px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.notice strong { color: var(--ink); }
.notice.warn { border-left-color: #F59E0B; background: #FFFBEB; }
.notice.neutral { border-left-color: var(--rule); background: var(--off); }
.notice.mt { margin-top: 32px; }

.num-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; counter-reset: nlist; }
.num-list li {
  display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule-2);
  font-size: 15px; color: var(--ink-2); line-height: 1.6; counter-increment: nlist;
}
.num-list li:last-child { border-bottom: none; }
.num-list li::before {
  content: counter(nlist, decimal-leading-zero); font-family: var(--jakarta);
  font-size: 11px; font-weight: 700; color: var(--accent); flex: none; min-width: 28px; padding-top: 3px;
}

.bullet-list { list-style: none; margin: 0 0 20px; padding: 0; }
.bullet-list li {
  position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--rule-2);
  font-size: 15px; color: var(--ink-2); line-height: 1.6;
}
.bullet-list li:last-child { border-bottom: none; padding-bottom: 0; }
.bullet-list li::before {
  content: '→'; position: absolute; left: 0; top: 12px;
  font-family: var(--jakarta); font-size: 11px; font-weight: 700; color: var(--accent);
}

.terms-cta { background: var(--ink); color: var(--white); padding: 72px 0; }
.terms-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.terms-cta-left h2 { font-family: var(--jakarta); font-weight: 800; font-size: clamp(24px, 3.5vw, 42px); letter-spacing: -.03em; line-height: 1.1; }
.terms-cta-left h2 em { font-style: normal; color: #6666FF; }
.btn-white {
  font-family: var(--jakarta); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 26px; background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; transition: all .25s; border: 1px solid var(--white);
}
.btn-white:hover { background: #6666FF; border-color: #6666FF; color: var(--white); }
.btn-white svg { transition: transform .25s; }
.btn-white:hover svg { transform: translateX(4px); }

@media (max-width: 960px) {
  .terms-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .terms-meta-strip { grid-template-columns: 1fr 1fr; }
  .terms-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .def-row { grid-template-columns: 1fr; }
  .def-term { border-right: none; border-bottom: 1px solid var(--rule); }
  .terms-meta-strip { grid-template-columns: 1fr; }
}
