/* ── BARE — Shared Styles ── */
/* Brand: Libre Baskerville, earth palette (Soft Fawn, Rich Mahogany, Ebony, Saddle Brown, Olive Bark) */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --fawn:     #D7BE82;
  --mahogany: #400406;
  --ebony:    #515A47;
  --saddle:   #7A4419;
  --olive:    #755C1B;

  --bg:       #D7BE82;
  --bg-mid:   #CAAF72;
  --surface:  #E3CFA0;
  --border:   rgba(64,4,6,0.12);
  --shadow:   0 2px 16px rgba(64,4,6,0.08), 0 1px 4px rgba(64,4,6,0.04);
  --shadow-lg: 0 24px 60px rgba(64,4,6,0.14), 0 4px 16px rgba(64,4,6,0.07);
  --text:     #400406;
  --text-mid: #515A47;
  --text-soft: #755C1B;
  --accent:   #7A4419;
  --green:    #515A47;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(215,190,130,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}

.logo img {
  height: 32px; width: auto;
}

.logo span {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
}

.nav-cta {
  font-size: 14px; font-weight: 700;
  background: var(--mahogany); color: var(--fawn);
  padding: 10px 22px; border-radius: 100px;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 80px;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px 80px 80px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  display: block;
}

.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(215,190,130,0.18) 0%, transparent 20%);
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--saddle);
  margin-bottom: 28px;
}

.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--saddle);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h1 .accent, h2 .accent {
  color: var(--saddle);
}

.hero-body {
  font-size: 18px; color: var(--text-mid);
  line-height: 1.65; max-width: 440px; margin-bottom: 40px;
}

.waitlist {
  display: flex; gap: 8px; max-width: 420px;
}
.waitlist input {
  flex: 1; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 13px 18px; font-size: 15px; color: var(--text);
  outline: none; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.waitlist input::placeholder { color: var(--text-soft); }
.waitlist input:focus {
  border-color: var(--mahogany);
  box-shadow: 0 0 0 3px rgba(64,4,6,.1);
}
.waitlist button {
  background: var(--mahogany); border: none; border-radius: 10px;
  padding: 13px 22px; font-size: 15px; font-weight: 700; color: var(--fawn);
  cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: opacity .2s, transform .15s;
}
.waitlist button:hover { opacity: .85; transform: translateY(-1px); }

.waitlist-error {
  margin-top: 8px; font-size: 13px; color: #8b0000;
}

.hero-note { margin-top: 12px; font-size: 13px; color: var(--text-soft); }

.hero-right {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #C4AA6E, #B89D5C);
}

.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(215,190,130,.2) 0%, transparent 30%);
}

/* ── SECTIONS ── */
.section { padding: 100px 80px; }
.section-narrow { max-width: 680px; margin: 0 auto; }
.section-wide { max-width: 960px; margin: 0 auto; }

.section-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-soft);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}

/* ── CONTENT 2-COL + CTA ── */
.content-section {
  padding: 100px 80px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.content-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.content-inner .section-tag {
  color: var(--saddle);
  margin-bottom: 16px;
}

.content-inner h2 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.03em;
  margin-bottom: 52px;
}

.content-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  margin-bottom: 56px;
}

.content-col p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 22px;
}
.content-col p:last-child { margin-bottom: 0; }
.content-col strong { color: var(--text); font-weight: 700; }

.content-cta { padding-top: 4px; }

.content-cta-label {
  font-size: 15px;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 18px;
}

/* ── PHOTO BREAK ── */
.photo-break {
  height: 600px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #C4AA6E 0%, #B89D5C 50%, #A68E4E 100%);
}

.photo-break img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  display: block;
}

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.how-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.how-num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-soft);
  margin-bottom: 16px;
}

.how-title {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 12px; line-height: 1.15;
}

.how-desc {
  font-size: 15px; color: var(--text-mid); line-height: 1.6;
}

/* ── PRODUCT / THREE-PHONE FAN ── */
.product-section {
  background: var(--mahogany);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 100px 80px;
  text-align: center;
}

.product-inner .section-tag { color: var(--olive); }
.product-inner h2 { color: var(--fawn); margin-bottom: 16px; }
.product-inner h2 .accent { color: var(--fawn); opacity: 0.7; }

.product-body {
  font-size: 17px; color: rgba(215,190,130,.6); line-height: 1.7;
  max-width: 560px; margin: 0 auto 60px;
}

.phone-fan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  perspective: 800px;
}

.phone-fan .phone-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
  border: 2px solid rgba(215,190,130,0.1);
  background: #000;
}

.phone-fan .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-fan .phone-frame.left {
  width: 260px;
  transform: rotate(-6deg) scale(0.88);
  opacity: 0.75;
}

.phone-fan .phone-frame.center {
  width: 320px;
  z-index: 1;
  border-color: rgba(215,190,130,0.2);
  box-shadow: 0 24px 60px rgba(64,4,6,0.4), 0 4px 16px rgba(0,0,0,0.3);
}

.phone-fan .phone-frame.right {
  width: 260px;
  transform: rotate(6deg) scale(0.88);
  opacity: 0.75;
}

.phone-fan-labels {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 32px;
}

.phone-fan-labels span {
  font-size: 13px;
  color: rgba(215,190,130,0.4);
  letter-spacing: 0.02em;
}

/* ── TOPICS ── */
.topics-section { background: var(--bg); }

.topics-body {
  font-size: 18px; color: var(--text-mid);
  line-height: 1.6; margin-top: 16px; margin-bottom: 52px;
}

.topic-list { border-top: 1px solid var(--border); }

.topic-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--border);
  transition: padding-left .2s;
  cursor: default;
}
.topic-row:hover { padding-left: 10px; }

.topic-name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
}

.topic-sub {
  font-size: 13px; color: var(--text-soft); margin-top: 2px;
}

.topic-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 100px;
  flex-shrink: 0; margin-left: 16px;
}
.topic-badge.easy {
  background: rgba(81,90,71,.1); color: var(--ebony);
  border: 1px solid rgba(81,90,71,.2);
}
.topic-badge.medium {
  background: rgba(117,92,27,.1); color: var(--olive);
  border: 1px solid rgba(117,92,27,.2);
}
.topic-badge.hard {
  background: rgba(64,4,6,.08); color: var(--mahogany);
  border: 1px solid rgba(64,4,6,.12);
}

.topic-custom {
  padding: 20px 0;
  font-size: 16px; color: var(--text-soft); font-style: italic;
}

/* ── PRIVACY ── */
.privacy-section { background: var(--bg); }

.privacy-card {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 52px 56px;
  box-shadow: var(--shadow);
}

.privacy-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 20px;
}

.privacy-headline .accent {
  color: var(--saddle);
}

.privacy-body {
  font-size: 17px; color: var(--text-mid); line-height: 1.7;
  max-width: 560px; margin-bottom: 36px;
}

.privacy-rows { display: flex; flex-direction: column; gap: 14px; }

.privacy-row {
  display: flex; align-items: flex-start; gap: 14px;
}

.pr-line {
  width: 2px; flex-shrink: 0;
  background: var(--saddle); border-radius: 2px;
  margin-top: 5px;
  height: 16px;
}

.pr-text { font-size: 15px; color: var(--text-mid); line-height: 1.55; }

/* ── THERAPIST NOTE ── */
.therapist-note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg-mid);
  border-radius: 14px; border: 1px solid var(--border);
}
.tn-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px;
}
.tn-text {
  font-size: 15px; color: var(--text-mid); line-height: 1.6; font-style: italic;
}

/* ── FINAL CTA ── */
.final-cta {
  background: var(--mahogany);
  padding: 100px 80px;
  text-align: center;
}

.final-cta h2 {
  color: var(--fawn); margin-bottom: 16px;
}

.final-cta h2 .accent { color: var(--fawn); opacity: 0.7; }

.final-cta-body {
  font-size: 18px; color: rgba(215,190,130,.55);
  line-height: 1.6; margin-bottom: 44px;
  max-width: 440px; margin-left: auto; margin-right: auto;
}

.final-cta .waitlist {
  justify-content: center;
  max-width: 440px; margin: 0 auto;
}
.final-cta .waitlist input {
  background: rgba(215,190,130,.1);
  border-color: rgba(215,190,130,.15);
  color: var(--fawn);
}
.final-cta .waitlist input::placeholder { color: rgba(215,190,130,.35); }
.final-cta .waitlist input:focus {
  border-color: rgba(215,190,130,.4);
  box-shadow: 0 0 0 3px rgba(215,190,130,.1);
}
.final-cta .waitlist button {
  background: var(--fawn);
  color: var(--mahogany);
}
.final-cta .hero-note { color: rgba(215,190,130,.35); }

/* ── FOOTER ── */
footer {
  background: var(--mahogany);
  border-top: 1px solid rgba(215,190,130,.08);
  padding: 28px 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.footer-logo img {
  height: 24px; width: auto;
}
.footer-logo span {
  font-size: 17px; font-weight: 700;
  color: var(--fawn);
}
.footer-links { display: flex; gap: 28px; }
footer a { font-size: 13px; color: rgba(215,190,130,.4); text-decoration: none; transition: color .2s; }
footer a:hover { color: rgba(215,190,130,.75); }

/* ── DIVIDER ── */
hr.div { border: none; height: 1px; background: var(--border); }

/* ── SUB-PAGE LAYOUT ── */
.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-content h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 12px;
}

.page-content .page-subtitle {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 48px;
}

.page-content h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 12px;
}

.page-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-content li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-content a {
  color: var(--saddle);
  text-decoration: none;
  font-weight: 700;
}
.page-content a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin-top: 32px;
}

.contact-form input,
.contact-form textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--mahogany);
  box-shadow: 0 0 0 3px rgba(64,4,6,.08);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: var(--mahogany);
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fawn);
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s, transform .15s;
  align-self: flex-start;
}
.contact-form button:hover { opacity: .85; transform: translateY(-1px); }

/* ── THERAPIST PAGE ── */
.therapist-cta {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.therapist-cta h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.therapist-cta p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.therapist-cta .nav-cta {
  display: inline-block;
  font-size: 15px;
  padding: 12px 24px;
}

/* ── MOBILE ── */
@media (max-width: 860px) {
  nav { padding: 16px 20px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 100px 24px 60px; }
  .hero-right { height: 360px; }
  .section { padding: 72px 24px; }
  .content-section { padding: 72px 24px; }
  .content-cols { grid-template-columns: 1fr; gap: 0; }
  .how-grid { grid-template-columns: 1fr; }
  .product-inner { padding: 72px 24px; }
  .phone-fan { gap: 12px; }
  .phone-fan .phone-frame.left,
  .phone-fan .phone-frame.right { width: 140px; }
  .phone-fan .phone-frame.center { width: 180px; }
  .phone-fan-labels { gap: 32px; }
  .phone-fan-labels span { font-size: 11px; }
  .privacy-card { padding: 36px 24px; }
  .final-cta { padding: 80px 24px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
  .page-content { padding: 100px 20px 60px; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
