:root {
  --ink: #1C2B2A;
  --ink-soft: #3E4F4B;
  --ink-muted: #4A5B57;
  --ground: #F3F5F1;
  --white: #FFFFFF;
  --sage: #E4EDE7;
  --line: #DCE2DA;
  --accent: #2F5D50;
  --accent-dark: #1E3F36;
  --night: #1C2B2A;
  --night-text: #C9D4CF;
  --mint: #9CC7B5;
  --display: 'Bricolage Grotesque', Figtree, 'Segoe UI', system-ui, sans-serif;
  --body: Figtree, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ground);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.section { padding: 88px 24px; }
.section.white { background: var(--white); }
.section.dark { background: var(--night); color: var(--ground); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.soft { color: var(--ink-soft); }
.muted { color: var(--ink-muted); font-size: 15px; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

.display { font-family: var(--display); font-weight: 700; }
h1.display { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
h2.display { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
h3.card-title { font-family: var(--display); font-size: 28px; }
h3.small-title { font-size: 20px; font-weight: 600; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Header */
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); padding: 0 24px; }
.site-nav { padding: 18px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; }
.brand span { font-weight: 500; color: var(--ink-muted); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 16px; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 18px; text-decoration: none; line-height: 1.2;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.nav-links a.btn-primary { color: var(--white); padding: 10px 20px; }
.nav-links a.btn-primary:hover { text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero-section { padding: 0 24px; }
.hero { padding: 88px 0 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-lead { font-size: 20px; color: var(--ink-soft); max-width: 600px; }
.hero-art { flex: 1 1 300px; min-width: 0; border-radius: 28px; overflow: hidden; line-height: 0; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.card { border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card.ground { background: var(--ground); }
.card.sage { background: var(--sage); }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.tile p { color: var(--ink-soft); font-size: 16px; }
.label { font-weight: 600; }

/* What is CBT */
.explain { background: var(--sage); border-radius: 24px; padding: 32px 36px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.explain-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cycle { flex: 1 1 240px; max-width: 300px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.cycle svg { width: 100%; height: auto; display: block; }
.cycle figcaption { font-size: 14px; color: var(--ink-muted); text-align: center; }

/* Grouped "help with" lists */
.help-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px 24px; }
.help-list dt { font-weight: 600; color: var(--ink); }
.help-list dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 16px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* Fees (calm list) */
.fees-layout { display: flex; flex-direction: column; gap: 32px; max-width: 820px; }
.fee-list { list-style: none; margin: 0; padding: 8px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.fee-list li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fee-list li:last-child { border-bottom: 0; }
.fee-name { font-weight: 600; font-size: 18px; }
.fee-desc { color: var(--ink-soft); font-size: 16px; }
.fee-price { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* Therapy / coaching panels */
.panel { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.panel.ground { background: var(--ground); }
.panel.sage { background: var(--sage); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.panel-title { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.panel-meta { flex: 0 0 auto; font-size: 15px; color: var(--ink-muted); text-align: right; line-height: 1.5; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topics.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.topic { background: var(--white); border-radius: 18px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.topic-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); display: inline-flex; align-items: center; justify-content: center; }
.panel.sage .topic-icon { background: var(--ground); }
.topic-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topic-name { font-weight: 600; line-height: 1.35; }
.topic-text { color: var(--ink-soft); font-size: 15px; margin-top: 4px; line-height: 1.5; }
@media (max-width: 1000px) { .topics, .topics.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .topics, .topics.four { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; border-radius: 24px; }
  .panel-meta { text-align: left; }
}

/* What is CBT */
.point { background: var(--white); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.point-num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: 0.06em; }
.point h3 { font-size: 19px; font-weight: 600; }
.point p:last-child { color: var(--ink-soft); font-size: 16px; }
.skills { display: flex; flex-direction: column; gap: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--sage); color: var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 15px; }

.section.white .tile { background: var(--ground); border-color: transparent; }

/* Booking form */
.form { display: flex; flex-direction: column; gap: 28px; }
.form fieldset { border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 24px 28px 28px; margin: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form legend { font-family: var(--display); font-weight: 700; font-size: 20px; padding: 0 8px; margin-left: -8px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label-like { font-weight: 600; font-size: 15px; color: var(--ink); }
.hint { font-size: 14px; color: var(--ink-muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #6B7C77; border-radius: 12px;
  background: var(--white); font: inherit; color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--ground); font-size: 16px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--sage); }
.choice input, .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.check input { margin-top: 3px; }
.form button { border: 0; cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -9999px; }
.urgent { border: 1px solid var(--line); background: var(--sage); border-radius: 16px; padding: 18px 22px; font-size: 16px; color: var(--ink-soft); }

/* How it works */
.step-num { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--mint); line-height: 1.2; }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { color: var(--night-text); }
.step { display: flex; flex-direction: column; gap: 10px; }

/* Fees */
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.price-card h3 { font-size: 19px; font-weight: 600; }
.price { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1.2; }
.price-card p:last-child { color: var(--ink-soft); font-size: 16px; }
.price-card.featured { background: var(--accent); color: var(--white); border-color: var(--accent); }
.price-card.featured p:last-child { color: var(--white); }

/* About */
.quals { background: var(--ground); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.quals p:last-child { color: var(--ink-soft); font-size: 16px; }

/* Booking */
.book-box { max-width: 880px; margin: 0 auto; background: var(--sage); border-radius: 32px; padding: clamp(28px, 6vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.book-steps { margin: 0; padding-left: 22px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 8px; }

/* Footer */
.site-footer { background: var(--night); color: var(--night-text); padding: 56px 24px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 28px; }
.crisis { border: 1px solid #4E605B; border-radius: 16px; padding: 20px 24px; color: var(--ground); }
.crisis ul { margin: 10px 0 0; padding-left: 20px; line-height: 1.8; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--night-text); }
.site-footer a:hover { color: var(--white); }

/* Legal pages */
.legal { padding: 64px 24px 88px; }
.legal h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin-bottom: 8px; }
.legal h2 { font-family: var(--display); font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); }
.table-scroll { overflow-x: auto; }
.updated { color: var(--ink-muted); font-size: 15px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 16px; }
  .hero-section { padding: 0 16px; }
  .hero { padding: 48px 0 40px; gap: 32px; }
  .hero-art { flex: 1 1 100%; max-width: 280px; margin: 0 auto; }
  .site-header { padding: 0 16px; }
  .site-nav { padding: 16px 0; }
  .card { padding: 28px 24px; }
  .legal { padding: 48px 16px 64px; }
  .site-footer { padding: 48px 16px; }
  .btn { width: 100%; }
  .explain { padding: 24px; }
  .fee-list { padding: 4px 20px; }
  .fee-list li { gap: 16px; }
  .nav-links a.btn-primary { width: auto; }
}
