@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --text: #222;
  --muted: #6b7280;
  --soft: #E8EFF9;
  --soft-2: #f5f5f5;
  --blue: #1f5ed6;
  --yellow: #FC0;
  --shadow: 0 12px 40px rgba(16, 24, 40, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.card {
  width: min(720px, 100%);
  background: #fff;
  padding: 26px 18px 0;
  text-align: center;
}

.avatarWrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.avatar {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  object-fit: cover;
}

.h1 {
  margin: 10px 0 15px;
  font-weight: 700;

  font-size: 30px;
  text-transform: uppercase;
}

.h1Doc {
  text-transform: none;
  letter-spacing: 0;
}

.h2 {
  margin: 18px 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-weight: 500;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 18px;
  margin-bottom: 15px;
}

.lead {
  margin: 0 auto 14px;
  max-width: 620px;
  background: var(--soft-2);
  border-radius: 20px;
  padding: 16px;
  line-height: 1.35;
  font-size: 22px;
  font-weight: 500;
}

.info {
  margin: 16px auto 20px;
  text-align: left;
  max-width: 620px;
  position: relative;
  padding: 10px 0px 10px 27px;
}
.info *{
  font-weight: 500;
  font-size: 18px;
}

.info .h2,
.info strong{
  font-weight: 600;
  margin-top: 0;
}

.info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  border-radius: 999px;
  background: #B7D3FB;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.list li::before {
  content: "— ";
}

.cta {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 15px 40px;
  border-radius: 10px;
  transition: .3s ease-in-out;
}
.cta:hover{
  background: var(--text);
}

.footer {
  width: min(720px, 100%);
  margin-top: auto;
}

.footerInner {
  background: var(--soft);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 26px 18px;
  text-align: center;
}

.footerInner *{
  font-weight: 500;
}

.footerLine,
.footerLink {
  font-size: 18px;
}

.footerContacts {
  margin: 14px 0;
}

.footerLink {
  color: var(--text);
  text-decoration: none;
  display: block;
}

.footerLink:hover {
  text-decoration: underline;
}

/* Privacy */
.cardDoc {
  text-align: left;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.docList {
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.6;
}

.back {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}


@media(max-width: 620px){
  .card {
    padding: 10px 18px 0;
  }
  .avatar {
    width: 180px;
    height: 180px;
  }
  
  .h1 {
    margin: 8px 0 15px;
    font-size: 18px;
  }
  
  .h2 {
    font-size: 18px;
  }
  
  .pill {
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .lead {
    margin-bottom: 15px;
    padding: 8px;
    font-size: 16px;
  }
  
  .info {
    margin: 0 auto 15px;
    padding: 10px 0px 10px 25px;
  }
  .info *{
    font-size: 16px;
  }
  
  .info .h2,
  .info strong{
    font-weight: 600;
  }
  
  .info::before {
    width: 10px;
    border-radius: 20px;
  }
  
  .list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
  }
  
  .list li::before {
    content: "— ";
  }
  
  .cta {
    font-size: 17px;
    padding: 15px 55px;
  }
  .cta:hover{
    background: var(--text);
  }
  
  .footerLine,
  .footerLink {
    font-size: 16px;
  }
  
  .footerContacts {
    margin: 14px 0;
  }
  
  .footerLink {
    color: var(--text);
    text-decoration: none;
    display: block;
  }
  
  .footerLink:hover {
    text-decoration: underline;
  }
  
  /* Privacy */
  .cardDoc {
    text-align: left;
  }

  .cardDoc p, li{
    font-size: 14px;
  }
  
  .muted {
    color: var(--muted);
    font-size: 14px;
  }
  
  .docList {
    padding-left: 18px;
    font-size: 17px;
    line-height: 1.6;
  }
  
  .back {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
  }
}

@media(max-width: 390px){
  .avatar {
    width: 156px;
    height: 156px;
  }
  
  .h1 {
    margin: 8px 0 15px;
    font-size: 15px;
  }
  
  .h2 {
    font-size: 18px;
  }
  
  .pill {
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    margin-bottom: 15px;
  }
  
  .lead {
    margin-bottom: 15px;
    padding: 8px;
    font-size: 13px;
  }
  
  .info {
    margin: 0 auto 15px;
    padding: 15px 0px 15px 24px;
  }
  .info *{
    font-size: 13px;
  }
  
  .info .h2,
  .info strong{
    font-weight: 600;
  }
  
  .info::before {
    width: 9px;
    border-radius: 20px;
  }
  
  .list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
  }
  
  .list li::before {
    content: "— ";
  }
  
  .cta {
    font-size: 14px;
    padding: 15px 40px;
  }
  .cta:hover{
    background: var(--text);
  }
  
  .footerLine,
  .footerLink {
    font-size: 13px;
  }
  
  .footerContacts {
    margin: 14px 0;
  }
  
  .footerLink {
    color: var(--text);
    text-decoration: none;
    display: block;
  }
  
  .footerLink:hover {
    text-decoration: underline;
  }
  
  /* Privacy */
  .cardDoc {
    text-align: left;
  }

  .cardDoc p, li{
    font-size: 14px;
  }
  
  .muted {
    color: var(--muted);
    font-size: 14px;
  }
  
  .docList {
    padding-left: 18px;
    font-size: 17px;
    line-height: 1.6;
  }
  
  .back {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
  }
}