:root {
  --berry: #a62d66;
  --berry-pressed: #86214f;
  --pink: #ec4d86;
  --ink: #26215c;
  --muted: #5e5878;
  --blush: #fff8fb;
  --surface: #ffffff;
  --border: #efe3ea;
  --track: #f3e3ec;
  --mint-bg: #ddf5ee;
  --mint-fg: #0d735f;
  --sky-bg: #ddeffd;
  --sky-fg: #1b5a92;
  --butter-bg: #fff1c9;
  --peach-bg: #ffe5dc;
  --max: 40rem;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --radius: 1.25rem;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, #ffe6f0 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 0%, #ddeffd 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 80% 100%, #ddf5ee 0%, transparent 45%),
    var(--blush);
  background-attachment: fixed;
}

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

a {
  color: var(--berry);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--berry-pressed);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--berry);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--max) + 8rem);
  margin: 0 auto;
  padding: 1.25rem var(--pad) 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pink), var(--berry));
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(166, 45, 102, 0.28);
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--berry);
}

main {
  max-width: calc(var(--max) + 8rem);
  margin: 0 auto;
  padding: 0 var(--pad) 3.5rem;
}

.hero {
  min-height: min(78vh, 42rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0 3rem;
  animation: rise 0.8s ease-out both;
}

.hero-brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 14vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--berry) 20%, var(--pink) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: soft-glow 4.5s ease-in-out infinite;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.8vw, 2.15rem);
  line-height: 1.25;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s 0.12s ease-out both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--berry);
  color: #fff;
  box-shadow: 0 10px 24px rgba(166, 45, 102, 0.28);
}

.button-primary:hover {
  background: var(--berry-pressed);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--berry);
  border-color: rgba(166, 45, 102, 0.35);
}

.button-secondary:hover {
  background: #ffe6f0;
  color: var(--berry-pressed);
}

.notice {
  display: inline-block;
  max-width: 34rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: var(--butter-bg);
  color: #835300;
  font-size: 0.95rem;
  animation: rise 1s 0.2s ease-out both;
}

.section {
  padding: 0.5rem 0 2.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
}

.section p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.site-footer {
  max-width: calc(var(--max) + 8rem);
  margin: 0 auto;
  padding: 0 var(--pad) 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
  max-width: 40rem;
}

/* Privacy page */
.policy-header {
  padding: 2rem 0 1.5rem;
  animation: rise 0.7s ease-out both;
}

.policy-header .eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
}

.policy-header h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.15;
}

.policy-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.toc {
  margin: 0 0 2.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.toc h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.toc li {
  margin: 0.35rem 0;
}

.toc a {
  text-decoration: none;
  font-weight: 600;
}

.toc a:hover {
  text-decoration: underline;
}

.policy article {
  max-width: var(--max);
}

.policy section {
  margin: 0 0 2.25rem;
  padding-top: 0.25rem;
  scroll-margin-top: 1rem;
  animation: rise 0.75s ease-out both;
}

.policy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

.policy h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
}

.policy p,
.policy li {
  color: var(--ink);
}

.policy p {
  margin: 0 0 0.85rem;
}

.policy ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.policy li {
  margin: 0.35rem 0;
}

.placeholder {
  display: inline;
  padding: 0.05em 0.35em;
  border-radius: 0.35em;
  background: var(--peach-bg);
  color: #9c3d26;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95em;
}

.callout {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--sky-bg);
  color: var(--sky-fg);
}

.callout.safe {
  background: var(--mint-bg);
  color: var(--mint-fg);
}

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

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

@keyframes soft-glow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.15);
  }
}
