.terms-page {
  --terms-orange: #ff8700;
  --terms-orange-soft: #fff4e5;
  --terms-dark: #111827;
}

.terms-page .policy-header {
  background: #ffffff;
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.login-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
}

.terms-hero {
  min-height: 355px;
  display: grid;
  grid-template-columns: 320px minmax(320px, 620px) 1fr;
  align-items: center;
  gap: 52px;
  padding: 48px 90px;
  background:
    radial-gradient(circle at 0% 88%, rgba(255, 178, 45, .17), transparent 150px),
    radial-gradient(circle at 100% 77%, rgba(255, 178, 45, .18), transparent 230px),
    linear-gradient(135deg, #fffaf3 0%, #ffffff 47%, #fff8ed 100%);
  overflow: hidden;
}

.terms-icon-circle {
  width: 198px;
  height: 198px;
}

.terms-main-svg {
  width: 128px;
  height: 128px;
  color: var(--terms-orange);
  fill: none;
  stroke: currentColor;
  filter: drop-shadow(0 16px 18px rgba(255, 135, 0, .18));
}

.terms-hero .hero-copy h1 {
  color: #10213a;
  font-size: clamp(43px, 4.7vw, 66px);
}

.terms-hero .hero-copy p {
  max-width: 540px;
  color: #344154;
}

.terms-content {
  max-width: 1055px;
  margin: 0 auto;
  padding: 42px 24px 34px;
}

.terms-content .intro-text {
  max-width: 830px;
  margin: 0 auto 42px;
  font-size: 20px;
  line-height: 1.7;
  color: #202838;
}

.terms-list {
  border-top: 1px solid var(--line);
}

.terms-row {
  display: grid;
  grid-template-columns: 96px 46px 1fr;
  gap: 28px;
  padding: 33px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.terms-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--terms-orange-soft);
  border: 1px solid #f4e6d0;
  color: var(--terms-orange);
}

.terms-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
}

.terms-row b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff4e4;
  color: var(--terms-orange);
  font-size: 20px;
}

.terms-row h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 25px;
  line-height: 1.2;
}

.terms-row p {
  margin: 0;
  max-width: 820px;
  color: #344154;
  font-size: 18px;
  line-height: 1.55;
}

.terms-note-card {
  margin-top: 28px;
  padding: 24px 42px;
  border: 1px solid #f0e3d1;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8ed, #ffffff);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 34px;
  align-items: center;
}

.terms-note-card .note-icon {
  width: 62px;
  height: 62px;
  border: 2px solid var(--terms-orange);
  border-radius: 50%;
}

.terms-note-card .note-icon svg {
  width: 36px;
  height: 36px;
  color: var(--terms-orange);
}

.terms-note-card .note-left p {
  font-size: 18px;
}

.terms-note-card .effective-date strong,
.terms-note-card .effective-date svg {
  color: var(--terms-orange);
}

@media (max-width: 980px) {
  .terms-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 42px 24px 0;
    gap: 28px;
  }

  .terms-row {
    grid-template-columns: 84px 40px 1fr;
    gap: 18px;
  }

  .terms-note-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .terms-hero {
    padding: 34px 18px 0;
  }

  .terms-icon-circle {
    width: 150px;
    height: 150px;
  }

  .terms-main-svg {
    width: 96px;
    height: 96px;
  }

  .terms-content {
    padding: 34px 18px;
  }

  .terms-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .terms-icon {
    width: 72px;
    height: 72px;
  }

  .terms-icon svg {
    width: 40px;
    height: 40px;
  }

  .terms-row h2 {
    font-size: 23px;
  }

  .terms-row p {
    font-size: 16px;
  }

  .terms-note-card {
    padding: 22px;
  }
}
