:root {
  --teal-dark: #025967;
  --teal: #228986;
  --gold: #fcb73b;
  --coral: #fc6553;
  --cream: #f7f4ef;
  --ink: #0f2f35;
  --muted: #3d5c62;
  --surface: rgba(255, 255, 255, 0.88);
  --line: rgba(2, 89, 103, 0.14);
  --shadow: 0 18px 40px rgba(2, 89, 103, 0.12);
  --radius: 1.25rem;
  --font: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
  --max: 40rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(252, 183, 59, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(252, 101, 83, 0.18), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(34, 137, 134, 0.22), transparent 55%),
    linear-gradient(165deg, #e8f4f3 0%, var(--cream) 42%, #dff0ef 100%);
  background-attachment: fixed;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
}

a:hover {
  color: var(--coral);
}

.site-header {
  padding: 1rem 1.25rem;
}

.site-header__inner,
.site-footer__inner,
.legal-wrap {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-link img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.brand-link span {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-dark);
}

.back-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

.back-link:hover {
  color: var(--teal-dark);
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 2.5rem;
}

.hero__inner {
  width: min(100%, var(--max));
  text-align: center;
  animation: rise 0.7s ease-out both;
}

.hero__logo {
  width: min(42vw, 11rem);
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 10px 24px rgba(2, 89, 103, 0.18));
  animation: float-in 0.85s ease-out both;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 5.2vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--teal-dark);
  font-weight: 800;
}

.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.6vw, 1.08rem);
}

.note {
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem;
  text-align: left;
  color: var(--ink);
  font-size: 0.95rem;
  background: linear-gradient(135deg, rgba(252, 183, 59, 0.22), rgba(34, 137, 134, 0.12));
  border-left: 4px solid var(--gold);
  border-radius: 0 0.85rem 0.85rem 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.95rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(252, 101, 83, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: #e85240;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(252, 101, 83, 0.4);
}

.cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.cta svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.tally-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.tally-note a {
  font-weight: 600;
}

.cooperation {
  margin: 1.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  padding: 1.25rem 1.25rem 1.75rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.legal-main {
  flex: 1;
  padding: 1.5rem 0 3rem;
}

.legal-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  animation: rise 0.55s ease-out both;
}

.legal-panel h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--teal-dark);
}

.legal-panel h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.1rem;
  color: var(--teal-dark);
}

.legal-panel h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
  color: var(--ink);
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.legal-panel ul {
  padding-left: 1.2rem;
}

.legal-panel li + li {
  margin-top: 0.35rem;
}

.legal-panel hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.legal-panel a {
  font-weight: 600;
}

.callout {
  margin: 0.85rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--teal);
  background: rgba(34, 137, 134, 0.08);
  border-radius: 0 0.6rem 0.6rem 0;
  color: var(--ink);
  font-weight: 600;
}

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 640px) {
  .cta {
    width: auto;
    min-width: 18rem;
  }

  .note {
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--gold);
    border-radius: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__inner,
  .hero__logo,
  .legal-panel,
  .cta {
    animation: none;
    transition: none;
  }

  .cta:hover,
  .cta:focus-visible {
    transform: none;
  }
}
