:root {
  --bg: #F6F2EA;
  --ink: #111111;
  --muted: #555555;
  --grey: #77787B;
  --teal: #007166;
  --teal-hover: #005a52;
  --gold: #C49A3C;
  --white: #ffffff;
  --font: "Century Gothic", "URW Gothic", "CenturyGothic", AppleGothic, Futura, "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 420px;
  padding: 36px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
}

.logo {
  width: min(280px, 78vw);
  height: auto;
  display: block;
}



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

.btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  border-radius: 10px;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  outline: none;
}

.btn:active {
  transform: translateY(1px);
}

.footer {
  width: 100%;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 113, 102, 0.18);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}


.licence {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--grey);
  max-width: 34ch;
}

.licence.agent {
  color: var(--muted);
  font-size: 0.75rem;
}

.socials {
  display: flex;
  gap: 14px;
  margin: 6px 0 4px;
}

.social {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.18);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.social svg {
  width: 16px;
  height: 16px;
  display: block;
}

.social:hover,
.social:focus-visible {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(0, 113, 102, 0.06);
  outline: none;
}

.legal {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--grey);
}

.legal a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.legal a:hover,
.legal a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.legal span {
  margin: 0 6px;
  color: var(--grey);
}

.copy {
  margin: 0;
  font-size: 0.72rem;
  color: var(--grey);
}


@media (min-width: 768px) {
  .page {
    max-width: 460px;
    padding-top: 56px;
  }


  .btn {
    font-size: 1.02rem;
    padding: 16px 20px;
  }
}
