/* ==========================================================================
   YouWebb design system — tokens + components
   Brand: Deep Navy #0B1F4D · Electric Blue #2563FF · Soft Cyan #22D3EE ·
          Silver #E2E8F0 · Violet Accent #A855F7 (restrained)
   Kadence global palette (set by YouWebb Core setup) maps:
   1 Electric Blue · 2 Blue Deep · 3 Navy · 4 Ink · 5 Slate · 6 Muted ·
   7 Silver · 8 Mist · 9 White
   ========================================================================== */

:root {
	--yw-navy: #0B1F4D;
	--yw-navy-2: #10285F;
	--yw-navy-3: #071637;
	--yw-blue: #2563FF;
	--yw-blue-deep: #1D4ED8;
	--yw-cyan: #22D3EE;
	--yw-cyan-ink: #0E7490;      /* cyan text on light backgrounds (AA) */
	--yw-violet: #A855F7;
	--yw-silver: #E2E8F0;
	--yw-mist: #F5F8FC;
	--yw-mist-2: #EEF3FB;
	--yw-white: #FFFFFF;
	--yw-ink: #1E2A44;
	--yw-slate: #4A5872;
	--yw-muted: #5E6B82;         /* AA on white and mist */
	--yw-line: #DCE3EE;

	--yw-grad-brand: linear-gradient(100deg, #2563FF 0%, #22D3EE 100%);
	/* Text-safe variant: ends in cyan-600 so every glyph keeps >= 3:1 on white/mist (large text). */
	--yw-grad-text: linear-gradient(100deg, #2563FF 0%, #0891B2 100%);
	--yw-grad-ribbon: linear-gradient(110deg, #1D4ED8 0%, #2563FF 38%, #22D3EE 78%, #A855F7 120%);
	--yw-glow: radial-gradient(60% 60% at 70% 30%, rgba(34, 211, 238, .20) 0%, rgba(37, 99, 255, .10) 45%, rgba(37, 99, 255, 0) 75%);

	--yw-font-head: "Plus Jakarta Sans", var(--global-heading-fontfamily, system-ui), sans-serif;
	--yw-font-body: "Inter", var(--global-body-font-family, system-ui), sans-serif;

	--yw-fs-display: clamp(2.3rem, 1.5rem + 2.6vw, 3.65rem);
	--yw-fs-h1: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem);
	--yw-fs-h2: clamp(1.85rem, 1.3rem + 2.2vw, 3rem);
	--yw-fs-h3: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
	--yw-fs-lead: clamp(1.08rem, 1rem + .4vw, 1.3rem);
	--yw-fs-small: .875rem;

	--yw-space-section: clamp(4rem, 2.6rem + 6vw, 8.5rem);
	--yw-space-gap: clamp(1.25rem, .9rem + 1.4vw, 2rem);
	--yw-gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
	--yw-max: 1240px;
	--yw-narrow: 760px;

	--yw-r-sm: 10px;
	--yw-r: 18px;
	--yw-r-lg: 28px;
	--yw-shadow-sm: 0 1px 2px rgba(11, 31, 77, .06), 0 2px 8px rgba(11, 31, 77, .05);
	--yw-shadow: 0 2px 6px rgba(11, 31, 77, .05), 0 18px 40px -18px rgba(11, 31, 77, .22);
	--yw-shadow-lg: 0 30px 80px -30px rgba(11, 31, 77, .38), 0 8px 24px -12px rgba(37, 99, 255, .25);
	--yw-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
body { font-family: var(--yw-font-body); color: var(--yw-ink); background: var(--yw-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, .yw-display { font-family: var(--yw-font-head); color: var(--yw-navy); letter-spacing: -.022em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
h3, h4 { font-weight: 700; letter-spacing: -.012em; line-height: 1.25; }
p { text-wrap: pretty; }
a { color: var(--yw-blue-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--yw-blue); }
:focus-visible { outline: 3px solid var(--yw-blue); outline-offset: 3px; border-radius: 4px; }
.yw-section--navy :focus-visible, .yw-footer :focus-visible { outline-color: var(--yw-cyan); }
::selection { background: rgba(34, 211, 238, .3); }
.screen-reader-text:not(:focus) { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; word-wrap: normal !important; }

@media (max-width: 600px) { .yw-staging-flag { font-size: 10px !important; padding: 6px 9px !important; max-width: 60vw; } }
.yw-staging-flag { position: fixed; z-index: 99999; bottom: 12px; right: 12px; background: var(--yw-navy); color: #fff; font: 600 12px/1 var(--yw-font-body); padding: 8px 12px; border-radius: 999px; box-shadow: var(--yw-shadow); pointer-events: none; }

/* ---------- Header polish (Kadence) ---------- */
#masthead { background: #fff; }
#masthead .site-main-header-wrap .site-header-row-container-inner { background: #fff; border-bottom: 1px solid rgba(220, 227, 238, .8); }
#masthead .item-is-stuck .site-header-row-container-inner { box-shadow: 0 8px 24px -16px rgba(11, 31, 77, .35); }
.header-navigation .menu > li > a { font: 600 .95rem/1 var(--yw-font-body); color: var(--yw-ink); padding-left: .7em; padding-right: .7em; }
.header-navigation .menu > li > a:hover, .header-navigation .menu > li.current-menu-item > a, .header-navigation .menu > li.current-menu-ancestor > a { color: var(--yw-blue); }
.header-navigation .sub-menu { border-radius: 14px; box-shadow: var(--yw-shadow); border: 1px solid var(--yw-line); padding: 6px; background: #fff; }
.header-navigation .sub-menu a { font-size: .92rem; border-radius: 8px; color: var(--yw-ink); }
.header-navigation .sub-menu a:hover { background: var(--yw-mist); color: var(--yw-blue-deep); }
.header-button, .mobile-header-button-wrap .button { background: var(--yw-blue) !important; color: #fff !important; border-radius: 999px !important; font: 700 .95rem/1 var(--yw-font-body) !important; padding: .85em 1.3em !important; box-shadow: 0 8px 20px -8px rgba(37, 99, 255, .7); transition: transform .2s var(--yw-ease), box-shadow .2s var(--yw-ease), background .2s; }
.header-button:hover, .mobile-header-button-wrap .button:hover { background: var(--yw-blue-deep) !important; transform: translateY(-1px); }
.site-branding a.brand img { max-height: 44px; width: auto; }

/* ---------- Layout primitives ---------- */
.yw-section { position: relative; padding: var(--yw-space-section) var(--yw-gutter); }
.yw-section > * { max-width: var(--yw-max); margin-left: auto !important; margin-right: auto !important; }
.yw-section--tight { padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.yw-section--flush-top { padding-top: 0; }
.yw-section--mist { background: var(--yw-mist); }
.yw-section--lines { background: linear-gradient(180deg, var(--yw-mist) 0%, #fff 100%); }
.yw-section--navy { background: var(--yw-navy); color: #C9D5EC; isolation: isolate; overflow: hidden; }
.yw-section--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 0%, rgba(37, 99, 255, .45) 0%, rgba(37, 99, 255, 0) 70%), radial-gradient(40% 60% at 0% 100%, rgba(34, 211, 238, .18) 0%, rgba(34, 211, 238, 0) 70%); }
.yw-section--navy h2, .yw-section--navy h3, .yw-section--navy h4 { color: #fff; }
.yw-section--navy a:not(.wp-block-button__link):not(.yw-btn) { color: var(--yw-cyan); }
.yw-narrow { max-width: var(--yw-narrow) !important; }
.yw-center { text-align: center; }
.yw-center .wp-block-buttons { justify-content: center; }

.yw-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem) !important; max-width: 820px !important; margin-left: 0 !important; }
.yw-head.yw-center { margin-left: auto !important; }
.yw-head h2 { font-size: var(--yw-fs-h2); margin: .35em 0 .4em; }
.yw-head p { font-size: var(--yw-fs-lead); color: var(--yw-slate); margin: 0; }
.yw-section--navy .yw-head p { color: #B9C7E2; }

.yw-eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 700 .78rem/1.2 var(--yw-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--yw-blue-deep); margin: 0; }
.yw-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--yw-grad-brand); }
.yw-section--navy .yw-eyebrow { color: var(--yw-cyan); }
.yw-lead { font-size: var(--yw-fs-lead); color: var(--yw-slate); line-height: 1.6; }
.yw-muted { color: var(--yw-muted); font-weight: 500; }
.yw-note { font-size: var(--yw-fs-small); color: var(--yw-muted); line-height: 1.55; margin-top: 1rem; }
.yw-section--navy .yw-note { color: #9FB0D0; }
mark.yw-grad, .yw-grad { background: var(--yw-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: 0 .02em; }
.yw-pill { display: inline-block; font: 700 .7rem/1 var(--yw-font-body); letter-spacing: .04em; text-transform: uppercase; padding: .45em .7em; border-radius: 999px; background: var(--yw-mist-2); color: var(--yw-blue-deep); vertical-align: middle; }

/* Classic-theme group wrapper: let flex containers lay out their real children. */
.yw-grid > .wp-block-group__inner-container,
.yw-fixes > .wp-block-group__inner-container,
.yw-fix > .wp-block-group__inner-container,
.yw-demo-card > .wp-block-group__inner-container { display: contents; }
.yw-head > .wp-block-group__inner-container > :first-child { margin-top: 0; }
.yw-card > .wp-block-group__inner-container > :last-child, .yw-ownbox > .wp-block-group__inner-container > :last-child, .yw-callout > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.yw-card > .wp-block-group__inner-container > :first-child, .yw-ownbox > .wp-block-group__inner-container > :first-child { margin-top: 0; }

/* Gutenberg columns gap */
.wp-block-columns.yw-cols { gap: var(--yw-space-gap); margin-bottom: 0; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link, .yw-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1.1 var(--yw-font-body); padding: 1em 1.5em; border-radius: 999px; text-decoration: none; transition: transform .2s var(--yw-ease), box-shadow .2s var(--yw-ease), background-color .2s, color .2s, border-color .2s; border: 1.5px solid transparent; cursor: pointer; min-height: 48px; }
.wp-block-button.yw-btn-primary .wp-block-button__link, .yw-btn--primary { background: var(--yw-blue); color: #fff; box-shadow: 0 12px 28px -12px rgba(37, 99, 255, .85); }
.wp-block-button.yw-btn-primary .wp-block-button__link:hover, .yw-btn--primary:hover { background: var(--yw-blue-deep); color: #fff; transform: translateY(-2px); }
.wp-block-button.yw-btn-secondary .wp-block-button__link, .yw-btn--secondary { background: #fff; color: var(--yw-navy); border-color: var(--yw-line); }
.wp-block-button.yw-btn-secondary .wp-block-button__link:hover, .yw-btn--secondary:hover { border-color: var(--yw-blue); color: var(--yw-blue-deep); transform: translateY(-2px); }
.yw-section--navy .wp-block-button.yw-btn-secondary .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.yw-section--navy .wp-block-button.yw-btn-secondary .wp-block-button__link:hover { border-color: var(--yw-cyan); color: #fff; }
.wp-block-button.yw-btn-link .wp-block-button__link { background: none; color: var(--yw-blue-deep); padding-left: 0; padding-right: 0; box-shadow: none; }
.wp-block-button.yw-btn-link .wp-block-button__link::after { content: "→"; transition: transform .2s var(--yw-ease); }
.wp-block-button.yw-btn-link .wp-block-button__link:hover::after { transform: translateX(4px); }
.yw-btn--lg { font-size: 1.05rem; padding: 1.1em 1.8em; }
.wp-block-buttons { gap: .75rem; }

/* ---------- Hero ---------- */
.yw-hero { padding-top: clamp(2rem, 1rem + 3.5vw, 4.5rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); background: linear-gradient(180deg, #fff 0%, var(--yw-mist) 100%); overflow: hidden; isolation: isolate; }
.yw-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 75%; height: 120%; background: var(--yw-glow); pointer-events: none; }
.yw-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--yw-line), transparent); }
.yw-hero .wp-block-columns { align-items: center !important; gap: clamp(2rem, 1rem + 4vw, 4.5rem); }
.yw-hero h1 { font-size: var(--yw-fs-display); margin: .45em 0 .4em; letter-spacing: -.03em; }
.yw-hero--page h1 { font-size: var(--yw-fs-h1); }
.yw-hero .yw-lead { max-width: 36em; margin: 0 0 1.75rem; }
.yw-anchor { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-top: 1.4rem !important; font-size: .95rem; color: var(--yw-slate); }
.yw-anchor strong { color: var(--yw-navy); font-family: var(--yw-font-head); font-size: 1.1rem; }

/* ---------- Trust stripe ---------- */
.yw-trust { list-style: none; margin: 0 auto !important; padding: 0; display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--yw-line); border-radius: var(--yw-r); background: #fff; box-shadow: var(--yw-shadow-sm); overflow: hidden; }
.yw-trust li { flex: 1 1 230px; display: flex; gap: .85rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-right: 1px solid var(--yw-line); border-bottom: 1px solid var(--yw-line); margin: -1px -1px 0 0; font-size: .95rem; color: var(--yw-slate); line-height: 1.45; }
.yw-trust li strong { display: block; color: var(--yw-navy); font-family: var(--yw-font-head); font-size: 1.02rem; margin-bottom: .15rem; }
.yw-trust li::before { content: ""; flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--yw-mist-2) no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%232563FF' d='M7.7 13.6 4.4 10.3l-1.2 1.2 4.5 4.5 9.6-9.6-1.2-1.2z'/%3E%3C/svg%3E"); }

/* ---------- Cards / grids ---------- */
.yw-grid { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-grid > *, .yw-grid > .wp-block-group__inner-container > * { flex: 1 1 280px; margin: 0 !important; }
.yw-card { background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r); padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); box-shadow: var(--yw-shadow-sm); transition: transform .25s var(--yw-ease), box-shadow .25s var(--yw-ease), border-color .25s; }
.yw-card:hover { transform: translateY(-3px); box-shadow: var(--yw-shadow); border-color: #C9D6EA; }
.yw-card h3 { font-size: var(--yw-fs-h3); margin: 0 0 .5rem; }
.yw-card p { margin: 0; color: var(--yw-slate); }
.yw-card p + p { margin-top: .75rem; }
.yw-card .yw-card__num { font: 800 .85rem/1 var(--yw-font-head); color: var(--yw-blue); letter-spacing: .06em; margin-bottom: 1rem; }
.yw-section--navy .yw-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.yw-section--navy .yw-card p { color: #B9C7E2; }
.yw-card--accent { position: relative; overflow: hidden; }
.yw-card--accent::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--yw-grad-ribbon); }

/* Problem → fix list */
.yw-fixes { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--yw-line); }
.yw-fixes > .wp-block-group__inner-container > .yw-fix, .yw-fix { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--yw-line); margin: 0 !important; }
.yw-fix > *, .yw-fix > .wp-block-group__inner-container > * { margin: 0 !important; }
.yw-fix h3 { flex: 0 1 36%; min-width: 260px; }
.yw-fix p { flex: 1 1 360px; }
.yw-fix h3 { font-size: 1.15rem; display: flex; gap: .8rem; align-items: baseline; }
.yw-fix h3::before { content: "✕"; font-size: .85rem; color: #B42318; flex: 0 0 auto; }
.yw-fix p { color: var(--yw-slate); }
.yw-fix p::before { content: "→ "; color: var(--yw-blue); font-weight: 700; }

/* Steps */
.yw-steps { counter-reset: yw-step; list-style: none; padding: 0 !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-steps > li { counter-increment: yw-step; flex: 1 1 240px; position: relative; padding: 1.5rem 1.4rem 1.4rem; border-radius: var(--yw-r); background: #fff; border: 1px solid var(--yw-line); color: var(--yw-slate); font-size: .97rem; line-height: 1.5; }
.yw-steps > li::before { content: counter(yw-step, decimal-leading-zero); display: block; font: 800 .85rem/1 var(--yw-font-head); color: var(--yw-blue); margin-bottom: .9rem; letter-spacing: .05em; }
.yw-steps > li strong { display: block; color: var(--yw-navy); font-family: var(--yw-font-head); font-size: 1.08rem; margin-bottom: .3rem; }
.yw-steps > li:last-child { background: var(--yw-navy); border-color: var(--yw-navy); color: #C9D5EC; }
.yw-steps > li:last-child strong { color: #fff; }
.yw-steps > li:last-child::before { color: var(--yw-cyan); }

/* Check list */
.yw-checks { list-style: none; padding: 0 !important; margin-left: 0 !important; }
.yw-checks li { position: relative; padding-left: 1.9em; margin: .55em 0; }
.yw-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--yw-mist-2) no-repeat center / .8em url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%232563FF' d='M7.7 13.6 4.4 10.3l-1.2 1.2 4.5 4.5 9.6-9.6-1.2-1.2z'/%3E%3C/svg%3E"); }
.yw-crosses li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%235E6B82' d='M5 5l10 10M15 5 5 15' stroke='%235E6B82' stroke-width='2'/%3E%3C/svg%3E"); background-color: #EEF1F5; }

/* Promise quote */
.yw-promise { margin: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem) !important; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--yw-r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); position: relative; }
.yw-promise::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--yw-grad-ribbon); }
.yw-promise p { font: 600 clamp(1.1rem, 1rem + .6vw, 1.45rem)/1.5 var(--yw-font-head); color: #fff; margin: 0; letter-spacing: -.01em; }
.yw-promise cite { display: block; margin-top: 1rem; font: 500 .9rem/1.4 var(--yw-font-body); color: #9FB0D0; font-style: normal; }
.wp-block-quote.yw-promise { border-left: 0; }

.yw-channels .yw-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }
.yw-channels .yw-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yw-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18); }
.yw-channels .yw-card p strong { color: #fff; font-weight: 600; }
.yw-channels .yw-card p { font-size: .95rem; }

/* ---------- Plan cards ---------- */
.yw-plans { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); align-items: stretch; }
.yw-plan { flex: 1 1 300px; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r-lg); padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); box-shadow: var(--yw-shadow-sm); transition: transform .25s var(--yw-ease), box-shadow .25s var(--yw-ease); }
.yw-plan:hover { transform: translateY(-4px); box-shadow: var(--yw-shadow); }
.yw-plan.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--yw-grad-ribbon) border-box; box-shadow: var(--yw-shadow-lg); }
.yw-plan__badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; background: var(--yw-navy); color: #fff; font: 700 .75rem/1 var(--yw-font-body); letter-spacing: .08em; text-transform: uppercase; padding: .6em 1em; border-radius: 999px; white-space: nowrap; }
.yw-plan__name { font-size: 1.5rem !important; margin: 0 0 .25rem !important; }
.yw-plan__ideal { margin: 0 0 1.25rem; color: var(--yw-muted); font-size: .95rem; }
.yw-plan__price { margin: 0; display: flex; align-items: baseline; gap: .2rem; }
.yw-plan__amount { font: 800 clamp(2.6rem, 2.2rem + 1.4vw, 3.3rem)/1 var(--yw-font-head); color: var(--yw-navy); letter-spacing: -.04em; }
.yw-plan__per { font-weight: 600; color: var(--yw-slate); }
.yw-plan__terms { margin: .75rem 0 1.25rem; padding: .8rem 1rem; border-radius: 12px; background: var(--yw-mist); font-size: .9rem; line-height: 1.5; color: var(--yw-slate); }
.yw-plan__terms strong { color: var(--yw-navy); }
.yw-plan__summary { margin: 0 0 1rem; color: var(--yw-slate); font-size: .97rem; }
.yw-plan__facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .65rem; font-size: .95rem; color: var(--yw-slate); }
.yw-plan__facts li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.yw-plan__facts strong { color: var(--yw-navy); font-weight: 650; }
.yw-ico { flex: 0 0 18px; color: var(--yw-blue); margin-top: .12em; }
.yw-plan__actions { margin-top: auto; display: flex; flex-direction: column; gap: .9rem; align-items: stretch; text-align: center; }
.yw-plan__more { font-weight: 600; font-size: .95rem; text-decoration: none; }
.yw-plan__more:hover { text-decoration: underline; }
.yw-plans--compact .yw-plan__facts { margin-bottom: 1.25rem; }

/* ---------- Comparison table ---------- */
.yw-compare { position: relative; }
.yw-compare__scroll { border: 1px solid var(--yw-line); border-radius: var(--yw-r-lg); background: #fff; box-shadow: var(--yw-shadow-sm); }
.yw-compare__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; margin: 0; }
.yw-compare__table caption { text-align: left; padding: 1.1rem 1.4rem; color: var(--yw-muted); font-size: .9rem; caption-side: top; }
.yw-compare__table th, .yw-compare__table td { padding: 1rem 1.25rem; border: 0; border-top: 1px solid var(--yw-line); text-align: left; vertical-align: top; line-height: 1.5; }
.yw-compare__table thead th { position: sticky; top: calc(var(--yw-sticky-offset, 84px) + var(--wp-admin--admin-bar--height, 0px)); z-index: 2; background: #fff; border-top: 1px solid var(--yw-line); border-bottom: 2px solid var(--yw-line); vertical-align: bottom; }
.yw-compare__table thead th.is-featured { background: #F3F7FF; }
.yw-compare__plan { display: block; font: 800 1.2rem/1.2 var(--yw-font-head); color: var(--yw-navy); }
.yw-compare__price { display: block; color: var(--yw-slate); font-weight: 600; }
.yw-compare__badge { display: inline-block; margin-top: .4rem; font: 700 .68rem/1 var(--yw-font-body); text-transform: uppercase; letter-spacing: .08em; background: var(--yw-navy); color: #fff; padding: .45em .7em; border-radius: 999px; }
.yw-compare__corner { width: 26%; color: var(--yw-muted); font-weight: 600; }
.yw-compare__table tbody th[scope="row"] { color: var(--yw-navy); font-weight: 650; width: 26%; }
.yw-compare__table td { color: var(--yw-slate); width: 24.6%; }
.yw-compare__table td.is-featured { background: #F8FAFF; }
.yw-compare__group th { background: var(--yw-mist); font: 800 .78rem/1.2 var(--yw-font-body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--yw-blue-deep) !important; padding: .8rem 1.25rem !important; }
.yw-compare__list { display: none; }

@media (max-width: 860px) {
	.yw-compare__scroll { display: none; }
	.yw-compare__list { display: block; }
	.yw-compare__list-group { font-size: .8rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--yw-blue-deep) !important; margin: 2rem 0 .75rem !important; font-family: var(--yw-font-body) !important; }
	.yw-compare__list-group:first-child { margin-top: 0 !important; }
	.yw-compare__feature { background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r); padding: 1rem 1.1rem; margin-bottom: .75rem; }
	.yw-compare__feature-name { font: 700 1rem/1.3 var(--yw-font-head); color: var(--yw-navy); margin: 0 0 .6rem; }
	.yw-compare__feature dl { margin: 0; display: flex; flex-direction: column; gap: .5rem; }
	.yw-compare__feature dl > div { display: flex; gap: .75rem; padding: .55rem .7rem; border-radius: 10px; background: var(--yw-mist); }
	.yw-compare__feature dl > div.is-featured { background: #EAF1FF; }
	.yw-compare__feature dt { flex: 0 0 5.6rem; font-weight: 700; color: var(--yw-navy); font-size: .9rem; }
	.yw-compare__feature dd { margin: 0; color: var(--yw-slate); font-size: .92rem; line-height: 1.45; }
}

/* ---------- Generic tables ---------- */
.yw-table-wrap { overflow-x: auto; border: 1px solid var(--yw-line); border-radius: var(--yw-r); background: #fff; box-shadow: var(--yw-shadow-sm); }
.yw-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .95rem; }
.yw-table caption { text-align: left; padding: 1rem 1.25rem; color: var(--yw-muted); font-size: .9rem; caption-side: top; }
.yw-table th, .yw-table td { padding: .9rem 1.25rem; border: 0; border-top: 1px solid var(--yw-line); text-align: left; vertical-align: top; }
.yw-table thead th { background: var(--yw-mist); color: var(--yw-navy); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.yw-table tbody th { color: var(--yw-navy); font-weight: 650; }
.yw-table td { color: var(--yw-slate); }
.yw-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.yw-table td.num { color: var(--yw-navy); font-weight: 700; }
@media (max-width: 640px) {
	.yw-addons thead { position: absolute; clip: rect(1px, 1px, 1px, 1px); }
	.yw-addons tr { display: block; padding: .9rem 1.1rem; border-top: 1px solid var(--yw-line); }
	.yw-addons th, .yw-addons td { display: block; padding: .15rem 0; border: 0; text-align: left !important; }
	.yw-addons td.num { font-size: 1.1rem; }
}

/* core/table block uses the same styling */
.wp-block-table.yw-table-wrap { margin: 0; }
.wp-block-table.yw-table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wp-block-table.yw-table-wrap th, .wp-block-table.yw-table-wrap td { padding: .9rem 1.25rem; border: 0; border-top: 1px solid var(--yw-line); text-align: left; vertical-align: top; }
.wp-block-table.yw-table-wrap thead { border: 0; }
.wp-block-table.yw-table-wrap thead th { background: var(--yw-mist); color: var(--yw-navy); font-weight: 700; font-size: .85rem; border-top: 0; }
.wp-block-table.yw-table-wrap tbody th { color: var(--yw-navy); font-weight: 650; width: 28%; }
.wp-block-table.yw-table-wrap td { color: var(--yw-slate); }
.wp-block-table.yw-table-wrap figcaption { padding: .9rem 1.25rem; margin: 0; font-size: .85rem; color: var(--yw-muted); background: var(--yw-mist); text-align: left; }

/* Definition-list facts (plan pages) */
.yw-facts { margin: 0; border: 1px solid var(--yw-line); border-radius: var(--yw-r); overflow: hidden; background: #fff; }
.yw-facts > div { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding: .95rem 1.25rem; border-top: 1px solid var(--yw-line); }
.yw-facts > div:first-child { border-top: 0; }
.yw-facts dt { flex: 0 0 15rem; font-weight: 700; color: var(--yw-navy); }
.yw-facts dd { flex: 1 1 18rem; margin: 0; color: var(--yw-slate); }

/* Plan nav */
.yw-plan-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.yw-plan-nav a { display: inline-flex; gap: .4rem; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--yw-line); background: #fff; text-decoration: none; font-weight: 650; color: var(--yw-navy); font-size: .92rem; }
.yw-plan-nav a[aria-current="page"] { background: var(--yw-navy); color: #fff; border-color: var(--yw-navy); }
.yw-plan-nav a[aria-current="page"] .yw-muted { color: #B9C7E2; }
.yw-plan-nav a:hover { border-color: var(--yw-blue); }

/* ---------- Milestones ---------- */
.yw-milestones__label { font-weight: 700; color: var(--yw-navy); margin: 0 0 1.25rem; }
.yw-section--navy .yw-milestones__label { color: #fff; }
.yw-milestones__tabs { display: none; }
.yw-milestones__track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); position: relative; }
.yw-milestone { flex: 1 1 230px; padding: 1.5rem; border-radius: var(--yw-r); background: #fff; border: 1px solid var(--yw-line); position: relative; }
.yw-milestone__month { margin: 0 0 .6rem; font: 800 2rem/1 var(--yw-font-head); color: var(--yw-navy); letter-spacing: -.03em; }
.yw-milestone__month span { display: block; font: 700 .72rem/1 var(--yw-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--yw-blue-deep); margin-bottom: .35rem; }
.yw-milestone__title { font-size: 1.1rem !important; margin: 0 0 .4rem !important; }
.yw-milestone__body { margin: 0 0 1rem; font-size: .93rem; color: var(--yw-slate); line-height: 1.5; }
.yw-milestone__stats { margin: 0; display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; border-top: 1px dashed var(--yw-line); padding-top: .8rem; }
.yw-milestone__stats > div { display: flex; justify-content: space-between; gap: 1rem; }
.yw-milestone__stats dt { color: var(--yw-muted); }
.yw-milestone__stats dd { margin: 0; font-weight: 700; color: var(--yw-navy); text-align: right; font-variant-numeric: tabular-nums; }
.yw-milestone[data-month="24"] { background: var(--yw-navy); border-color: var(--yw-navy); }
.yw-milestone[data-month="24"] .yw-milestone__month, .yw-milestone[data-month="24"] .yw-milestone__title, .yw-milestone[data-month="24"] dd { color: #fff; }
.yw-milestone[data-month="24"] .yw-milestone__month span { color: var(--yw-cyan); }
.yw-milestone[data-month="24"] .yw-milestone__body, .yw-milestone[data-month="24"] dt { color: #B9C7E2; }
.yw-milestone[data-month="24"] .yw-milestone__stats { border-color: rgba(255, 255, 255, .2); }
/* Enhanced (JS) slider mode */
.yw-milestones.is-enhanced .yw-milestones__tabs { display: flex; position: relative; gap: 0; margin: 0 0 1.5rem; padding: 6px; border-radius: 999px; background: var(--yw-mist-2); max-width: 560px; }
.yw-milestones__tabs button { flex: 1; appearance: none; border: 0; background: transparent; padding: .8rem .5rem; border-radius: 999px; font: 700 .95rem/1 var(--yw-font-body); color: var(--yw-slate); cursor: pointer; min-height: 44px; transition: background .2s, color .2s; }
.yw-milestones__tabs button[aria-pressed="true"] { background: #fff; color: var(--yw-navy); box-shadow: var(--yw-shadow-sm); }
.yw-milestones.is-enhanced .yw-milestone { opacity: .45; transition: opacity .3s var(--yw-ease), transform .3s var(--yw-ease), box-shadow .3s; }
.yw-milestones.is-enhanced .yw-milestone.is-active { opacity: 1; transform: translateY(-4px); box-shadow: var(--yw-shadow); }

/* Post-ownership options (after payment 24) */
.yw-options { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-option { flex: 1 1 260px; padding: 1.75rem; border-radius: var(--yw-r); background: #fff; border: 1px solid var(--yw-line); }
.yw-option__num { margin: 0 0 1rem; font: 800 .85rem/1 var(--yw-font-head); color: var(--yw-blue); }
.yw-option__title { margin: 0 0 .25rem !important; font-size: 1.2rem !important; }
.yw-option__price { margin: 0 0 .75rem; font-weight: 700; color: var(--yw-blue-deep); }
.yw-option p:last-child { margin: 0; color: var(--yw-slate); font-size: .95rem; }

.yw-care { padding: 2rem; border-radius: var(--yw-r-lg); background: #fff; border: 1px solid var(--yw-line); box-shadow: var(--yw-shadow-sm); }
.yw-care__price { margin: 0 0 .5rem; display: flex; align-items: baseline; gap: .2rem; }
.yw-care__availability { margin: 0 0 1.25rem; color: var(--yw-slate); font-size: .95rem; }

/* Own vs licensed */
.yw-ownbox { border-radius: var(--yw-r-lg); padding: 1.75rem; border: 1px solid var(--yw-line); background: #fff; height: 100%; }
.yw-ownbox h3 { margin-top: 0; font-size: 1.25rem; }
.yw-ownbox--yours { border-color: #BFD3FF; background: linear-gradient(180deg, #F3F7FF, #fff); }

/* ---------- Mockups ---------- */
.yw-mock { position: relative; margin: 0; --m-accent: #2563FF; --m-ink: #0B1F4D; --m-soft: #EAF1FF; --m-visual: linear-gradient(135deg, #BFD3FF, #EAF6FF); }
.yw-mock--septic { --m-accent: #2F6B4F; --m-ink: #17322A; --m-soft: #E8F2EC; --m-visual: linear-gradient(135deg, #CFE3D6, #F1EFE6); }
.yw-mock--tree { --m-accent: #C2561A; --m-ink: #22311B; --m-soft: #F3EDE3; --m-visual: linear-gradient(135deg, #C9DDB8, #EEF3E3); }
.yw-mock__frame { border-radius: 16px; background: #fff; box-shadow: var(--yw-shadow-lg); border: 1px solid rgba(11, 31, 77, .08); overflow: hidden; font-family: var(--yw-font-body); }
.yw-mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #F1F4F9; border-bottom: 1px solid #E3E8F0; }
.yw-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3DAE5; }
.yw-mock__url { margin-left: 10px; flex: 1; max-width: 60%; font-size: 10px; color: #6B778C; background: #fff; border-radius: 6px; padding: 4px 10px; }
.yw-mock__site { padding: 0 0 14px; font-size: 10px; color: var(--m-ink); }
.yw-mock__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; border-bottom: 1px solid #EEF1F5; }
.yw-mock__logo { display: flex; align-items: center; gap: 6px; font: 800 11px/1 var(--yw-font-head); color: var(--m-ink); white-space: nowrap; }
.yw-mock__logo i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--m-accent); color: #fff; font-style: normal; font-size: 10px; }
.yw-mock__links { display: flex; gap: 8px; }
.yw-mock__links b { width: 28px; height: 5px; border-radius: 4px; background: #E3E8F0; }
.yw-mock__call { font-weight: 800; color: #fff; background: var(--m-accent); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.yw-mock__hero { display: flex; gap: 14px; padding: 18px 16px 14px; background: linear-gradient(180deg, var(--m-soft), #fff); }
.yw-mock__copy { flex: 1.25; display: flex; flex-direction: column; gap: 7px; }
.yw-mock__kicker { font-weight: 700; color: var(--m-accent); font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; }
.yw-mock__h { font: 800 17px/1.15 var(--yw-font-head); color: var(--m-ink); letter-spacing: -.02em; }
.yw-mock__sub { color: #4A5872; }
.yw-mock__btns { display: flex; gap: 6px; margin-top: 4px; }
.yw-mock__btn { display: inline-block; font-weight: 800; color: #fff; background: var(--m-accent); padding: 6px 10px; border-radius: 999px; }
.yw-mock__btn.is-ghost { background: #fff; color: var(--m-ink); border: 1px solid #D3DAE5; }
.yw-mock__visual { flex: 1; min-height: 110px; border-radius: 10px; background: var(--m-visual); position: relative; overflow: hidden; }
.yw-mock__visual span { position: absolute; inset: auto 10px 10px 10px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .8); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .25); }
.yw-mock__trust { display: flex; gap: 6px; padding: 0 16px 10px; flex-wrap: wrap; }
.yw-mock__trust span { padding: 4px 8px; border-radius: 999px; background: #F5F7FA; color: #4A5872; font-weight: 600; }
.yw-mock__svcs { display: flex; gap: 8px; padding: 0 16px; flex-wrap: wrap; }
.yw-mock__svc { flex: 1 1 22%; display: flex; flex-direction: column; gap: 6px; padding: 9px; border-radius: 8px; border: 1px solid #EEF1F5; font-weight: 700; }
.yw-mock__svc i { width: 16px; height: 16px; border-radius: 5px; background: var(--m-soft); box-shadow: inset 0 0 0 2px var(--m-accent); }
.yw-mock--hero { padding: 0 6% 9% 0; }
.yw-mock__phone { position: absolute; right: 0; bottom: 0; width: 34%; min-width: 128px; aspect-ratio: 9 / 17; border-radius: 26px; padding: 7px; background: #0B1F4D; box-shadow: var(--yw-shadow-lg); }
.yw-mock__phone-screen { height: 100%; border-radius: 20px; background: #fff; overflow: hidden; position: relative; font-size: 8px; color: var(--m-ink); display: flex; flex-direction: column; }
.yw-mock__phone-screen .yw-mock__nav { padding: 12px 10px 8px; }
.yw-mock__phone-screen .yw-mock__links, .yw-mock__phone-screen .yw-mock__call { display: none; }
.yw-mock__phone-hero { padding: 12px 10px; background: linear-gradient(180deg, var(--m-soft), #fff); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.yw-mock__phone-hero .yw-mock__h { font-size: 13px; }
.yw-mock__phone-screen .yw-mock__svcs { padding: 0 10px; gap: 5px; }
.yw-mock__phone-screen .yw-mock__svc { flex: 1 1 40%; padding: 6px; }
.yw-mock__sticky { position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; font-weight: 800; color: #fff; background: var(--m-accent); padding: 8px; border-radius: 999px; }
.yw-mock__tag { position: absolute; left: 16px; top: -13px; z-index: 3; margin: 0; font: 700 10.5px/1 var(--yw-font-body); letter-spacing: .02em; color: var(--yw-navy); background: rgba(255, 255, 255, .95); border: 1px solid var(--yw-line); padding: 6px 9px; border-radius: 999px; box-shadow: var(--yw-shadow-sm); }
.yw-mock--card .yw-mock__h { font-size: 14px; }
@media (max-width: 480px) {
	.yw-mock__links { display: none; }
	.yw-mock__h { font-size: 14px; }
	.yw-mock__visual { display: none; }
	.yw-mock__svc { flex-basis: 40%; }
	.yw-mock--hero { padding: 0; }
	.yw-mock__phone { display: none; }
}

/* Demo cards */
.yw-demo-card { display: flex; flex-direction: column; gap: 1rem; }
.yw-demo-card h3 { margin: .5rem 0 0; font-size: 1.2rem; }
.yw-demo-card p { margin: 0; color: var(--yw-slate); font-size: .95rem; }

/* ---------- Sample report ---------- */
.yw-report { margin: 0; border-radius: var(--yw-r-lg); background: #fff; border: 1px solid var(--yw-line); box-shadow: var(--yw-shadow); overflow: hidden; }
.yw-report__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.4rem; background: var(--yw-navy); color: #fff; }
.yw-report__title { font: 800 1.05rem/1 var(--yw-font-head); }
.yw-report__sample { font: 700 .72rem/1 var(--yw-font-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(34, 211, 238, .16); color: var(--yw-cyan); padding: .5em .8em; border-radius: 999px; }
.yw-report__rows { list-style: none; margin: 0; padding: .5rem 1.4rem; }
.yw-report__rows li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding: .9rem 0; border-bottom: 1px solid var(--yw-line); }
.yw-report__rows li:last-child { border-bottom: 0; }
.yw-report__label { flex: 1 1 260px; display: flex; flex-direction: column; gap: .15rem; font-size: .88rem; color: var(--yw-muted); }
.yw-report__label strong { color: var(--yw-navy); font-size: .98rem; }
.yw-report__bar { flex: 1 1 140px; height: 8px; border-radius: 8px; background: var(--yw-mist-2); overflow: hidden; }
.yw-report__bar i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: repeating-linear-gradient(90deg, #C9D6EA 0 10px, #DCE5F3 10px 20px); }
.yw-report__plan { flex: 0 0 auto; font: 700 .72rem/1 var(--yw-font-body); color: var(--yw-blue-deep); background: var(--yw-mist-2); padding: .45em .7em; border-radius: 999px; }
.yw-report__cap { padding: 1rem 1.4rem; background: var(--yw-mist); font-size: .85rem; color: var(--yw-muted); }

/* ---------- FAQ (core/details) ---------- */
.yw-faqs { border-top: 1px solid var(--yw-line); }
.wp-block-details.yw-faq { border-bottom: 1px solid var(--yw-line); padding: 0; margin: 0 !important; }
.wp-block-details.yw-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; font: 700 clamp(1.02rem, .98rem + .25vw, 1.15rem)/1.4 var(--yw-font-head); color: var(--yw-navy); min-height: 48px; }
.wp-block-details.yw-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.yw-faq summary::after { content: ""; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--yw-mist-2) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%232563FF' stroke-width='2'/%3E%3C/svg%3E"); transition: transform .25s var(--yw-ease); }
.wp-block-details.yw-faq[open] summary::after { transform: rotate(45deg); }
.wp-block-details.yw-faq summary:hover { color: var(--yw-blue-deep); }
.wp-block-details.yw-faq > :not(summary) { margin: 0 0 1.2rem; max-width: 70ch; color: var(--yw-slate); }

/* ---------- Final CTA ---------- */
.yw-cta { border-radius: 0; text-align: center; }
.yw-cta h2 { font-size: var(--yw-fs-h2); margin: .3em auto .35em; max-width: 16em; }
.yw-cta p { max-width: 40em; margin-left: auto; margin-right: auto; }
.yw-cta .wp-block-buttons { justify-content: center; margin-top: 1.75rem; }
.yw-cta .yw-cta__fine { font-size: .88rem; color: #9FB0D0; margin-top: 1.25rem; }

/* ---------- Forms ---------- */
.yw-form { background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); box-shadow: var(--yw-shadow); }
.yw-form__grid { display: flex; flex-wrap: wrap; gap: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.yw-field { flex: 1 1 260px; display: flex; flex-direction: column; gap: .4rem; }
.yw-field.is-wide { flex-basis: 100%; }
.yw-field label { font-weight: 650; color: var(--yw-navy); font-size: .93rem; }
.yw-req { color: #B42318; }
.yw-field input, .yw-field select, .yw-field textarea { width: 100%; font: 400 1rem/1.4 var(--yw-font-body); color: var(--yw-ink); padding: .8rem .95rem; min-height: 48px; border: 1.5px solid #C9D3E2; border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.yw-field input:focus, .yw-field select:focus, .yw-field textarea:focus { outline: none; border-color: var(--yw-blue); box-shadow: 0 0 0 4px rgba(37, 99, 255, .15); }
.yw-field [aria-invalid="true"] { border-color: #B42318; }
.yw-field__error { color: #B42318; font-size: .85rem; }
.yw-check { display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 1.25rem; font-size: .93rem; color: var(--yw-slate); }
.yw-check input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--yw-blue); flex: 0 0 auto; }
.yw-form__alert { padding: .9rem 1rem; border-radius: 12px; background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; margin-bottom: 1.25rem; font-weight: 600; }
.yw-form__plan { padding: .8rem 1rem; border-radius: 12px; background: var(--yw-mist-2); color: var(--yw-ink); margin: 0 0 1.25rem; font-size: .95rem; }
.yw-form__fine { margin: 1rem 0 0; font-size: .85rem; color: var(--yw-muted); }
.yw-form button[type="submit"] { width: 100%; }
@media (min-width: 640px) { .yw-form button[type="submit"] { width: auto; } }
.yw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Callouts */
.yw-callout { border-radius: var(--yw-r); padding: 1.25rem 1.4rem; background: var(--yw-mist-2); border: 1px solid #D5E2FA; color: var(--yw-ink); }
.yw-callout p { margin: 0; }
.yw-callout--warn { background: #FFFAEB; border-color: #FEDF89; }
.yw-callout strong { color: var(--yw-navy); }

/* ---------- Footer ---------- */
.yw-footer { background: var(--yw-mist); border-top: 1px solid var(--yw-line); color: var(--yw-slate); font-size: .94rem; }
.yw-footer .yw-section { padding-top: clamp(3rem, 2.5rem + 3vw, 5rem); padding-bottom: 2rem; }
.yw-footer h2 { font: 800 .78rem/1.2 var(--yw-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--yw-navy); margin: 0 0 1rem; }
.yw-footer ul { list-style: none; margin: 0; padding: 0; }
.yw-footer li { margin: 0 0 .55rem; }
.yw-footer a { color: var(--yw-slate); text-decoration: none; }
.yw-footer a:hover { color: var(--yw-blue-deep); text-decoration: underline; }
.yw-footer .yw-footer__brand img { width: 170px; height: auto; }
.yw-footer .yw-footer__legal { border-top: 1px solid var(--yw-line); margin-top: 2.5rem !important; padding-top: 1.5rem; font-size: .85rem; color: var(--yw-muted); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.yw-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--yw-ease), transform .7s var(--yw-ease); }
	.yw-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.yw-hero .wp-block-columns { flex-direction: column; }
	.yw-hero .wp-block-column { flex-basis: 100% !important; width: 100%; }
	.yw-hero .yw-mock--hero { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 781px) {
	.yw-trust li { flex-basis: 100%; }
	.yw-facts dt { flex-basis: 100%; }
	.yw-compare__table thead th { top: 0; }
}
@media (max-width: 400px) {
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; }
}

/* Grid density modifiers */
.yw-grid--5 > .wp-block-group__inner-container > * { flex-basis: 190px; }
.yw-channels > .wp-block-group__inner-container > * { flex-basis: 340px; }
.yw-grid--2 > .wp-block-group__inner-container > * { flex-basis: 420px; }

/* Heading rhythm everywhere in sections (not footer labels) */
.yw-section h2.wp-block-heading:not(.yw-footer__h):not(.screen-reader-text) { font-size: var(--yw-fs-h2); margin: .35em 0 .45em; }
.yw-section .wp-block-column h2.wp-block-heading:not(.yw-footer__h) { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.55rem); }
.yw-section h3.wp-block-heading { font-size: var(--yw-fs-h3); }
.yw-card h3.wp-block-heading, .yw-fix h3.wp-block-heading, .yw-demo-card h3.wp-block-heading { font-size: 1.2rem; }
.wp-block-columns.yw-cols { align-items: flex-start !important; }
.yw-grid--3 > .wp-block-group__inner-container > * { flex-basis: 180px; }

/* ---------- Accessibility QA fixes (axe, 2026-11-03) ---------- */
/* Sub-section headings that must be h2 for outline order but read at h3 size. */
.yw-section h2.wp-block-heading.yw-subhead, .yw-section .wp-block-column h2.wp-block-heading.yw-subhead { font-size: var(--yw-fs-h3) !important; margin: 1.6em 0 .5em; letter-spacing: -.012em; line-height: 1.25; }
.yw-demo-card h2.wp-block-heading.yw-subhead { font-size: 1.2rem !important; margin: .5rem 0 0; }
/* Milestones: never dim inactive cards (contrast); highlight the selected one instead. */
.yw-milestones.is-enhanced .yw-milestone { opacity: 1; }
.yw-milestones.is-enhanced .yw-milestone.is-active { border-color: var(--yw-blue); box-shadow: 0 0 0 2px var(--yw-blue), var(--yw-shadow); }
.yw-milestones.is-enhanced .yw-milestone[data-month="24"].is-active { box-shadow: 0 0 0 2px var(--yw-cyan), var(--yw-shadow); }
/* Inline legal links must be distinguishable without color. */
.yw-footer .yw-footer__legal a { color: var(--yw-ink); text-decoration: underline; }
/* Target sizes (WCAG 2.5.8). */
.site-branding a.brand { display: inline-flex; align-items: center; min-height: 44px; }
.header-navigation .dropdown-nav-special-toggle { min-width: 28px; display: inline-flex; align-items: center; justify-content: center; }
.yw-check input { width: 24px; height: 24px; }
/* Focusable scroll regions get a visible focus ring. */
.yw-table-wrap:focus-visible { outline: 3px solid var(--yw-blue); outline-offset: 2px; }
/* Ownership matrix (core/table): stack rows on small screens instead of scrolling. */
@media (max-width: 640px) {
	.wp-block-table.yw-table-wrap { overflow: visible; }
	.wp-block-table.yw-table-wrap thead { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
	.wp-block-table.yw-table-wrap tr { display: block; padding: .9rem 1.1rem; border-top: 1px solid var(--yw-line); }
	.wp-block-table.yw-table-wrap th, .wp-block-table.yw-table-wrap td { display: block; width: auto !important; padding: .15rem 0; border: 0; }
	.yw-ownership-matrix td:nth-of-type(1)::before { content: "During the subscription: "; font-weight: 700; color: var(--yw-navy); }
	.yw-ownership-matrix td:nth-of-type(2)::before { content: "After payment 24: "; font-weight: 700; color: var(--yw-navy); }
	.yw-query-table td:nth-of-type(2)::before { content: "Example searches: "; font-weight: 700; color: var(--yw-navy); }
	.yw-query-table td:nth-of-type(3)::before { content: "Answered on: "; font-weight: 700; color: var(--yw-navy); }
	.yw-query-table td:first-child { font-size: 1.02rem; margin-bottom: .2rem; }
	.yw-buyout th, .yw-buyout td { padding: .75rem .8rem; }
}

/* ---------- Service pages ---------- */
.yw-matrix thead th.is-featured, .yw-matrix td.is-featured { background: #F3F7FF; }
.yw-matrix tbody th { width: 22%; }
@media (max-width: 760px) {
	.yw-matrix { overflow: visible; }
	.yw-matrix thead { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
	.yw-matrix tr { display: block; padding: 1rem 1.1rem; border-top: 1px solid var(--yw-line); }
	.yw-matrix th, .yw-matrix td { display: block; width: auto !important; border: 0; padding: .3rem 0; }
	.yw-matrix tbody th { font-size: 1.02rem; margin-bottom: .25rem; }
	.yw-matrix td::before { content: attr(data-plan) ": "; font-weight: 700; color: var(--yw-navy); }
	.yw-matrix td.is-featured { background: none; }
}
/* Answer-page anatomy */
.yw-anatomy { counter-reset: yw-an; list-style: none; padding: 0 !important; margin: 0 !important; border-left: 2px solid var(--yw-line); }
.yw-anatomy > li { counter-increment: yw-an; position: relative; padding: 0 0 1.4rem 1.6rem; color: var(--yw-slate); }
.yw-anatomy > li::before { content: counter(yw-an); position: absolute; left: -14px; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--yw-blue); color: var(--yw-blue-deep); font: 800 .8rem/22px var(--yw-font-head); text-align: center; }
.yw-anatomy > li strong { display: block; color: var(--yw-navy); font-family: var(--yw-font-head); font-size: 1.05rem; margin-bottom: .2rem; }
/* Measurement levels (lead tracking) */
.yw-levels .yw-card .yw-card__num { color: var(--yw-cyan-ink); }
.yw-related { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0 !important; margin: 0 !important; }
.yw-related li a { display: inline-flex; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--yw-line); background: #fff; text-decoration: none; font-weight: 650; color: var(--yw-navy); font-size: .92rem; min-height: 44px; align-items: center; }
.yw-related li a:hover { border-color: var(--yw-blue); color: var(--yw-blue-deep); }

/* Consistency pass (service pages review) */
.yw-section .yw-eyebrow, .yw-head p.yw-eyebrow { font-size: .8rem !important; line-height: 1.2; margin: 0 0 .15rem !important; color: var(--yw-blue-deep); }
.yw-section--navy .yw-eyebrow, .yw-section--navy .yw-head p.yw-eyebrow { color: var(--yw-cyan); }
.yw-matrix table { table-layout: fixed; }
.yw-matrix thead th:first-child, .yw-matrix tbody th { width: 22%; }
.yw-report__plan { min-width: 9.2rem; text-align: center; }

/* Industry pages */
.yw-query-table td:first-child strong { color: var(--yw-navy); }
.yw-query-table td:nth-of-type(2) { color: var(--yw-ink); }
@media (min-width: 641px) { .yw-query-table table { table-layout: fixed; } .yw-query-table td:first-child { width: 20%; } }
.yw-fixes--why .yw-fix p::before { content: none; }
.yw-fixes--why .yw-fix p strong { color: var(--yw-blue-deep); }
.yw-fixes--why > .wp-block-group__inner-container { display: contents; }
@media (min-width: 641px) { .yw-query-table thead th:first-child { width: 20%; } }

/* ---------- Sample report page (/sample-report/) ---------- */
.yw-reportdoc { border-radius: var(--yw-r-lg); background: #fff; border: 1px solid var(--yw-line); box-shadow: var(--yw-shadow); overflow: hidden; }
.yw-reportdoc__head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; padding: 1.1rem 1.5rem; background: var(--yw-navy); }
.yw-reportdoc__head > .wp-block-group__inner-container { display: contents; }
.yw-reportdoc__head p { margin: 0; }
.yw-reportdoc__title { font: 800 1.15rem/1.2 var(--yw-font-head); color: #fff; }
.yw-reportdoc__meta { flex: 1 1 280px; font-size: .88rem; color: #B9C7E2; }
.yw-reportdoc__badge { font: 700 .72rem/1 var(--yw-font-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(34, 211, 238, .16); color: var(--yw-cyan); padding: .55em .85em; border-radius: 999px; }
.yw-reportdoc__body { padding: .5rem 1.5rem 1.5rem; }
.yw-reportdoc__body h3 { font-size: 1.05rem; margin: 1.6rem 0 .7rem; }
.yw-reportdoc--quarterly .yw-reportdoc__body { padding-top: 1.25rem; }
.yw-reportdoc .yw-table-wrap { box-shadow: none; }
.wp-block-table.yw-table-wrap table { margin: 0; }
.yw-report-table em, .yw-reportdoc__next em { font-style: normal; font-weight: 650; font-size: .85rem; color: var(--yw-blue-deep); background: var(--yw-mist-2); border: 1px dashed #B6C8EC; border-radius: 6px; padding: .1em .5em; white-space: nowrap; }
.yw-report-table td:first-child strong { color: var(--yw-navy); }
.yw-reportdoc__next { list-style: none; padding: 0 !important; margin: 0 !important; }
.yw-reportdoc__next li { padding: .55rem 0; border-top: 1px solid var(--yw-line); color: var(--yw-slate); }
.yw-reportdoc__next li:first-child { border-top: 0; }
.yw-reportdoc__next strong { color: var(--yw-navy); }
@media (min-width: 641px) { .yw-report-table table { table-layout: fixed; } .yw-report-table thead th:first-child { width: 32%; } .yw-report-table thead th:nth-child(2) { width: 22%; } }
@media (max-width: 640px) {
	.yw-reportdoc__head, .yw-reportdoc__body { padding-left: 1.1rem; padding-right: 1.1rem; }
	.yw-report-table td:first-child { font-size: 1rem; margin-bottom: .2rem; }
	.yw-report-table td:nth-of-type(2)::before { content: "Reported: "; font-weight: 700; color: var(--yw-navy); }
	.yw-report-table em { white-space: normal; }
}

/* ---------- Portfolio (/portfolio/) ---------- */
.yw-legend { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .75rem; }
.yw-legend li { flex: 1 1 260px; display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.2rem 1rem 2.6rem; position: relative; border: 1px solid var(--yw-line); border-radius: var(--yw-r); background: #fff; font-size: .9rem; color: var(--yw-slate); line-height: 1.45; }
.yw-legend li::before { content: ""; position: absolute; left: 1.1rem; top: 1.3rem; width: 10px; height: 10px; border-radius: 50%; background: var(--yw-blue); box-shadow: 0 0 0 4px var(--yw-mist-2); }
.yw-legend li:nth-child(2)::before { background: var(--yw-cyan-ink); }
.yw-legend li:nth-child(3)::before { background: var(--yw-muted); }
.yw-legend li strong { color: var(--yw-navy); font-family: var(--yw-font-head); font-size: 1rem; }

.yw-showcases > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: clamp(3rem, 2rem + 4vw, 6.5rem); }
.yw-showcase { align-items: center !important; gap: clamp(2rem, 1rem + 4vw, 5rem) !important; }
@media (min-width: 782px) { .yw-showcase--flip { flex-direction: row-reverse; } }
.yw-showcase__media { position: relative; isolation: isolate; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem) clamp(1rem, .5rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--yw-r-lg); background: linear-gradient(160deg, var(--yw-mist) 0%, #EAF1FE 100%); border: 1px solid var(--yw-line); }
.yw-showcase__media::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: var(--yw-glow); opacity: .9; pointer-events: none; }
.yw-showcase__copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); margin: .5rem 0 .75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.yw-showcase__copy h3 .yw-pill { font-family: var(--yw-font-body); letter-spacing: .06em; }
.yw-showcase__copy > p { color: var(--yw-slate); }
.yw-showcase__link a { font-weight: 700; color: var(--yw-blue-deep); }

.yw-gallery > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-gallery .yw-work { flex: 0 1 100%; margin: 0 !important; }
@media (min-width: 600px) { .yw-gallery .yw-work { flex-basis: calc((100% - var(--yw-space-gap)) / 2); } }
@media (min-width: 960px) { .yw-gallery .yw-work { flex-basis: calc((100% - 2 * var(--yw-space-gap)) / 3); } }
.yw-work { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r); overflow: hidden; box-shadow: var(--yw-shadow-sm); transition: translate var(--yw-dur, .28s) var(--yw-ease), box-shadow var(--yw-dur, .28s) var(--yw-ease), border-color var(--yw-dur, .28s); }
.yw-work > .wp-block-group__inner-container { display: contents; }
.yw-work .wp-block-image { margin: 0 !important; background: linear-gradient(180deg, #fff 0%, var(--yw-mist) 100%); border-bottom: 1px solid var(--yw-line); overflow: hidden; aspect-ratio: 563 / 487; }
.yw-work .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: scale .6s var(--yw-ease); }
.yw-work:hover { translate: 0 -4px; box-shadow: var(--yw-shadow); border-color: #C9D6EA; }
.yw-work:hover .wp-block-image img { scale: 1.035; }
.yw-work__title { margin: 1rem 1.2rem .15rem !important; font-size: 1rem; }
.yw-work__title strong { color: var(--yw-navy); font-family: var(--yw-font-head); font-weight: 650; }
.yw-work__meta { margin: 0 1.2rem 1.1rem !important; font-size: .85rem; color: var(--yw-muted); }
.yw-work[hidden] { display: none !important; }
.yw-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.yw-filters button { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--yw-line); background: #fff; color: var(--yw-navy); font: 650 .92rem/1 var(--yw-font-body); cursor: pointer; transition: background-color var(--yw-dur, .28s), color var(--yw-dur, .28s), border-color var(--yw-dur, .28s); }
.yw-filters button:hover { border-color: var(--yw-blue); }
.yw-filters button[aria-pressed="true"] { background: var(--yw-navy); border-color: var(--yw-navy); color: #fff; }
.yw-filters button span { font-size: .78rem; color: var(--yw-muted); font-variant-numeric: tabular-nums; }
.yw-filters button[aria-pressed="true"] span { color: #B9C7E2; }
.yw-filters button:focus-visible { outline: 3px solid var(--yw-blue); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
	@keyframes yw-work-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
	.yw-gallery.is-filtering .yw-work:not([hidden]) { animation: yw-work-in .45s var(--yw-ease-out, ease-out) both; }
}
.yw-gallery .yw-work--cta { flex-grow: 1; justify-content: center; gap: .25rem; padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem); background: radial-gradient(80% 90% at 85% 10%, rgba(34, 211, 238, .22) 0%, rgba(37, 99, 255, 0) 60%), var(--yw-navy); border-color: var(--yw-navy); color: #fff; }
.yw-work--cta .yw-eyebrow { color: var(--yw-cyan); }
.yw-work--cta h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); margin: .6rem 0 .5rem; max-width: 22ch; }
.yw-work--cta p:not(.yw-eyebrow) { color: #B9C7E2; margin: 0 0 1.25rem; max-width: 46ch; }
.yw-work--cta:hover { border-color: var(--yw-navy); }

/* ---------- Photography: gradient hero + section photos (Gemini-generated, see IMAGE_PLAN.md) ---------- */
.yw-hero--photo { position: relative; }
.wp-block-image.yw-hero__media, .wp-block-image.yw-photo { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--yw-r-lg); margin: 2rem 0 0 !important; aspect-ratio: 4 / 3; background: var(--yw-navy); box-shadow: var(--yw-shadow); }
.wp-block-image.yw-photo { aspect-ratio: 3 / 2; margin: 0 !important; }
.yw-hero__media img, .yw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Brand gradient light: electric blue from the top-left, navy depth at the bottom, a cyan lift in the middle. */
.yw-hero__media::after, .yw-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(37, 99, 255, .42) 0%, rgba(34, 211, 238, .14) 42%, rgba(168, 85, 247, 0) 70%), linear-gradient(0deg, rgba(11, 31, 77, .45) 0%, rgba(11, 31, 77, 0) 45%); mix-blend-mode: multiply; }
.yw-hero__media::before, .yw-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
@media (min-width: 1025px) {
	.yw-hero--photo { min-height: min(78vh, 720px); display: flex; align-items: center; }
	.yw-hero--photo > .wp-block-group__inner-container { width: 100%; }
	.yw-hero--photo .wp-block-image.yw-hero__media { position: absolute; z-index: -1; top: 0; right: 0; height: min(100%, 760px); width: 50%; aspect-ratio: auto; margin: 0 !important; border-radius: 0; box-shadow: none; background: transparent; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(180deg, #000 72%, transparent 100%); mask-composite: intersect; }
	.yw-hero--photo .yw-hero__media::before { display: none; }
	.yw-hero--photo.yw-hero--page .yw-head { max-width: 54% !important; }
	.yw-hero--photo.yw-hero--page .yw-head .yw-lead { max-width: 34em; }
	/* Home: the device mockup floats over the photo. */
	.yw-hero--photo:not(.yw-hero--page) .yw-hero__media { width: 54%; }
	.yw-hero--photo:not(.yw-hero--page) .yw-mock { filter: drop-shadow(0 30px 60px rgba(11, 31, 77, .35)); }
}
@media (prefers-reduced-motion: no-preference) {
	/* Scale only, never opacity: the hero photo can be the LCP element on desktop. */
	@keyframes yw-photo-in { from { scale: 1.06; } to { scale: 1; } }
	.yw-hero__media img { animation: yw-photo-in 1.6s var(--yw-ease-out, ease-out) both; }
	.yw-photo img { transition: scale 1.2s var(--yw-ease-out, ease-out); }
	.yw-photo:hover img { scale: 1.03; }
}
.yw-split { align-items: center !important; }
.yw-split .yw-head { margin-bottom: 0 !important; }
.wp-block-column > .wp-block-image.yw-photo:not(:first-child) { margin-top: 2rem !important; }
.yw-card--photo { --yw-pad: clamp(1.4rem, 1.1rem + 1vw, 2rem); padding: 0 var(--yw-pad) var(--yw-pad) !important; overflow: hidden; }
.yw-card--photo .wp-block-image.yw-card__photo { position: relative; margin: 0 calc(-1 * var(--yw-pad)) 1.1rem !important; aspect-ratio: 3 / 2; overflow: hidden; background: var(--yw-navy); }
.yw-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--yw-ease-out, ease-out); }
.yw-card__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(37, 99, 255, .32) 0%, rgba(34, 211, 238, .08) 50%, rgba(11, 31, 77, .25) 100%); mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference) { .yw-card--photo:hover .yw-card__photo img { scale: 1.05; } }
@media (max-width: 1024px) { .yw-hero--photo .wp-block-image.yw-hero__media { aspect-ratio: 16 / 9; } }

/* ---------- Design showcase screenshots (owner-supplied desktop + phone mockups, D25) ---------- */
/* Shown whole: no brand tint, no crop, no fade. The studio-grey backdrop is part of the image. */
.wp-block-image.yw-shot, .wp-block-image.yw-hero__media--device { position: relative; margin: 0 !important; overflow: hidden; border-radius: var(--yw-r-lg); background: #E8E7EA; box-shadow: var(--yw-shadow); aspect-ratio: auto; }
.yw-shot img, .yw-hero__media--device img { display: block; width: 100%; height: auto; object-fit: contain; }
.yw-hero__media--device::after, .yw-hero__media--device::before { display: none !important; }
.yw-hero--device .wp-block-image.yw-hero__media--device { margin-top: 2rem !important; aspect-ratio: auto; }
.yw-demo-card .wp-block-image.yw-shot { box-shadow: var(--yw-shadow-sm, var(--yw-shadow)); transition: translate var(--yw-dur, .28s) var(--yw-ease-out, ease-out), box-shadow var(--yw-dur, .28s) var(--yw-ease-out, ease-out); }
.yw-demo-card p.yw-shot__label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--yw-blue-deep); }
@media (prefers-reduced-motion: no-preference) {
	.yw-demo-card:hover .wp-block-image.yw-shot { translate: 0 -4px; box-shadow: var(--yw-shadow-lg, var(--yw-shadow)); }
}
@media (min-width: 1025px) {
	.yw-hero--device .wp-block-image.yw-hero__media--device { position: absolute; z-index: 0; top: 50%; translate: 0 -50%; right: max(2rem, calc((100vw - 1240px) / 2)); left: auto; width: min(42%, 620px); height: auto; margin: 0 !important; border-radius: var(--yw-r-lg); box-shadow: var(--yw-shadow-lg, var(--yw-shadow)); -webkit-mask-image: none; mask-image: none; background: #E8E7EA; }
	.yw-hero--device.yw-hero--page .yw-head { max-width: 46% !important; }
	.yw-hero--device .wp-block-buttons { max-width: 46%; }
}

/* Home design examples: portfolio-style .yw-work cards without the gallery filter. */
.yw-works > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-works .yw-work { flex: 0 1 100%; margin: 0 !important; }
@media (min-width: 600px) { .yw-works .yw-work { flex-basis: calc((100% - var(--yw-space-gap)) / 2); } }
@media (min-width: 960px) { .yw-works .yw-work { flex-basis: calc((100% - 2 * var(--yw-space-gap)) / 3); } }
.yw-works .yw-work .wp-block-image { aspect-ratio: 1448 / 1086; }
.yw-work__desc { margin: 0 1.2rem 1.3rem !important; font-size: .92rem; color: var(--yw-slate); }
.yw-showcase__media .wp-block-image.yw-shot { box-shadow: var(--yw-shadow-lg); }
.yw-showcases__more { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) !important; text-align: center; }

/* ---------- Client review card (home "Proof, honestly"; real reviews with written permission only, D29) ---------- */
.yw-proof .yw-head { margin-bottom: 1.5rem !important; }
.yw-review { position: relative; isolation: isolate; background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r-lg); padding: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); box-shadow: var(--yw-shadow-lg); overflow: hidden; }
.yw-review > .wp-block-group__inner-container { display: contents; }
.yw-review::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 4px; background: var(--yw-grad-ribbon); }
.yw-review::after { content: "\201C"; position: absolute; z-index: -1; top: -.12em; right: .12em; font: 700 11rem/1 var(--yw-font-head); color: var(--yw-mist); pointer-events: none; }
.yw-review__stars { margin: 0 0 1rem !important; font-size: 1.3rem; letter-spacing: .12em; color: #B7791F; font-weight: 700; line-height: 1; }
.yw-review .wp-block-quote.yw-review__quote { margin: 0 0 1.5rem !important; padding: 0 !important; border: 0 !important; background: none; }
.yw-review__quote p { margin: 0; font-size: clamp(1.02rem, .95rem + .3vw, 1.14rem); line-height: 1.65; color: var(--yw-ink); font-style: normal; }
.yw-review__by { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; margin: 0 !important; padding-top: 1.25rem; border-top: 1px solid var(--yw-line); font-size: .92rem; color: var(--yw-slate); line-height: 1.4; }
.yw-review__by br { display: none; }
.yw-review__by strong { grid-column: 2; color: var(--yw-navy); font-family: var(--yw-font-head); font-size: 1.05rem; }
.yw-review__avatar { grid-row: 1 / span 2; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yw-blue); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
@media (prefers-reduced-motion: no-preference) {
	.yw-review { transition: translate var(--yw-dur, .28s) var(--yw-ease-out, ease-out); }
	.yw-review:hover { translate: 0 -4px; }
}

/* ---------- Home hero scene: background photo + plumber cutout + three badges (D30) ----------
   Layout only; motion lives in youwebb-motion.css. The stage keeps the cutout's own proportions
   (1110 x 1417), so the cutout and badges scale together and nothing shifts while images load. */
.yw-scene > .wp-block-group__inner-container, .yw-scene__stage > .wp-block-group__inner-container { display: contents; }
.yw-scene__stage { position: relative; z-index: 1; width: 100%; max-width: 500px; aspect-ratio: 1110 / 1417; margin-left: auto; margin-right: 4%; }
.yw-scene__stage .wp-block-image { margin: 0 !important; }
.yw-scene__stage .wp-block-image img { display: block; width: 100%; height: auto; }
.wp-block-image.yw-scene__person { position: absolute; inset: 0; filter: drop-shadow(0 28px 36px rgba(11, 31, 77, .32)); }
/* Mask on the img, shadow on the figure: a masked figure would clip its own shadow into a faint box. */
.yw-scene__person img { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.yw-scene__stage [class*="yw-badge-"] { position: absolute; z-index: 2; filter: drop-shadow(0 14px 22px rgba(37, 99, 255, .2)); }
.wp-block-image.yw-badge-search { top: 3%; left: -22%; width: 50%; }
.wp-block-image.yw-badge-leads { top: 24%; right: -12%; width: 40%; }
.wp-block-image.yw-badge-launch { top: 55%; right: -14%; width: 40%; }
@media (min-width: 1024px) {
	/* The photo stays a full-height backdrop on the right half of the hero (as before), not a card. */
	.yw-hero--scene .yw-scene .wp-block-image.yw-hero__media { position: absolute; z-index: -1; top: 0; right: 0; width: 54%; height: min(100%, 760px); aspect-ratio: auto; margin: 0 !important; border-radius: 0; box-shadow: none; background: transparent; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(180deg, #000 72%, transparent 100%); mask-composite: intersect; }
	.yw-hero--scene .yw-scene .yw-hero__media::before { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.yw-scene__stage { max-width: 420px; margin-right: 8%; }
	.wp-block-image.yw-badge-search { left: -16%; }
}
@media (max-width: 1023px) {
	/* Below the copy: the photo becomes a rounded card behind the lower part of the cutout. */
	.yw-scene { position: relative; max-width: 560px; margin: 1.5rem auto 0; }
	.yw-hero--scene .yw-scene .wp-block-image.yw-hero__media { position: absolute; z-index: 0; inset: 26% 0 0 0; margin: 0 !important; aspect-ratio: auto; border-radius: var(--yw-r-lg); }
	.yw-scene__stage { width: 72%; margin: 0 auto; }
	.wp-block-image.yw-badge-search { top: 4%; left: -18%; width: 54%; }
	.wp-block-image.yw-badge-leads { top: 30%; right: -20%; width: 46%; }
	.wp-block-image.yw-badge-launch { top: 58%; right: -20%; width: 46%; }
}

/* ---------- Trust card under the home hero (floating card, overlaps the hero edge) ----------
   Icons are inline SVG data URIs (Lucide-style strokes) on the existing li::before tile, so the
   markup stays a plain core/list. Content is unchanged: these are plan facts, not stats. */
.yw-hero--scene { margin-bottom: 0 !important; }
ul.yw-trust { padding: 0 !important; border-radius: 24px; border: 1px solid rgba(220, 227, 238, .9); box-shadow: 0 34px 70px -28px rgba(11, 31, 77, .32), 0 12px 28px -14px rgba(11, 31, 77, .16), 0 1px 2px rgba(11, 31, 77, .05); position: relative; z-index: 3; }
/* translate (not a negative margin, which would collapse into the section and drag its background up) */
.yw-hero--scene + .yw-section { --yw-trust-lift: clamp(1.75rem, 1rem + 2.2vw, 3rem); }
.yw-hero--scene + .yw-section ul.yw-trust { translate: 0 calc(-1 * var(--yw-trust-lift)); margin-bottom: calc(-1 * var(--yw-trust-lift)) !important; }
.yw-trust li { flex: 1 1 0; min-width: 0; gap: 1rem; padding: clamp(1.35rem, 1rem + 1vw, 1.9rem) clamp(1.1rem, .8rem + 1vw, 1.75rem); border-right: 1px solid var(--yw-line); border-bottom: 0; margin: 0; font-size: .9rem; line-height: 1.5; }
.yw-trust li:last-child { border-right: 0; }
.yw-trust li strong { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: .2rem; }
.yw-trust li::before { flex: 0 0 46px; height: 46px; border-radius: 13px; background: #F1F5FB no-repeat center / 22px; box-shadow: inset 0 0 0 1px rgba(37, 99, 255, .08); }
.yw-trust li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }
.yw-trust li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/svg%3E"); }
.yw-trust li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E"); }
.yw-trust li:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) and (min-width: 600px) {
	.yw-trust li { flex: 1 1 50%; border-bottom: 1px solid var(--yw-line); }
	.yw-trust li:nth-child(2n) { border-right: 0; }
	.yw-trust li:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 599px) {
	.yw-trust li { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--yw-line); }
	.yw-trust li:last-child { border-bottom: 0; }
}

/* Split intro (heading + photo) followed by a fix list: keep breathing room above the list divider. */
.yw-section > .wp-block-columns.yw-split:has(+ .yw-fixes), .yw-section > .wp-block-group__inner-container > .wp-block-columns.yw-split:has(+ .yw-fixes) { margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem) !important; }

/* ---------- About page (D32) ---------- */
.yw-head--center { text-align: center; margin-left: auto !important; margin-right: auto !important; max-width: 780px; }
.yw-head--center .yw-eyebrow { justify-content: center; }
.yw-helps > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-helps > .wp-block-group__inner-container > .yw-help { flex: 1 1 280px; margin: 0 !important; }
.yw-help { background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r-lg); padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); box-shadow: var(--yw-shadow-sm); }
.yw-help h3.wp-block-heading { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); margin: 0 0 1rem; }
.yw-help .yw-checks { margin: 0; columns: 1; }
.yw-help--award { background: var(--yw-navy); border-color: var(--yw-navy); color: #C9D5EC; position: relative; overflow: hidden; isolation: isolate; }
.yw-help--award::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 60% at 90% 0%, rgba(37, 99, 255, .5) 0%, rgba(37, 99, 255, 0) 70%); }
.yw-help--award h3.wp-block-heading { color: #fff; }
.yw-help--award strong { color: #fff; }
p.yw-help__medal { width: 64px; height: 64px; margin: 0 0 1.25rem !important; border-radius: 18px; background: rgba(255, 255, 255, .08) no-repeat center / 34px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526'/%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .25); }
.yw-help__note { text-align: center; margin-top: 2rem !important; }
.yw-about-cta .wp-block-buttons { justify-content: center; }
.yw-about-cta .yw-head { margin-bottom: 2rem !important; }
.yw-section#work .wp-block-buttons { justify-content: center; margin-top: 2.5rem; }

/* ---------- Services overview: five photo cards (3 + 2) ---------- */
.yw-grid--svc > *, .yw-grid--svc > .wp-block-group__inner-container > * { flex: 1 1 calc((100% - 2 * var(--yw-space-gap)) / 3); }
@media (max-width: 1024px) { .yw-grid--svc > *, .yw-grid--svc > .wp-block-group__inner-container > * { flex-basis: calc((100% - var(--yw-space-gap)) / 2); } }
@media (max-width: 640px) { .yw-grid--svc > *, .yw-grid--svc > .wp-block-group__inner-container > * { flex-basis: 100%; } }
/* Wider cards in the last row keep the same photo height as the row above. */
.yw-grid--svc .yw-card--photo .wp-block-image.yw-card__photo { aspect-ratio: auto; height: clamp(200px, 12rem + 4vw, 260px); }

/* ---------- Portfolio: client case study (JC Landscape, D33) ---------- */
.yw-case .wp-block-image.yw-case__shot { margin: clamp(1.5rem, 1rem + 2vw, 2.75rem) 0 !important; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 31, 77, .35); }
.yw-case__shot img { display: block; width: 100%; height: auto; }
.yw-case__grid { display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: flex-start; }
.yw-case__story { flex: 1 1 520px; min-width: 0; }
.yw-case__story h3.wp-block-heading { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.yw-case__story h3.wp-block-heading:first-child { margin-top: 0; }
.yw-case__facts { flex: 0 1 340px; padding: clamp(1.4rem, 1rem + 1vw, 2rem) !important; border: 1px solid var(--yw-silver, #E2E8F0); border-radius: 20px; background: #F6F9FF; position: sticky; top: 110px; }
@media (max-width: 900px) { .yw-case__facts { flex-basis: 100%; position: static; } }
ul.yw-case__list { list-style: none; padding: 0; margin: .75rem 0 1rem; }
ul.yw-case__list li { display: flex; flex-direction: column; gap: .15rem; padding: .7rem 0; border-bottom: 1px solid var(--yw-silver, #E2E8F0); }
ul.yw-case__list li:last-child { border-bottom: 0; }
ul.yw-case__list li strong { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #475569; font-weight: 600; }
.yw-case__gallery { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.yw-case__gallery > .wp-block-image { flex: 1 1 320px; margin: 0 !important; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.yw-case__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yw-case__caption { margin-top: .75rem !important; }
.yw-case__cta { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding: clamp(1.75rem, 1rem + 3vw, 3rem) !important; border-radius: 24px; background: var(--yw-navy, #0B1F4D); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.yw-case__cta h3.wp-block-heading { color: #fff; margin: 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); flex: 1 1 320px; }
.yw-case__cta .yw-btn-secondary .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .5); background: transparent; }
/* Kadence wraps group children in an inner container: apply the case-study flex layouts there too. */
.yw-case__grid > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: flex-start; }
.yw-case__gallery > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-case__gallery > .wp-block-group__inner-container > .wp-block-image { flex: 1 1 320px; margin: 0 !important; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.yw-case__cta > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; width: 100%; }
.yw-case__story p { font-size: 1.05rem; line-height: 1.75; }

/* ---------- Pricing: three client review cards (D34) ---------- */
.yw-reviews, .yw-reviews > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); align-items: stretch; }
.yw-reviews { margin-top: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.yw-reviews > .yw-review, .yw-reviews > .wp-block-group__inner-container > .yw-review { flex: 1 1 300px; margin: 0 !important; display: flex; flex-direction: column; }
.yw-reviews .yw-review .yw-review__quote { flex: 1 1 auto; }
.yw-reviews .yw-review::after { font-size: 8rem; }
.yw-reviews .yw-review__quote p { font-size: 1rem; line-height: 1.7; }

/* ---------- Resource guides (cost guide, 2026-11-04) ---------- */
.yw-byline { margin-top: .75rem !important; font-size: .9rem; color: var(--yw-muted); }
.yw-hero .yw-eyebrow a { color: inherit; text-decoration: none; }
.yw-hero .yw-eyebrow a:hover, .yw-hero .yw-eyebrow a:focus-visible { text-decoration: underline; }
/* Direct answer box: the 40-60 word answer search engines and assistants can quote. */
.yw-answer { position: relative; padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem) !important; border-radius: var(--yw-r-lg); background: #fff; border: 1px solid var(--yw-line); box-shadow: var(--yw-shadow-lg); overflow: hidden; margin-bottom: 2rem !important; }
.yw-answer::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yw-grad-ribbon); }
.yw-answer__label { margin: 0 0 .4rem !important; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yw-blue); }
.yw-section .yw-answer h2.wp-block-heading.yw-answer__q { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); margin: 0 0 .6rem; }
.yw-answer__a { margin: 0 !important; font-size: clamp(1.04rem, .98rem + .3vw, 1.16rem); line-height: 1.7; color: var(--yw-ink); }
/* Cost table: stacked, labeled rows on phones (no horizontal scrolling). */
.yw-cost-table table { width: 100%; }
.yw-cost-table tbody th { white-space: nowrap; }
.yw-cell-label { display: none; }
@media (max-width: 760px) {
	.yw-cost-table { overflow: visible; }
	.yw-cost-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.yw-cost-table tr { display: block; padding: 1rem 1.1rem; border-top: 1px solid var(--yw-line); }
	.yw-cost-table th, .yw-cost-table td { display: block; padding: .2rem 0 !important; border: 0 !important; white-space: normal !important; }
	.yw-cost-table tbody th { font-size: 1.05rem; padding-bottom: .4rem !important; }
	.yw-cell-label { display: inline; font-weight: 600; color: var(--yw-navy); }
}
/* Price factor cards */
.yw-factors, .yw-factors > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); }
.yw-factors .yw-card { flex: 1 1 calc((100% - 2 * var(--yw-space-gap)) / 3); min-width: 240px; margin: 0 !important; }
/* Two equal columns of cards */
.yw-cols-2, .yw-cols-2 > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: var(--yw-space-gap); align-items: stretch; }
.yw-cols-2 > .yw-card, .yw-cols-2 > .wp-block-group__inner-container > .yw-card { flex: 1 1 340px; margin: 0 !important; }
.yw-card--flags { border-color: #F3D9D2; background: #FFFBFA; }
/* Compact numbered list inside a card */
.yw-steps--compact { display: block; }
.yw-steps--compact > li { padding: .55rem 0 .55rem 2.4rem; border: 0; background: none; border-radius: 0; color: var(--yw-ink); }
.yw-steps--compact > li::before { position: absolute; left: 0; top: .55rem; margin: 0; }
.yw-steps--compact > li:last-child { background: none; color: var(--yw-ink); }
.yw-steps--compact > li:last-child::before { color: var(--yw-blue); }
/* Resources hub: featured guide card */
.yw-guide, .yw-guide > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: stretch; }
.yw-guide { border: 1px solid var(--yw-line); border-radius: var(--yw-r-lg); overflow: hidden; background: #fff; box-shadow: var(--yw-shadow-lg); margin-top: 1.5rem; }
.yw-guide .wp-block-image.yw-guide__photo { flex: 1 1 380px; margin: 0 !important; min-height: 260px; }
.yw-guide__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yw-guide__body { flex: 1 1 380px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) !important; align-self: center; }
.yw-section .yw-guide__body h3.wp-block-heading { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: .3rem 0 .7rem; }
.yw-guide__body h3 a { color: var(--yw-navy); text-decoration: none; }
.yw-guide__body h3 a::after { content: ""; position: absolute; inset: 0; }
.yw-guide { position: relative; }
.yw-guide__body h3 a:focus-visible { outline: none; }
.yw-guide:focus-within { outline: 3px solid var(--yw-blue); outline-offset: 3px; }
.yw-guide__more { font-weight: 700; }
.yw-cost-table + .yw-note { margin-top: 1rem !important; }
/* Resources hub: stacked guide cards, alternating image side */
.yw-guides, .yw-guides > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.yw-guides .yw-guide { margin-top: 0; }
@media (min-width: 900px) { .yw-guide--flip > .wp-block-group__inner-container, .yw-guide--flip { flex-direction: row-reverse; } }
.yw-guide .yw-eyebrow .yw-pill { margin-right: .35rem; }
.yw-guide .wp-block-image.yw-guide__photo img { transition: scale .9s var(--yw-ease-out, ease-out); }
@media (prefers-reduced-motion: no-preference) { .yw-guide:hover .yw-guide__photo img { scale: 1.04; } }
/* Conversion guide: numbered "conversion killer" cards */
.yw-killer { position: relative; }
.yw-killer__n { margin: 0 0 .5rem !important; font: 800 1.6rem/1 var(--yw-font-head); background: var(--yw-grad-ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yw-killer p:not(.yw-killer__n):not(.yw-killer__fix) { color: var(--yw-slate); }
.yw-killer__fix { margin-top: .75rem !important; padding-top: .75rem; border-top: 1px dashed var(--yw-line); color: var(--yw-ink); }
.yw-killer__fix strong { color: var(--yw-blue); }
.yw-split .yw-steps + p { margin-top: 1.25rem !important; }

/* Form errors and sending state (inline validation in youwebb.js) */
.yw-field__error { margin: .1rem 0 0 !important; font-weight: 600; font-size: .9rem; }
.yw-check + .yw-field__error { margin: -.75rem 0 1.25rem !important; }
.yw-check [aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
.yw-form button[type="submit"][aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------- Mobile readability and touch targets (phone audit 2026-11-04, tools/qa-mobile.mjs) ----------
   On phones: no label under ~13.6px, fine print at 15-16px, and every link or button at least
   44px tall to tap (inline links get invisible vertical padding, which doesn't move the text). */
@media (max-width: 767px) {
	/* Labels and small caps */
	.yw-eyebrow, .yw-section .yw-eyebrow, .yw-head p.yw-eyebrow { font-size: .875rem !important; letter-spacing: .1em; }
	.yw-footer .yw-footer__h { font-size: .875rem !important; }
	.yw-plan__badge, .yw-milestone__month span, .yw-report__sample, .yw-report__plan, .yw-answer__label,
	ul.yw-case__list li strong, .yw-compare__list-group, .yw-pill, .yw-mock__tag, .yw-reportdoc__badge { font-size: .85rem !important; }
	/* Fine print and notes */
	.yw-note, .yw-form__fine, .yw-cta .yw-cta__fine, .yw-milestone__body, .yw-work__desc,
	.yw-footer .yw-footer__brand p, .yw-care__availability, .yw-reportdoc__meta { font-size: 1rem !important; line-height: 1.6; }
	.yw-footer .yw-footer__legal { font-size: .9375rem; line-height: 1.6; }
	.yw-field label, .yw-check { font-size: 1rem; }

	/* Touch targets */
	.entry-content p a, .entry-content li a, .entry-content td a, .yw-check label a, .yw-footer p a {
		padding-block: .75em; /* inline padding enlarges the tap area without changing line spacing */
	}
	.yw-footer li { margin: 0; }
	.yw-footer li > a, .yw-plan__more, .yw-showcase__link a, .yw-guide__more, .yw-footer .yw-footer__brand figure a {
		display: inline-flex; align-items: center; min-height: 44px; padding-block: 0;
	}
	.menu-toggle-open.drawer-toggle { min-width: 48px; min-height: 48px; justify-content: center; }
	.yw-faq summary { min-height: 48px; }

	/* Spacing: a little more air between stacked cards and sections on small screens */
	.yw-grid > .wp-block-group__inner-container, .yw-grid { row-gap: 1.25rem; }
	.wp-block-buttons { gap: .75rem; }
	.wp-block-buttons > .wp-block-button { flex: 1 1 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; justify-content: center; min-height: 48px; }
}
/* Keep focused or jumped-to form fields clear of the sticky header (e.g. first error after submit). */
.yw-form input, .yw-form select, .yw-form textarea, .yw-form .yw-check { scroll-margin-top: 120px; scroll-margin-bottom: 24px; }
@media (max-width: 767px) {
	.yw-footer li > a { min-width: 44px; }
	.yw-hero .yw-eyebrow a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
}

/* Plan cards, owner copy 2026-11-05: tagline, audience line and "What's included" label */
.yw-plan__tagline { margin: 0 0 .4rem !important; font: 700 1rem/1.35 var(--yw-font-head); color: var(--yw-blue-deep); }
.yw-plan.is-featured .yw-plan__tagline { color: var(--yw-blue); }
.yw-plan__ideal { font-style: italic; }
.yw-plan__included { margin: 0 0 .5rem !important; font-weight: 700; color: var(--yw-navy); font-size: .95rem; }
/* Pricing: "Flexible Start. Long-Term Value." explanation under the comparison table */
.yw-flex-start { position: relative; margin-top: clamp(1.75rem, 1.25rem + 2vw, 3rem); padding: clamp(1.4rem, 1rem + 2vw, 2.25rem) clamp(1.4rem, 1rem + 2vw, 2.5rem) !important; border-radius: var(--yw-r-lg); background: var(--yw-mist); border: 1px solid var(--yw-line); overflow: hidden; }
.yw-flex-start::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yw-grad-ribbon); }
.yw-section .yw-flex-start h3.wp-block-heading.yw-flex-start__title { margin: 0 0 .5rem; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
.yw-flex-start p { margin: 0; max-width: 62rem; color: var(--yw-ink); line-height: 1.7; }

/* Footer contact details (email + phone) with line icons */
.yw-footer ul.yw-footer__contact { margin: 1.1rem 0 1.25rem !important; display: grid; gap: .35rem; }
.yw-footer .yw-footer__contact li { margin: 0; }
.yw-footer .yw-footer__contact a { display: inline-flex; align-items: center; gap: .65rem; min-height: 46px; color: var(--yw-ink); font-weight: 600; text-decoration: none; }
.yw-footer .yw-footer__contact a:hover, .yw-footer .yw-footer__contact a:focus-visible { color: var(--yw-blue); text-decoration: underline; }
.yw-footer .yw-footer__contact a::before { content: ""; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--yw-mist-2) no-repeat center / 18px; }
.yw-footer .yw-footer__email a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.yw-footer .yw-footer__phone a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }

/* ---------- Plan order pages (/pricing/{plan}/order/, 2026-11-06) ---------- */
.yw-order__cols { gap: clamp(1.5rem, 1rem + 2.5vw, 3rem) !important; }
.yw-order__cols > .wp-block-column:first-child { flex: 1 1 62% !important; min-width: 0; }
.yw-order__cols > .wp-block-column:last-child { flex: 1 1 34% !important; min-width: 0; }
@media (min-width: 900px) { .yw-order__cols > .wp-block-column:last-child { position: sticky; top: 110px; } }
@media (max-width: 899px) { .yw-order__cols { flex-direction: column-reverse; } .yw-order__cols > .wp-block-column { flex-basis: 100% !important; } }
/* Form sections */
.yw-form--order .yw-fieldset { border: 0; border-top: 1px solid var(--yw-line); margin: 0 0 1.5rem; padding: 1.5rem 0 0; min-width: 0; }
.yw-form--order .yw-fieldset:first-of-type { border-top: 0; padding-top: 0; }
.yw-form--order legend { padding: 0; margin: 0 0 1rem; font: 700 1.15rem/1.3 var(--yw-font-head); color: var(--yw-navy); }
.yw-form--order .yw-form__grid { margin-bottom: 0; }
.yw-field__help { margin: .15rem 0 0 !important; font-size: .875rem; line-height: 1.5; color: var(--yw-muted); }
.yw-form--order .yw-check.yw-field { flex-direction: row; margin: 0; }
.yw-form--order > .yw-check { margin-top: .25rem; }
/* Plan summary */
.yw-summary { position: relative; background: #fff; border: 1px solid var(--yw-line); border-radius: var(--yw-r-lg); padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); box-shadow: var(--yw-shadow-lg); overflow: hidden; }
.yw-summary::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--yw-grad-ribbon); }
.yw-summary__label { margin: 0 0 .35rem !important; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yw-blue-deep); }
.yw-summary__name { margin: 0 0 .25rem !important; font: 700 1.6rem/1.2 var(--yw-font-head); color: var(--yw-navy); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.yw-summary .yw-plan__facts { margin-bottom: 1rem; }
.yw-summary__switch { margin: 0 !important; padding-top: 1rem; border-top: 1px solid var(--yw-line); font-size: .92rem; color: var(--yw-slate); line-height: 1.6; }
/* Reassurance strip */
ul.yw-assure { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--yw-space-gap); }
ul.yw-assure li { margin: 0; padding: 1.1rem 1.25rem; border: 1px solid var(--yw-line); border-radius: var(--yw-r); background: #fff; color: var(--yw-slate); font-size: .95rem; line-height: 1.5; }
ul.yw-assure li strong { display: block; color: var(--yw-navy); font-family: var(--yw-font-head); font-size: 1.05rem; margin-bottom: .2rem; }
@media (max-width: 767px) { .yw-field__help { font-size: .9375rem; } }
@media (max-width: 767px) { .yw-summary__label { font-size: .875rem; } }
