/* DEAR DEE — Look Lab brand: pink, purple, teal on cream paper */
:root {
  --pink: #E8A0BF;
  --purple: #7A5AA8;
  --plum: #5C3A6E;
  --teal: #5BA8A0;
  --ink: #3D2A45;
  --muted: #6B5478;
  --soft: #C4B2D0;
  --line: #E4D4EC;
  --paper: #FFFBFC;
  --cream: #FFF8F5;
  --lilac: #F7F0F8;
  --mist: #EEF6F5;
  --shadow: 0 12px 36px rgba(92, 58, 110, 0.08);
  --shadow-btn: 0 14px 28px rgba(122, 90, 168, 0.28);
  --grad: linear-gradient(135deg, #E8A0BF 0%, #7A5AA8 52%, #5BA8A0 100%);
  --bg:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(232, 160, 191, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(122, 90, 168, 0.22), transparent 50%),
    radial-gradient(ellipse 80% 50% at 80% 100%, rgba(91, 168, 160, 0.26), transparent 55%),
    linear-gradient(180deg, #FFF8F5 0%, #F7F0F8 50%, #EEF6F5 100%);
  --font: Inter, "Segoe UI", Montserrat, Lato, system-ui, sans-serif;
  --max: 1080px;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:hover { color: var(--purple); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--plum); color: #fff; padding: 0.5rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--plum);
}
.brand img {
  width: 48px; height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(92, 58, 110, 0.14);
  background: #fff;
}
.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--plum); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  box-shadow: 0 8px 18px rgba(122, 90, 168, 0.25);
  text-decoration: none;
}
.nav-cta:hover { filter: brightness(1.05); color: #fff !important; }
.menu-toggle {
  display: none;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--plum);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Shared layout */
main { padding: 0 1.25rem 4rem; }
.wrap { max-width: var(--max); margin: 0 auto; }
.rule {
  width: 96px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #E8A0BF, #7A5AA8, #5BA8A0);
  margin: 1.25rem auto;
}
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 160px;
  padding: 0 1.75rem;
  border: none;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
}
.btn:hover, button.btn:hover { filter: brightness(1.05); color: #fff; }
.btn:disabled, button.btn:disabled {
  cursor: not-allowed;
  opacity: 0.85;
  filter: none;
}
.btn-ghost {
  background: transparent;
  color: var(--plum);
  box-shadow: none;
  border: 2px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.6); color: var(--plum); filter: none; }

/* Home hero */
.hero {
  text-align: center;
  padding: 1.5rem 0 3rem;
}
.hero-wordmark {
  width: min(640px, 100%);
  margin: 0 auto 0.5rem;
}
.hero-wordmark img { width: 100%; margin: 0 auto; mix-blend-mode: multiply; }
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plum);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
}

/* How it works */
.section-title {
  text-align: center;
  color: var(--plum);
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 2rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(122, 90, 168, 0.12);
  border-radius: 24px;
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.step h3 {
  color: var(--plum);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.step p { color: var(--muted); font-size: 0.98rem; }

.cta-band {
  margin-top: 3.5rem;
  text-align: center;
  background: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(122, 90, 168, 0.12);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--plum); margin-bottom: 0.5rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.25rem; }

/* Ask page — Look Lab lined paper */
.ask-page, .join-page { padding-top: 0.5rem; }
.ask-shell {
  max-width: 640px;
  margin: 0 auto;
}
.ask-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.ask-top img {
  width: 56px; height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(92, 58, 110, 0.14);
  background: #fff;
}
.ask-top h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--plum);
  text-transform: uppercase;
}
.paper {
  background: #FFFBFC;
  border-radius: 24px;
  border: 2px solid #E4D4EC;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.1rem 1.1rem 1.25rem;
  position: relative;
  min-height: 22rem;
  background-image:
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(122, 90, 168, 0.07) 31px,
      rgba(122, 90, 168, 0.07) 33px
    );
  background-position: 0 2.6rem;
  background-color: #FFFBFC;
}
.paper::before {
  content: "";
  position: absolute;
  left: 2.15rem;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 2px;
  background: rgba(232, 160, 191, 0.55);
  border-radius: 2px;
}
.paper label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
  padding-left: 1.85rem;
}
.paper textarea {
  width: 100%;
  min-height: 18rem;
  border: none;
  background: transparent;
  resize: vertical;
  font-size: 1.1rem;
  line-height: 33px;
  color: var(--ink);
  font-family: inherit;
  padding-left: 1.85rem;
  outline: none;
}
.paper textarea::placeholder { color: #C4B2D0; }
.paper textarea:disabled {
  color: #9a86a8;
  cursor: not-allowed;
}
.ask-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.15rem;
}

/* Join page — Look Lab card */
.join-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
}
.join-hero .icon-wrap {
  width: 148px; height: 148px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(92, 58, 110, 0.18), 0 4px 12px rgba(91, 168, 160, 0.12);
  background: #fff;
  margin-bottom: 1.1rem;
}
.join-hero .icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.join-hero h1 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--plum);
  text-transform: uppercase;
}
.join-card {
  max-width: 480px;
  margin: 1.5rem auto 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(122, 90, 168, 0.12);
  border-radius: 28px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}
.join-card label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.join-card input[type="text"] {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 2px solid #E4D4EC;
  background: #FFFBFC;
  padding: 0 1rem;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: inherit;
  outline: none;
}
.join-card input:disabled {
  color: #9a86a8;
  cursor: not-allowed;
  background: #FBF7FC;
}
.join-card .btn { width: 100%; margin-top: 1.1rem; }
.join-note, .ask-note, .notice {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.notice, .coming-soon {
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(122, 90, 168, 0.16);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.coming-soon strong { color: var(--plum); }

/* Disclaimer + crisis callouts */
.callout {
  margin: 2rem auto 0;
  max-width: 720px;
  background: rgba(255,255,255,0.88);
  border-left: 4px solid var(--teal);
  border-radius: 0 16px 16px 0;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.95rem;
}
.callout.crisis { border-left-color: var(--pink); }
.callout h2 {
  font-size: 1rem;
  color: var(--plum);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.callout p + p { margin-top: 0.6rem; }
.callout a { font-weight: 600; }

/* Rules */
.rules-header { text-align: center; padding: 1rem 0 1.75rem; }
.rules-header h1 { color: var(--plum); font-size: clamp(1.7rem, 4vw, 2.3rem); }
.rules-header p { color: var(--muted); max-width: 36rem; margin: 0.75rem auto 0; }
.draft-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  margin-top: 0.6rem;
}
.prose {
  max-width: 740px;
  margin: 0 auto;
  background: rgba(255,255,255,0.86);
  border: 1.5px solid rgba(122, 90, 168, 0.12);
  border-radius: 24px;
  padding: 2rem 1.6rem 2.2rem;
  box-shadow: var(--shadow);
}
.prose h2 {
  color: var(--plum);
  font-size: 1.25rem;
  margin: 2rem 0 0.7rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); margin-bottom: 0.7rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 0.8rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .lede-box {
  background: #F7F0F8;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: rgba(61, 42, 69, 0.92);
  color: #F4EAF6;
  padding: 2.25rem 1.5rem 2.5rem;
  margin-top: 2rem;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-brand img {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
}
.site-footer p { font-size: 0.92rem; color: #E8D7EE; margin-bottom: 0.7rem; max-width: 46rem; }
.site-footer a { color: #F3C6D8; }
.site-footer a:hover { color: #fff; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.1rem 0 1.3rem;
}
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.crisis-footer {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1.1rem;
  font-size: 0.9rem;
  color: #F4EAF6;
}
.legal-tiny { font-size: 0.8rem; color: #C9B3D0; margin-top: 1rem; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    background: rgba(255,251,252,0.98);
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    box-shadow: var(--shadow);
    z-index: 20;
  }
  .nav.is-open { display: flex; }
  .nav-cta { text-align: center; }
  .site-header { position: relative; }
}

@media (max-width: 520px) {
  .brand-name { display: none; }
  .hero { padding-top: 0.5rem; }
  .paper { padding-left: 1rem; }
  .paper::before { left: 1.6rem; }
}
