/* 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: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Gill Sans", "Trebuchet MS", sans-serif;
  --shadow-soft: 0 18px 48px rgba(225, 29, 99, 0.08);
  --max: 720px;
  --header-h: 4rem;
}

*,
*::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.6;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric wash — no flat single color */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 55% at 12% -10%, rgba(225, 29, 99, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 8%, rgba(13, 148, 136, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(124, 58, 237, 0.06), transparent 55%),
    linear-gradient(165deg, #FDF7F9 0%, #F6EBEF 48%, #FDF7F9 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

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

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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 600;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(253, 247, 249, 0.78);
  border-bottom: 1px solid var(--border);
}

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

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

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

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

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, var(--primary), #F43F7A 55%, var(--accent));
  box-shadow: 0 6px 16px rgba(225, 29, 99, 0.25);
  flex-shrink: 0;
  animation: mark-breathe 4.5s ease-in-out infinite;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}

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

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

/* Main / Hero */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 8vh, 5rem) 0 clamp(3rem, 10vh, 6rem);
  min-height: calc(100vh - var(--header-h) - 5.5rem);
}

.hero__inner {
  max-width: var(--max);
  text-align: center;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__brand {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  background: linear-gradient(120deg, var(--text) 20%, var(--primary) 70%, var(--accent) 120%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 38ch;
  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__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.notify__input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  box-shadow: var(--shadow-soft);
  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.28);
}

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

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

.notify__btn:hover {
  background: var(--primary-hover);
}

.notify__btn:active {
  transform: scale(0.98);
}

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

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

.notify__note.is-error {
  color: var(--primary);
}

/* Legal pages */
.legal {
  padding: clamp(2rem, 5vh, 3.5rem) 0 4rem;
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.legal-wrap {
  max-width: 40rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.legal .meta {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.legal p,
.legal li {
  color: var(--text-secondary);
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(246, 235, 239, 0.55);
  padding: 1.35rem 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer__nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(31, 23, 32, 0.14);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0.35s;
}

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

.cookie-banner__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

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

.cookie-banner__text a {
  font-weight: 500;
}

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

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 4px);
  padding: 0.65rem 1.05rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

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

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--surface-alt);
  color: var(--text);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mark-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(225, 29, 99, 0.25);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(225, 29, 99, 0.35);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cookie-banner {
    transition: none;
  }
}

@media (max-width: 520px) {
  .notify {
    flex-direction: column;
  }

  .notify__btn {
    width: 100%;
  }

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

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