/* presoldpractice.com shared styles.
   Palette comes from the operating room and the paper chart: drape green, porcelain, brass.
   Type: Libre Caslon Text (headings, the way a medical journal sets them) and Hanken Grotesk (body). */
:root {
  --porcelain: #f4f6f3;
  --white: #ffffff;
  --ink: #13201b;
  --muted: #4d5c56;
  --green: #1d4a3f;
  --green-deep: #153a31;
  --mist: #dbe6df;
  --line: #c9d5cd;
  --brass: #8a6418;
  --brass-light: #e0bd72;
  --on-green: #eef4f0;
  --on-green-muted: #b9cdc3;
  --serif: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.18; margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 0.6rem; }
p { margin: 0 0 1.1rem; max-width: var(--measure); }
ul, ol { max-width: var(--measure); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.band { padding: 96px 0; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-green { background: var(--green); color: var(--on-green); }
.band-green h2, .band-green h3 { color: #fff; }
.band-green p, .band-green li { color: var(--on-green-muted); }
.band-green a { color: var(--brass-light); }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--muted); }
.band-green .lead { color: var(--on-green); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 4px; font-family: var(--sans); font-weight: 600;
  font-size: 1.05rem; text-decoration: none; background: var(--green); color: #fff; border: 1.5px solid var(--green);
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn-quiet { background: transparent; color: var(--green); }
.btn-quiet:hover { background: var(--mist); color: var(--green-deep); }
.band-green .btn { background: var(--brass-light); border-color: var(--brass-light); color: var(--ink); }
.band-green .btn:hover { background: #ecd08f; border-color: #ecd08f; color: var(--ink); }

/* Navigation */
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(244, 246, 243, 0.96); border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-toggle-label { display: none; cursor: pointer; font-weight: 600; padding: 8px 0; }
.nav-links { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; max-width: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 1rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .nav-cta { color: #fff; background: var(--green); padding: 10px 18px; border-radius: 4px; font-weight: 600; }
.nav-links .nav-cta:hover { background: var(--green-deep); color: #fff; }

/* Banner: the name, and one week of seven videos */
.banner { padding: 44px 0; background: var(--green); color: var(--on-green); }
.banner-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.banner p { max-width: none; }
.banner-name { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; color: #fff; margin: 0; }
.banner-line { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--brass-light); margin: 12px 0 0; }
.banner-by { font-size: 1rem; color: var(--on-green-muted); margin: 18px 0 0; }
.banner-week { justify-self: end; width: 100%; max-width: 500px; }
.banner-cap { font-size: 0.95rem; color: var(--brass-light); margin: 0 0 12px; }
.banner-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; max-width: none; }
.banner-days .tile { display: block; aspect-ratio: 4 / 7; border-radius: 9px; background: #255b4e; border: 1px solid #3d7466; }
.banner-days svg { display: block; width: 100%; height: 100%; }
.banner-days path { fill: var(--on-green-muted); }
.banner-days rect { fill: #3d7466; }
.banner-days .day { display: block; text-align: center; font-size: 0.9rem; color: var(--on-green-muted); margin-top: 8px; }
.banner-days .is-first .tile { background: var(--brass-light); border-color: var(--brass-light); }
.banner-days .is-first path, .banner-days .is-first rect { fill: var(--green-deep); }
.banner-days .is-first .day { color: var(--brass-light); }

/* Hero: the patient's sentence is the headline */
.hero { padding: 104px 0 96px; }
.hero h1 { font-style: italic; max-width: 14ch; }
.hero-note { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin: 1.5rem 0 0; max-width: 46ch; }
.hero-rule { width: 72px; height: 2px; background: var(--brass); border: 0; margin: 2.5rem 0; }
.hero .lead { color: var(--ink); max-width: 56ch; }
.byline { margin-top: 2.25rem; font-size: 1rem; color: var(--muted); }
.page-hero { padding: 80px 0 64px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); }
.page-hero .lead { margin-top: 1.25rem; }

/* The sample week, set like a page from the appointment book */
.week { margin: 2.5rem 0 3rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.week-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 24px; background: var(--green); color: var(--on-green); }
.week-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: #fff; }
.week-head span { font-size: 0.95rem; color: var(--on-green-muted); }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); max-width: none; }
.days li { padding: 18px 16px 22px; border-right: 1px solid var(--line); min-height: 172px; }
.days li:last-child { border-right: 0; }
.day-name { display: block; font-weight: 700; font-size: 0.9rem; color: var(--brass); margin-bottom: 10px; }
.day-title { display: block; font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; }
.week-extra { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: var(--porcelain); }
.week-extra div { padding: 18px 24px; border-right: 1px solid var(--line); font-size: 0.98rem; line-height: 1.45; }
.week-extra div:last-child { border-right: 0; }
.week-extra strong { display: block; font-size: 0.9rem; color: var(--brass); margin-bottom: 4px; }
.week-caption { font-size: 0.98rem; color: var(--muted); margin-top: -2rem; margin-bottom: 3rem; }

/* Three plain columns of explanation */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols p { font-size: 1.05rem; color: var(--muted); }

/* Setup and monthly lists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 2.5rem; }
.split h3 { padding-bottom: 14px; border-bottom: 2px solid var(--brass); margin-bottom: 0; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.plain strong { display: block; }
.plain span { color: var(--muted); font-size: 1.02rem; }
.band-green .plain li { border-bottom-color: #2f5f52; }
.band-green .plain strong { color: #fff; }
.band-green .plain span { color: var(--on-green-muted); }

/* Text beside a narrower aside */
.pair { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; }
.aside { border-left: 2px solid var(--brass); padding-left: 28px; }
.aside h3 { margin-bottom: 1rem; }
.band-green .aside { border-left-color: var(--brass-light); }

/* Proof: portrait and first-person account */
.proof { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.proof img { border-radius: 4px; border: 1px solid var(--line); object-fit: cover; object-position: center 18%; aspect-ratio: 3 / 4; width: 100%; }

/* Report: an ordered list, because the order is the point */
.ranked { counter-reset: rank; list-style: none; margin: 2rem 0 1.75rem; padding: 0; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(rank); font-family: var(--serif); font-size: 1.4rem; color: var(--brass); }

/* Questions */
.faq { margin-top: 2rem; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-family: var(--serif); font-size: 1.2rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--sans); font-size: 1.5rem; color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* Booking calendar and embedded form */
.cal { width: 100%; min-height: 780px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.form-frame { width: 100%; min-height: 470px; border: 0; background: transparent; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }

/* Prose pages (legal, AI statement, thank-you) */
.prose h2 { font-size: 1.55rem; margin-top: 2.5rem; margin-bottom: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose .small { font-size: 0.98rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--on-green-muted); padding: 56px 0 40px; font-size: 1rem; }
.site-footer a { color: var(--on-green); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand { font-family: var(--serif); color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 36px; align-content: start; }
.fineprint { border-top: 1px solid #2a5548; margin: 32px 0 0; padding-top: 24px; font-size: 0.92rem; line-height: 1.6; max-width: none; }

/* Tablet and phone */
@media (max-width: 980px) {
  .days { grid-template-columns: 1fr; }
  .days li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; min-height: 0; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .days li:last-child { border-bottom: 0; }
  .day-name { margin-bottom: 0; }
  .week-extra { grid-template-columns: 1fr; }
  .week-extra div { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 20px; }
  .week-extra div:last-child { border-bottom: 0; }
  .week-head { padding: 16px 20px; }
  .cols { grid-template-columns: 1fr; gap: 8px; }
  .split, .pair { grid-template-columns: 1fr; gap: 40px; }
  .proof { grid-template-columns: 1fr; gap: 32px; }
  .proof img { max-width: 260px; }
}
@media (max-width: 820px) {
  .banner { padding: 30px 0; }
  .banner-grid { grid-template-columns: 1fr; gap: 24px; }
  .banner-week { justify-self: start; }
  .banner-days { gap: 6px; }
  .banner-days .tile { border-radius: 7px; }
  .banner-days .day { font-size: 0.82rem; margin-top: 6px; }
  .band { padding: 68px 0; }
  .hero { padding: 64px 0 60px; }
  .nav-toggle-label { display: block; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 0 18px; }
  .nav-links a { display: block; padding: 10px 0; }
  .nav-links .nav-cta { margin-top: 8px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--brass); outline-offset: 3px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  body { font-size: 1.0625rem; }
  .lead { font-size: 1.18rem; }
  .btn { width: 100%; text-align: center; }
  .panel { padding: 22px; }
  .footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
