.legal-page { padding: 110px 0 140px; background: #faf8f5; }
.legal-container { width: min(920px, calc(100% - 80px)); margin: auto; }
.legal-label { color: #df6c24; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.legal-page h1 { margin: 20px 0 65px; font-size: clamp(48px, 7vw, 82px); line-height: 1.1; }
.legal-block { padding: 34px 0; border-top: 1px solid #ddd6cf; }
.legal-block:last-child { border-bottom: 1px solid #ddd6cf; }
.legal-block h2 { margin: 0 0 15px; font-size: 22px; }
.legal-block p, .legal-block li { color: #5d5852; font-size: 14px; line-height: 2; }
.legal-block ul { margin: 0; padding-left: 1.4em; }
.sitemap-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; padding: 0; list-style: none; }
.sitemap-list a { display: flex; justify-content: space-between; padding: 22px 24px; background: #fff; border: 1px solid #ddd6cf; }

/* Privacy policy */
.privacy-page {
  padding: 0;
  overflow: hidden;
  background: #fbfaf7;
  color: #18334b;
}

.privacy-hero {
  position: relative;
  padding: 105px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf8ff 0%, #f7fbfc 58%, #fff3e9 100%);
  border-radius: 0 0 90px 90px;
}

.privacy-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 70px;
}

.privacy-page h1 {
  margin: 18px 0 0;
  color: #172f46;
  font-size: clamp(50px, 6.4vw, 78px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.privacy-hero-message {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 22px;
  padding-bottom: 8px;
}

.privacy-hero-message p {
  margin: 0;
  color: #5d7182;
  font-size: 15px;
  line-height: 2;
}

.privacy-shield {
  display: grid;
  place-items: center;
  width: 58px;
  height: 66px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  background: #2f83cf;
  border-radius: 28px 28px 34px 34px;
  box-shadow: 0 12px 30px rgba(47, 131, 207, .2);
}

.privacy-decoration {
  position: absolute;
  border: 1px solid rgba(47, 131, 207, .2);
  border-radius: 50%;
}

.privacy-decoration::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(223, 108, 36, .18);
  border-radius: inherit;
}

.privacy-decoration-large {
  top: -110px;
  right: -80px;
  width: 310px;
  height: 310px;
}

.privacy-decoration-small {
  left: 6%;
  bottom: -45px;
  width: 105px;
  height: 105px;
}

.privacy-content {
  padding: 95px 0 130px;
}

.privacy-introduction {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 48px;
  padding: 0 12px 42px;
  border-bottom: 1px solid #dfd9d1;
}

.privacy-introduction-number,
.privacy-card-number {
  margin: 0;
  color: #df6c24;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.privacy-introduction h2,
.privacy-policy-card h2,
.privacy-contact h2 {
  margin: 0;
  color: #18334b;
}

.privacy-introduction h2 {
  margin-bottom: 14px;
  font-size: 26px;
}

.privacy-introduction p:last-child,
.privacy-policy-card > p:last-child {
  margin: 0;
  color: #667582;
  font-size: 14px;
  line-height: 2;
}

.privacy-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.privacy-policy-card {
  position: relative;
  min-height: 285px;
  padding: 34px 38px 36px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(24, 51, 75, .07);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(45, 76, 98, .06);
}

.privacy-policy-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 125px;
  height: 125px;
  border: 22px solid currentColor;
  border-radius: 50%;
  opacity: .055;
}

.privacy-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 28px 0 20px;
  color: #18334b;
  font-size: 19px;
  font-weight: 900;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(24, 51, 75, .09);
  border-radius: 50%;
}

.privacy-policy-card h2 {
  margin-bottom: 13px;
  font-size: 22px;
}

.privacy-policy-card-blue { background: #eef8ff; color: #2f83cf; }
.privacy-policy-card-orange { background: #fff2e8; color: #df6c24; }
.privacy-policy-card-yellow { background: #fff9dc; color: #ddb313; }
.privacy-policy-card-green { background: #f0f8ed; color: #70a75f; }
.privacy-policy-card-wide { grid-column: 1 / -1; min-height: 230px; background: #f6f3ef; color: #9b765b; }
.privacy-policy-card-wide .privacy-card-icon { margin-top: 24px; }

.privacy-contact {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 70px;
  margin-top: 70px;
  padding: 58px 64px;
  color: #fff;
  background: #2864aa;
  border-radius: 34px;
  box-shadow: 12px 14px 0 #f3c900;
}

.privacy-contact .legal-label,
.privacy-contact .privacy-card-number {
  color: #ffd33d;
}

.privacy-contact .legal-label {
  margin: 24px 0 12px;
}

.privacy-contact h2 {
  color: #fff;
  font-size: 30px;
  line-height: 1.45;
}

.privacy-contact-detail {
  align-self: center;
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}

.privacy-contact-detail > p:first-child {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.8;
}

.privacy-company-name {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 800;
}

.privacy-phone {
  display: inline-block;
  color: #fff;
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: .03em;
  text-decoration: none;
}

.privacy-hours {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}

.privacy-note {
  margin: 38px 0 0;
  color: #87929a;
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}

@media (max-width: 900px) {
  .privacy-hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .privacy-hero-message { max-width: 560px; }
  .privacy-contact { grid-template-columns: 1fr; gap: 36px; }
  .privacy-contact-detail { padding: 32px 0 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
}

@media (max-width:700px) { .legal-page { padding: 70px 0 100px; } .legal-container { width: calc(100% - 40px); } .legal-page h1 { margin-bottom: 45px; font-size: 40px; } .sitemap-list { grid-template-columns: 1fr; } }

@media (max-width: 700px) {
  .privacy-page { padding: 0; }
  .privacy-hero { padding: 70px 0 65px; border-radius: 0 0 42px 42px; }
  .privacy-page h1 { margin: 14px 0 0; font-size: 43px; }
  .privacy-hero-message { grid-template-columns: 48px 1fr; gap: 16px; }
  .privacy-shield { width: 48px; height: 55px; }
  .privacy-content { padding: 65px 0 90px; }
  .privacy-introduction { grid-template-columns: 1fr; gap: 14px; padding: 0 0 34px; }
  .privacy-introduction h2 { font-size: 23px; }
  .privacy-policy-grid { grid-template-columns: 1fr; }
  .privacy-policy-card,
  .privacy-policy-card-wide { grid-column: auto; min-height: 0; padding: 28px 25px 30px; }
  .privacy-card-icon { margin: 22px 0 17px; }
  .privacy-contact { margin-top: 50px; padding: 38px 26px; border-radius: 26px; box-shadow: 7px 9px 0 #f3c900; }
  .privacy-contact h2 { font-size: 26px; }
  .privacy-contact-detail { padding-top: 26px; }
  .privacy-note { text-align: left; }
}

/* Sequential privacy policy layout */
.privacy-policy-list {
  border-top: 1px solid #d9d4cd;
}

.privacy-policy-row {
  display: grid;
  grid-template-columns: 72px minmax(210px, .72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 42px 10px;
  border-bottom: 1px solid #d9d4cd;
}

.privacy-row-number {
  margin: 4px 0 0;
  color: #df6c24;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.privacy-policy-row h2 {
  margin: 0;
  color: #18334b;
  font-size: 21px;
  line-height: 1.55;
}

.privacy-policy-row > p:last-child,
.privacy-policy-row-contact > div > p {
  margin: 0;
  color: #667582;
  font-size: 14px;
  line-height: 2;
}

.privacy-policy-row-contact > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.privacy-row-phone {
  margin-top: 14px;
  color: #18334b;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .03em;
  text-decoration: none;
}

.privacy-policy-row-contact span {
  margin-top: 4px;
  color: #89949b;
  font-size: 12px;
}

@media (max-width: 700px) {
  .privacy-policy-row {
    grid-template-columns: 42px 1fr;
    gap: 12px 14px;
    padding: 30px 0;
  }

  .privacy-row-number { grid-row: 1 / span 2; }
  .privacy-policy-row h2 { font-size: 19px; }
  .privacy-policy-row > p:last-child,
  .privacy-policy-row-contact > div { grid-column: 2; }
  .privacy-row-phone { font-size: 27px; }
}
