/* Therapy with Cassidy prototype. One shared stylesheet for all five pages. */
:root {
  --paper: #FDFCFA;
  --ink: #191621;
  --ink-soft: #4a4553;
  --line: #e7e3ea;
  --mauve: #7A4870;
  --flame: #C75B2E;
  --teal: #33908A;
  --accent: var(--mauve);
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.accent-mauve { --accent: var(--mauve); }
body.accent-flame { --accent: var(--flame); }
body.accent-teal { --accent: var(--teal); }

*, *::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(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 5.2vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: color-mix(in srgb, var(--accent) 82%, black); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; position: relative; }
.section.tight { padding: 36px 0; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.125rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 8px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-nav ul { list-style: none; margin: 0; padding: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9375rem; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: color-mix(in srgb, var(--accent) 82%, black); text-decoration: underline; }
.header-cta { padding: 10px 16px; font-size: 1rem; }
.site-header .header-cta-wide { display: none; }
@media (min-width: 960px) {
  .site-header .wrap { display: flex; align-items: center; gap: 28px; }
  .header-row { padding: 18px 0; flex: 0 0 auto; }
  .site-nav { flex: 1 1 auto; }
  .site-nav ul { padding: 0; gap: 22px; }
  .site-header .header-row .header-cta { display: none; }
  .site-header .header-cta-wide { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  font-family: var(--sans); font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 85%, black); border-color: color-mix(in srgb, var(--accent) 85%, black); color: #fff; }
.btn.ghost { background: transparent; color: color-mix(in srgb, var(--accent) 82%, black); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); color: color-mix(in srgb, var(--accent) 82%, black); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.text-link { font-weight: 600; }
.next-step { font-size: .9375rem; color: var(--ink-soft); margin: 10px 0 0; }

/* Five-dot motif and corner arcs */
.dots { display: inline-flex; gap: 6px; margin: 0 0 14px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dots span:nth-child(2) { opacity: .8; } .dots span:nth-child(3) { opacity: .6; }
.dots span:nth-child(4) { opacity: .45; } .dots span:nth-child(5) { opacity: .3; }
.arcs { position: relative; overflow: hidden; }
.arcs::before, .arcs::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 28px solid var(--accent); opacity: .14;
}
.arcs::before { width: 340px; height: 340px; top: -190px; right: -170px; }
.arcs::after { width: 260px; height: 260px; bottom: -170px; left: -150px; }
.arcs > * { position: relative; z-index: 1; }

/* Hero */
.hero { padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.answer { font-size: 1rem; color: var(--ink); border-left: 4px solid var(--accent); padding: 2px 0 2px 14px; margin: 0 0 14px; }
.hero .lead { margin-bottom: 22px; }
.hero-media img, .hero-media .photo-needed { border-radius: var(--radius); width: 100%; }
.hero-media img { object-fit: cover; max-height: 640px; }
@media (min-width: 860px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* Proof bar */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 5%, var(--paper)); }
.proof ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-weight: 600; font-size: .9375rem; text-align: center; }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

/* Cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: repeat(2, 1fr); } .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four, .grid.five { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid.four { grid-template-columns: repeat(4, 1fr); } .grid.five { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.card h3 { margin-bottom: .25em; }
.card p { margin: 0 0 .75em; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card.door { border-top: 6px solid var(--accent); }
.card.door.mauve { --accent: var(--mauve); } .card.door.flame { --accent: var(--flame); } .card.door.teal { --accent: var(--teal); }
.card.featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: -13px; left: 20px; background: var(--accent); color: #fff; font-size: .8125rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 4px 0 8px; }
.price small { display: block; font-family: var(--sans); font-size: .9375rem; font-weight: 500; color: var(--ink-soft); }
.meta { font-size: .9375rem; color: var(--ink-soft); }
.label { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }

/* Lists and steps */
.checks { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; text-align: left; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }
.fit { display: grid; gap: 20px; }
@media (min-width: 720px) { .fit { grid-template-columns: 1fr 1fr; } }

/* Strips */
.strip { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .strip { grid-template-columns: 1fr 1.3fr; gap: 48px; } .strip.flip > :first-child { order: 2; } }
.strip img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.strip .cover { max-width: 260px; margin: 0 auto; border-radius: 0; }
.tint { background: color-mix(in srgb, var(--accent) 6%, var(--paper)); }

/* Placeholders */
.photo-needed {
  background: var(--accent); color: #fff; border-radius: var(--radius);
  min-height: 280px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 24px; font-weight: 600;
}
.photo-needed strong { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.verify {
  display: inline; background: #fff6d6; color: #5a4300; border: 1px dashed #b38a00;
  border-radius: 6px; padding: 1px 6px; font-size: .875em; font-weight: 600; font-family: var(--sans);
}
.placeholder-block { border: 2px dashed color-mix(in srgb, var(--accent) 60%, var(--paper)); border-radius: var(--radius); padding: 28px; text-align: center; }

/* Final band */
.band { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); text-align: center; padding: 64px 0; }
.band .btn-row { justify-content: center; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq h3 { font-size: 1.125rem; margin: 28px 0 6px; }
.faq p { margin: 0; }

/* Forms */
form { display: grid; gap: 14px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 640px; margin: 0 auto; text-align: left; }
label { font-weight: 600; display: grid; gap: 6px; }
input[type="text"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c9c3cf; border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%;
}
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 6px 0; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
@media (min-width: 720px) { .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .form-grid .full { grid-column: 1 / -1; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .entity { color: var(--ink-soft); }
.legal { margin-top: 32px; color: var(--ink-soft); font-size: .875rem; }

/* Mobile hero: keep the primary CTA above the fold on a phone */
@media (max-width: 859px) {
  .header-row { padding-top: 10px; padding-bottom: 6px; }
  .logo { font-size: 1rem; }
  .header-cta { padding: 8px 14px; font-size: .9375rem; min-height: 40px; }
  .site-nav ul { padding-bottom: 8px; gap: 2px 14px; font-size: .875rem; }
  .hero { padding: 16px 0 32px; }
  .hero .dots { margin-bottom: 8px; }
  .hero .eyebrow { margin-bottom: 6px; font-size: .8125rem; }
  .hero h1 { font-size: 1.625rem; margin-bottom: .4em; }
  .hero .answer { margin-bottom: 10px; line-height: 1.5; }
  .hero .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 14px; }
}

/* Tables (privacy policy) */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 0 0 1.5em; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: color-mix(in srgb, var(--accent) 6%, var(--paper)); }

/* Long URLs wrap instead of widening the page */
main p, main li, main td, main a { overflow-wrap: anywhere; }

/* Spacing system: one rhythm for every section */
.section .wrap > h2, .band .wrap > h2 { margin-bottom: 16px; }
.section .wrap > h2 + p { margin-top: 0; }
.wrap > .grid, .wrap > .steps, .wrap > .fit, .wrap > .form-card, .wrap > .placeholder-block, .wrap > .checks { margin-top: 28px; }
.wrap > .btn-row { margin-top: 24px; }
.wrap > p.center { margin-top: 20px; }
.wrap > .meta.center { margin-top: 0; }
/* Two sections in a row with the same background: no doubled gap */
.section:not(.tint) + .section:not(.tint), .section.tint + .section.tint { padding-top: 0; }
@media (min-width: 860px) {
  .section { padding: 80px 0; }
  .section.tight { padding: 48px 0; }
  .band { padding: 88px 0; }
  .section:not(.tint) + .section:not(.tint), .section.tint + .section.tint { padding-top: 0; }
}

/* Scorecard */
.score-area { margin: 20px 0 0; }
.score-q { padding: 12px 0; border-bottom: 1px solid var(--line); }
.score-q:last-child { border-bottom: 0; }
.score-q p { margin: 0 0 6px; font-weight: 600; }
.score-opts { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.score-opts .check { margin: 0; }
section[hidden] { display: none; }

/* AI prompts */
.prompt { white-space: pre-wrap; overflow-wrap: anywhere; background: color-mix(in srgb, var(--accent) 6%, var(--paper)); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font: 0.9375rem/1.55 ui-monospace, "SF Mono", Menlo, monospace; margin: 4px 0 8px; }

/* ================= Brand system pass (landing-page skill, locked 2026) ================= */
:root { --hairline: #e6e1ea; --ink-soft: #4a4553; }
/* Buttons: 9px corners, Inter 600, ghost = ink outline */
.btn { border-radius: 9px; font-size: 1.05rem; font-weight: 600; padding: 14px 28px; box-shadow: 0 1px 2px rgba(25,22,33,.08); transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.header-cta { padding: 10px 18px; }
/* Five-dot motif: one solid, four rings */
.dots span { width: 10px; height: 10px; background: transparent; border: 2px solid var(--accent); opacity: 1 !important; }
.dots span:first-child { background: var(--accent); }
/* Contour arcs: thin concentric strokes, accent at 13% */
.arcs::before, .arcs::after {
  border: 0; border-radius: 0; opacity: .13; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='280' cy='280' r='270'/%3E%3Ccircle cx='280' cy='280' r='228'/%3E%3Ccircle cx='280' cy='280' r='186'/%3E%3Ccircle cx='280' cy='280' r='144'/%3E%3Ccircle cx='280' cy='280' r='102'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='280' cy='280' r='270'/%3E%3Ccircle cx='280' cy='280' r='228'/%3E%3Ccircle cx='280' cy='280' r='186'/%3E%3Ccircle cx='280' cy='280' r='144'/%3E%3Ccircle cx='280' cy='280' r='102'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.arcs::before { width: 560px; height: 560px; top: -200px; right: -180px; }
.arcs::after { width: 420px; height: 420px; bottom: -230px; left: -200px; }
/* Hero photo: hairline frame and soft shadow */
.hero-media img { border: 1px solid var(--hairline); box-shadow: 0 24px 60px -30px rgba(25,22,33,.35); }
/* Summary under the H1: reads as body text, not a callout */
.answer { border-left: 0; padding: 0; font-size: 1.0625rem; color: var(--ink-soft); }
/* Bullets: short accent dash */
.checks li::before { width: 12px; height: 2px; border-radius: 0; top: .78em; left: 2px; }
/* Steps: ringed 01 02 03 */
.steps li::before { content: counter(step, decimal-leading-zero); background: transparent; color: var(--ink); border: 2px solid var(--accent); font-size: .85rem; width: 34px; height: 34px; }
/* Cards: paper, hairline, no heavy border */
.card { background: var(--paper); border-color: var(--hairline); }
.tint .card { background: #fff; }
.card.door { border-top-width: 4px; }
/* Testimonials: accent edge, Fraunces voice */
.card.quote { border-left: 4px solid var(--accent); border-radius: 12px; }
.card.quote > p:first-child { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.55; }
/* Proof bar: hairline separators instead of dots */
.proof { background: var(--paper); }
.proof li::before { display: none; }
@media (min-width: 860px) { .proof li + li { border-left: 1px solid var(--hairline); padding-left: 28px; } }
figure.card.quote { margin: 0; }
figure.card.quote blockquote { margin: 0 0 8px; }
figure.card.quote blockquote p { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.55; margin: 0; }
.card.quote h3 { font-size: 1.0625rem; }
.card.quote { text-align: left; }

/* Challenge card: March signup tucked under the main button */
.march { margin-top: 14px; font-size: 0.9375rem; }
.march summary { cursor: pointer; color: color-mix(in srgb, var(--accent) 82%, black); text-decoration: underline; text-underline-offset: 3px; }
.march form { margin-top: 10px; display: grid; gap: 10px; }
.card #waitlist form { display: grid; gap: 10px; margin-top: 8px; }
