:root {
  --bg-top: #315f59;
  --bg-bottom: #153d3a;
  --ink: #faf6ea;
  --ink-soft: rgba(250, 246, 234, 0.78);
  --ink-muted: rgba(250, 246, 234, 0.58);
  --accent: #d4a853;
  --rule: rgba(250, 246, 234, 0.16);
  --link: #f0d08a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100%;
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  background:
    radial-gradient(
      120% 80% at 50% -10%,
      rgba(201, 133, 107, 0.22),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

a {
  color: var(--link);
}

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

.home {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem 3rem;
}

.home main {
  width: min(100%, 34rem);
  text-align: center;
}

.mark {
  width: min(42vw, 11.5rem);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home h1 {
  margin: 1.35rem 0 0.55rem;
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 650;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.home .lede {
  margin: 0 auto;
  max-width: 22rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

.cta {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a2f2c;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 240ms both;
}

.cta:hover {
  color: #1a2f2c;
  filter: brightness(1.06);
}

.support-note {
  margin: 2rem auto 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 280ms both;
}

.support-note a {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 208, 138, 0.35);
}

.support-note a:hover {
  border-bottom-color: currentColor;
}

.home-footer {
  margin-top: 1.35rem;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 320ms both;
}

.home-footer a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 208, 138, 0.35);
}

.home-footer a:hover {
  border-bottom-color: currentColor;
}

.policy {
  padding: 1.5rem 1.25rem 4rem;
}

.policy-shell {
  width: min(100%, 40rem);
  margin: 0 auto;
}

.policy-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}

.policy-top a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.lang-switch button {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.lang-switch button[aria-pressed='true'] {
  color: var(--ink);
  font-weight: 500;
}

.lang-switch button:hover {
  color: var(--link);
}

.policy h1 {
  margin: 0 0 0.4rem;
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 650;
  font-size: clamp(1.9rem, 5vw, 2.45rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.updated {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.policy section + section {
  margin-top: 1.55rem;
  padding-top: 1.55rem;
  border-top: 1px solid var(--rule);
}

.policy h2 {
  margin: 0 0 0.45rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.policy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.policy [hidden] {
  display: none !important;
}

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

@media (prefers-reduced-motion: reduce) {
  .mark,
  .home h1,
  .home .lede,
  .cta,
  .support-note,
  .home-footer {
    animation: none;
  }
}
