/* Soft neighbourhood: shared public-site surfaces, typography and controls. */
html { scroll-padding-top: 100px; }
body { line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.65rem); }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
h3 { font-size: 1.08rem; letter-spacing: -.015em; }
button, input, select, textarea { max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
:focus-visible { outline-color: var(--link); outline-offset: 4px; }
.screen-reader-text:focus { position: fixed !important; width: auto; height: auto; clip: auto; left: 16px; top: 12px; z-index: 1000; padding: 12px 18px; background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.wrap { max-width: 1184px; padding-inline: 24px; }
.section { padding-block: clamp(28px, 4vw, 48px); gap: 24px; }
.stack { gap: 18px; }
.row { flex-wrap: wrap; }
.eyebrow { font-size: .7rem; letter-spacing: .11em; font-weight: 650; line-height: 1.5; }
.topbar { background: var(--card); backdrop-filter: none; -webkit-backdrop-filter: none; }
.topbar .wrap { height: 76px; }
.brand { font: 750 1.05rem/1.2 var(--h); letter-spacing: -.045em; gap: 10px; }
.brand .brand-mark { display: block; width: 30px; height: 38px; object-fit: contain; }
.topnav-list { gap: 14px; }
.topnav-item > a { font-size: .88rem; color: var(--text); font-weight: 500; }
.topnav-item > a:hover { background: var(--surface); }
.topnav-item > a[aria-current="page"] { color: var(--link); background: var(--tint); }
.icon-btn { color: var(--muted); }
.top-actions .icon-btn { width: 40px; }
.top-actions .sign-in-link { display: none; }
@media (min-width: 900px) { .top-actions .sign-in-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; color: var(--text); margin-right: 8px; } }
.btn, .tdtn-btn, .tdtn-button, .tdtn-account button, .tdtn-form button[type=submit] { font-family: var(--b); font-size: .94rem; font-weight: 600; border-radius: 11px; }
.btn-primary, .btn-cta { color: #fff; background: linear-gradient(110deg, #7843CD, #6831AC); box-shadow: none; }
.btn-cta { font-size: .94rem; }
.btn-primary:hover, .btn-cta:hover { background: #5D2B9D; filter: none; }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); }
.field, .tdtn-form input:not([type=checkbox]):not([type=hidden]), .tdtn-form select, .tdtn-form textarea { border-radius: 10px; font-size: 1rem; }
.field::placeholder, .tdtn-form input::placeholder, .tdtn-form textarea::placeholder { color: var(--muted); opacity: 1; }
.field:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 12%, transparent); border-color: var(--link); }
.form, .tdtn-form { gap: 14px; }
.card, .post-card, .search-card, .flow-card { border-color: var(--line); box-shadow: var(--shadow); border-radius: 16px; }
.card { padding: 22px; }
.search-card { padding: 16px; gap: 12px; }
.chip { font-weight: 500; background: var(--surface); }
.chip.on { background: var(--indigo); color: #fff; }
.hero { background: linear-gradient(120deg, var(--surface), var(--bg)); border-bottom-color: var(--line); padding-block: 40px; }
.hero .lead { line-height: 1.65; }
.cards, .quotes { gap: 20px; }
.listing { padding: 20px; }
.listing h3 { line-height: 1.35; }
.listing .meta { line-height: 1.6; }
.listing .rating:empty { display: none; }
.initials { background: var(--tint); color: var(--link); font-weight: 600; }
.listing .foot { gap: 10px; padding-top: 18px; margin-top: 8px; }
.listing .price-from { font-size: 1rem; }
.badge { font-weight: 500; }
.profile-head { padding: 28px; background: linear-gradient(110deg, var(--surface), var(--card)); gap: 22px; align-items: center; }
.profile-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); overflow-wrap: anywhere; }
.profile-grid { gap: 24px; margin-top: 24px; }
.profile-grid .card + .card { margin-top: 0; }
.profile-grid aside { top: calc(100px + var(--wpbar, 0px)); }
.profile-grid details summary { cursor: pointer; font-weight: 600; }
.profile-grid details[open] > * + * { margin-top: 14px; }
.svc-card { background: var(--surface); padding: 18px; }
.svc-price { font-size: 1.2rem; font-weight: 650; }
.flow-card { max-width: 620px; padding: clamp(20px, 4vw, 36px); width: 100%; }
.flow-card h1 { font-size: 1.7rem; }
.page-wrap:has(.tdtn-dash) { max-width: 1184px; }
.tdtn-dash { gap: 28px; }
.tdtn-dash-nav a { font-size: .9rem; font-weight: 500; }
.tdtn-hello { background: linear-gradient(115deg, var(--surface), var(--tint)); padding: 24px; }
.tdtn-stats p, .tdtn-lead { padding: 20px; }
.tdtn-stats b { font-size: 1.5rem; font-weight: 650; }
.tdtn-msgs { border: 1px solid var(--line); padding: 18px; gap: 12px; }
.tdtn-msg { padding: 12px 16px; border-radius: 14px 14px 14px 4px; }
.tdtn-msg.is-mine { border-radius: 14px 14px 4px 14px; }
.tdtn-msg-by, .tdtn-msg-time { opacity: 1; }
.tdtn-compose { padding-top: 8px; }
.tdtn-lead { border-left-width: 3px; }
.join-band { background: var(--surface); border: 1px solid var(--line); padding: 28px; }
.sheet-panel { border: 1px solid var(--line); box-shadow: 0 12px 50px #17183f1a; }
.sheet-panel h2 { font-size: 1.35rem; }
.site-footer { background: var(--surface); padding-block: 36px; margin-top: 48px; }
.site-footer .wrap { gap: 16px; }
.site-footer .brand { color: var(--text); }
.site-footer .brand-mark { width: 26px; height: 32px; }
.site-footer a { min-height: 36px; display: inline-flex; align-items: center; }
.site-footer .btn { justify-self: start; }
.site-footer p:last-child { font-size: .8rem; }
.post-card-body { padding: 20px; gap: 12px; }
.entry-article, .entry-prose { font-size: 1rem; line-height: 1.8; }
.tdt-ico { background: var(--surface); }
.tdt-slide { padding: 24px; background: var(--surface); }
.tdt-shop .woocommerce :is(input.input-text, textarea, select) { border-radius: 10px; border-color: var(--line); font-family: var(--b); }
.tdt-shop .woocommerce :is(.button, button.button) { border-radius: 11px; font-family: var(--b); }
.tdt-shop .woocommerce :is(.button.alt, button.button.alt) { background: var(--indigo); color: #fff; }
.soon-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 24ch; }
@media (max-width: 899px) {
 .topbar .wrap { height: 64px; }
 .wrap { padding-inline: 20px; }
 .brand { font-size: .98rem; gap: 8px; }
 .brand .brand-mark { width: 25px; height: 32px; }
 .section { gap: 20px; }
 .profile-grid { margin-top: 20px; }
 .profile-head { padding: 20px; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
 .profile-head .photo { width: 64px; height: 64px; }
 .tdtn-msg { max-width: 94%; }
}
@media (max-width: 380px) {
 .wrap { padding-inline: 16px; }
 .card, .listing { padding: 16px; }
 .top-actions { gap: 0; }
 .top-actions .icon-btn { width: 36px; }
 .profile-head { grid-template-columns: 48px minmax(0, 1fr); }
 .profile-head .photo { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Kept contact and affiliate screens use the same tokens, including dark mode. */
body .tdc { --tdc-indigo: var(--indigo); --tdc-indigo-deep: var(--link); --tdc-ink: var(--text); --tdc-grey: var(--muted); --tdc-paper: var(--card); --tdc-paper-2: var(--surface); --tdc-line: var(--line); --tdc-display: var(--h); --tdc-body: var(--b); --tdc-r: 12px; }
body .tdc-intro h1 { font-size: clamp(1.8rem, 3.4vw, 2.65rem); font-weight: 650; }
body .aff-wrap, body .wpam-container { background: var(--card); color: var(--text); border-radius: var(--r); }
body :is(.aff-wrap, .wpam-container) :is(h1, h2, h3) { color: var(--text); font-weight: 650; }
body #aff-controls::before, body .wpam-nav-menu::before { display: none; }
.tdt-shop .woocommerce #payment #place_order { background: var(--indigo); box-shadow: none; font-size: 1rem; }
.desktop-mode { display: none; }
@media (min-width: 900px) { .desktop-mode { display: grid; } }
