:root {
  --ivory: #FAF7F2;
  --ink: #211E1A;
  --ink-soft: #55504A;
  --coral: #FF6D65;
  --coral-dark: #E85F58;
  --coral-soft: #FFA49F;
  --coral-pale: #FCE8E6;
  --line: #E6D9D7;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--ivory);
  background-image:
    radial-gradient(circle at 10% 5%, rgba(255, 109, 101, 0.10), transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(255, 164, 159, 0.12), transparent 38%);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  display: flex;
  justify-content: center;
  padding: 45px 20px 35px;
  overflow-x: hidden;
}

main {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 23px;
  opacity: 0;
  animation: logoIn 0.8s cubic-bezier(.22,.61,.36,1) 0.1s forwards;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(.75); }
  to { opacity: 1; transform: scale(1); }
}

.name {
  opacity: 0;
  animation: fadeUp .7s ease-out .35s forwards;
}

.name h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .4px;
  color: var(--ink);
}

.profession {
  margin-top: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.license {
  margin-top: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--coral);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 31px;
  opacity: 0;
  animation: fadeUp .7s ease-out .6s forwards;
}

.divider-line {
  width: 70px;
  height: 1px;
  background: var(--line);
}

.divider-star {
  color: var(--coral);
  font-size: 12px;
  transform: translateY(-1px);
}

.policies {
  width: 100%;
  padding: 17px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255,255,255,.32);
  text-align: left;
  opacity: 0;
  animation: fadeUp .7s ease-out .75s forwards;
}

.policies h2 {
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
}

.policies-summary,
.policies-content p {
  color: #3f3a35;
  font-size: 13px;
  line-height: 1.65;
}

.policies-summary {
  margin-top: 7px;
}

.policies strong {
  color: var(--ink);
  font-weight: 700;
}

.policies-content {
  padding-top: 14px;
}

.policies-content h3 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.policies-content h3:first-child {
  margin-top: 0;
}

.continue-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 19px;
  border: 1px solid var(--coral);
  border-radius: 7px;
  background: var(--coral);
  color: var(--white);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.continue-btn:hover {
  background: var(--coral-dark);
  box-shadow: 0 9px 22px rgba(255,109,101,.22);
  transform: translateY(-2px);
}

.continue-btn:active {
  transform: scale(.98);
}

.links[hidden] {
  display: none;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.link-btn {
  width: 100%;
  min-height: 59px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  opacity: 0;
  animation: buttonIn .65s ease-out forwards;
}

.link-btn:nth-child(1) { animation-delay: .78s; }
.link-btn:nth-child(2) { animation-delay: .91s; }
.link-btn:nth-child(3) { animation-delay: 1.04s; }

@keyframes buttonIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.link-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
}

.link-btn:hover::after { left: 130%; }

.primary {
  background: var(--coral);
  color: var(--white);
  border: 1px solid var(--coral);
  box-shadow: 0 9px 25px rgba(255,109,101,.20);
}

.primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(255,109,101,.27);
}

.secondary {
  background: rgba(255,255,255,.32);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(5px);
}

.secondary:hover {
  background: rgba(255,255,255,.70);
  color: var(--coral-dark);
  border-color: var(--coral-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33,30,26,.05);
}

.link-btn:active { transform: scale(.975); }

.link-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp .7s ease-out 1.15s forwards;
}

.social {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color .25s ease, transform .25s ease;
}

.social:hover {
  color: var(--coral);
  transform: translateY(-2px);
}

.social svg {
  width: 17px;
  height: 17px;
}

footer {
  margin-top: 35px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp .7s ease-out 1.3s forwards;
}

@media (max-width: 380px) {
  body { padding-top: 32px; }
  .logo { width: 82px; height: 82px; }
  .logo-text { font-size: 35px; }
  .name h1 { font-size: 39px; }
  .divider { margin-top: 26px; margin-bottom: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .logo, .name, .divider, .link-btn, .socials, footer {
    opacity: 1 !important;
  }
}
