/* ─────────────────────────────────────────────────────────────
   Find The One — public program pages. Loaded after
   /css/pages.css, so it only adds what the shared stylesheet
   doesn't already have.
   ───────────────────────────────────────────────────────────── */

/* The site's taupe and accent are a little light for small text on white
   and sand; inside the page content they are darkened to pass WCAG AA. The
   footer keeps the originals, which read well on the dark background. */
main { --taupe: #76604f; --accent: #9a6b3e; }
footer { --taupe: #b3a092; }

/* Text still waiting on an answer from Kellie. Deliberately loud so
   nothing unfinished slips through review. */
.tbd {
  background: #fff3c4; color: #6b4f00; border: 1px dashed #c9a227;
  border-radius: 4px; padding: 0 5px; font-size: 0.85em; font-weight: 600;
  letter-spacing: 0.02em; white-space: nowrap; font-style: normal;
}

/* ─── HERO ─── */
.fto-hero { background: var(--sand); border-bottom: 1px solid var(--warm); }
.fto-hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 56px 32px 64px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.fto-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 22px; color: var(--dark); }
.fto-hero .lede { font-size: 18px; line-height: 1.75; color: #5a4a3f; max-width: 58ch; }
.fto-hero .hero-actions { align-items: center; }
.fto-hero-login { font-size: 14px; color: var(--brown); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); }
.fto-hero-login:hover { text-decoration-color: var(--brown); }
.fto-hero-figure img {
  width: 100%; height: auto; border-radius: 14px; aspect-ratio: 1600 / 1306;
  box-shadow: 0 24px 60px rgba(46,36,32,0.14);
}
.fto-hero-note { margin-top: 18px; font-size: 13px; color: var(--taupe); letter-spacing: 0.04em; }

/* ─── SECTION BASICS ─── */
.fto-section { padding: 72px 32px; }
.fto-section.alt { background: var(--light); }
.fto-section.sand { background: var(--sand); }
.fto-inner { max-width: 1080px; margin: 0 auto; }
.fto-narrow { max-width: 760px; margin: 0 auto; }
.fto-head { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.fto-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--dark); }
.fto-head .answer { margin-top: 16px; font-size: 18px; line-height: 1.75; color: #5a4a3f; }
.fto-kicker {
  display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 12px; font-weight: 500;
}

/* ─── AT A GLANCE ─── */
.fto-glance {
  max-width: 1080px; width: calc(100% - 64px); margin: -36px auto 0; position: relative;
  background: var(--white); border: 1px solid var(--warm); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(46,36,32,0.07); padding: 36px 40px;
}
.fto-glance h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); color: var(--dark); margin-bottom: 10px; }
.fto-glance > p { font-size: 17px; color: #5a4a3f; max-width: 70ch; }
.fto-glance dl {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px 28px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--rule);
}
.fto-glance dt {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--taupe); font-weight: 600; margin-bottom: 4px;
}
.fto-glance dd { font-size: 16px; color: var(--dark); line-height: 1.5; }
.fto-glance dd strong { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 500; color: var(--brown); display: block; line-height: 1.1; }
.fto-glance .wide { grid-column: 1 / -1; }

/* ─── FAMILIAR ─── */
.fto-familiar { list-style: none; display: grid; gap: 14px; margin: 0 auto; max-width: 720px; }
.fto-familiar li {
  position: relative; padding: 18px 22px 18px 56px; background: var(--white);
  border: 1px solid var(--warm); border-radius: 10px; font-size: 17px; color: var(--text);
}
.fto-familiar li::before {
  content: ''; position: absolute; left: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; border: 2px solid var(--accent);
}
.fto-reassure {
  max-width: 720px; margin: 32px auto 0; text-align: center;
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-style: italic; color: var(--brown); line-height: 1.35;
}

/* ─── DIFFERENT ─── */
.fto-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fto-card {
  background: var(--white); border: 1px solid var(--warm); border-radius: 12px; padding: 30px 28px;
}
.fto-card .num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--sand); color: var(--brown);
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-bottom: 16px;
}
.fto-card h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 10px; }
.fto-card p { font-size: 15.5px; color: #5a4a3f; }
.fto-rtt {
  margin: 40px auto 0; max-width: 820px; padding: 28px 32px;
  background: var(--light); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0;
}
.fto-rtt h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 10px; }
.fto-rtt p { color: #5a4a3f; }
.fto-rtt a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

/* ─── JOURNEY ─── */
.fto-phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: phase; margin-bottom: 48px; }
.fto-phase { position: relative; padding: 26px 22px; border-top: 3px solid var(--accent); background: var(--white); border-radius: 0 0 10px 10px; box-shadow: 0 6px 20px rgba(46,36,32,0.05); }
.fto-phase .range { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.fto-phase h3 { font-size: 1.55rem; color: var(--dark); margin: 6px 0 10px; }
.fto-phase p { font-size: 15px; color: #5a4a3f; }

.fto-curriculum { max-width: 860px; margin: 0 auto; }
.fto-curriculum h3.sub { text-align: center; font-size: 1.6rem; margin-bottom: 18px; color: var(--dark); }
.fto-acc { border: 1px solid var(--warm); border-radius: 10px; background: var(--white); margin-bottom: 10px; }
.fto-acc summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 500; color: var(--dark); line-height: 1.45;
}
.fto-acc summary::-webkit-details-marker { display: none; }
.fto-acc summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--brown); font-weight: 300;
}
.fto-acc[open] summary::after { content: '–'; }
.fto-acc summary .tag { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin-bottom: 2px; }
.fto-acc summary .count { font-size: 13px; color: var(--taupe); font-weight: 400; white-space: nowrap; }
.fto-acc ul { margin: 0; padding: 0 22px 20px 44px; color: #5a4a3f; font-size: 15px; }
.fto-acc li { margin-bottom: 6px; }
.fto-acc .more { list-style: none; margin-left: -22px; font-size: 13px; color: var(--taupe); }

/* ─── INCLUDED ─── */
.fto-included { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; list-style: none; max-width: 880px; margin: 0 auto; }
.fto-check { position: relative; padding-left: 34px; font-size: 16.5px; color: var(--text); line-height: 1.55; }
.fto-check::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brown) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.fto-check strong { color: var(--dark); font-weight: 600; }

.fto-peek { margin-top: 56px; }
.fto-peek h3 { text-align: center; font-size: 1.5rem; color: var(--dark); margin-bottom: 20px; }
.fto-peek ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fto-peek figure { background: var(--white); border: 1px solid var(--warm); border-radius: 10px; overflow: hidden; height: 100%; }
.fto-peek img { width: 100%; height: 150px; object-fit: contain; background: #fff; padding: 6px; }
.fto-peek figcaption { padding: 10px 14px 12px; font-size: 13px; color: #5a4a3f; line-height: 1.45; }

/* ─── OPT-IN ─── */
.fto-optin {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--white); border: 1px solid var(--warm); border-radius: 16px; padding: 44px;
  max-width: 1000px; margin: 0 auto;
}
.fto-optin h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--dark); margin-bottom: 14px; }
.fto-optin p { color: #5a4a3f; }
.fto-form { display: grid; gap: 14px; }
.fto-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--dark); letter-spacing: 0.02em; }
.fto-form input[type="text"], .fto-form input[type="email"] {
  font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid #cdbfb1; border-radius: 8px;
  background: var(--white); color: var(--text);
}
.fto-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.fto-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: #5a4a3f; }
.fto-form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brown); flex-shrink: 0; }
.fto-form button { border: 0; cursor: pointer; font-family: inherit; justify-self: start; }
.fto-form .fine { font-size: 12.5px; color: var(--taupe); }
.fto-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ─── ABOUT ─── */
.fto-about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.fto-about img { width: 100%; height: auto; border-radius: 14px; aspect-ratio: 1630 / 965; object-fit: cover; }
.fto-about h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: var(--dark); margin-bottom: 14px; }
.fto-about p { color: #5a4a3f; margin-bottom: 14px; }
.fto-about a:not(.btn-secondary) { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.fto-creds { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 15px; }
.fto-creds li { padding-left: 18px; position: relative; color: var(--text); }
.fto-creds li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ─── PRICING ─── */
.fto-price {
  max-width: 560px; margin: 0 auto; background: var(--white); border: 2px solid var(--brown);
  border-radius: 18px; padding: 40px 40px 34px; text-align: center; box-shadow: 0 24px 60px rgba(46,36,32,0.10);
}
.fto-price .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.fto-price h3 { font-size: 2rem; color: var(--dark); margin: 6px 0 14px; }
.fto-price .amount { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: var(--brown); line-height: 1.2; }
.fto-price .plan { margin-top: 6px; color: #5a4a3f; font-size: 15px; }
.fto-price ul { list-style: none; text-align: left; display: grid; gap: 10px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.fto-price .btn-primary { display: block; padding: 17px 30px; font-size: 13px; }
.fto-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--taupe); }

/* ─── FAQ ─── */
.fto-faq { max-width: 800px; margin: 0 auto; }
.fto-faq details { border-bottom: 1px solid var(--rule); }
.fto-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; }
.fto-faq summary::-webkit-details-marker { display: none; }
.fto-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--brown); }
.fto-faq details[open] summary::after { content: '–'; }
.fto-faq h3 { font-family: 'Jost', sans-serif; font-size: 17px; font-weight: 600; color: var(--dark); line-height: 1.5; display: inline; }
.fto-faq details p { padding: 0 0 22px; color: #5a4a3f; }
.fto-faq details a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.fto-updated { max-width: 800px; margin: 22px auto 0; font-size: 13px; color: var(--taupe); }

/* ─── FINAL CTA ─── */
.fto-final .hero-actions { justify-content: center; }
.fto-final .btn-secondary { border-color: var(--warm); color: var(--white); }
.fto-final .btn-secondary:hover { background: var(--white); color: var(--dark); }

/* ─── STICKY MOBILE ENROLL BAR ─── */
.fto-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.98); border-top: 1px solid var(--warm);
  box-shadow: 0 -8px 24px rgba(46,36,32,0.08);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.fto-sticky.show { transform: translateY(0); }
.fto-sticky span { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--dark); line-height: 1.2; }
.fto-sticky .btn-primary { padding: 12px 22px; white-space: nowrap; }

/* ─── SIMPLE PAGES (free / welcome / login / enroll) ─── */
.fto-simple { max-width: 680px; margin: 0 auto; padding: 64px 32px 72px; }
.fto-simple h1 { font-size: clamp(2.2rem, 4.4vw, 3.1rem); color: var(--dark); margin-bottom: 16px; }
.fto-simple .lede { font-size: 18px; color: #5a4a3f; margin-bottom: 26px; }
.fto-simple p { margin-bottom: 16px; }
.fto-simple a:not(.btn-primary):not(.btn-secondary) { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.fto-steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 26px 0 30px; }
.fto-steps li {
  counter-increment: step; position: relative; padding: 18px 20px 18px 66px;
  border: 1px solid var(--warm); border-radius: 10px; background: var(--white);
}
.fto-steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--brown); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px;
}
.fto-steps strong { color: var(--dark); }
.fto-box { background: var(--light); border: 1px solid var(--warm); border-radius: 12px; padding: 26px 28px; margin: 26px 0; }
.fto-box h2 { font-size: 1.6rem; margin-bottom: 10px; color: var(--dark); }

/* login */
.fto-auth { max-width: 440px; margin: 0 auto; padding: 56px 24px 72px; }
.fto-auth h1 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--dark); margin-bottom: 8px; }
.fto-auth .sub { color: #5a4a3f; margin-bottom: 26px; }
.fto-auth form { display: grid; gap: 16px; }
.fto-auth form[hidden], .fto-auth [hidden] { display: none !important; }
.fto-auth label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--dark); }
.fto-auth input {
  font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid #cdbfb1; border-radius: 8px; color: var(--text);
}
.fto-auth input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.fto-auth button.btn-primary { border: 0; cursor: pointer; font-family: inherit; width: 100%; padding: 16px; }
.fto-auth button:disabled { opacity: 0.6; cursor: default; }
.fto-auth .link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--brown); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }
.fto-auth .help { margin-top: 28px; font-size: 14px; color: #5a4a3f; }
.fto-auth .help a { color: var(--brown); text-decoration: underline; }
.fto-msg { padding: 12px 16px; border-radius: 8px; font-size: 14.5px; margin-bottom: 18px; }
.fto-msg.error { background: #fbeceb; color: #8a2a20; border: 1px solid #f0c9c4; }
.fto-msg.ok { background: #eef6ee; color: #2f5a32; border: 1px solid #cfe3cf; }
.fto-msg.info { background: var(--light); color: var(--text); border: 1px solid var(--warm); }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .fto-hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .fto-hero-figure { max-width: 560px; }
  .fto-cards, .fto-phases { grid-template-columns: 1fr 1fr; }
  .fto-peek ul { grid-template-columns: 1fr 1fr; }
  .fto-optin, .fto-about { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .fto-sticky { display: flex; }
  body.fto-has-sticky { padding-bottom: 76px; }
}
@media (max-width: 620px) {
  .fto-hero-inner { padding: 32px 20px 56px; }
  .fto-section { padding: 56px 20px; }
  .fto-glance { width: calc(100% - 32px); margin-top: -28px; padding: 26px 22px; }
  .fto-cards, .fto-phases, .fto-included { grid-template-columns: 1fr; }
  .fto-optin { padding: 28px 22px; }
  .fto-price { padding: 32px 24px 28px; }
  .fto-rtt { padding: 22px 20px; }
  .fto-simple { padding: 44px 20px 56px; }
  .fto-acc summary { padding-left: 18px; }
  .fto-acc ul { padding-left: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .fto-sticky { transition: none; }
}

/* In-page links (#pricing, #free-worksheet…) land below the sticky nav. */
.fto-section, .fto-glance { scroll-margin-top: 84px; }
