/* Enough. waitlist page. Tokens copied from the live Reset My Mind page. */
:root {
  --navy: #043c94;
  --b1: #0c63b3;
  --b2: #258dcf;
  --acc: #2abcf9;
  --soft: #bad3e2;
  --light: #eef5fb;
  --white: #fff;
  --dark: #071428;
  --ink: #24292f;        /* dark charcoal body copy, per the brief */
  --muted: #4b5d70;      /* small print, 6.5:1 on white */
  --line: #6a86a1;       /* input borders, 3.6:1 on white */
  --bdr: rgba(4, 60, 148, 0.1);
  --err: #b42318;
  --ok: #0f6b3a;
  --radius: 14px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--b1); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1.05em; }

:focus-visible {
  outline: 3px solid var(--b2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.15rem, 4.3vw, 3.35rem); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.55rem); line-height: 1.15; }
h3 { font-size: 1.45rem; line-height: 1.25; }

/* Header */
.site-head { padding: 22px 0; border-bottom: 1px solid var(--bdr); background: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--light) 0%, #f7fbfe 55%, var(--white) 100%);
  padding: 56px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "copy book"
    "join book";
  column-gap: 64px;
  row-gap: 8px;
  align-items: start;
}
.hero-copy { grid-area: copy; }
.book { grid-area: book; }
.join { grid-area: join; }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  color: var(--b1); margin-bottom: 18px;
}
.hero-copy p:not(.eyebrow) { font-size: 1.08rem; max-width: 34em; }

.book { position: sticky; top: 28px; }
.book-cover {
  max-width: 330px; margin: 6px auto 26px; position: relative;
  /* her cover PNG has a transparent background, so no box or shadow around it */
}
.book-cover.is-flat::after {
  /* a restrained spine shadow, so the flat cover reads as a book */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,.14), rgba(0,0,0,0));
  pointer-events: none;
}
.book-meta { max-width: 360px; margin: 0 auto; text-align: center; }
.book-title { font-size: 2.6rem; margin-bottom: 0.2em; }
.book-sub { font-family: var(--serif); font-style: italic; font-size: 1.28rem; line-height: 1.4; color: var(--dark); }
.book-by { font-size: 0.92rem; color: var(--muted); }
.book-for { font-size: 0.98rem; font-weight: 500; color: var(--ink); margin-bottom: 0; }

/* Join card */
.join {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 20px;
  padding: 32px 32px 26px;
  margin-top: 26px;
  box-shadow: 0 10px 30px rgba(4,60,148,.07);
  scroll-margin-top: 20px;
}
.join h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
.form-lead { font-weight: 600; color: var(--navy); margin: 18px 0 14px; font-size: 1rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--b1); box-shadow: 0 0 0 4px rgba(37,141,207,.28); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field-err { color: var(--err); font-size: 0.88rem; margin: 6px 0 0; min-height: 0; }
.field-err:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block; font: inherit; font-weight: 600; font-size: 1.02rem;
  background: var(--b1); color: #fff; border: 0; border-radius: 999px;
  padding: 15px 30px; cursor: pointer; text-decoration: none; text-align: center;
  box-shadow: 0 6px 18px rgba(12,99,179,.25);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-block { width: 100%; margin-top: 6px; }

.form-status { font-size: 0.95rem; margin: 12px 0 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }
.fine { font-size: 0.86rem; color: var(--muted); margin: 12px 0 0; line-height: 1.55; }
.fine + .fine { margin-top: 4px; }

/* Body bands */
.band { padding: 76px 0; }
.band-light { background: var(--light); }
.band h2 { margin-bottom: 0.65em; }

.inside { list-style: none; padding: 0; margin: 8px 0 26px; }
.inside li {
  position: relative; padding: 0 0 0 30px; margin: 0 0 18px;
}
.inside li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--b2);
}
.inside strong { color: var(--navy); font-weight: 600; }

/* FAQ */
.faq { margin-top: 34px; border-top: 1px solid rgba(4,60,148,.16); }
.faq details { border-bottom: 1px solid rgba(4,60,148,.16); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.4rem; color: var(--navy); }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--b1); border-bottom: 2px solid var(--b1);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover h3 { color: var(--b1); }
.faq-body { padding: 0 0 14px; }

/* Quote */
.quote-head { text-align: center; font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--b1); }
.quote { margin: 0; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem); line-height: 1.35; color: var(--dark);
}
.quote figcaption { font-size: 0.95rem; color: var(--muted); }
.quote + .quote { margin-top: 2.4em; padding-top: 2.2em; border-top: 1px solid rgba(4,60,148,.16); }

/* Author */
.work-with { margin-top: 22px; }
.work-with-link { margin-top: 4px; }
.text-link { font-weight: bold; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.author {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px; align-items: center; max-width: 1000px;
}
.author-photo img { border-radius: 20px; box-shadow: 0 14px 34px rgba(7,20,40,.14); }

/* Closing */
.closing { background: linear-gradient(180deg, var(--white), var(--light)); }
.closing .btn { margin-top: 10px; }

/* Footer */
.site-foot { background: var(--dark); color: #c9d6e6; padding: 34px 0; font-size: 0.9rem; text-align: center; }
.site-foot p { margin: 0 0 6px; }
.site-foot a { color: #fff; }
.foot-name { font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.foot-copy { color: #9fb2c8; }

/* Simple pages (thank you, privacy, unsubscribe) */
.page { padding: 64px 0 80px; background: linear-gradient(180deg, var(--light), var(--white) 60%); min-height: 70vh; }
.card {
  background: #fff; border: 1px solid var(--bdr); border-radius: 20px;
  padding: 40px 36px; box-shadow: 0 10px 30px rgba(4,60,148,.07);
}
.signoff { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--navy); margin-top: 22px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero { padding: 30px 0 48px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "book" "join";
    row-gap: 0;
  }
  .book {
    position: static;
    display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center;
    margin-top: 8px; padding: 18px; background: rgba(255,255,255,.7);
    border: 1px solid var(--bdr); border-radius: 16px;
  }
  .book-cover { max-width: none; margin: 0; }
  .book-meta { text-align: left; max-width: none; }
  .book-title { font-size: 1.9rem; }
  .book-sub { font-size: 1.05rem; margin-bottom: 0.5em; }
  .book-by { font-size: 0.8rem; margin-bottom: 0.4em; line-height: 1.45; }
  .book-for { font-size: 0.86rem; line-height: 1.45; }
  .join { margin-top: 20px; padding: 26px 22px 22px; }
  .author { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .author-photo { max-width: 340px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .site-head { padding: 14px 0; }
  .hero { padding-top: 22px; }
  h1 { font-size: 2rem; }
  .hero-copy p:not(.eyebrow) { font-size: 1rem; line-height: 1.6; margin-bottom: 0.8em; }
  .eyebrow { font-size: 0.72rem; margin-bottom: 10px; }
  .book { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 12px 14px; align-items: start; }
  .book-title { font-size: 1.55rem; margin-bottom: 0.1em; }
  .book-sub { font-size: 0.95rem; line-height: 1.32; margin-bottom: 0.4em; }
  .book-by, .book-for { font-size: 0.76rem; line-height: 1.4; margin-bottom: 0.3em; }
  .join { margin-top: 16px; padding: 22px 18px 20px; }
  .join h2 { font-size: 1.5rem; }
  .join > p { font-size: 0.96rem; line-height: 1.55; }
  .form-lead { margin: 12px 0 10px; }
  .band { padding: 56px 0; }
  .card { padding: 30px 22px; }
}
