/* /coaching/demo/sports-psychology/ — the ninth deep demo.
 *
 * A sport psychology practice. The identity is QUIET: a warm near-white, one
 * muted indigo, a single typeface, almost no borders, and a narrow centred
 * measure that widens only for the two things worth looking at.
 *
 * One typeface is a deliberate choice rather than a saving. Every other demo
 * here pairs a display face with a mono for its figures, because those
 * businesses are selling measurement. This one is selling somewhere safe to
 * say something out loud, and a page that looks like a dashboard is the wrong
 * room for that.
 *
 * See core/demo_sp.py: the confidentiality table is the product, the scope
 * page draws the clinical boundary in public, and the whole thing is arranged
 * around the fact that the barrier is the booking, not the fee.
 *
 * Constraints, as everywhere: CSP `default-src 'none'; style-src 'self';
 * font-src 'self'`. No inline styles, no CDN, no external font, no JavaScript,
 * no raster images.
 */

@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-400-latin.e4c9b081863a.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-400-latin-ext.d0a5d26ee7e7.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-500-latin.e4c9b081863a.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-500-latin-ext.d0a5d26ee7e7.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-600-latin.e4c9b081863a.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-600-latin-ext.d0a5d26ee7e7.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-700-latin.e4c9b081863a.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PublicSans"; src: url("/static/fonts/PublicSans-700-latin-ext.d0a5d26ee7e7.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #fbfaf8;
  --panel: #f4f2ee;
  --panel-2: #ffffff;
  --ink: #1c1b22;
  --ink-2: #45424f;
  --mute: #726e7d;
  --rule: #e6e2db;
  --indigo: #4b4a8f;
  --indigo-d: #34336a;
  --indigo-w: #eeedf7;
  --sand: #8a6320;
  --sand-w: #f8f1e3;
  --sans: "PublicSans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.75 var(--sans);
  font-synthesis-weight: none;
}
img, svg { max-width: 100%; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-d); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.021em; line-height: 1.2; }
h1 { font-size: clamp(1.95rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.006em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.rw { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
/* The reading column, and the two widths allowed to escape it. */
.col { width: min(660px, 100%); margin: 0 auto; }
.wide { width: min(940px, 100%); margin: 0 auto; }
.mt { margin-top: 24px; }
.sub { color: var(--mute); font-size: 1.02rem; }
.kicker { font-size: 0.83rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 14px; font-weight: 600; }
.centred { text-align: center; }
.centred .sub { margin-left: auto; margin-right: auto; max-width: 54ch; }

/* --- The example ribbon ------------------------------------------------- */
.ribbon { background: var(--ink); color: #d8d5de; font-size: 0.83rem; }
.ribbon.is-personal { background: var(--indigo-d); }
.ribbon .rw { display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  padding: 9px 0; }
.ribbon-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.28); padding: 2px 8px; border-radius: 999px; }
.ribbon-text { color: #b0acbb; }
.ribbon-cta { color: #fff; font-weight: 600; margin-left: auto; text-decoration: none; }
.ribbon-cta:hover { text-decoration: underline; color: #fff; }

/* --- Masthead ----------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251,250,248,0.96);
  border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(6px); }
.top-in { display: flex; align-items: center; gap: 26px; padding: 14px 0; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.logo-n { font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.logo-r { font-size: 0.72rem; color: var(--mute); }
.menu { display: flex; gap: 20px; flex-wrap: wrap; }
.menu a { color: var(--ink-2); text-decoration: none; font-size: 0.93rem;
  font-weight: 500; }
.menu a:hover, .menu a.on { color: var(--indigo); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 4px; }
.lang { font-size: 0.76rem; padding: 4px 7px; border-radius: 999px;
  color: var(--mute); text-decoration: none; }
.lang abbr { text-decoration: none; border: 0; }
.lang:hover { background: var(--panel); color: var(--ink); }
.lang.on { background: var(--ink); color: var(--paper); }

/* --- Buttons ------------------------------------------------------------ */
.cta { display: inline-block; background: var(--indigo); color: #fff; font-weight: 600;
  font-size: 0.96rem; padding: 12px 24px; border-radius: 999px;
  text-decoration: none; border: 1px solid var(--indigo); }
.cta:hover { background: var(--indigo-d); border-color: var(--indigo-d); color: #fff; }
.cta-sm { padding: 8px 16px; font-size: 0.87rem; }
.cta-ghost { background: transparent; color: var(--indigo); border-color: var(--rule); }
.cta-ghost:hover { background: var(--indigo-w); color: var(--indigo-d); }
.cta-block { display: block; text-align: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.centred .btn-row { justify-content: center; }
.cta-note { font-size: 0.88rem; color: var(--mute); margin-top: 12px; }

/* --- Sections ----------------------------------------------------------- */
.hero { padding: 70px 0 44px; }
.hero h1 { max-width: 18ch; margin: 0 auto 18px; }
.hero .sub { font-size: 1.1rem; color: var(--ink-2); }
.sec { padding: 52px 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec.tint { background: var(--panel); border-top: 0; }
.sec-h { margin-bottom: 22px; }
.prose { color: var(--ink-2); }
.prose.lead { font-size: 1.1rem; color: var(--ink); }
.more-link { font-weight: 600; text-decoration: none; font-size: 0.94rem; }
.more-link:hover { text-decoration: underline; }

.stats { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 30px; }
.stats div { background: var(--panel-2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 14px 20px; text-align: center; min-width: 130px; }
.stats b { display: block; font-size: 1.2rem; }
.stats span { font-size: 0.8rem; color: var(--mute); }

/* --- The confidentiality pair. The centrepiece. ------------------------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border-radius: 16px; padding: 24px 26px; }
.panel h3 { margin-bottom: 14px; }
.panel.told { background: var(--panel-2); border: 1px solid var(--rule); }
.panel.never { background: var(--indigo); color: #fff; }
.panel.never h3 { color: #fff; }
.panel.never li { color: #e5e4f2; }
.told dl { margin: 0; }
.told dt { font-weight: 600; margin-top: 14px; }
.told dt:first-child { margin-top: 0; }
.told dd { margin: 4px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.never ul { list-style: none; margin: 0; padding: 0; }
.never li { position: relative; padding-left: 26px; margin-bottom: 11px;
  font-size: 0.98rem; }
.never li::before { content: ""; position: absolute; left: 2px; top: 12px;
  width: 12px; height: 2px; background: rgba(255,255,255,0.55); }

.limits { background: var(--sand-w); border-radius: 16px; padding: 24px 26px; }
.limits h3 { color: var(--sand); margin-bottom: 10px; }
.limits dl { margin: 18px 0 0; }
.limits dt { font-weight: 600; margin-top: 16px; }
.limits dt:first-child { margin-top: 0; }
.limits dd { margin: 4px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.note { background: var(--panel); border-radius: 16px; padding: 22px 26px; }
.note h3 { margin-bottom: 8px; }
.note p { color: var(--ink-2); }

/* --- Scope lists -------------------------------------------------------- */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.list li:last-child { border-bottom: 0; }
.list b { display: block; margin-bottom: 3px; }
.list span { color: var(--ink-2); font-size: 0.97rem; }
.list.plain li { padding: 9px 0; border-bottom: 0; color: var(--ink-2); }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 14px; }
.badge.mine { background: var(--indigo-w); color: var(--indigo-d); }
.badge.alongside { background: var(--sand-w); color: var(--sand); }
.badge.refer { background: var(--panel); color: var(--mute); }
.badge.notme { background: var(--ink); color: var(--paper); }

/* --- Charts ------------------------------------------------------------- */
.chart { margin: 0; }
.ch-h { font-size: 0.83rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); font-weight: 600; margin-bottom: 14px; }
.ch-svg { display: block; width: 100%; height: auto; }
.ch-cap { font-size: 0.9rem; color: var(--mute); margin: 14px 0 0; }
.bar-a { fill: var(--indigo); }
.bar-a.is-soft { fill: #a9a8cf; }
.bar-l { fill: var(--ink-2); font: 500 13px "PublicSans", sans-serif; }
.bar-v { fill: var(--mute); font: 600 12px "PublicSans", sans-serif; }
.ch-axis { stroke: var(--rule); stroke-width: 1.5; }
.tl-axis { stroke: var(--rule); stroke-width: 2; }
.tl-stalk { stroke: var(--rule); stroke-width: 2; }
.tl-dot { fill: var(--paper); stroke: var(--indigo); stroke-width: 2.5; }
.tl-dot.is-key { fill: var(--indigo); }
.tl-l { fill: var(--ink); font: 600 13px "PublicSans", sans-serif; }
.tl-d { fill: var(--mute); font: 400 11.5px "PublicSans", sans-serif; }

/* --- Cards -------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--panel-2); border: 1px solid var(--rule); border-radius: 16px;
  padding: 24px; text-decoration: none; color: inherit; display: flex;
  flex-direction: column; gap: 10px; }
.card:hover { border-color: var(--indigo); }
.card h3 { color: var(--ink); }
.card p { color: var(--ink-2); font-size: 0.96rem; }
.card .terms { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule);
  font-size: 0.86rem; color: var(--mute); display: flex; gap: 12px; flex-wrap: wrap; }
.card .terms b { color: var(--ink); font-weight: 600; }

/* --- Writing ------------------------------------------------------------ */
.arts { margin: 0; }
.art { display: block; text-decoration: none; color: inherit; padding: 24px 0;
  border-bottom: 1px solid var(--rule); }
.art:hover h3 { color: var(--indigo); }
.art .meta { font-size: 0.83rem; color: var(--mute); margin-bottom: 6px; }
.art p { color: var(--ink-2); font-size: 0.97rem; margin: 8px 0 0; }

/* --- FAQ and form ------------------------------------------------------- */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 600; list-style: none;
  display: flex; gap: 14px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--indigo);
  font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--ink-2); font-size: 0.98rem; padding: 0 0 18px; }
.cform { display: grid; gap: 12px; }
.cform input, .cform textarea { font: inherit; font-size: 0.96rem; padding: 13px 16px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--panel-2);
  color: var(--ink-2); }
.cform textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--mute); }
.crumbs { border-bottom: 1px solid var(--rule); font-size: 0.83rem; padding: 10px 0;
  color: var(--mute); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* --- Footer ------------------------------------------------------------- */
.foot { border-top: 1px solid var(--rule); padding: 46px 0 62px; background: var(--panel);
  font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.foot-name { font-weight: 700; }
.foot-h { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 5px; font-weight: 600; }
.foot-h.mt { margin-top: 16px; }
.foot-note { color: var(--ink-2); margin: 0 0 3px; }
.foot-dis { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule);
  color: var(--mute); font-size: 0.84rem; }
.foot-ex { color: var(--mute); font-size: 0.84rem; margin-top: 6px; }
.foot-cta { margin-top: 16px; }
.foot-cta a { font-weight: 600; text-decoration: none; }
.foot-cta a:hover { text-decoration: underline; }
.dock { display: none; }

/* --- Narrower ----------------------------------------------------------- */
@media (max-width: 880px) {
  .pair, .cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .menu { display: none; }
  body.has-dock { padding-bottom: 76px; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0;
    background: rgba(251,250,248,0.97); border-top: 1px solid var(--rule);
    padding: 12px 16px; z-index: 30; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats div { min-width: 110px; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
