:root {
  --ink: #18131f;
  --muted: #706779;
  --surface: #fffdfd;
  --line: #eadde4;
  --rose: #ff6f9f;
  --blue: #8037ff;
  --cyan: #19cbd3;
  --paper: #fbf4f7;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 111, 159, .17), transparent 25%),
    radial-gradient(circle at 88% 6%, rgba(25, 203, 211, .16), transparent 27%),
    linear-gradient(180deg, #fff, var(--paper));
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
footer {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: 0 14px 32px rgba(128, 55, 255, .18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  background: rgba(128, 55, 255, .08);
  color: var(--blue);
}

.hero {
  min-height: 360px;
  display: grid;
  align-content: center;
  padding: 42px 0 64px;
}

.hero p,
.contact p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(44px, 8vw, 86px);
  line-height: .94;
  letter-spacing: 0;
}

.hero span {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -34px;
}

.summary article,
.policy,
.contact {
  background: rgba(255, 253, 253, .84);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(84, 55, 78, .12);
  backdrop-filter: blur(18px);
}

.summary article {
  min-height: 160px;
  padding: 22px;
  border-radius: 8px;
}

.summary strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.1;
}

.summary p,
.policy p,
.policy li,
.contact span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.summary p {
  margin: 0;
  font-size: 15px;
}

.policy {
  margin-top: 22px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 8px;
}

.policy h1,
.policy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.policy h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.compact .nav {
  padding-bottom: 10px;
}

.full-policy {
  margin-top: 12px;
}

.full-policy .effective {
  color: var(--blue);
  font-weight: 900;
}

.full-policy a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.policy-link {
  display: grid;
  gap: 18px;
}

.policy-link .contact-button {
  justify-self: start;
}

.policy article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.policy article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.policy h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

.policy p {
  margin: 0;
}

.policy ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy li + li {
  margin-top: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 22px 0 34px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
}

.contact span {
  display: block;
  max-width: 620px;
  margin-top: 14px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink), #4e2ae6);
  color: white;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(78, 42, 230, .22);
  white-space: nowrap;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 520px);
  }

  .nav {
    padding: 18px 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-links a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 300px;
    padding: 30px 0 56px;
  }

  .summary,
  .contact {
    grid-template-columns: 1fr;
  }

  .summary article {
    min-height: auto;
  }

  .contact-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  footer {
    flex-wrap: wrap;
  }
}
