/* === AGREEMENT HERO === */
.hero-agreement {
  padding: 76px 0 62px;
  background:
    radial-gradient(circle at 16% 12%, rgba(37, 99, 235, 0.1), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(124, 58, 237, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 44px;
  align-items: center;
}

.hero-agreement h1 {
  max-width: 680px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.03;
  letter-spacing: -3.2px;
  font-weight: 850;
  margin-bottom: 24px;
}

.hero-agreement p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.hero-agreement p strong {
  color: var(--text);
  font-weight: 750;
}

.hero-actions {
  margin-bottom: 28px;
}

/* === SUMMARY CARD === */
.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.summary-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.summary-main {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #172554 56%, #1e1b4b 100%);
  color: #fff;
  padding: 28px;
  margin-bottom: 16px;
  overflow: hidden;
}

.summary-main::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(191, 219, 254, 0.18);
}

.summary-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: #bfdbfe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 22px;
}

.summary-main span {
  position: relative;
  z-index: 2;
  display: block;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 8px;
}

.summary-main h2 {
  position: relative;
  z-index: 2;
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.summary-main p {
  position: relative;
  z-index: 2;
  color: #cbd5e1;
  font-size: 14px;
  margin: 0;
}

.summary-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.summary-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.summary-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 6px;
}

.summary-stat strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* === SECTION PADDING OVERRIDES === */
.section {
  padding: 76px 0;
}

.cta {
  padding: 76px 0;
}

/* === LAYOUT & TOC === */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.toc h3 {
  font-size: 15px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  transition: 0.18s ease;
}

.toc a:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.toc a i {
  color: var(--primary);
  font-size: 16px;
}

/* === AGREEMENT PANEL === */
.agreement-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.notice {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--primary-soft);
  border-bottom: 1px solid #dbeafe;
  color: var(--text-soft);
}

.notice i {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 22px;
}

.notice strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}

.notice p {
  color: var(--text-soft);
  font-size: 14px;
}

/* === ARTICLE === */
.article {
  padding: 34px;
}

.article-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.article-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.article-section h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: var(--text);
}

.article-section h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 22px 0 10px;
  color: var(--text);
}

.article-section p {
  color: var(--text-soft);
  font-size: 15.5px;
  margin-bottom: 12px;
}

.article-section ul {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.article-section li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 15px;
}

.article-section li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.article-section .important {
  padding: 16px;
  border-radius: 16px;
  background: var(--orange-soft);
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 14px;
  margin: 16px 0;
}

.article-section .important strong {
  color: #7c2d12;
}

/* === META BOX === */
.meta-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.meta-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--bg-soft);
}

.meta-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 6px;
}

.meta-item strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

/* === RESPONSIVE === */
@media (max-width: 1060px) {
  .hero-grid,
  .layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .toc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
}

@media (max-width: 720px) {
  .hero-agreement {
    padding: 56px 0 48px;
  }

  .hero-agreement h1 {
    letter-spacing: -1.8px;
  }

  .hero-agreement p {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .article {
    padding: 24px;
  }

  .article-section h2 {
    font-size: 23px;
  }

  .notice {
    flex-direction: column;
  }

  .summary-stats,
  .meta-box,
  .toc-list {
    grid-template-columns: 1fr;
  }
}
