:root {
  --yellow: #ffcc00;
  --black: #111111;
  --gray-700: #55585d;
  --gray-200: #e6e6e6;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.legal-header,
.legal-main,
.legal-footer { width: min(920px, calc(100% - 48px)); margin-inline: auto; }

.legal-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--yellow); }
.back-link { padding: 10px 15px; border-radius: 12px; background: var(--gray-100); font-size: 14px; font-weight: 700; text-decoration: none; }

.legal-main { padding: 72px 0 96px; }
.legal-title { max-width: 760px; margin-bottom: 56px; }
.eyebrow { margin: 0 0 16px; color: var(--gray-700); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal-title h1 { margin: 0; font-size: clamp(54px, 9vw, 92px); line-height: .95; letter-spacing: -.055em; }
.legal-title > p:last-child { max-width: 650px; margin: 24px 0 0; color: var(--gray-700); font-size: 19px; line-height: 1.55; }

.details-card,
.service-card { padding: 34px; border-radius: 24px; }
.details-card { background: var(--gray-100); }
.service-card { margin-top: 16px; background: var(--yellow); }
.details-card h2,
.service-card h2 { margin: 0 0 28px; font-size: 30px; letter-spacing: -.03em; }
.details-list { margin: 0; }
.details-list > div { display: grid; grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr); gap: 28px; padding: 19px 0; border-top: 1px solid #d9d9d9; }
.details-list > div:last-child { padding-bottom: 0; }
.details-list dt { color: var(--gray-700); font-size: 14px; }
.details-list dd { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.details-list dd a { text-underline-offset: 3px; }
.service-card p { max-width: 740px; margin: 0; color: #4b3d00; font-size: 17px; line-height: 1.6; }
.service-card p + p { margin-top: 14px; }
.service-card ul { display: grid; gap: 12px; margin: 22px 0; padding-left: 22px; color: #4b3d00; font-size: 16px; line-height: 1.55; }
.demo-link { display: inline-flex; margin-top: 24px; padding: 12px 16px; border-radius: 12px; background: var(--black); color: var(--white); font-weight: 700; text-decoration: none; }

.legal-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--gray-200); color: var(--gray-700); font-size: 14px; }
.legal-footer a { font-weight: 700; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }

@media (max-width: 620px) {
  .legal-header, .legal-main, .legal-footer { width: min(100% - 32px, 920px); }
  .legal-main { padding: 54px 0 72px; }
  .legal-title { margin-bottom: 38px; }
  .details-card, .service-card { padding: 25px 22px; border-radius: 20px; }
  .details-list > div { grid-template-columns: 1fr; gap: 7px; padding: 17px 0; }
  .legal-footer { min-height: 120px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-links { justify-content: flex-start; }
}
