:root {
  color: #152033;
  background: #f2f4f7;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #f2f4f7;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.age-card {
  width: min(100%, 460px);
  padding: 44px 42px 38px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(20, 32, 51, 0.06);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(29, 45, 75, 0.1);
}

.lock-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #63b9ef;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(58, 166, 231, 0.24);
}

.lock-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 5vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.intro {
  max-width: 34ch;
  margin: 0 auto 30px;
  color: #667085;
  font-size: 1rem;
  line-height: 1.6;
}

.continue-button {
  min-height: 56px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 13px;
  color: #ffffff;
  background: #45aeea;
  box-shadow: 0 8px 18px rgba(36, 151, 219, 0.22);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.continue-button:hover {
  background: #279edc;
  box-shadow: 0 10px 22px rgba(36, 151, 219, 0.28);
  transform: translateY(-1px);
}

.continue-button:active {
  transform: translateY(0);
}

.continue-button:focus-visible,
.instagram-help a:focus-visible {
  outline: 3px solid #152033;
  outline-offset: 4px;
}

.instagram-help {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #e7eaf0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.5;
}

.instagram-help p {
  margin: 0 0 9px;
}

.instagram-help a {
  color: #157fba;
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .page-shell {
    padding: 18px;
  }

  .age-card {
    padding: 38px 24px 30px;
    border-radius: 20px;
  }

  .lock-mark {
    width: 70px;
    height: 70px;
    margin-bottom: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .continue-button {
    transition: none;
  }
}
