/*
Theme Name: California Landlord Tools
Theme URI: https://californialandlordtools.com/
Author: Greenbelt Ventures
Description: Block theme for California Landlord Tools: calm editorial design, free calculator pages, the All tools hub and the member area styles. Pairs with the clt-core plugin.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: clt-theme
*/

/* ==========================================================================
   1. Fonts: metric-matched fallbacks (no layout shift when the web fonts arrive).
   Values measured from the WOFF2 files against Georgia and Arial.
   ========================================================================== */
@font-face { font-family: "Source Serif 4 Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600; font-style: normal; size-adjust: 92.48%; ascent-override: 112.03%; descent-override: 36.22%; line-gap-override: 0%; }
@font-face { font-family: "Source Serif 4 Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-weight: 400; font-style: italic; size-adjust: 96.65%; ascent-override: 107.19%; descent-override: 34.66%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400; font-style: normal; size-adjust: 101.87%; ascent-override: 95.22%; descent-override: 24.54%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600; font-style: normal; size-adjust: 98.40%; ascent-override: 98.57%; descent-override: 25.41%; line-gap-override: 0%; }

/* ==========================================================================
   2. Tokens. Every text pair passes 4.5:1, UI borders and the focus ring 3:1.
   ========================================================================== */
:root {
	--navy: #13233A;
	--navy-2: #1F3556;
	--ink: #13233A;
	--ink-muted: #4A5566;
	--clay: #B4532A;
	--clay-ink: #9A4322;
	--clay-soft: #F7E8DF;
	--sage: #5E7A63;
	--sage-ink: #4A6450;
	--sage-soft: #E7EEE6;
	--paper: #FAF6EF;
	--tint: #F2ECE1;
	--white: #FFFFFF;
	--line: #E3DACB;
	--line-strong: #8C8475;
	--info-soft: #EDF1F6;
	--warn: #B07A12;
	--warn-ink: #7A4A00;
	--warn-soft: #FBF1DC;
	--err: #A3261B;
	--err-soft: #FBEAE7;
	--ok: #2F6B3E;
	--ok-soft: #E6F0E8;
	--on-navy: #FAF6EF;
	--on-navy-muted: #C3CCD8;
	--focus: #B4532A;
	--mark: #F7DCC9;

	--serif: "Source Serif 4", "Source Serif 4 Fallback", Georgia, serif;
	--sans: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-body: 1.0625rem;
	--fs-lede: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
	--fs-h3: 1.375rem;
	--fs-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
	--fs-h1: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
	--fs-figure: clamp(2.75rem, 2rem + 3vw, 4rem);

	--sp-1: .25rem;
	--sp-2: .5rem;
	--sp-3: .75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: clamp(3rem, 2rem + 4vw, 5.5rem);
	--sp-9: clamp(4rem, 2.5rem + 6vw, 7.5rem);

	--r-sm: 8px;
	--r: 12px;
	--r-lg: 18px;
	--pill: 999px;
	--shadow-1: 0 1px 2px rgba(19, 35, 58, .06), 0 10px 28px -18px rgba(19, 35, 58, .30);
	--shadow-2: 0 2px 4px rgba(19, 35, 58, .05), 0 26px 50px -30px rgba(19, 35, 58, .42);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--measure: 68ch;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "kern" 1; }
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: 1.125rem; font-family: var(--sans); letter-spacing: 0; }
p, ul, ol, dl, blockquote, figure { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong, b { font-weight: 600; }
em, i { font-style: italic; }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }
a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--mark); color: var(--navy); }
code { font-size: .92em; background: var(--tint); padding: .1em .35em; border-radius: 4px; }
mark { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 2px; }
.wp-site-blocks > * { margin-block: 0; }
.wp-site-blocks { padding: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* A hidden table caption keeps the table's width unless it is held to 1 px (it widened 320 px phones). */
caption.screen-reader-text, .clt-table caption.screen-reader-text { display: block; width: 1px !important; max-width: 1px; height: 1px; }
.clt-skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--navy); color: var(--on-navy); font-weight: 600; border-radius: var(--r-sm); text-decoration: none; }
.clt-skip:focus { top: 12px; color: var(--on-navy); }

/* Single-column grids that hold plugin content never grow wider than their box (WebKit sizes implicit columns to content). */
.clt-form, .clt-result, .clt-result__notes, .clt-calc__more, .clt-buy, .clt-faq, .clt-changes, .clt-aside, .clt-at-groups, .clt-account, .clt-deadlines, .clt-dialog__inner { grid-template-columns: minmax(0, 1fr); }

/* Layout helpers */
.clt-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.clt-section { padding-block: var(--sp-8); }
.clt-section--tint { background: var(--tint); }
.clt-section--white { background: var(--white); }
.clt-section--navy { background: var(--navy); color: var(--on-navy); }
.clt-section--navy h2, .clt-section--navy h3 { color: var(--on-navy); }
.clt-section--navy a:not(.clt-btn) { color: var(--on-navy); }
.clt-section--navy p:not(.clt-eyebrow) { color: var(--on-navy-muted); }
.clt-section__head { max-width: 46rem; margin-bottom: var(--sp-6); }
.clt-section__head p:not(.clt-eyebrow) { font-size: var(--fs-lede); color: var(--ink-muted); margin: 0; }
.clt-section__head h2 { margin-bottom: .35em; }
.clt-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }
.clt-eyebrow::before { content: ""; flex: none; width: 26px; height: 2px; background: var(--clay); }
.clt-section--navy .clt-eyebrow { color: var(--on-navy-muted); }
.clt-lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-muted); max-width: 62ch; margin: 18px 0 0; }
.clt-muted { color: var(--ink-muted); }
.clt-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.clt-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); padding: clamp(20px, 2.6vw, 28px); display: flex; flex-direction: column; }
.clt-card > :last-child { margin-bottom: 0; }
.clt-card__meta { margin-top: auto; padding-top: 14px; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-unavailable { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink-muted); }
.clt-demo-flag { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: var(--pill); background: var(--warn-soft); color: var(--warn-ink); font: 600 var(--fs-xs)/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }

/* ==========================================================================
   4. Buttons and links
   ========================================================================== */
.clt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border: 2px solid var(--navy); border-radius: var(--pill); background: var(--navy); color: var(--white); font: 600 1rem/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease); -webkit-appearance: none; appearance: none; }
.clt-btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); text-decoration: none; }
.clt-btn:active { transform: translateY(1px); }
.clt-btn svg { flex: none; }
.clt-btn--secondary { background: transparent; color: var(--navy); }
.clt-btn--secondary:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }
.clt-btn--sm { min-height: 44px; padding: 8px 16px; font-size: var(--fs-sm); }
.clt-btn--block { display: flex; width: 100%; }
.clt-btn--danger { background: var(--err); border-color: var(--err); color: var(--white); }
.clt-btn--danger:hover { background: #861F16; border-color: #861F16; }
.clt-btn--danger-quiet { background: transparent; border-color: var(--err); color: var(--err); }
.clt-btn--danger-quiet:hover { background: var(--err-soft); color: var(--err); border-color: var(--err); }
.clt-btn--on-dark { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.clt-btn--on-dark:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.clt-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .22em; }
.clt-link--arrow { display: inline; min-height: 0; padding: 10px 0; line-height: 2; }
.clt-link--arrow::after { content: ""; display: inline-block; vertical-align: middle; width: 8px; height: 8px; margin: -3px 0 0 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .16s var(--ease); }
.clt-link--arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.clt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ==========================================================================
   5. Header and menu
   ========================================================================== */
.clt-header { position: relative; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.clt-header__inner { position: relative; display: flex; align-items: center; gap: var(--sp-5); max-width: var(--wrap); min-height: var(--header-h); margin-inline: auto; padding-inline: var(--gutter); }
.clt-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-right: auto; color: var(--navy); text-decoration: none; }
.clt-brand:hover { color: var(--navy); }
.clt-brand__mark { flex: none; width: 40px; height: 40px; }
.clt-brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.clt-brand__top { font: 600 var(--fs-xs)/1.1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-ink); }
.clt-brand__bottom { font: 600 1.3125rem/1.1 var(--serif); letter-spacing: -.01em; }
.clt-nav { display: flex; align-items: center; gap: var(--sp-4); }
.clt-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.clt-nav__list li { margin: 0; }
.clt-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.clt-nav__link:hover { background: var(--tint); color: var(--navy); }
.clt-nav__link[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--clay); border-radius: 2px; }
.clt-nav__account { margin: 0; }
.clt-nav__account-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--navy); border-radius: var(--pill); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.clt-nav__account-link:hover { background: var(--navy); color: var(--white); }
.clt-menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1 var(--sans); cursor: pointer; }
.clt-menu-btn__icon { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.clt-menu-btn__icon::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transition: transform .2s var(--ease); }
.clt-header.is-open .clt-menu-btn__icon { border-color: transparent; }
.clt-header.is-open .clt-menu-btn__icon::before { transform: rotate(45deg); }
.clt-header.is-open .clt-menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transform: rotate(-45deg); }

/* ==========================================================================
   6. Masthead (inner pages)
   ========================================================================== */
.clt-masthead { padding: clamp(36px, 6vw, 76px) 0 clamp(24px, 3.5vw, 44px); }
.clt-masthead__inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.clt-masthead__title { max-width: 20ch; margin: 0; font-size: var(--fs-h1); }
.clt-masthead--calc .clt-masthead__title { max-width: 18ch; }
.clt-masthead--app { padding: clamp(24px, 4vw, 44px) 0 clamp(16px, 2.5vw, 28px); }
.clt-masthead--app .clt-masthead__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.625rem); }

/* Page bodies */
.clt-body { max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter) var(--sp-8); }
.clt-body > :where(p:not([class]), h2:not([class]), h3, h4, ul:not([class]), ol:not([class]), blockquote, .wp-block-list, .wp-block-heading, .wp-block-quote) { max-width: var(--measure); }
.clt-body > :where(h2, .wp-block-heading) { margin-top: 1.6em; }
.clt-body--wide, .clt-body--calculator, .clt-body--app { padding-bottom: var(--sp-8); }
.clt-main--home .wp-block-post-content > * { margin: 0; }

/* Prose (long text, legal pages) */
.clt-prose { max-width: var(--measure); }
.clt-prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); margin: 1.8em 0 .5em; }
.clt-prose h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
.clt-prose > :first-child { margin-top: 0; }
.clt-prose li { padding-left: .2em; }
.clt-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.clt-aside { display: grid; gap: 16px; }
.clt-aside .clt-card h2, .clt-aside .clt-card h3 { font-size: 1.25rem; }
.clt-kv { display: grid; gap: 0; margin: 0; }
.clt-kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.clt-kv > div:last-child { border-bottom: 0; }
.clt-kv dt { color: var(--ink-muted); }
.clt-kv dd { margin: 0; font-weight: 600; text-align: right; }

/* ==========================================================================
   7. Home
   ========================================================================== */
.clt-hero { position: relative; padding: clamp(40px, 7vw, 100px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.clt-hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.clt-hero h1 { max-width: 13.5ch; margin: 0; font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.125rem); line-height: 1.04; letter-spacing: -.022em; }
.clt-hero h1 em { font-style: italic; font-weight: 400; color: var(--clay-ink); }
.clt-hero__lede { max-width: 34rem; margin: 22px 0 0; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-muted); }
.clt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.clt-hero__note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-hero__note li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.clt-hero__note li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg) translateY(-2px); }

/* The drawn result card (an honest picture of the real calculator output) */
.clt-hero__art { margin: 0; }
.clt-art-stack { position: relative; padding: 0 0 70px; }
.clt-art-card__verdict { margin: 0 0 12px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn-ink); font-weight: 600; font-size: var(--fs-sm); }
.clt-art-card { position: relative; z-index: 2; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--clay); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 26px 28px 30px; }
.clt-art-card__top { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--clay-ink); }
.clt-art-card__top span:last-child { color: var(--ink-muted); letter-spacing: .06em; }
.clt-art-card__title { margin: 0 0 14px; font: 600 1.1875rem/1.3 var(--serif); color: var(--navy); }
.clt-art-card__figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 12px; }
.clt-art-card__figure strong { font: 600 3.25rem/1 var(--serif); letter-spacing: -.02em; color: var(--navy); background: linear-gradient(transparent 78%, var(--mark) 78%); padding: 0 2px; }
.clt-art-card__figure span { font-weight: 600; color: var(--ink-muted); }
.clt-art-card__echo { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--paper); font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-art-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 14px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.clt-art-card__facts div { background: var(--white); padding: 8px 12px; }
.clt-art-card__facts dt { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.clt-art-card__facts dd { margin: 2px 0 0; font-weight: 600; font-size: var(--fs-sm); }
.clt-art-card__check { margin: 0; padding: 10px 12px; border-left: 3px solid var(--clay); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--clay-soft); font-size: var(--fs-sm); }
.clt-art-date { position: absolute; z-index: 3; right: -10px; bottom: 0; display: flex; align-items: center; gap: 14px; width: min(84%, 330px); padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); }
.clt-art-date__cal { flex: none; display: grid; place-items: center; align-content: center; gap: 4px; width: 54px; height: 58px; margin: 0 !important; border-radius: 10px; background: var(--navy); color: var(--on-navy); line-height: 1; }
.clt-art-date__cal span { font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); }
.clt-art-date .clt-art-date__cal strong { display: block; color: var(--on-navy); font: 600 1.625rem/1 var(--serif); }
.clt-art-date p { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.4; }
.clt-art-date p strong { display: block; color: var(--navy); font-size: 1rem; }
.clt-art-caption { margin: 12px 0 0; font-size: var(--fs-xs); color: var(--ink-muted); }
@keyframes clt-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Five questions */
.clt-q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.clt-q-grid > li { margin: 0; display: flex; }
.clt-tool-card { display: flex; margin: 0; }
.clt-q-card, .clt-tool-card__a { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 22px 54px 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.clt-q-card:hover, .clt-q-card:focus-visible, .clt-tool-card__a:hover, .clt-tool-card__a:focus-visible { transform: translateY(-2px); border-color: var(--navy); box-shadow: var(--shadow-2); color: var(--ink); text-decoration: none; }
.clt-q-card__q, .clt-tool-card__q { font: 600 1.3125rem/1.25 var(--serif); color: var(--navy); }
.clt-q-card__d, .clt-tool-card__d { font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.5; }
.clt-q-card__cite, .clt-tool-card__cite { margin-top: auto; padding-top: 8px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .04em; color: var(--sage-ink); }
.clt-tool-card__kicker { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--clay-ink); }
.clt-q-card__go, .clt-tool-card__go { position: absolute; right: 22px; top: 30px; width: 16px; height: 2px; background: var(--clay); transition: transform .18s var(--ease); }
.clt-q-card__go::after, .clt-tool-card__go::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 2px solid var(--clay); border-right: 2px solid var(--clay); transform: rotate(45deg); }
.clt-q-card:hover .clt-q-card__go, .clt-tool-card__a:hover .clt-tool-card__go { transform: translateX(4px); }
.clt-tool-card--guide .clt-tool-card__a, .clt-q-card--all { background: var(--paper); }

/* Show the work */
.clt-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.clt-points { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: pt; }
.clt-points > li { position: relative; margin: 0; padding-left: 52px; counter-increment: pt; }
.clt-points > li::before { content: counter(pt); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--on-navy); font: 600 1rem/1 var(--serif); }
.clt-points h3 { margin: 0 0 4px; font-size: 1.1875rem; }
.clt-points p { margin: 0; color: var(--ink-muted); }
.clt-how-art { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); overflow: hidden; }
.clt-how-art__sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.clt-how-art__sum span { font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }

.clt-how-art__body { padding: 18px 20px 20px; }
.clt-how-art__body p { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-how-art__src { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.clt-how-art__src li { margin: 0; }

/* Members teaser */
.clt-members { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.clt-checks { display: grid; gap: 10px; margin: 0 0 1em; padding: 0; list-style: none; }
.clt-checks > li { position: relative; margin: 0; padding-left: 30px; }
.clt-checks > li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 13px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.clt-section--navy .clt-checks > li::before { border-color: var(--on-navy); }
.clt-price-line { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-dash-art { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 20px; }
.clt-dash-art__bar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font: 600 var(--fs-xs)/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.clt-dash-art__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clt-dash-art__list li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.clt-dash-art__d { display: grid; place-items: center; height: 50px; border-radius: 8px; background: var(--tint); line-height: 1; text-align: center; }
.clt-dash-art__d span { font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.clt-dash-art__d strong { font: 600 1.25rem/1 var(--serif); color: var(--navy); }
.clt-dash-art__list .is-soon .clt-dash-art__d { background: var(--clay-soft); }
.clt-dash-art__t { font-weight: 600; line-height: 1.3; }
.clt-dash-art__m { display: block; font-size: var(--fs-sm); font-weight: 400; color: var(--ink-muted); }
.clt-dash-art__w { font: 600 var(--fs-xs)/1.2 var(--sans); color: var(--ink-muted); white-space: nowrap; }
.clt-dash-art__list .is-soon .clt-dash-art__w { color: var(--clay-ink); }

/* What we do not do */
.clt-honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.clt-honest > li { margin: 0; padding: 18px 20px; border: 1px solid rgba(250, 246, 239, .22); border-radius: var(--r); }
.clt-honest strong { display: block; margin-bottom: 4px; color: var(--on-navy); font-family: var(--serif); font-size: 1.125rem; }
.clt-honest span { color: var(--on-navy-muted); font-size: var(--fs-sm); }

/* Guide promo and document preview */
.clt-guide-promo { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.clt-doc { position: relative; display: flex; flex-direction: column; aspect-ratio: 8.5 / 11; max-width: 300px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-2), 10px 10px 0 -1px var(--tint), 10px 10px 0 0 var(--line); }
.clt-doc__kicker { margin: 0 0 8px; font: 600 .625rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); }
.clt-doc__title { margin: 0 0 6px; font: 600 1.375rem/1.1 var(--serif); color: var(--navy); }
.clt-doc__sub { margin: 0 0 16px; font-size: .6875rem; line-height: 1.4; color: var(--ink-muted); }
.clt-doc__toc { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; counter-reset: toc; }
.clt-doc__toc li { counter-increment: toc; display: flex; gap: 8px; margin: 0; padding: 3px 0; font-size: .6875rem; line-height: 1.3; color: var(--navy); border-bottom: 1px dotted var(--line); }
.clt-doc__toc li::before { content: counter(toc); width: 1.2em; color: var(--clay-ink); font-weight: 600; }
.clt-doc__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; font-size: .625rem; color: var(--ink-muted); }

/* Closing call to action */
.clt-cta { text-align: center; }
.clt-cta h2 { max-width: 22ch; margin-inline: auto; }
.clt-cta p { max-width: 40rem; margin-inline: auto; }
.clt-cta .clt-actions { justify-content: center; margin-top: 24px; }

/* ==========================================================================
   8. Calculator page
   ========================================================================== */
.clt-calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.clt-calc__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); padding: clamp(20px, 3vw, 32px); }
.clt-calc__h { margin: 0 0 18px; font-size: 1.25rem; }
.clt-calc__out { min-width: 0; }
.clt-calc__more { grid-column: 1 / -1; display: grid; gap: 12px; }
.clt-calc-after { margin-top: var(--sp-7); }
.clt-calc-after > h2 { font-size: 1.5rem; }
.clt-sources { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.clt-sources li { margin: 0; }
.clt-sources a { display: inline-flex; align-items: center; min-height: 44px; }
.clt-reviewed { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-hub-foot { margin-top: var(--sp-5); }
.clt-compare-h { margin-top: var(--sp-7); }
.clt-member-faq { margin-top: var(--sp-7); }
.clt-member-faq .clt-disclosure + .clt-disclosure, .clt-faq .clt-disclosure + .clt-disclosure { margin-top: 10px; }
.clt-guide-card + .clt-two { margin-top: var(--sp-7); }
.clt-404__h { margin-top: var(--sp-6); font-size: 1.5rem; }
@media (min-width: 1024px) { .clt-calc__out { position: sticky; top: 24px; } }

/* Forms */
.clt-form { display: grid; gap: 22px; }
.clt-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 22px; }
.clt-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.clt-label, .clt-legend { color: var(--navy); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.clt-optional { font-weight: 400; color: var(--ink-muted); }
.clt-help { margin: 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-muted); }
.clt-help--legend { margin: -2px 0 10px; }
.clt-input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); color: var(--ink); font: 400 1.0625rem/1.3 var(--sans); -webkit-appearance: none; appearance: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.clt-input:hover { border-color: var(--navy); }
.clt-input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
.clt-input::placeholder { color: var(--ink-muted); opacity: 1; }
input[type="date"].clt-input { min-height: 50px; }
.clt-select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2313233A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.clt-textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.clt-affix-wrap { position: relative; display: block; }
.clt-affix { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; color: var(--ink-muted); font-weight: 600; pointer-events: none; }
.clt-affix-wrap--pre .clt-affix { left: 15px; }
.clt-affix-wrap--pre .clt-input { padding-left: 30px; }
.clt-affix-wrap--post .clt-affix { right: 15px; }
.clt-affix-wrap--post .clt-input { padding-right: 36px; }
.clt-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.clt-legend { display: block; margin: 0 0 10px; padding: 0; }
.clt-choices { display: grid; gap: 8px; }
.clt-choices--inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 88px), 1fr)); }
.clt-choice { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); cursor: pointer; line-height: 1.3; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.clt-choice:hover { border-color: var(--navy); }
.clt-choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.clt-choice:has(input:checked) { border-color: var(--navy); background: var(--info-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.clt-choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.clt-choice input:focus-visible { outline: none; }
.clt-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 8px 0; cursor: pointer; line-height: 1.45; }
.clt-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.clt-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.clt-form__fine { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-field--error { padding-left: 14px; border-left: 3px solid var(--err); }
.clt-field--error .clt-input, .clt-field--error .clt-choice { border-color: var(--err); }
.clt-field--error .clt-input { border-width: 2px; }
.clt-field__error { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--err); font-weight: 600; font-size: var(--fs-sm); line-height: 1.4; }
.clt-field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--err); color: var(--white); font-size: .75rem; line-height: 1; }
.clt-error-summary { padding: 18px 20px; border: 2px solid var(--err); border-radius: var(--r); background: var(--white); }
.clt-error-summary:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.clt-error-summary__title { margin: 0 0 8px; font: 600 1.125rem/1.3 var(--sans); letter-spacing: 0; color: var(--err); }
.clt-error-summary__list { margin: 0; padding-left: 1.1em; }
.clt-error-summary__list li { line-height: 1.5; padding: 3px 0; }
.clt-error-summary__list a { display: inline; padding: 6px 0; color: var(--err); font-weight: 600; text-decoration-color: var(--err); }

/* Result card */
.clt-result { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--clay); border-radius: var(--r); box-shadow: var(--shadow-2); }
.clt-result:focus { outline: none; }
.clt-result:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.clt-result__head { display: grid; gap: 4px; }
.clt-result__kicker { margin: 0; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }
.clt-result__title { margin: 0; font-size: 1.375rem; line-height: 1.25; }
.clt-result__answer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; }
.clt-result__figure { font: 600 var(--fs-figure)/1 var(--serif); letter-spacing: -.02em; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; background: linear-gradient(transparent 80%, var(--mark) 80%); padding: 0 3px; }
.clt-result__unit { font-weight: 600; color: var(--ink-muted); }
.clt-result__sentence { margin: 0; font: 600 1.25rem/1.4 var(--serif); color: var(--navy); }
.clt-result__echo { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.5; }
.clt-result__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0; margin: 0; padding: 0 1px 1px 0; border-radius: var(--r-sm); overflow: hidden; }
.clt-result__fact { margin: 0 -1px -1px 0; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); }
.clt-result__fact dt { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.clt-result__fact dd { margin: 3px 0 0; font-weight: 600; line-height: 1.35; }
.clt-result__check { padding: 14px 16px; border-left: 3px solid var(--clay); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--clay-soft); }
.clt-result__check-title { margin: 0 0 4px; font-weight: 600; }
.clt-result__check p:last-child { margin-bottom: 0; }
.clt-result__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.clt-result__meta { margin: 0; font-size: .875rem; color: var(--ink-muted); }
.clt-result--unknown { border-top-color: var(--line-strong); }
.clt-result--warn { border-top-color: var(--warn); }
.clt-disclaimer { display: flex; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-muted); }
.clt-disclaimer svg { flex: none; margin-top: 2px; color: var(--sage-ink); }
.clt-disclaimer a { white-space: nowrap; }
.clt-result-empty { display: grid; justify-items: center; gap: 6px; padding: clamp(32px, 5vw, 56px) 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: rgba(255, 255, 255, .55); color: var(--ink-muted); text-align: center; }
.clt-result-empty svg { color: var(--sage); margin-bottom: 4px; }
.clt-result-empty__title { margin: 0; font: 600 1.25rem/1.3 var(--serif); color: var(--navy); }
.clt-result-empty p:last-child { max-width: 34ch; margin: 0; font-size: var(--fs-sm); }

/* Disclosures and statute excerpts */
.clt-disclosure { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-disclosure + .clt-disclosure { margin-top: 0; }
.clt-disclosure__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 20px; list-style: none; cursor: pointer; color: var(--navy); font: 600 1.0625rem/1.3 var(--sans); border-radius: var(--r); }
.clt-disclosure__summary::-webkit-details-marker { display: none; }
.clt-disclosure__summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.clt-disclosure[open] > .clt-disclosure__summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.clt-disclosure__summary:hover { background: var(--paper); }
.clt-disclosure__body { max-width: calc(var(--measure) + 40px); padding: 0 20px 20px; }
.clt-disclosure__body > :last-child { margin-bottom: 0; }
.clt-statute { margin: 16px 0 0; padding: 16px 20px; border-left: 3px solid var(--sage); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--paper); font: italic 400 1.0625rem/1.6 var(--serif); color: var(--navy); }
.clt-statute p { margin: 0 0 8px; }
.clt-statute__cite { font: 600 var(--fs-sm)/1.4 var(--sans); font-style: normal; }

/* Notices and tags */
.clt-notice { margin: 0 0 16px; padding: 16px 18px; border: 1px solid #C9D3E0; border-left: 4px solid var(--navy); border-radius: var(--r-sm); background: var(--info-soft); }
.clt-notice__title { margin: 0 0 2px; font-weight: 600; color: var(--navy); }
.clt-notice__body > :last-child { margin-bottom: 0; }
.clt-notice__body { color: var(--ink); }
.clt-notice--warn { background: var(--warn-soft); border-color: #E8CF9C; border-left-color: var(--warn); }
.clt-notice--warn .clt-notice__title { color: var(--warn-ink); }
.clt-notice--success { background: var(--ok-soft); border-color: #BCD5C2; border-left-color: var(--ok); }
.clt-notice--success .clt-notice__title { color: var(--ok); }
.clt-notice--error { background: var(--err-soft); border-color: #EBC2BC; border-left-color: var(--err); }
.clt-notice--error .clt-notice__title { color: var(--err); }
.clt-tag { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 11px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--tint); color: var(--navy); font: 600 var(--fs-xs)/1.25 var(--sans); vertical-align: middle; }
.clt-tag--ok { background: var(--sage-soft); border-color: #C6D5C8; color: var(--sage-ink); }
.clt-tag--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.clt-tag--warn { background: var(--warn-soft); border-color: #E8CF9C; color: var(--warn-ink); }
.clt-tag--warn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--warn); }
.clt-tag--muted { background: #F1EEE8; color: var(--ink-muted); }
.clt-tag--clay { background: var(--clay-soft); border-color: #EDCDBB; color: var(--clay-ink); }

/* Empty state */
.clt-empty { padding: clamp(28px, 5vw, 48px) 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--white); text-align: center; }
.clt-empty__icon { display: block; margin: 0 auto 12px; color: var(--sage); }
.clt-empty__title { margin: 0 0 6px; font: 600 1.25rem/1.3 var(--serif); color: var(--navy); }
.clt-empty__text, .clt-empty > p:not([class]) { max-width: 46ch; margin: 0 auto 8px; color: var(--ink-muted); }
.clt-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 14px 0 0; }

/* ==========================================================================
   9. All tools hub
   ========================================================================== */
.clt-at { --at-r: 12px; }
.clt-at-find { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.clt-search { position: relative; flex: 1 1 420px; max-width: 660px; display: flex; align-items: center; margin: 0; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--pill); box-shadow: 0 10px 28px -22px rgba(19, 35, 58, .55); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.clt-search svg { position: absolute; left: 20px; color: var(--clay-ink); pointer-events: none; }
.clt-search__input { width: 100%; min-height: 58px; padding: 10px 22px 10px 54px; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink); font: 500 1.0625rem/1.3 var(--sans); outline: none; -webkit-appearance: none; appearance: none; }
.clt-search__input::placeholder { color: var(--ink-muted); opacity: 1; }
.clt-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.clt-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px var(--focus); }
.clt-at-n { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-muted); }
.clt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.clt-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1.2 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.clt-chip span { font-weight: 600; font-size: var(--fs-xs); color: var(--ink-muted); }
.clt-chip:hover { border-color: var(--navy); }
.clt-chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.clt-chip.is-on span { color: var(--on-navy-muted); }
.clt-at-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 22px 0 0; }
.clt-at-rh { margin: 0; font: 600 var(--fs-xs)/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--clay-ink); }
.clt-at-rl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clt-at-rl li { margin: 0; }
.clt-at-rl a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid #EDCDBB; border-radius: var(--r-sm); background: var(--clay-soft); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.clt-at-groups { display: grid; gap: 16px; margin: 26px 0 0; }
.clt-at-g { overflow: hidden; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--at-r); box-shadow: 0 18px 40px -34px rgba(19, 35, 58, .5); scroll-margin-top: 16px; }
.clt-at-gh { margin: 0; font: inherit; }
.clt-at-gb { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 6px 16px; width: 100%; min-height: 76px; padding: 16px clamp(16px, 2.4vw, 26px); border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.clt-at-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--clay-soft); color: var(--clay-ink); transition: background-color .2s var(--ease), color .2s var(--ease); }
.clt-at-gb:hover .clt-at-ic, .clt-at-g:not(.is-shut) .clt-at-ic { background: var(--navy); color: var(--on-navy); }
.clt-at-gw { display: grid; gap: 3px; min-width: 0; }
.clt-at-gt { font: 600 clamp(1.25rem, 2vw, 1.5rem)/1.2 var(--serif); color: var(--navy); letter-spacing: -.005em; }
.clt-at-gd { font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-muted); }
.clt-at-gn { font: 600 var(--fs-xs)/1 var(--sans); color: var(--ink-muted); white-space: nowrap; }
.clt-at-chev { position: relative; flex: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .28s var(--ease), border-color .2s var(--ease); }
.clt-at-chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
.clt-at-gb:hover .clt-at-chev { border-color: var(--navy); }
.clt-at-g:not(.is-shut) .clt-at-chev { transform: rotate(180deg); }
.clt-at-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s var(--ease); }
.clt-at-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; gap: 12px; min-height: 0; margin: 0; padding: 0 clamp(16px, 2.4vw, 26px) clamp(16px, 2.2vw, 24px); overflow: hidden; list-style: none; visibility: visible; transition: visibility 0s, padding .32s var(--ease); }
.clt-at-g.is-shut .clt-at-panel { grid-template-rows: 0fr; }
.clt-at-g.is-shut .clt-at-list { padding-bottom: 0; visibility: hidden; transition: visibility 0s .32s, padding .32s var(--ease); }
.clt-at-row { display: flex; flex-direction: column; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease); }
.clt-at-row:hover, .clt-at-row:focus-within { border-color: var(--navy); box-shadow: 0 16px 30px -24px rgba(19, 35, 58, .6); transform: translateY(-2px); }
.clt-at-a { position: relative; display: grid; flex: 1; align-content: start; gap: 5px; min-height: 64px; padding: 15px 46px 14px 16px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.clt-at-a:hover { color: var(--ink); }
.clt-at-t { font: 600 1.0625rem/1.3 var(--sans); color: var(--navy); }
.clt-at-q { font: italic 400 1rem/1.35 var(--serif); color: var(--navy); }
.clt-at-d { font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-muted); }
.clt-at-cite { font: 600 var(--fs-xs)/1.3 var(--sans); color: var(--sage-ink); }
.clt-at-go { position: absolute; right: 16px; top: 22px; width: 14px; height: 2px; background: var(--clay); transition: transform .18s var(--ease); }
.clt-at-go::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--clay); border-right: 2px solid var(--clay); transform: rotate(45deg); }
.clt-at-row:hover .clt-at-go, .clt-at-a:focus-visible .clt-at-go { transform: translateX(4px); }
.clt-at-badge { justify-self: start; margin-top: 4px; padding: 3px 10px; border-radius: var(--pill); background: var(--clay-soft); color: var(--clay-ink); font-size: var(--fs-xs); font-weight: 600; }
.clt-at-row--up { border: 1.5px dashed var(--line-strong); background: var(--paper); }
.clt-at-row--up .clt-at-t { color: var(--ink-muted); }
.clt-at-none { margin: 26px 0 0; }
.clt-at-finding .clt-at-gn { visibility: hidden; }
.clt-at-list > li:only-child { grid-column: 1 / -1; }

/* Related tools under a calculator */
.clt-related { margin-top: var(--sp-7); }
.clt-related__h { font-size: 1.5rem; }
.clt-related__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.clt-related__list > li { margin: 0; }
.clt-related .clt-tool-card__q { font-size: 1.125rem; }

/* ==========================================================================
   10. Tables (city table, plan comparison)
   ========================================================================== */
.clt-table-wrap { margin: 0 0 var(--sp-5); }
.clt-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-size: var(--fs-sm); }
.clt-table caption { padding: 0 0 12px; caption-side: top; text-align: left; font: 600 1.1875rem/1.3 var(--serif); color: var(--navy); }
.clt-table th, .clt-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.clt-table tbody tr:last-child > * { border-bottom: 0; }
.clt-table thead th { background: var(--paper); font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.clt-table thead th:first-child { border-top-left-radius: var(--r); }
.clt-table thead th:last-child { border-top-right-radius: var(--r); }
.clt-table tbody th { font-weight: 600; color: var(--navy); }
.clt-table a { font-weight: 600; }
.clt-compare td { text-align: center; }
.clt-compare thead th:not(:first-child) { text-align: center; }
.clt-yes, .clt-no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; }
.clt-yes { background: var(--sage-soft); }
.clt-yes::after { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 5px; border-left: 2px solid var(--sage-ink); border-bottom: 2px solid var(--sage-ink); transform: rotate(-45deg); }
.clt-no::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2px; background: var(--line-strong); }

/* ==========================================================================
   11. Membership
   ========================================================================== */
.clt-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin: 0 0 var(--sp-5); padding: 0; list-style: none; }
.clt-plans > li { margin: 0; display: flex; }
.clt-plan { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); scroll-margin-top: 16px; }
.clt-plan--member { border: 2px solid var(--navy); }
.clt-plan__name { margin: 0; font-size: 1.375rem; }
.clt-plan__for { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); min-height: 3em; }
.clt-plan__price { margin: 0; font: 600 2.5rem/1 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.clt-plan__price span { font: 600 1rem/1 var(--sans); color: var(--ink-muted); letter-spacing: 0; }
.clt-plan__alt { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); min-height: 1.5em; }
.clt-plan .clt-checks { margin: 6px 0 0; font-size: var(--fs-sm); }
.clt-plan__action { margin-top: auto; padding-top: 10px; }
.clt-plan__action .clt-btn { width: 100%; }
.clt-plan--founding { background: var(--paper); }
.clt-terms-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); list-style: none; font-size: var(--fs-sm); }
.clt-terms-line li { margin: 0; }

/* ==========================================================================
   12. Guides
   ========================================================================== */
.clt-guide-card { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.clt-guide-card h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.clt-guide-card .clt-doc { max-width: 240px; padding: 20px 18px; }
.clt-guide-card .clt-doc__title { font-size: 1.125rem; }
.clt-guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.clt-buy { display: grid; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--clay); border-radius: var(--r); box-shadow: var(--shadow-2); }
.clt-buy__price { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.clt-buy__amount { font: 600 2.5rem/1 var(--serif); color: var(--navy); }
.clt-buy__unit { color: var(--ink-muted); font-weight: 600; }
.clt-buy .clt-checks { margin: 0; font-size: var(--fs-sm); }
.clt-buy__action { margin: 0; }
.clt-buy__member { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-toc-list { display: grid; gap: 0; margin: 0 0 var(--sp-5); padding: 0; list-style: none; counter-reset: sec; border-top: 1px solid var(--line); }
.clt-toc-list > li { counter-increment: sec; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 4px 12px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.clt-toc-list > li::before { content: counter(sec, decimal-leading-zero); font: 600 1rem/1.5 var(--serif); color: var(--clay-ink); }
.clt-toc-list strong { display: block; color: var(--navy); }
.clt-toc-list span { color: var(--ink-muted); font-size: var(--fs-sm); grid-column: 2; }

/* ==========================================================================
   13. FAQ, changelog, legal, contact, 404
   ========================================================================== */
.clt-faq { display: grid; gap: 10px; max-width: 52rem; }
.clt-faq__group { margin: var(--sp-6) 0 var(--sp-3); font-size: 1.5rem; }
.clt-faq__group:first-child { margin-top: 0; }
.clt-changes { display: grid; gap: 0; max-width: 52rem; border-top: 1px solid var(--line); }
.clt-change { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.clt-change__meta { grid-row: 1 / span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; font-weight: 600; color: var(--navy); }
.clt-change__title { margin: 0 0 6px; font-size: 1.3125rem; }
.clt-change__body > :last-child { margin-bottom: 0; }
.clt-change__body { color: var(--ink); }
.clt-change__source { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-legal { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(200px, 16rem); gap: clamp(28px, 5vw, 64px); align-items: start; }
.clt-legal__toc { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-size: var(--fs-sm); }
.clt-legal__toc p { margin: 0 0 6px; font-weight: 600; }
.clt-legal__toc ol { margin: 0; padding-left: 1.2em; }
.clt-legal__toc li { margin: 0; padding: 3px 0; }
.clt-legal__toc a { display: inline; padding: 6px 0; line-height: 1.9; }
.clt-legal-status { margin: 0 0 var(--sp-5); }
.clt-legal-status--draft { padding: 16px 18px; border: 1px solid #E8CF9C; border-left: 4px solid var(--warn); border-radius: var(--r-sm); background: var(--warn-soft); }
.clt-legal-status--draft p { margin: 0; }
.clt-legal-status__title { font-weight: 600; color: var(--warn-ink); margin-bottom: 4px !important; }
.clt-legal-status--live { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-owner-note { margin: 16px 0; padding: 12px 16px; border: 2px dashed var(--warn); border-radius: var(--r-sm); background: #FFF6D6; color: var(--navy); font-size: var(--fs-sm); }
.clt-owner-note__label { margin: 0 0 4px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--warn-ink); }
.clt-owner-note > :last-child { margin-bottom: 0; }
.clt-contact-facts { display: grid; gap: 4px; margin: 0; }
.clt-contact-facts dt { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.clt-contact-facts dd { margin: 0 0 12px; font-weight: 600; font-size: var(--fs-sm); overflow-wrap: break-word; }
.clt-404 { max-width: var(--wrap); margin-inline: auto; padding: clamp(40px, 7vw, 96px) var(--gutter) var(--sp-8); }
.clt-404 h1 { max-width: 16ch; }
.clt-404 .clt-lede { margin-bottom: var(--sp-5); }
.clt-searchform { max-width: 36rem; margin: 0 0 var(--sp-6); }
.clt-searchform .wp-block-search__label { display: block; margin-bottom: 6px; font-weight: 600; }
.clt-searchform .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.clt-searchform .wp-block-search__input { flex: 1; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); font: 400 1.0625rem/1.3 var(--sans); color: var(--ink); }
.clt-searchform .wp-block-search__input:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.clt-searchform .wp-block-search__button { min-height: 50px; padding: 10px 20px; border: 2px solid var(--navy); border-radius: var(--pill); background: var(--navy); color: var(--white); font: 600 1rem/1 var(--sans); cursor: pointer; }
.clt-results .clt-results__title { font-size: 1.25rem; margin: var(--sp-5) 0 4px; }
.clt-results .clt-results__excerpt p { margin: 0; color: var(--ink-muted); }

/* Review-step dialog */
.clt-dialog { width: min(92vw, 30rem); max-height: 90vh; padding: 0; border: 0; border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(19, 35, 58, .6); }
.clt-dialog::backdrop { background: rgba(19, 35, 58, .55); }
.clt-dialog__inner { display: grid; gap: 12px; padding: 26px 24px 22px; }
.clt-dialog__title { margin: 0; font: 600 1.375rem/1.25 var(--serif); color: var(--navy); }
.clt-dialog__text { margin: 0; color: var(--ink-muted); }
.clt-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.clt-dialog--static { position: static; display: block; margin: 20px 0 0; max-width: 30rem; border: 1px solid var(--line); }
.clt-dialog[open] { animation: clt-dialog-in .2s var(--ease); }
@keyframes clt-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }


/* Inline forms (a button or a short field in a list, table or card) */
.clt-inline-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; margin: 0; vertical-align: middle; }
.clt-inline-form .clt-input { flex: 1 1 160px; width: auto; min-width: 0; max-width: 100%; min-height: 44px; padding-block: 8px; }
.clt-inline-form input[type="file"] { flex-basis: 100%; }
.clt-save-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.clt-save-form .clt-select, .clt-save-form .clt-input { width: auto; flex: 1 1 180px; max-width: 320px; min-height: 44px; padding-block: 8px; }

/* Result card additions (clt-core): notes, a date as the answer, the data line under "How we calculated this" */
.clt-result__notes { display: grid; gap: 10px; }
.clt-result__notes p { margin: 0; line-height: 1.55; }
.clt-result__figure--date { font-size: clamp(2rem, 1.4rem + 2.1vw, 2.8rem); line-height: 1.08; letter-spacing: -.015em; }
.clt-calc + .clt-calc__more { margin-top: var(--sp-5); }
.clt-how__data { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-muted); }

/* Notify list (before payments open) */
.clt-dialog .clt-notify-form { margin-top: 4px; }
.clt-dialog__inner > form[method="dialog"] { display: flex; justify-content: flex-end; }
.clt-free-band > .clt-notify-inline, .clt-free-band__action > .clt-notify-inline { flex-basis: 100%; }
.clt-notify-inline::before { content: "Membership opens soon. Leave your email and we will write once, when you can join."; display: block; margin: 0 0 14px; font: 600 1.125rem/1.35 var(--serif); color: var(--navy); }
.clt-notify-inline { max-width: 36rem; margin: var(--sp-5) 0; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--clay); border-radius: var(--r); box-shadow: var(--shadow-1); scroll-margin-top: 16px; }

/* ==========================================================================
   13b. Membership: tier ladder, founding card, free band
   ========================================================================== */
.clt-ladder { margin: 0 0 var(--sp-8); }
.clt-ladder__head { max-width: 46rem; margin: 0 0 var(--sp-6); }
.clt-ladder__head h2 { margin-bottom: .35em; }
.clt-ladder__head p:last-child { margin: 0; font-size: var(--fs-lede); }
.clt-tiers { counter-reset: clt-tier; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.clt-tier-card { --em: none; counter-increment: clt-tier; position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); color: var(--ink); scroll-margin-top: 16px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.clt-tier-card:hover, .clt-tier-card:focus-within, .clt-tier-card:target { transform: translateY(-3px); border-color: var(--navy); box-shadow: var(--shadow-2); }
.clt-tier-card::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 0 6px; border-radius: 50%; background: var(--clay-soft); }
.clt-tier-card::after { content: ""; position: absolute; top: 32px; left: 28px; width: 40px; height: 40px; background: var(--clay-ink); -webkit-mask: var(--em) center / contain no-repeat; mask: var(--em) center / contain no-repeat; }
.clt-tier-card--bungalow, .clt-founding__card { --em: url("assets/img/tier-bungalow.svg"); }
.clt-tier-card--craftsman, .clt-founding__emblem { --em: url("assets/img/tier-craftsman.svg"); }
.clt-tier-card--mission { --em: url("assets/img/tier-mission.svg"); }
.clt-tier-card--hacienda { --em: url("assets/img/tier-hacienda.svg"); }
.clt-tier-card--estate { --em: url("assets/img/tier-estate.svg"); }
.clt-tier-card__name { margin: 0; font-size: 1.5rem; line-height: 1.1; }
.clt-tier-card__name::before { content: "Tier " counter(clt-tier, decimal-leading-zero); display: block; margin: 0 0 6px; font: 600 var(--fs-xs)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }
.clt-tier-card__who { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-tier-card__price { margin: 6px 0 0; padding: 12px 0; border-block: 1px solid var(--line); font: 600 1.25rem/1.25 var(--serif); color: var(--navy); }
.clt-tier-card .clt-checks { gap: 8px; margin: 4px 0 0; font-size: var(--fs-sm); line-height: 1.4; }
.clt-tier-card .clt-checks > li { padding-left: 26px; }
.clt-tier-card__founding { margin: 4px 0 0; padding: 8px 10px; border-radius: var(--r-sm); background: var(--clay-soft); color: var(--clay-ink); font-size: var(--fs-xs); font-weight: 600; line-height: 1.4; }
.clt-tier-card__action { margin: auto 0 0; padding-top: 10px; }
.clt-tier-card > p:empty { display: none; } /* the parser closes the action <p> before a <dialog>; the stray empty <p> is hidden */
.clt-tier-card__action .clt-btn, .clt-tier-card__action .clt-inline-form, .clt-tier-card__action .clt-inline-form .clt-btn { display: flex; width: 100%; }
.clt-tier-card--craftsman::before { background: var(--navy-2); }
.clt-tier-card--craftsman .clt-tier-card__who::before { content: "Our focus"; display: inline-block; margin: 0 8px 0 0; padding: 2px 9px; border-radius: var(--pill); background: var(--clay); color: var(--white); font: 600 var(--fs-xs)/1.4 var(--sans); letter-spacing: .04em; }
.clt-tier-card--estate { background: var(--paper); }
.clt-tier-card--craftsman { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.clt-tier-card--craftsman::after { background: var(--on-navy); }
.clt-tier-card--craftsman .clt-tier-card__name, .clt-tier-card--craftsman .clt-tier-card__price { color: var(--on-navy); }
.clt-tier-card--craftsman .clt-tier-card__name::before { color: var(--mark); }
.clt-tier-card--craftsman .clt-tier-card__who { color: var(--on-navy-muted); }
.clt-tier-card--craftsman .clt-tier-card__price { border-color: rgba(250, 246, 239, .2); }
.clt-tier-card--craftsman .clt-checks > li::before { border-color: var(--on-navy); }
.clt-tier-card--craftsman .clt-tier-card__founding { background: var(--navy-2); color: var(--mark); }
.clt-tier-card--craftsman .clt-btn { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.clt-tier-card--craftsman .clt-btn:hover { background: var(--white); border-color: var(--white); }
.clt-tier-card--craftsman .clt-btn--secondary { background: transparent; color: var(--on-navy); border-color: var(--on-navy); }
.clt-tier-card--craftsman:hover, .clt-tier-card--craftsman:focus-within, .clt-tier-card--craftsman:target { border-color: var(--clay); }

.clt-founding { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin: 0 0 var(--sp-7); padding: clamp(24px, 4vw, 48px); background: var(--tint); border-radius: var(--r-lg); }
.clt-founding__card { position: relative; min-height: 250px; display: flex; flex-direction: column; padding: 22px 24px; border-radius: 16px; background: radial-gradient(120% 140% at 100% 0%, #2A4468 0%, var(--navy) 55%, #0C1828 100%); color: var(--on-navy); box-shadow: 0 30px 60px -30px rgba(19, 35, 58, .7); overflow: hidden; }
.clt-founding__card::after { content: ""; position: absolute; right: -24px; bottom: -30px; width: 170px; height: 170px; background: rgba(250, 246, 239, .07); -webkit-mask: url("assets/img/tier-craftsman.svg") center / contain no-repeat; mask: url("assets/img/tier-craftsman.svg") center / contain no-repeat; }
.clt-founding__card p { margin: 0; }
.clt-founding__brand { display: flex; align-items: center; gap: 10px; font: 600 1rem/1.2 var(--serif); }
.clt-founding__kicker { margin-top: auto !important; font: 600 var(--fs-xs)/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mark); }
.clt-founding__no { font: 600 clamp(2.25rem, 1.6rem + 2vw, 3rem)/1.05 var(--serif); letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
.clt-founding__tier { display: flex; align-items: center; gap: 8px; margin-top: 4px !important; font-weight: 600; color: var(--on-navy-muted); }
.clt-founding__emblem { width: 22px; height: 22px; background: var(--on-navy-muted); -webkit-mask: var(--em) center / contain no-repeat; mask: var(--em) center / contain no-repeat; }
.clt-founding__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px !important; padding-top: 10px; border-top: 1px solid rgba(250, 246, 239, .18); font-size: var(--fs-xs); color: var(--on-navy-muted); }
.clt-founding__text h2 { margin-bottom: .35em; }
.clt-free-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 0 0 var(--sp-5); padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-free-band > div { flex: 1 1 420px; }
.clt-free-band h2 { margin: 0 0 6px; font-size: 1.5rem; }
.clt-free-band p { margin: 0; }
.clt-free-band__action { flex: none; max-width: 100%; }
.clt-free-band__action:has(.clt-notify-inline) { flex: 1 1 100%; }


/* Round 1 additions ------------------------------------------------------- */
.clt-nowrap { white-space: nowrap; }
.clt-arrow { display: inline-block; width: 8px; height: 8px; margin: -3px 0 0 9px; vertical-align: middle; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .16s var(--ease); }
.clt-link--arrow:hover .clt-arrow { transform: translateX(3px) rotate(45deg); }
.clt-link--arrow:has(.clt-arrow)::after { content: none; }

/* Breadcrumbs (calculator, guide and city pages) */
.clt-crumbs { margin: 0 0 10px; font-size: var(--fs-sm); }
.clt-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.clt-crumbs li { display: inline-flex; align-items: center; margin: 0; color: var(--ink-muted); }
.clt-crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px 0 4px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); }
.clt-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-muted); text-decoration-color: var(--line-strong); }
.clt-crumbs a:hover { color: var(--navy); text-decoration-color: var(--clay); }
.clt-crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.clt-crumbs + .clt-eyebrow { margin-top: 2px; }

/* Answer-first ledes on calculator pages */
.clt-lede--answer { color: var(--navy); }
.clt-masthead--calc .clt-lede--answer { max-width: 66ch; font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); }
.clt-lede2 { max-width: 62ch; margin: 10px 0 0; color: var(--ink-muted); }

/* Result card: verdict and notice line under the big number, number tiles, plain values with a small source link */
.clt-result__verdict { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--info-soft); color: var(--navy); font-weight: 600; line-height: 1.45; }
.clt-result__verdict::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; background: var(--navy); }
.clt-result__verdict--ok { background: var(--ok-soft); color: var(--ok); }
.clt-result__verdict--ok::before { background: var(--ok); }
.clt-result__verdict--over { background: var(--err-soft); color: var(--err); }
.clt-result__verdict--over::before { background: var(--err); }
.clt-result__verdict--warn { background: var(--warn-soft); color: var(--warn-ink); }
.clt-result__verdict--warn::before { background: var(--warn); }
.clt-result__deadline { margin: 0; font-size: 1.0625rem; color: var(--ink); }
.clt-result__deadline strong { color: var(--navy); }
.clt-result__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.clt-result__tile { display: grid; gap: 2px; margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); }
.clt-result__tile-label { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.clt-result__tile-value { font: 600 1.625rem/1.1 var(--serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.clt-result__fact dd { font-weight: 400; color: var(--navy); }
.clt-result__fact--wide { grid-column: 1 / -1; }
.clt-result__fact dd a:not(.clt-src) { display: inline-block; padding-block: 10px; color: inherit; text-decoration: none; }
.clt-result__fact dd a:not(.clt-src)::after { content: "source"; display: inline-block; margin-left: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--clay-ink); text-decoration: underline; text-underline-offset: .2em; }
.clt-result__fact dd a:not(.clt-src):hover::after { text-decoration-thickness: 2px; }
.clt-src { display: inline-block; margin-left: 6px; padding-block: 13px; text-underline-offset: .2em; font-size: var(--fs-xs); font-weight: 600; color: var(--clay-ink); }

/* Cap table by region, top cities, nearby cities (markup from clt-core) */
.clt-cap-table { margin: 0 0 var(--sp-6); }
.clt-cap-table h2 { font-size: 1.5rem; }
.clt-top-cities, .clt-nearby { margin: 0 0 var(--sp-5); }
.clt-top-cities__h, .clt-nearby h2 { margin: 0 0 8px; font: 600 1.125rem/1.3 var(--serif); color: var(--navy); }
.clt-nearby h2 { font-size: 1.375rem; }
.clt-top-cities ul, .clt-nearby__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clt-top-cities li, .clt-nearby__list li { margin: 0; }
.clt-top-cities a, .clt-nearby__list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--white); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.clt-top-cities a:hover, .clt-nearby__list a:hover { border-color: var(--navy); }
.clt-nearby__note { font-weight: 400; color: var(--ink-muted); }

/* 44 px targets for links in tables, contents lists and citations */
.clt-table tbody th a:not(.clt-btn), .clt-table td a:not(.clt-btn):not(.clt-src) { display: inline-block; padding-block: 11px; margin-block: -11px; } /* 44 px hit area without making the row taller */
.clt-table tbody th .clt-tag { margin-block: 6px 2px; }
.clt-legal__toc a { display: block; min-height: 44px; padding: 11px 0; line-height: 1.35; }
.clt-legal__toc li { padding: 0; }
.clt-change__source a { display: inline-block; padding-block: 6px; margin-block: -6px; }

/* Membership: units definition, tier chooser, what members get, side by side, next to other apps */
.clt-define { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--clay); background: var(--white); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.clt-chooser { display: grid; gap: 8px; max-width: 46rem; margin: 0 0 var(--sp-5); padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-chooser__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.clt-chooser__out { margin: 0; font-weight: 600; color: var(--navy); }
.clt-chooser__out a { font-family: var(--serif); font-size: 1.125rem; }
.clt-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--white); overflow: hidden; }
.clt-stepper__btn { width: 48px; min-height: 48px; border: 0; background: var(--paper); color: var(--navy); font: 600 1.375rem/1 var(--sans); cursor: pointer; }
.clt-stepper__btn:hover { background: var(--tint); }
.clt-stepper__input.clt-input { width: 76px; min-height: 48px; border: 0; border-radius: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.clt-stepper__input::-webkit-outer-spin-button, .clt-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.clt-tier-card.is-match { border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay), var(--shadow-2); }
.clt-mg { margin: 0 0 var(--sp-8); scroll-margin-top: 16px; }
.clt-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 8px; }
.clt-shot { margin: 0; }
.clt-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 760; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); background: var(--white); }
.clt-shot figcaption { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-shots__note { margin: 0 0 var(--sp-5); font-size: var(--fs-xs); color: var(--ink-muted); }
.clt-demo-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 var(--sp-5); }
.clt-mt { column-count: 3; column-gap: 16px; }
.clt-mt__group { break-inside: avoid; margin: 0 0 16px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-mt__h { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 1.25rem; }
.clt-mt__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--clay-soft); color: var(--clay-ink); }
.clt-mt__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.clt-mt__list li { margin: 0; padding: 8px 0 0; border-top: 1px solid var(--line); }
.clt-mt__list li:first-child { padding-top: 0; border-top: 0; }
.clt-mt__list strong { display: block; color: var(--navy); }
.clt-mt__list span:not(.clt-tag) { color: var(--ink-muted); }
.clt-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0 0 var(--sp-6); }
.clt-side__card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-side__card h3 { margin: 0; font-size: 1.375rem; }
.clt-side__card--member { border: 2px solid var(--navy); }
.clt-side__action { margin-top: auto; }
.clt-next { margin: 0 0 var(--sp-7); padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: var(--r-sm); }
.clt-next h2 { margin: 0 0 6px; font-size: 1.375rem; }
.clt-next p { margin: 0; }

/* Round 1 components printed by clt-core on public pages (the theme owns these styles) */
.clt-print-only[hidden] { display: none; }
.clt-result__actions > .clt-keep, .clt-result__actions > .clt-cap-notify { flex: 1 1 100%; width: 100%; min-width: 0; }
.clt-keep.clt-disclosure { margin-top: 6px; background: var(--paper); box-shadow: none; }
.clt-keep .clt-disclosure__summary { min-height: 48px; font-size: 1rem; }
.clt-keep .clt-disclosure__body > p { margin: 0 0 10px; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-keep .clt-inline-form { display: flex; margin: 0 0 8px; }
.clt-cap-notify { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.clt-cap-notify__h { margin: 0 0 4px; }
.clt-cap-notify .clt-form { gap: 12px; margin-top: 10px; }
.clt-result__facts--kept + .clt-fold__btn { margin-top: -6px; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.clt-footer { margin-top: 0; }
.clt-footer__street { height: 118px; background: url("assets/img/street.svg") center bottom / 1440px 118px repeat-x; }
.clt-footer__body { background: var(--navy); color: var(--on-navy); }
.clt-footer__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; max-width: var(--wrap); margin-inline: auto; padding: clamp(40px, 5vw, 64px) var(--gutter) 28px; }
.clt-footer p { color: var(--on-navy-muted); font-size: var(--fs-sm); }
.clt-footer a { color: var(--on-navy); text-decoration-color: rgba(250, 246, 239, .5); }
.clt-footer a:hover { color: var(--white); text-decoration-color: var(--white); }
.clt-footer__brand { display: flex; align-items: center; gap: 12px; color: var(--on-navy) !important; font: 600 1.1875rem/1.2 var(--serif) !important; }
.clt-footer__brand svg { flex: none; }
.clt-footer .clt-footer__h { margin: 0 0 8px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }
.clt-footer__col ul { margin: 0; padding: 0; list-style: none; }
.clt-footer__col li { margin: 0; }
.clt-footer__col a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); }
.clt-footer__about a { display: inline-block; padding: 10px 0; }
.clt-footer__legal { max-width: var(--wrap); margin-inline: auto; padding: 22px var(--gutter) 34px; border-top: 1px solid rgba(250, 246, 239, .16); }
.clt-footer__disclaimer { max-width: 72ch; margin: 0 0 10px; }
.clt-footer__meta { margin: 0; font-size: var(--fs-xs) !important; }

/* ==========================================================================
   15. UI kit page (local only) and print
   ========================================================================== */
.clt-kit { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
.clt-kit__h { font-size: 1.75rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.clt-kit__note { color: var(--ink-muted); max-width: 60ch; }
.clt-kit__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.clt-kit__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; align-items: start; }
.clt-kit__card { max-width: 720px; padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-kit__dark { margin-top: 16px; padding: 20px; border-radius: var(--r); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
	.clt-header, .clt-footer__street, .clt-footer__inner, .clt-skip, .clt-crumbs, .clt-result__actions, .clt-calc__form, .clt-related, .clt-at-find, .clt-chips, .clt-at-recent, .clt-at-chev, .clt-btn, .clt-hero__art, .clt-src, .clt-keep, .clt-cap-notify, .clt-member-nav, .clt-unit-picker, .clt-row-actions, .clt-resolver, .clt-demo-banner, .clt-panel__actions, .clt-form__actions, dialog, .clt-main--app form:not(.clt-keep-print), main input[type="file"] { display: none !important; }
	body { background: #fff; font-size: 11pt; }
	.clt-footer__body { background: #fff; color: #000; }
	.clt-footer p { color: #000; }
	.clt-calc { display: block; }
	/* The result starts on the first page: only its rows and the figure stay whole. */
	.clt-result { box-shadow: none; border-color: #999; break-inside: auto; page-break-inside: auto; }
	.clt-result__answer, .clt-result__fact, .clt-result__tile, .clt-result__verdict { break-inside: avoid; page-break-inside: avoid; }
	/* Closed disclosures are opened by site.js before printing; their markers are not printed. */
	.clt-disclosure__summary::after { content: none; }
	details.clt-disclosure:not(:has(> .clt-disclosure__body > :not(form))) { display: none !important; }
	.clt-at-g.is-shut .clt-at-panel { grid-template-rows: 1fr; }
	.clt-at-g.is-shut .clt-at-list { visibility: visible; }
	/* Results and member records list their link addresses once, in the printed sources list; long text pages print
	   each address after its link. */
	.clt-print-only[hidden] { display: block !important; margin-top: 12pt; font-size: 9pt; }
	.clt-print-only ol { margin: 0 0 6pt; padding-left: 16pt; word-break: break-all; }
	.clt-prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}

/* ==========================================================================
   16. Tablet and phone overrides (kept at the END of the stylesheet)
   ========================================================================== */
@media (max-width: 1179.98px) {
	.clt-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.clt-mt { column-count: 2; }
	.clt-honest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1099.98px) {
	.clt-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.clt-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.clt-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 1023.98px) {
	/* Phone and tablet header: brand plus Menu. The panel is placed against .clt-header (position: relative). */
	.js .clt-menu-btn { display: inline-flex; }
	.js .clt-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 6px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(19, 35, 58, .45); }
	.js .clt-header.is-open .clt-nav { display: flex; }
	.js .clt-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.js .clt-nav__link { width: 100%; min-height: 54px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-family: var(--serif); font-size: 1.25rem; }
	.js .clt-nav__link:hover { background: transparent; }
	.js .clt-nav__link[aria-current]::after { left: auto; right: 4px; bottom: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(50%); }
	.js .clt-nav__account { padding-top: 16px; }
	.js .clt-nav__account-link { display: flex; justify-content: center; min-height: 50px; font-size: 1rem; }
	/* No script: the links wrap under the brand instead of hiding behind a button. */
	html:not(.js) .clt-header__inner { flex-wrap: wrap; padding-block: 8px; }
	html:not(.js) .clt-nav { flex-wrap: wrap; width: 100%; }
	html:not(.js) .clt-nav__list { flex-wrap: wrap; }

	.clt-hero__inner, .clt-proof, .clt-members, .clt-two, .clt-guide-layout, .clt-legal { grid-template-columns: minmax(0, 1fr); }
	.clt-hero h1 { max-width: 16ch; }
	.clt-hero__art { max-width: 520px; }
	.clt-calc { grid-template-columns: minmax(0, 1fr); }
	.clt-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.clt-side { grid-template-columns: minmax(0, 1fr); }
	.clt-tier-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.clt-founding { grid-template-columns: minmax(0, 1fr); }
	.clt-founding__card { max-width: 420px; }
	.clt-calc__out > .clt-result-empty { display: none; }
	.clt-guide-layout > .clt-aside { order: -1; }
	.clt-guide-layout > .clt-aside > .clt-doc { display: none; }
	.clt-legal__toc { order: -1; }
}

@media (max-width: 719.98px) {
	:root { --header-h: 64px; }
	body { font-size: 1.0625rem; }
	.clt-brand__mark { width: 36px; height: 36px; }
	.clt-brand__bottom { font-size: 1.1875rem; }
	.clt-brand__top { font-size: .75rem; letter-spacing: .14em; }
	.clt-section { padding-block: 44px; }
	.clt-honest { gap: 0; }
	.clt-honest > li { padding: 14px 0; border: 0; border-top: 1px solid rgba(250, 246, 239, .18); border-radius: 0; }
	.clt-honest strong { display: inline; margin: 0 6px 0 0; font-size: 1.0625rem; }
	.clt-honest span { font-size: var(--fs-sm); }
	.clt-guide-promo .clt-doc { display: none; }
	.clt-doc { aspect-ratio: auto; }
	.clt-doc__toc li:nth-child(n+6) { display: none; }
	.clt-doc__foot { position: static; margin-top: 14px; }
	.clt-q-grid { gap: 12px; }
	.clt-points { gap: 18px; }
	.clt-section__head { margin-bottom: var(--sp-5); }
	.clt-hero { padding: 32px 0 40px; }
	.clt-hero h1 { font-size: clamp(2.25rem, 1.2rem + 5.4vw, 2.75rem); }
	.clt-hero__actions .clt-btn { flex: 1 1 100%; }
	.clt-art-stack { padding-bottom: 60px; }
	.clt-how-art { display: none; }
	.clt-art-card { padding: 20px 18px 18px; }
	.clt-art-card__figure strong { font-size: 2.625rem; }
	.clt-art-date { right: 0; width: 90%; }
	.clt-q-card, .clt-tool-card__a { padding: 18px 48px 18px 18px; }
	.clt-q-card__q, .clt-tool-card__q { font-size: 1.1875rem; }
	.clt-guide-promo, .clt-guide-card { grid-template-columns: minmax(0, 1fr); }
	.clt-doc { max-width: 220px; }
	.clt-plans { grid-template-columns: minmax(0, 1fr); }
	.clt-tiers { grid-template-columns: minmax(0, 1fr); }
	.clt-mt { column-count: 1; }
	.clt-compare-sec { display: none; } /* phones: the tier cards carry the same facts; the table repeats them */
	.clt-mt__group { padding: 16px; }
	.clt-honest { grid-template-columns: minmax(0, 1fr); }
	.clt-result__facts { grid-template-columns: minmax(0, 1fr); }
	.clt-result__fact { display: block; padding: 10px 14px; }
	.clt-result__fact dd { margin: 2px 0 0; }
	.clt-crumbs [aria-current] { display: none; }
	.clt-table--stack caption { display: block; width: auto; }
	.clt-art-stack { padding-bottom: 84px; }
	.clt-chooser { padding: 16px; }
	.clt-tier-card { padding: 20px 18px; }
	.clt-tier-card::after { top: 28px; left: 26px; }
	.clt-founding { padding: 20px; }
	.clt-founding__card { padding: 18px 20px; }
	.clt-free-band { padding: 20px; }
	.clt-free-band__action, .clt-free-band__action .clt-btn { width: 100%; }
	.clt-dialog__actions .clt-btn { flex: 1 1 100%; }
	.clt-plan__for, .clt-plan__alt { min-height: 0; }
	.clt-change { grid-template-columns: minmax(0, 1fr); }
	.clt-change__meta { grid-row: auto; flex-direction: row; align-items: center; flex-wrap: wrap; }
	.clt-result__actions .clt-btn { flex: 1 1 auto; }
	.clt-choice { gap: 8px; padding: 10px; }
	.clt-disclaimer a { white-space: normal; }

	/* Tables become labelled rows (never cut mid-word). */
	.clt-table--stack, .clt-table--stack tbody, .clt-table--stack tr, .clt-table--stack th, .clt-table--stack td { display: block; }
	.clt-table--stack { border-radius: var(--r); }
	.clt-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.clt-table--stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
	.clt-table--stack tbody tr:last-child { border-bottom: 0; }
	.clt-table--stack th, .clt-table--stack td { padding: 4px 0; border: 0; }
	.clt-table--stack tbody th { font: 600 1.125rem/1.3 var(--serif); margin-bottom: 6px; }
	.clt-table--stack td { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 12px; }
	.clt-table--stack td::before { content: attr(data-label); color: var(--ink-muted); font-weight: 600; font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
	.clt-compare td { text-align: left; }

	/* All tools hub on phones: groups start closed, chips scroll sideways with snap. */
	.clt-search { flex-basis: 100%; }
	.clt-search__input { min-height: 56px; font-size: 1.0625rem; }
	.clt-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
	.clt-chips::-webkit-scrollbar { display: none; }
	.clt-chip { flex: none; scroll-snap-align: start; }
	.clt-at-groups { gap: 12px; margin-top: 18px; }
	.clt-at-gb { grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px; }
	.clt-at-ic { grid-row: 1 / span 2; align-self: start; width: 42px; height: 42px; }
	.clt-at-gw { grid-column: 2; grid-row: 1; }
	.clt-at-gn { grid-column: 2; grid-row: 2; }
	.clt-at-chev { grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px; }
	.clt-at-list { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-inline: 12px; }
	.clt-at-g:not(.is-shut) .clt-at-list { padding-bottom: 12px; }
	.clt-at-row:hover { transform: none; }

	.clt-footer__street { height: 84px; background-size: 1024px 84px; }
	.clt-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }
	.clt-footer__col:last-child { grid-column: 1 / -1; }
	.clt-footer__col:last-child ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
}

@media (max-width: 380px) {
	.clt-brand { gap: 10px; }
	.clt-brand__bottom { font-size: 1.0625rem; }
	.clt-menu-btn { padding-inline: 12px; }
	.clt-art-card__facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
	.clt-q-card__d { display: none; }
	.clt-q-card { gap: 4px; }
}

/* Phones: compact stacked table rows (after the stacking rules above). */
@media (max-width: 719.98px) {
	.clt-table--stack tr { padding: 10px 14px; }
	.clt-table--stack tbody th { margin-bottom: 0; font-size: 1.0625rem; }
	.clt-table--stack th, .clt-table--stack td { padding: 1px 0; }
	.clt-table--stack td { font-size: var(--fs-sm); line-height: 1.4; }
	.clt-table--stack td::before { padding-top: 1px; }
}

/* Nearby places: a grid of small cards (the notes can be long) */
.clt-nearby__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.clt-nearby__list a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; height: 100%; padding: 10px 14px; border-radius: var(--r-sm); line-height: 1.35; }
.clt-nearby__note { font-size: var(--fs-xs); }

/* Phone folds made by site.js (below 768 px) */
.clt-fold__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; margin: 8px 0; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1.3 var(--sans); text-align: left; cursor: pointer; }
.clt-fold__btn::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.clt-fold__btn[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
.clt-fold__btn--sm { width: auto; min-height: 44px; margin: 8px 0 0; }
.clt-fold__summary { margin: -4px 0 8px; font: 600 1.25rem/1.3 var(--serif); color: var(--navy); }
.clt-result .clt-fold__btn { margin: 0; }
@media print {
	.clt-fold__btn { display: none !important; }
	.clt-fold__body[hidden] { display: block !important; }
	tr.clt-fold__item[hidden] { display: table-row !important; }
	li.clt-fold__item[hidden] { display: list-item !important; }
}

/* Phones: the rent control index as one compact line per place (name, figure, period under it) */
@media (max-width: 719.98px) {
	.clt-page-rent-control-cities .clt-calc-after .clt-table--stack tr { display: grid; grid-template-columns: minmax(7.5em, 1fr) minmax(0, 1.25fr); align-items: start; gap: 0 12px; padding: 9px 14px; }
	.clt-page-rent-control-cities .clt-calc-after .clt-table--stack tbody th { margin: 0; min-width: 0; overflow-wrap: anywhere; }
	.clt-page-rent-control-cities .clt-calc-after .clt-table--stack td { display: block; text-align: right; font-weight: 600; }
	.clt-page-rent-control-cities .clt-calc-after .clt-table--stack td::before { content: none; }
	.clt-page-rent-control-cities .clt-calc-after .clt-table--stack td .clt-muted { display: block; font-weight: 400; font-size: var(--fs-xs); }
	.clt-page-rent-control-cities .clt-calc-after .clt-table--stack td:nth-child(n+3) { grid-column: 1 / -1; text-align: left; font-weight: 400; }
	.clt-section { padding-block: 36px; }
}
@media (max-width: 480px) {
	.clt-masthead--calc .clt-lede2 { display: none; }
	.clt-masthead--calc .clt-crumbs + .clt-eyebrow { display: none; }
	.clt-calc-after, .clt-related { margin-top: 32px; }
	.clt-body--calculator { padding-bottom: 40px; }
	.clt-masthead--calc { padding-top: 16px; }
	.clt-footer__street { height: 56px; background-size: 690px 56px; }
	.clt-result__actions { gap: 8px; }
	.clt-result__actions .clt-btn--secondary { flex: 1 1 30%; padding-inline: 10px; }
	.clt-related__list { gap: 10px; }
	.clt-tool-card__a { padding-block: 14px; }
	.clt-tool-card__d, .clt-tool-card__cite { display: none; }
	.clt-related__list { gap: 0; border-top: 1px solid var(--line); }
	.clt-related .clt-tool-card__a { min-height: 48px; padding: 12px 40px 12px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
	.clt-related .clt-tool-card__a:hover { transform: none; box-shadow: none; }
	.clt-related .clt-tool-card__go { right: 6px; top: 22px; }
	.clt-related .clt-tool-card__kicker { display: none; }
	.clt-cap-notify .clt-fold__btn { margin: 0; }
	.clt-footer__inner { padding-top: 28px; padding-bottom: 16px; gap: 16px; }
	.clt-footer__legal { padding-top: 16px; padding-bottom: 24px; }
	.clt-footer__col:last-child ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
	.clt-disclosure__summary { min-height: 52px; padding-block: 12px; }
	.clt-calc__more { gap: 8px; }
	.clt-art-caption { display: none; }
	.clt-footer__about > p:nth-child(2) { display: none; }
}
@media (max-width: 719.98px) {
	.clt-table--stack td:empty { display: none; }
	.clt-table--stack caption { padding: 12px 14px 4px; }
}

/* ==========================================================================
   Round 2 (reviews/round-2 FIXES-2 section C)
   ========================================================================== */
/* C2: long addresses wrap instead of widening a phone */
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* C4: standalone links get a 44 px hit area without changing the line (citations under quoted law, changelog and
   alert links, help resources, checked-date links, saved result links) */

/* The line grows to 44 px rather than the hit area reaching over the next control. */
.clt-statute__cite a, .clt-change__body > p > a, .clt-change__source a, dd > a:only-child:not(.clt-btn):not(.clt-src), .clt-panel > p > a:only-child:not(.clt-btn), .clt-compliance__item > p > a:only-child, .clt-terms-line a, .clt-compliance__item > strong > a, .clt-saved > li > a:not(.clt-btn), .clt-disclosure__body > p > a:only-child:not(.clt-btn) { display: inline-block; padding-block: 10px; line-height: 24px; } /* 44 px without a flex box: a flex box in a sentence lost its spaces in WebKit ("therent roll", w7) */
a.clt-a-in-text.clt-a-in-text.clt-a-in-text.clt-a-in-text { display: inline; padding-block: 0; line-height: inherit; } /* site.js: the link sits in a sentence, so it is an ordinary inline link */

.clt-card > p > .clt-link--arrow:only-child { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; } /* gap: a flex box drops the space between the words */

/* C8: the hero's verdict uses the calculator's colours */
.clt-art-card__verdict { display: flex; align-items: flex-start; gap: 8px; }
.clt-art-card__verdict::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .45em; border-radius: 50%; background: currentColor; }
.clt-art-card__verdict--over { background: var(--err-soft); color: var(--err); }
.clt-art-card__verdict--ok { background: var(--ok-soft); color: var(--ok); }
.clt-art-card__verdict--warn { background: var(--warn-soft); color: var(--warn-ink); }

/* C8: questions landlords ask, on each calculator (FAQPage is built from this markup) */
.clt-faq--calc { margin: var(--sp-7, 48px) 0 0; }
.clt-faq--calc > h2 { margin: 0 0 6px; }
.clt-faq--calc > .clt-muted { margin: 0 0 16px; }
.clt-faq--calc .clt-disclosure__summary h3 { margin: 0; font: inherit; color: inherit; }
.clt-faq--calc .clt-disclosure + .clt-disclosure { margin-top: 8px; }
.clt-sources-line { margin: 20px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }

/* C6: city rules under their own headings, as short bullets */
.clt-city-sec { max-width: 44rem; margin: var(--sp-6, 40px) 0 0; }
.clt-city-sec h2 { margin: 0 0 12px; font-size: 1.5rem; }
.clt-city-sec__list { display: grid; gap: 8px; margin: 0; padding-left: 1.25em; }
.clt-city-sec__list li { padding-left: 4px; line-height: 1.55; }
.clt-city-sec__list li::marker { color: var(--clay); }
.clt-city-sec__past { margin-top: 14px; }
.clt-city-sec__past ul { display: grid; gap: 6px; margin: 0; padding-left: 1.25em; }
.clt-city-sec + .clt-nearby, .clt-result + .clt-city-sec { margin-top: var(--sp-6, 40px); }

/* C1: membership. Screenshots: one large dashboard, calendar and score beside each other; each enlarges. */
.clt-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.clt-shot--dashboard { grid-column: 1 / -1; }
.clt-shot--dashboard img { aspect-ratio: auto; }
.clt-shot__zoom { position: relative; display: block; border-radius: var(--r); color: var(--navy); text-decoration: none; }
.clt-shot__zoom picture { display: block; }
.clt-shot__hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); background: rgba(19, 35, 58, .86); color: var(--on-navy); font: 600 var(--fs-xs)/1.2 var(--sans); }
.clt-shot__hint::before { content: ""; width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; box-shadow: 4px 4px 0 -2px currentColor; }
.clt-shot__zoom:hover img { border-color: var(--navy); }
.clt-zoom { width: min(96vw, 1280px); max-height: 94vh; }
.clt-zoom__inner { display: grid; gap: 10px; padding: 12px; }
.clt-zoom img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-sm); }
.clt-zoom__cap { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-zoom form { justify-self: end; margin: 0; }
.clt-masthead .clt-demo-link { margin: 18px 0 0; }
/* Member tools: balanced columns; a long group runs on into the next column */
.clt-mt { column-count: 3; column-gap: 32px; }
.clt-mt__group { break-inside: auto; margin: 0 0 22px; padding: 14px 0 0; background: none; border: 0; border-top: 2px solid var(--navy); border-radius: 0; }
.clt-mt__h { break-after: avoid; }
.clt-mt__list li { break-inside: avoid; }
/* Tier cards folded to one line on phones (membership.js) */
.clt-tier-card__toggle { display: none; }
.clt-tier-card__more { display: contents; }
.clt-tier-card__more[hidden] { display: none; }
.clt-tier-card__more > p:empty { display: none; }
.clt-tier-card__per-home { margin: -4px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-tier-card--craftsman .clt-tier-card__per-home { color: var(--on-navy-muted); }

/* C5: fold buttons say what they do when open (site.js swaps Show/Hide) */

@media print {
	/* C3: a calculator with a result prints the question, the result, its sources and the print line only. */
	body:has(.clt-calc__out .clt-result) .clt-calc-after, body:has(.clt-calc__out .clt-result) .clt-body--calculator .clt-calc__more, body:has(.clt-calc__out .clt-result) .wp-site-blocks > footer, body:has(.clt-calc__out .clt-result) .clt-lede2, body:has(.clt-calc__out .clt-result) .clt-calc__out > :not(.clt-result), .clt-faq--calc, .clt-city-sec__past { display: none !important; }
	/* C3: the tenant's deposit statement prints alone, as the document that is mailed. */
	body:has(.clt-statement) .wp-site-blocks > header, body:has(.clt-statement) .wp-site-blocks > footer, body:has(.clt-statement) .clt-masthead, body:has(.clt-statement) .clt-body > :not(.clt-statement) { display: none !important; }
	body:has(.clt-statement) .clt-statement { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; font-size: 10pt; line-height: 1.35; }
	body:has(.clt-statement) .clt-statement h2 { margin-top: 0; font-size: 15pt; }
	body:has(.clt-statement) .clt-statement h3 { margin-top: 10pt; font-size: 11pt; }
	body:has(.clt-statement) .clt-statement table { font-size: 9.5pt; }
	body:has(.clt-statement) .clt-statement img { max-height: 3in; }
	.clt-shot__hint { display: none; }
}
@page { margin: 14mm 14mm 16mm; @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 9pt Arial, sans-serif; color: #555; } }

@media (min-width: 768px) {
	.clt-tier-card__more[hidden] { display: contents; }
}
@media (max-width: 1023.98px) {
	.clt-mt { column-count: 2; }
}
@media (max-width: 767.98px) {
	/* Tier rows: name and homes, with Show; the chosen tier stays open */
	.clt-tier-card__toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 44px; padding: 6px 16px; border: 1.5px solid currentColor; border-radius: var(--pill); background: transparent; color: var(--navy); font: 600 var(--fs-sm)/1 var(--sans); cursor: pointer; }
	.clt-tier-card--craftsman .clt-tier-card__toggle { color: var(--on-navy); }
	.clt-tier-card.is-brief { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 14px 16px; transform: none; }
	.clt-tier-card.is-brief::before, .clt-tier-card.is-brief::after, .clt-tier-card.is-brief .clt-tier-card__name::before { display: none; }
	.clt-tier-card.is-brief .clt-tier-card__name { grid-column: 1; font-size: 1.25rem; }
	.clt-tier-card.is-brief .clt-tier-card__who { grid-column: 1; }
	.clt-tier-card.is-brief .clt-tier-card__toggle { grid-column: 2; grid-row: 1 / span 2; }
	.clt-tier-card:not(.is-brief) .clt-tier-card__toggle { align-self: flex-start; order: 1; }
	.clt-tiers { gap: 10px; }
	/* Member tools: one column, each group's described list opens under its name */
	.clt-mt { column-count: 1; }
	.clt-mt__group { margin: 0 0 14px; }
	.clt-mt__list { gap: 10px; }
	.clt-founding__card { display: none; } /* decorative example card (aria-hidden); the text says the same */
	/* Screenshots: phone crops side by side, swiped; each enlarges */
	.clt-shots { display: flex; gap: 12px; margin: 0 -16px 8px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
	.clt-shot { flex: 0 0 72%; scroll-snap-align: start; }
	.clt-shot img, .clt-shot--dashboard img { aspect-ratio: 780 / 1200; object-fit: cover; }
	.clt-shot figcaption { font-size: var(--fs-xs); }
}

/* Stacked tables on phones: a link grows its cell to 44 px instead of reaching over the next line */
@media (max-width: 719.98px) {
	.clt-table--stack td a:not(.clt-btn):not(.clt-src), .clt-table--stack tbody th a:not(.clt-btn) { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; margin-block: 0; }
}

/* ==========================================================================
   17. Guides as articles (single-clt_guide; core theme request u6)
   One reading column (42rem, 18 px text); on wide screens an "In this guide" rail on the left, pinned only at 1100 px
   and up. Phone and print rules for these are at the end of this section.
   ========================================================================== */
.clt-main--article { --article-text: 42rem; --article-rail: 14rem; --article-gap: clamp(40px, 5vw, 72px); }
.clt-masthead--article { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 3.5vw, 40px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 100%); }
.clt-masthead--article .clt-masthead__inner { max-width: calc(var(--article-text) + 2 * var(--gutter)); }
.clt-masthead--article .clt-masthead__title { max-width: 22ch; font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.08; font-variant-numeric: lining-nums; }
.clt-masthead--article .clt-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--clay); }
.clt-article__dek { max-width: 40rem; margin: 18px 0 0; font: italic 400 clamp(1.1875rem, 1.05rem + .5vw, 1.375rem)/1.5 var(--serif); color: var(--navy); font-variant-numeric: lining-nums; }
.clt-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: 18px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-article__meta > span { display: inline-flex; align-items: center; gap: .3em; min-height: 32px; }
.clt-article__meta > span + span::before { content: ""; width: 4px; height: 4px; margin-right: 18px; border-radius: 50%; background: var(--clay); }
.clt-article__meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-muted); }
.clt-article__meta time { color: var(--navy); font-weight: 600; }

.clt-body--article { max-width: none; padding: clamp(28px, 4vw, 52px) var(--gutter) var(--sp-8); font-size: 1.125rem; line-height: 1.7; }
.clt-body--article > * { max-width: var(--article-text); margin-inline: auto; }
.clt-body--article > :where(p, ul, ol, blockquote) { margin-bottom: 1.1em; }
.clt-body--article > h2 { margin-top: 1.7em; margin-bottom: .55em; padding-top: .85em; font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); line-height: 1.15; background: linear-gradient(var(--clay), var(--clay)) left top / 44px 3px no-repeat; scroll-margin-top: 16px; font-variant-numeric: lining-nums; }
.clt-body--article > h3 { margin-top: 1.6em; margin-bottom: .4em; font-size: 1.3125rem; scroll-margin-top: 16px; font-variant-numeric: lining-nums; }
.clt-body--article > ul:not([class]) { padding-left: 1.3em; }
.clt-body--article > ul:not([class]) > li::marker { color: var(--clay); }
.clt-body--article > ol:not([class]) > li::marker { color: var(--clay-ink); font-weight: 600; font-variant-numeric: lining-nums; }
.clt-body--article li + li { margin-top: .45em; }
.clt-body--article strong { color: var(--navy); }
.clt-body--article code { font-size: .88em; }
.clt-body--article > blockquote { margin-block: 1.4em; padding: 4px 0 4px 22px; border-left: 3px solid var(--sage); font: italic 400 1.1875rem/1.6 var(--serif); color: var(--navy); font-variant-numeric: lining-nums; }
.clt-body--article > blockquote p:last-child { margin-bottom: 0; }
.clt-body--article > hr { margin-block: 2.5em; }
.clt-article__answer { position: relative; margin-bottom: 1.5em !important; padding: 22px 26px 22px 28px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--clay); border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow-1); font-size: 1.1875rem; line-height: 1.6; }
.clt-article__answer strong:first-child { display: block; margin-bottom: 4px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }

/* Tables in a guide: full reading width, figures in lining numbers; on phones each row is a labelled card. */
.clt-body--article > .clt-table-wrap { margin-block: 1.4em 1.6em; }
.clt-table--article { font-size: var(--fs-sm); line-height: 1.5; font-variant-numeric: lining-nums tabular-nums; }
.clt-table--article th, .clt-table--article td { padding: 12px 14px; }
.clt-table--article tbody th { font-weight: 600; }

/* "In this guide" */
.clt-toc { margin-bottom: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-toc__summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px; list-style: none; cursor: pointer; border-radius: var(--r); }
.clt-toc__summary::-webkit-details-marker { display: none; }
.clt-toc__summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: -4px 4px 0 auto; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s var(--ease); }
.clt-toc[open] > .clt-toc__summary::after { margin-top: 4px; transform: rotate(-135deg); }
.clt-toc__label { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }
.clt-toc__count { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-toc__list { margin: 0; padding: 0 18px 10px; list-style: none; counter-reset: toc; }
.clt-toc__list li { display: flex; gap: 12px; margin: 0; border-top: 1px solid var(--line); counter-increment: toc; }
.clt-toc__list li::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 1.6em; padding-top: 12px; font: 600 var(--fs-xs)/1.5 var(--sans); color: var(--clay-ink); font-variant-numeric: lining-nums tabular-nums; }
.clt-toc__list a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--navy); font-size: var(--fs-sm); line-height: 1.35; text-decoration: none; }
.clt-toc__list a:hover, .clt-toc__list a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--clay); }
.clt-toc__list a[aria-current="true"] { font-weight: 600; }

/* The related tool, sources, questions, closing line and more guides */
.clt-guide__tool { margin-block: 2.4em; padding: clamp(22px, 3vw, 30px); background: var(--navy); color: var(--on-navy); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.clt-guide__tool .clt-panel__h { margin: 0 0 8px; color: var(--on-navy); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); background: none; padding: 0; }
.clt-guide__tool p { margin: 0 0 16px; color: var(--on-navy-muted); font-size: 1rem; }
.clt-guide__tool p:last-child { margin: 0; }
.clt-guide__tool .clt-btn { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.clt-guide__tool .clt-btn:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.clt-guide__tool .clt-btn:focus-visible { outline-color: var(--paper); }
.clt-guide__sources h2 { margin: 2.1em 0 .55em; padding-top: .85em; font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); background: linear-gradient(var(--clay), var(--clay)) left top / 44px 3px no-repeat; scroll-margin-top: 16px; }
.clt-guide__sources .clt-sources { display: block; counter-reset: src; font-size: var(--fs-sm); line-height: 1.45; }
.clt-guide__sources .clt-sources li { display: flex; gap: 12px; margin: 0; border-top: 1px solid var(--line); counter-increment: src; }
.clt-guide__sources .clt-sources li:last-child { border-bottom: 1px solid var(--line); }
.clt-guide__sources .clt-sources li::before { content: counter(src); flex: none; min-width: 1.4em; padding-top: 12px; color: var(--clay-ink); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.clt-guide__sources .clt-sources a { padding-block: 10px; overflow-wrap: anywhere; }
.clt-faq--guide { display: block; margin-top: 2.1em; }
.clt-faq--guide > h2 { margin: 0 0 .7em; padding-top: .85em; font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); background: linear-gradient(var(--clay), var(--clay)) left top / 44px 3px no-repeat; scroll-margin-top: 16px; }
.clt-faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.clt-faq__item + .clt-faq__item { margin-top: 8px; }
.clt-faq__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 20px; list-style: none; cursor: pointer; border-radius: var(--r); color: var(--navy); }
.clt-faq__item > summary::-webkit-details-marker { display: none; }
.clt-faq__item > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.clt-faq__item[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.clt-faq__item > summary:hover { background: var(--paper); }
.clt-faq__item > summary h3 { margin: 0; font: 600 1.0625rem/1.35 var(--sans); color: inherit; letter-spacing: 0; }
.clt-faq__a { padding: 0 20px 18px; font-size: 1.0625rem; line-height: 1.65; }
.clt-faq__a > :last-child { margin-bottom: 0; }
.clt-article__colophon { margin-top: 2.6em !important; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-muted); }
.clt-guide-more { margin-top: 2.8em !important; }
.clt-guide-more__h { margin: 0 0 14px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }
.clt-guide-more__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.clt-guide-more__list li { margin: 0; }
.clt-guide-more__a { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; height: 100%; min-height: 44px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.clt-guide-more__a:hover { border-color: var(--navy); transform: translateY(-2px); }
.clt-guide-more__t { font: 600 1.0625rem/1.3 var(--serif); color: var(--navy); font-variant-numeric: lining-nums; }
.clt-guide-more__m { font-size: var(--fs-xs); color: var(--ink-muted); }
.clt-guide-more__all { margin: 14px 0 0; font-size: var(--fs-sm); }
.clt-guide-more__all .clt-link--arrow { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0; }

/* [clt_guide_list] on /guides/ */
.clt-guide-list { margin: var(--sp-8) 0; }
.clt-guide-list__lede { max-width: var(--measure); }
.clt-guide-list__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.clt-guide-tile { position: relative; display: flex; flex-direction: column; margin: 0; padding: 22px 22px 18px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--clay); border-radius: var(--r); box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.clt-guide-tile:hover, .clt-guide-tile:focus-within { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.clt-guide-tile__t { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.25; font-variant-numeric: lining-nums; }
.clt-guide-tile__t a { text-decoration: none; }
.clt-guide-tile__t a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.clt-guide-tile__t a:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.clt-guide-tile__d { margin: 0 0 14px; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-guide-tile__m { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: auto 0 0; font-size: var(--fs-xs); color: var(--ink-muted); }

/* Wide screens: the rail beside the text. Pinned only at 1100 px and up (static below 1024 px, BUILD-STANDARD 5). */
@media (min-width: 1100px) {
	.clt-masthead--article .clt-masthead__inner, .clt-body--article { display: grid; grid-template-columns: var(--article-rail) minmax(0, var(--article-text)); column-gap: var(--article-gap); justify-content: center; max-width: none; }
	.clt-masthead--article .clt-masthead__inner > *, .clt-body--article > * { grid-column: 2; max-width: none; margin-inline: 0; }
	.clt-body--article > .clt-toc { grid-column: 1; grid-row: 1 / span 300; align-self: start; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; margin: 6px 0 0; background: transparent; border: 0; border-radius: 0; }
	.clt-toc__summary { min-height: 0; padding: 0 0 10px; pointer-events: none; }
	.clt-toc__summary::after, .clt-toc__count { display: none; }
	.clt-toc__list { padding: 0; border-bottom: 1px solid var(--line); }
}

/* Round 2 result pieces (core theme requests u1 to u4): tile notes, two answers, Yes / No re-run, stale line, city link */
.clt-result__tile-note { display: block; margin-top: 4px; font-size: var(--fs-xs); line-height: 1.4; color: var(--ink-muted); }
.clt-result__tiles--answers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.clt-result__tiles--answers .clt-result__tile { grid-row: span 3; grid-template-rows: subgrid; row-gap: 4px; align-content: start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.clt-result__tiles--answers .clt-result__tile-value { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.clt-rerun { margin: 10px 0 0; }
.clt-rerun__q { margin: 0 0 10px; font-weight: 600; }
.clt-rerun__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.clt-rerun__buttons .clt-btn { min-width: 96px; min-height: 44px; background: var(--white); }
.clt-rerun__buttons .clt-btn:hover { border-color: var(--navy); }
.clt-result__stale { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #E8CF9C; border-left: 4px solid var(--warn); border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn-ink); font-weight: 600; line-height: 1.45; }
.clt-result__city { margin: 0; }
.clt-result__city a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.clt-result__city a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.clt-nearby__also { margin: 12px 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-muted); }
.clt-nearby__also a { display: inline-block; padding-block: 10px; line-height: 24px; color: var(--navy); }
.clt-result__kicker time { white-space: nowrap; }
.clt-keep-pending { max-width: 36rem; margin: 0 0 20px; }
.clt-keep-pending .clt-notice__body p { margin: 0; }

@media (max-width: 719.98px) {
	.clt-result__tiles--answers { grid-template-columns: minmax(0, 1fr); }
	.clt-rerun__buttons .clt-btn { flex: 1 1 0; }
	.clt-masthead--article .clt-crumbs { margin-bottom: 4px; }
	.clt-body--article { font-size: 1.0625rem; line-height: 1.65; }
	.clt-article__meta > span:first-child { flex-basis: 100%; }
	.clt-article__meta > span:nth-child(2)::before { display: none; }
	.clt-table--article.clt-table--stack tr { padding: 12px 14px; }
	.clt-table--article.clt-table--stack td { padding: 2px 0; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); }
	.clt-article__answer { padding: 18px 18px 18px 20px; font-size: 1.0625rem; }
	.clt-body--article > blockquote { font-size: 1.0625rem; padding-left: 16px; }
	.clt-table--article tbody th { font: 600 1.0625rem/1.35 var(--serif); }
	.clt-guide__tool .clt-btn { width: 100%; }
	.clt-faq__item > summary { padding: 12px 16px; min-height: 52px; }
	.clt-faq__a { padding: 0 16px 16px; }
	/* /guides/ on phones: each guide is its title and reading time (the titles say what each answers) */
	.clt-guide-tile { padding: 16px 18px 14px; }
	.clt-guide-tile__d { display: none; }
	.clt-guide-tile__t { font-size: 1.125rem; }
	.clt-guide-list__grid { gap: 10px; }
}

@media print {
	/* No blank last sheet: the screen padding under the content does not print */
	.clt-body, .clt-main, .clt-body--calculator, .clt-body--app, .clt-body--wide { padding-bottom: 0 !important; }
	.clt-calc, .clt-calc__out, .clt-result { margin-bottom: 0 !important; }
	/* The result prints as plain content: a card's border and padding split across sheets left a sliver on a third sheet */
	.clt-calc__out .clt-result { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
	.clt-toc, .clt-guide-more, .clt-guide__tool .clt-btn, .clt-article__meta a { display: none !important; }
	.clt-masthead--article { padding: 0 0 12pt; background: none; }
	.clt-body--article { display: block; padding: 12pt 0 0; font-size: 11pt; line-height: 1.5; }
	.clt-body--article > * { max-width: none; }
	.clt-body--article > h2, .clt-guide__sources h2, .clt-faq--guide > h2 { break-after: avoid; page-break-after: avoid; }
	.clt-article__answer, .clt-guide__tool { box-shadow: none; }
	.clt-guide__tool { background: none; color: var(--ink); border: 1px solid var(--line); }
	.clt-guide__tool .clt-panel__h, .clt-guide__tool p { color: var(--ink); }
	.clt-table--article tr, .clt-faq__item { break-inside: avoid; page-break-inside: avoid; }
	.clt-faq__item > summary::after { content: none; }
	.clt-guide__sources a::after { content: " " attr(href); font-size: 8.5pt; color: var(--ink-muted); overflow-wrap: anywhere; }
}

/* Round 3 (D4, V9): result facts read as a list of rows (label, then the value with its source inline), so no
   column is squeezed to two words a line and no fact sits alone in a half-empty row (planner at 1440, "Notice"). */
@media (min-width: 720px) {
	.clt-result__facts { grid-template-columns: minmax(0, 1fr); padding: 0; border: 1px solid var(--line); background: var(--white); }
	.clt-result__fact { display: grid; grid-template-columns: minmax(7.5rem, 30%) minmax(0, 1fr); gap: 4px 16px; align-items: baseline; margin: 0; padding: 9px 16px; border: 0; border-top: 1px solid var(--line); }
	.clt-result__fact:first-child { border-top: 0; }
	.clt-result__fact dd { margin: 0; }
	.clt-result__fact .clt-src { margin-block: -13px; }
}
/* E8: no layout shift when site.js folds a server-rendered result on phones (Oakland CLS 0.085 live): before the
   script runs, the facts already take exactly the place of their "Show how this was worked out" button (48 px) and
   the rule-version line that moves into the fold is not drawn; places beyond the first four nearby are not drawn. */
@media (max-width: 767.98px) {
	.js .clt-result > .clt-result__facts:not([data-clt-kept]) { height: 48px; margin: 0; padding: 0; border: 0; overflow: hidden; visibility: hidden; }
	.js .clt-result > .clt-result__facts:not([data-clt-kept]) ~ .clt-result__meta { display: none; }
	.js .clt-nearby__list > :nth-child(n+5):not(.clt-fold__item) { display: none; }
}
@media print {
	.js .clt-result > .clt-result__facts:not([data-clt-kept]) { height: auto; visibility: visible; overflow: visible; }
	.js .clt-result > .clt-result__facts:not([data-clt-kept]) ~ .clt-result__meta { display: block; }
}
/* E8: All tools group heading (name only) with its description and count on the line under it */
.clt-at-gb { padding-bottom: 6px; min-height: 0; grid-template-columns: auto minmax(0, 1fr) auto; }
.clt-at-gmeta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: -4px 0 0; padding: 0 clamp(16px, 2.4vw, 26px) 16px calc(clamp(16px, 2.4vw, 26px) + 62px); cursor: pointer; }
.clt-at-gmeta .clt-at-gd { flex: 1 1 24rem; }
@media (max-width: 719.98px) {
	.clt-at-gb { padding: 14px 14px 4px; }
	.clt-at-ic { grid-row: 1; }
	.clt-at-chev { grid-row: 1; }
	.clt-at-gmeta { padding: 0 14px 14px 68px; font-size: var(--fs-sm); }
}
/* More guides: the card is the list item; the link (title only) stretches over it; the reading time sits outside it */
.clt-guide-more__i { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.clt-guide-more__i:hover, .clt-guide-more__i:focus-within { border-color: var(--navy); transform: translateY(-2px); }
.clt-guide-more__i .clt-guide-more__a { display: block; height: auto; min-height: 0; padding: 0; background: none; border: 0; border-radius: 0; transform: none; }
.clt-guide-more__i .clt-guide-more__a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.clt-guide-more__i .clt-guide-more__a:focus-visible { outline: none; }
.clt-guide-more__i .clt-guide-more__a:focus-visible::after { outline: 3px solid var(--clay); outline-offset: 2px; }
/* V10: an arrow link that needs a 44 px box is an inline block, not a flex box: a flex box underlines each word group
   on its own ("Open the" + "calculators") and needs a gap to keep the space */
.clt-link--arrow[class] { gap: 0; }
.clt-card > p > .clt-link--arrow:only-child, .clt-guide-more__all .clt-link--arrow, main p > .clt-link--arrow:only-child { display: inline-block; min-height: 44px; padding-block: 12px; line-height: 20px; }
/* B4 (w2): the shared "what membership does" list (clt-core's ul.clt-does, or the theme's fallback with the same
   markup): two checked lines with bold lead words, then the "works next to" line */
.clt-does { display: grid; gap: 10px; margin: 0 0 1em; padding: 0; list-style: none; }
.clt-does__item { position: relative; margin: 0; padding-left: 30px; }
.clt-does__item::before { content: ""; position: absolute; left: 3px; top: .42em; width: 13px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.clt-does__label { color: var(--navy); }
.clt-does__beside { margin: 0 0 1em; font-size: var(--fs-sm); color: var(--ink-muted); }
ul.clt-checks:has(+ .clt-does) { margin-bottom: 0; }
ul.clt-checks + .clt-does { margin-top: 0; }
.clt-masthead .clt-does { max-width: 46rem; margin: 18px 0 0; }
.clt-masthead .clt-does + .clt-demo-link { margin-top: 20px; }
.clt-section--navy .clt-does__item::before { border-color: var(--on-navy); }

/* w4: "Did you mean" under the calculator's city field */
.clt-city-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 4px; font-size: var(--fs-sm); color: var(--ink); }
.clt-city-suggest[hidden] { display: none; }
.clt-city-suggest .clt-btn, .clt-city-suggest button { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--navy); border-radius: var(--pill); background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1.2 var(--sans); cursor: pointer; }
.clt-city-suggest button:hover { background: var(--paper); }
/* Membership tools on phones: the group heading is the open and close button, with the count */
.clt-mt__h > .clt-mt__toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; color: var(--navy); font: inherit; text-align: left; }
.clt-mt__toggle .clt-mt__n { margin-left: auto; font: 600 var(--fs-xs)/1 var(--sans); color: var(--ink-muted); white-space: nowrap; }
.clt-mt__group.is-shut { padding-block: 6px; margin-bottom: 12px; }
.clt-mt__group.is-shut .clt-mt__h { margin: 0; }
@media print {
	.clt-mt__list[hidden] { display: grid !important; }
	.clt-mt__toggle::after, .clt-mt__n { display: none; }
}
/* w12: "Read the guide: ..." under result and city facts: plain text links with a 44 px hit area */
.clt-guide-links { margin: 14px 0; font-size: var(--fs-sm); color: var(--ink-muted); } /* room for the 44 px links above and below */
.clt-guide-links a { display: inline-block; padding-block: 10px; margin-block: -10px; line-height: 24px; font-weight: 600; }
/* w11: the AB 1482 line under "Start with the question you have" */
.clt-cap-line { margin: 10px 0 0; font-weight: 600; color: var(--navy); }
.clt-verify h2 { margin-top: 1.6em; }
.clt-verify h2:first-child { margin-top: 0; }
.clt-result__check > :not(p) + p { margin-top: 12px; } /* the Yes and No buttons have room under them */
@media print {
	/* A result fits two Letter sheets with core's added lines (guide links, notes): tighter gaps, no margin after the last line */
	.clt-result { gap: 9pt; }
	.clt-result > :last-child, .clt-print-only > :last-child, .clt-print-only > :last-child > :last-child { margin-bottom: 0 !important; }
	.clt-guide-links { margin: 0; }
}
