/* -----------------------------------------------------------
   Pani Migrena — landing page
   Tokeny: jasna, przewiewna paleta powiązana z ciemną paletą
   „aury” Migrenownika (ten sam odcień fioletu, tylko w wersji
   dziennej). Sygnaturowy element: miękka, ledwo dostrzegalna
   poświata „aury” w tle — nawiązuje do aury migrenowej bez
   medycznej dosłowności.
----------------------------------------------------------- */

:root {
  --bg: #faf9fc;
  --surface: #f1eef5;
  --ink: #2a2730;
  --ink-soft: #6b6774;
  --ink-muted: #9691a0;
  --accent: #7c6e96;
  --accent-line: #ddd6e8;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* Sygnaturowy element: miękka poświata "aury" */
.aura {
  position: fixed;
  top: -20vh;
  right: -15vw;
  width: 70vw;
  height: 70vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(155, 143, 176, 0.35),
    rgba(214, 205, 226, 0.18) 45%,
    rgba(250, 249, 252, 0) 72%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: aura-drift 16s ease-in-out infinite;
}

@keyframes aura-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 3%) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .aura { animation: none; }
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px 24px;
}

.hero-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  margin: 0 0 28px;
  line-height: 0; /* remove extra heading whitespace around the image */
}

.hero-logo img {
  width: 190px;
  height: auto;
}

@media (min-width: 640px) {
  .hero-logo img {
    width: 240px;
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  color: var(--accent);
  margin: 0 0 20px;
}

.hero-desc {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 auto 40px;
}

.cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--bg);
  background: var(--ink);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

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

/* E-book teaser: krótka zapowiedź + drugorzędny CTA pod główną akcją */
.ebook-teaser {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--accent-line);
}

.ebook-teaser-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 380px;
  margin: 0 auto 16px;
}

.cta--secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--accent-line);
  padding: 14px 32px;
  font-size: 0.92rem;
}

.cta--secondary:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--ink);
}

.secondary-link {
  display: block;
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.secondary-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-line);
}

.secondary-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Tablet / desktop */
@media (min-width: 640px) {
  .hero-inner {
    padding: 0 16px;
  }
}
