/* WomanWise — Phase 1A public shell
   Warm · intelligent · mature · calm · premium
   No tracking · minimal/no JS dependency */

:root {
  --ww-ink: #1f1c1a;
  --ww-ink-soft: #4a4540;
  --ww-muted: #6e6760;
  --ww-line: rgba(31, 28, 26, 0.12);
  --ww-paper: #f3efe8;
  --ww-paper-deep: #e6e0d6;
  --ww-mist: #d8e0dc;
  --ww-sage: #3d5a4c;
  --ww-sage-soft: #5a7a6a;
  --ww-bronze: #8a6f3d;
  --ww-white: #faf8f5;
  --ww-max: 68rem;
  --ww-header-h: 4.25rem;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ww-ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(216, 224, 220, 0.9), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(138, 111, 61, 0.12), transparent 45%),
    linear-gradient(180deg, var(--ww-paper) 0%, var(--ww-paper-deep) 48%, #ddd6cb 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--ww-sage);
  text-underline-offset: 0.15em;
}

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

/* Header */
.ww-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(250, 248, 245, 0.86);
  border-bottom: 1px solid var(--ww-line);
}

.ww-header__inner {
  max-width: var(--ww-max);
  margin: 0 auto;
  min-height: var(--ww-header-h);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ww-brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ww-brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.ww-brand__by {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ww-muted);
}

.ww-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
}

.ww-nav__link {
  font-size: 0.92rem;
  color: var(--ww-ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.ww-nav__link:hover,
.ww-nav__link:focus-visible {
  color: var(--ww-ink);
  border-bottom-color: var(--ww-bronze);
}

.ww-nav__link--quiet {
  color: var(--ww-muted);
}

/* Main */
.ww-main {
  max-width: var(--ww-max);
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

/* Hero — one composition */
.ww-hero {
  min-height: calc(100vh - var(--ww-header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0 3rem;
  animation: ww-rise 700ms ease-out both;
  opacity: 1; /* never leave hero washed out if animation is interrupted */
}

.ww-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 1.1rem;
  color: var(--ww-ink);
}

.ww-hero__headline {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ww-sage);
}

.ww-hero__support {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ww-ink-soft);
}

.ww-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ww-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.ww-btn--primary {
  background: var(--ww-sage);
  color: #ffffff;
}

.ww-btn--primary:hover,
.ww-btn--primary:focus-visible {
  background: #2f453a;
  color: #ffffff;
}

.ww-btn--secondary {
  background: transparent;
  color: var(--ww-ink);
  border-color: rgba(31, 28, 26, 0.28);
}

.ww-btn--secondary:hover {
  border-color: var(--ww-ink);
  color: var(--ww-ink);
}

.ww-btn--ghost {
  background: transparent;
  color: var(--ww-muted);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 500;
}

.ww-btn--ghost:hover {
  color: var(--ww-ink);
  transform: none;
}

.ww-btn--soon,
.ww-btn[aria-disabled="true"] {
  background: rgba(31, 28, 26, 0.08);
  color: var(--ww-muted);
  border-color: transparent;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Sections — one job each */
.ww-section {
  padding: 3.25rem 0 1rem;
  border-top: 1px solid var(--ww-line);
  animation: ww-rise 800ms ease-out both;
  animation-delay: 120ms;
  opacity: 1;
}

.ww-section__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
}

.ww-section__lead {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: var(--ww-ink-soft);
}

.ww-host {
  max-width: 40rem;
}

.ww-host__name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ww-bronze);
}

.ww-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.ww-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.15rem;
  border-bottom: 1px solid var(--ww-line);
  color: var(--ww-ink-soft);
}

.ww-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ww-sage-soft);
}

.ww-badge-soon {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ww-muted);
  border: 1px solid var(--ww-line);
  border-radius: 0.15rem;
  vertical-align: middle;
}

/* Footer — trust */
.ww-footer {
  background: var(--ww-white);
  border-top: 1px solid var(--ww-line);
  padding: 1.35rem 1.25rem 1.75rem;
  text-align: center;
}

.ww-footer__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.ww-footer__badge-link {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.ww-footer__badge {
  height: 44px;
  width: auto;
  margin: 0 auto;
}

.ww-footer__certified {
  margin: 0.55rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ww-sage);
}

.ww-footer__note {
  margin: 0 auto 0.65rem;
  max-width: 32rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ww-muted);
}

.ww-footer__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ww-muted);
}

.ww-footer__meta a {
  color: #00378c;
  font-weight: 600;
}

.ww-footer__sep {
  margin: 0 0.4rem;
}

@keyframes ww-rise {
  /* Transform only — avoid opacity fade that can freeze mid-frame in tooling / reduced motion */
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .ww-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ww-nav {
    justify-content: flex-start;
  }

  .ww-hero {
    min-height: auto;
    padding: 2rem 0 2.5rem;
  }

  .ww-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ww-btn {
    width: 100%;
  }
}

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

  .ww-hero,
  .ww-section,
  .ww-btn:hover {
    animation: none;
    transform: none;
  }
}
