/* Social Spins Zone — cloud_rose palette */
:root {
  --bg: #FDF7F9;
  --surface: #FFFFFF;
  --surface-alt: #F6EBEF;
  --primary: #E11D63;
  --primary-hover: #BE185D;
  --secondary: #7C3AED;
  --accent: #0D9488;
  --text: #1F1720;
  --text-secondary: #57505A;
  --text-muted: #A79FA8;
  --border: rgba(31, 23, 32, 0.10);
  --radius: 14px;
  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", Candara, sans-serif;
  --max-width: 720px;
  --header-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: var(--surface-alt);
  border-radius: 4px;
  color: var(--text);
}

/* —— Header —— */
.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  background: transparent;
}

.site-header__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--primary);
}

.brand__mark {
  display: inline-block;
  width: 0.65em;
  height: 0.65em;
  margin-right: 0.4em;
  vertical-align: 0.05em;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
}

/* —— Hero (landing) —— */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 5rem);
  padding: 2rem 1.5rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225, 29, 99, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(13, 148, 136, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(124, 58, 237, 0.06), transparent 60%),
    linear-gradient(165deg, var(--bg) 0%, var(--surface-alt) 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.hero__orb--one {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  top: -8%;
  right: -6%;
  background: rgba(225, 29, 99, 0.28);
}

.hero__orb--two {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  bottom: 5%;
  left: -4%;
  background: rgba(13, 148, 136, 0.22);
  animation-delay: -5s;
  animation-duration: 18s;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
  animation: rise-in 0.9s ease-out both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__brand span {
  background: linear-gradient(120deg, var(--primary) 0%, #C0267A 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.hero__copy {
  max-width: 32em;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 28rem;
  margin: 0 auto;
}

.notify__input {
  flex: 1 1 12rem;
  min-width: 0;
  height: 3rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify__input::placeholder {
  color: var(--text-muted);
}

.notify__input:hover {
  border-color: rgba(225, 29, 99, 0.35);
}

.notify__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(225, 29, 99, 0.15);
  outline: none;
}

.notify__btn {
  flex: 0 0 auto;
  height: 3rem;
  padding: 0 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.notify__btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.notify__btn:active {
  transform: translateY(0);
}

.notify__note {
  flex: 1 1 100%;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 1.25em;
}

.notify__note.is-success {
  color: var(--accent);
}

/* —— Legal pages —— */
.page {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  animation: rise-in 0.6s ease-out both;
}

.page__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page__meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.page p,
.page ul {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.page ul {
  padding-left: 1.25rem;
}

.page li {
  margin-bottom: 0.4rem;
}

.page li::marker {
  color: var(--primary);
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--primary);
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 420px;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(31, 23, 32, 0.12);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cookie-banner__text a {
  color: var(--primary);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  flex: 1 1 auto;
  min-width: 6.5rem;
  height: 2.6rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-btn--accept {
  color: #fff;
  background: var(--primary);
  border: none;
}

.cookie-btn--accept:hover {
  background: var(--primary-hover);
}

.cookie-btn--decline {
  color: var(--text-secondary);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.cookie-btn--decline:hover {
  color: var(--text);
  border-color: rgba(31, 23, 32, 0.2);
}

/* —— Motion —— */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-18px, 22px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cookie-banner {
    transition: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 1rem;
  }

  .hero {
    padding: 1.5rem 1rem 3rem;
  }

  .notify {
    flex-direction: column;
  }

  .notify__btn {
    width: 100%;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
