/* YPN inner pages only (design-report.md A1-A12). Loads last, after ypn-final-homepage.css.
   The homepage never loads this file. Values come from reference-lock.md and /ypn-tokens.json.
   Reused homepage components keep their homepage IDs/classes so their CSS applies verbatim
   (.ss-tabs-section = L8, #optional-feature-grid = L9, #homepage-customers-2025 = L12,
   #ypn-additional-services = L15, #ypn-faq = L16). This file only adds the new inner pieces
   and the overrides listed below. One owner: request changes, do not edit per page. */

/* Pending client content: homepage CSS forces display on several containers, so `hidden`
   needs !important to win. Fill the slot, then delete `hidden` and `data-pending`. */
[hidden]{display:none!important}

/* Rhythm and surfaces (lock T5, section 10). */
.ypn-inner-section{padding:64px 0}
.ypn-inner-section--band{background:#f5f3ec}
.ypn-inner-section--page{background:#faf9f6}
.ypn-inner-section--white{background:#fff}
.ypn-inner-narrow{max-width:720px!important}
/* The template pads every .content-wrapper 100px 20px; sections own their padding instead. */
#main-content.ypn-inner>section>.content-wrapper{padding:0}

/* Section header: L7 eyebrow + the single inner-page H2 role, 42 / 42 / 32 (lock section 4, C10).
   Overrides every homepage H2 variant (38/44/48/50px) inside reused components. */
.ypn-inner-head{text-align:center;margin:0 0 28px}
#main-content.ypn-inner h2.section-heading{font-family:Besley,Georgia,serif!important;font-weight:400!important;font-size:42px!important;line-height:1.2!important;letter-spacing:-2px!important;text-transform:none!important;color:#001f3d;max-width:860px;margin:0 auto!important;text-align:center!important;text-wrap:balance}
#main-content.ypn-inner #optional-feature-grid h2.section-heading{color:#fff}
#main-content.ypn-inner h2.ypn-reference-eyebrow{font-family:inherit}
#main-content.ypn-inner .ypn-faq-heading{text-align:center;margin:0 0 28px}
.ypn-inner-intro{max-width:720px;margin:16px auto 0;font-size:16px;line-height:1.5;color:#62676c}

/* A1 inner hero; --split adds the L5 photo column (85:54, 28px radius). L5's own selectors are
   scoped to the homepage hero (#homepage-hero-2025, Hero A/B), so the geometry is restated here. */
.ypn-inner-hero{background:#faf9f6;padding:64px 0}
.ypn-inner-hero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:center}
.ypn-inner-hero:not(.ypn-inner-hero--split) .ypn-inner-hero-grid{grid-template-columns:minmax(0,720px)}
#main-content.ypn-inner .ypn-inner-hero h1{font-family:Besley,Georgia,serif;font-weight:400;font-size:64px;line-height:1.15;letter-spacing:-2px;color:#001f3d;margin:0 0 24px}
.ypn-inner-lede{font-size:21px;line-height:1.45;letter-spacing:-.42px;color:#62676c;margin:0 0 32px;max-width:720px}
.ypn-inner-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin:0 0 28px}
/* Recipe 1 (navy pill, orange hover) comes from .ypn-hero-cta; this adds the pill geometry and lift. */
#main-content .ypn-inner-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:16px 38px;border-radius:99px;font-size:18px;font-weight:600;line-height:1.2;text-decoration:none}
#main-content .ypn-inner-btn:hover,#main-content .ypn-inner-btn:focus-visible{transform:translateY(-2px);box-shadow:0 5px 16px rgba(0,31,61,.125)}
#main-content .ypn-inner-link{color:#001f3d;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.ypn-inner-proof{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;list-style:none;font-size:15px;line-height:1.5;color:#001f3d}
.ypn-inner-proof li{position:relative;padding-left:22px}
.ypn-inner-proof li:before{content:'✓';position:absolute;left:0;top:0;color:#e87a00;font-weight:600}
.ypn-inner-hero-media img{display:block;width:100%;height:auto;aspect-ratio:85/54;object-fit:cover;border-radius:28px}

/* L8 as a static panel (A11): no tab bar, no JS. --nomedia = two-column check list. */
#main-content .ypn-inner-panel .ss-panel{padding-top:0!important}
#main-content .ypn-inner-panel .ss-panel-items{padding-top:0!important}
#main-content .ypn-inner-panel--nomedia .ss-panel-text{width:100%!important;flex:1 1 auto!important}
#main-content .ypn-inner-panel--nomedia .ss-panel-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 48px!important;max-width:900px;margin:0 auto}

/* L9 cards without the homepage's tab-switching links: no anchor wrapper, so no hover lift. */
#main-content.ypn-inner #optional-feature-grid .feature-grid-header{margin:0 0 28px!important}
#main-content.ypn-inner #optional-feature-grid .feature-block{max-width:none}

/* A2 steps row: 4 -> 2 -> 1; navy Besley numeral; date caption only when it exists (q2). */
.ypn-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ypn-step{background:#fff;border:1px solid #d7dde2;border-radius:16px;padding:28px}
.ypn-step-number{display:block;font-family:Besley,Georgia,serif;font-size:28px;line-height:1;color:#001f3d;margin:0 0 16px}
.ypn-step p{margin:0;font-size:16px;line-height:1.5;color:#62676c}
.ypn-step .ypn-step-date{margin:0 0 6px;font-size:13px}
#main-content.ypn-inner .ypn-step-title{font-family:Besley,Georgia,serif;font-weight:400;font-size:20px;line-height:1.3;letter-spacing:-.9px;color:#001f3d;margin:0 0 8px}

/* Default cards (lock section 10): mistakes trio, rating and case cards. */
.ypn-inner-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ypn-inner-card{background:#fff;border:1px solid #d7dde2;border-radius:16px;padding:28px}
.ypn-inner-card p{margin:0;font-size:16px;line-height:1.5;color:#62676c}
.ypn-inner-card strong{font-weight:600;color:#001f3d}

/* Proof row: rating card + one static L12 card + case card (q6). Same card geometry as L12. */
#main-content.ypn-inner #homepage-customers-2025{padding:64px 0!important;background:#fff!important}
.ypn-proof-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.ypn-proof-grid>.ypn-inner-card{border-color:#deddd9;border-radius:14px;padding:30px}
#main-content.ypn-inner #homepage-customers-2025 .testimonial-card{width:auto!important;flex:none!important;margin:0}
.ypn-rating-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.ypn-inner-card .ypn-rating-label{margin:0 0 8px;font-size:13px}
.ypn-inner-card .ypn-rating-value{font-family:Besley,Georgia,serif;font-size:60px;line-height:1.05;color:#001f3d}
.ypn-rating-card .ypn-review-source{margin-top:16px}
.ypn-case-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.ypn-case-meta dt{font-size:13px;line-height:1.5;color:#62676c}
.ypn-case-meta dd{margin:0;font-weight:600;color:#001f3d}
.ypn-case-card p+p{margin-top:8px}

/* A3 tag pills (non-interactive). */
.ypn-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none}
.ypn-tags li{padding:8px 16px;border:1px solid #d7dde2;border-radius:99px;font-size:14px;line-height:1.5;color:#001f3d}

/* A4 byline strip: text only. */
.ypn-byline{margin-top:32px;padding-top:28px;border-top:1px solid #d7dde2;text-align:center}
.ypn-byline p{margin:0}
.ypn-byline .ypn-byline-name{font-size:16px;font-weight:600;color:#001f3d}
.ypn-byline .ypn-byline-meta{margin:4px 0 12px;font-size:13px;line-height:1.5;color:#62676c}
.ypn-byline .ypn-byline-bio{font-size:16px;line-height:1.5;color:#62676c}

/* Cookie dialog (footer link). Replaces the homepage's inline Harvest-cream dialog style (C15). */
.ypn-inner-dialog{max-width:460px;padding:32px;border:1px solid #d7dde2;border-radius:20px;background:#fff;color:#001f3d}
.ypn-inner-dialog::backdrop{background:rgba(0,31,61,.4)}
.ypn-inner-dialog h2{font-family:Besley,Georgia,serif;font-weight:400;font-size:28px;line-height:1.3;margin:0 0 12px;color:#001f3d}
.ypn-inner-dialog p{margin:0 0 24px;color:#62676c}
.ypn-inner-dialog button{border:0;border-radius:99px;padding:12px 24px;background:#001f3d;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.ypn-inner-dialog button:hover,.ypn-inner-dialog button:focus-visible{background:#e87a00}

@media(max-width:1100px){.ypn-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){
#main-content.ypn-inner h2.section-heading{letter-spacing:-1.44px!important}
.ypn-inner-hero-grid{grid-template-columns:minmax(0,1fr);gap:32px}
#main-content.ypn-inner .ypn-inner-hero h1{font-size:52px}
.ypn-inner-hero-media img{aspect-ratio:16/9;max-height:390px}
.ypn-inner-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
.ypn-inner-section,.ypn-inner-hero,#main-content.ypn-inner #homepage-customers-2025{padding:44px 0!important}
#main-content.ypn-inner h2.section-heading{font-size:32px!important}
#main-content.ypn-inner .ypn-inner-hero h1{font-size:36px;line-height:1.2;letter-spacing:-1.4px}
.ypn-inner-lede{font-size:18px}
#main-content .ypn-inner-btn{min-height:48px;padding:12px 24px;font-size:16px}
.ypn-inner-hero-media img{aspect-ratio:4/3;max-height:280px;border-radius:20px}
#main-content .ypn-inner-panel--nomedia .ss-panel-items{grid-template-columns:minmax(0,1fr)}
.ypn-steps,.ypn-inner-cards{grid-template-columns:minmax(0,1fr)}
.ypn-step{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px}
.ypn-step>*{grid-column:2}
.ypn-step>.ypn-step-number{grid-column:1;grid-row:1 / span 3;margin:0}
.ypn-proof-grid>.ypn-inner-card{padding:26px}
}

/* ===== Phase 3 step 3: layout pages (/services, pillar, /pricing, /about, /contact). Additive only:
   nothing above this line changed. New selectors only, so the service pages are unaffected. ===== */

.ypn-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ypn-inner-actions--center{justify-content:center;margin:28px 0 0}
/* L8 title + description items in the no-media panel (homepage .ss-panel-item-title/-desc markup). */
#main-content .ypn-inner-panel--nomedia .ss-panel-item-title{color:#001f3d}
#main-content .ypn-inner-panel--nomedia .ss-panel-item-desc{color:#62676c}
.ypn-inner-proof--stack{flex-direction:column;gap:12px}
/* H4-role card title reused from the steps row (.ypn-step-title); card icon at the 48px service-icon size. */
.ypn-inner-card>img{display:block;width:48px;height:48px;margin:0 0 16px}

/* L6 client logos off the homepage hero. Every L6 geometry rule is scoped to #homepage-hero-2025,
   so it is restated here (as L5 was in step 1); the template's `#main-content .customer-logos{display:none}` is overridden. Reuses the unscoped .ypn-logo-viewport, .ypn-logo-group,
   the hover/focus pause and @keyframes ypn-logos from ypn-client-revision.css. */
.ypn-inner-logos{background:#faf9f6;padding:44px 0}
#main-content .ypn-inner-logos .customer-logos{display:block;width:100%;position:relative}
.ypn-inner-logos .trust-line p{margin:0 0 16px;font-size:16px;line-height:1.5;color:#001f3d;text-align:center}
.ypn-inner-logos .customer-logo-row{display:flex;flex-wrap:nowrap;justify-content:flex-start;width:max-content;animation:ypn-logos 55s linear infinite}
/* Computed homepage values at 1440 and 390: 38px tall black silhouettes, 40px gap, trust line 16px (12px <=640). */
#main-content .ypn-inner-logos .ypn-logo-group img{flex:none;height:38px;width:auto;max-width:none;object-fit:contain;opacity:1;filter:grayscale(1) brightness(0)}
.ypn-inner-rating{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;margin:20px 0 0;font-size:14px;line-height:1.5;color:#001f3d}
.ypn-inner-rating strong{font-family:Besley,Georgia,serif;font-weight:400;font-size:28px;line-height:1}
.ypn-inner-rating .ypn-review-source{margin:0}
@media(prefers-reduced-motion:reduce){.ypn-inner-logos .customer-logo-row{animation:none;transform:none;width:100%}}

/* A9 service card grid (/services): §10 card, 3 -> 2 -> 1, whole card clickable through a stretched link. */
.ypn-svc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ypn-svc-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #d7dde2;border-radius:16px;padding:28px;transition:transform .2s ease}
.ypn-svc-card--wide{grid-column:1 / -1}
.ypn-svc-card>img{display:block;width:48px;height:48px;margin:0 0 20px}
#main-content.ypn-inner .ypn-svc-card h3{font-family:Besley,Georgia,serif;font-weight:400;font-size:28px;line-height:1.3;letter-spacing:-.78px;color:#001f3d;margin:0 0 12px}
.ypn-svc-card h3 a{color:inherit;text-decoration:none}
.ypn-svc-card h3 a:after{content:'';position:absolute;inset:0;border-radius:16px}
.ypn-svc-card h3 a:focus-visible{outline:none}
.ypn-svc-card:focus-within{outline:2px solid #a85700;outline-offset:2px}
.ypn-svc-card p{margin:0 0 24px;font-size:16px;line-height:1.5;color:#62676c}
.ypn-svc-card .ypn-link-arrow{margin-top:auto;color:#001f3d;flex:none}
.ypn-svc-card:hover{transform:translateY(-3px)}
@media(prefers-reduced-motion:reduce){.ypn-svc-card{transition:none}.ypn-svc-card:hover{transform:none}}
/* L11 photo band on inner pages: the photo is set inline per page; the band H2 keeps L11's white. */
#main-content.ypn-inner .ypn-team-band h2.section-heading{color:#fff!important;text-align:left!important;margin:20px 0 32px!important;max-width:700px}
#main-content.ypn-inner .ypn-team-band .ypn-team-band-lede{margin:0 0 32px;max-width:560px;font-size:18px;line-height:1.5;color:#e0e7ed}

/* A5 comparison table (pillar). Real table in a focusable scroll region so it never widens the page. */
.ypn-compare-scroll{overflow-x:auto;background:#fff;border:1px solid #d7dde2;border-radius:20px;max-width:960px;margin:0 auto}
.ypn-compare-scroll:focus-visible{outline:2px solid #a85700;outline-offset:2px}
.ypn-compare{width:100%;border-collapse:collapse;border:0;background:#fff;font-size:16px;line-height:1.5}
/* Resets the template's dark thead and cream table fill (theme-overrides `table`, `thead th`, `td,th`). */
.ypn-compare th,.ypn-compare td{border:0;background:#fff}
.ypn-compare th{width:50%;padding:24px 28px;text-align:left;vertical-align:bottom;font-family:Besley,Georgia,serif;font-weight:400;font-size:20px;line-height:1.3;letter-spacing:-.9px;color:#001f3d}
.ypn-compare td{padding:16px 28px;border-top:1px solid #d7dde2;vertical-align:top;color:#62676c}
.ypn-compare td:first-child{position:relative;padding-left:52px;color:#001f3d}
.ypn-compare td:first-child:before{content:'✓';position:absolute;left:28px;top:16px;color:#e87a00;font-weight:600}
.ypn-compare td+td,.ypn-compare th+th{border-left:1px solid #d7dde2}
.ypn-compare-note{max-width:720px;margin:16px auto 0;text-align:center;font-size:13px;line-height:1.5;color:#62676c}
/* L9 extra line under the pillar filing grid (a price, not a filing card). */
#main-content.ypn-inner .ypn-filing-more{margin:28px 0 0;text-align:center;font-size:16px;line-height:1.5;color:#e0e7ed}
#main-content.ypn-inner .ypn-filing-more a{margin-left:12px;color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:4px}

/* About: wide group photo, text + facts split, photo strip, location block (§10 image + text defaults). */
.ypn-inner-figure{margin:0}
.ypn-inner-figure img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:18px}
.ypn-inner-figure figcaption{margin:12px 0 0;text-align:center;font-size:13px;line-height:1.5;color:#62676c}
.ypn-inner-split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:start}
.ypn-inner-split--even{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}
.ypn-inner-split p{margin:0 0 16px;font-size:16px;line-height:1.5;color:#62676c}
.ypn-inner-split .ypn-inner-head{text-align:left}
#main-content.ypn-inner .ypn-inner-split h2.section-heading{text-align:left!important;margin:0!important}
.ypn-inner-split .ypn-inner-actions{margin:28px 0 0}
.ypn-inner-split-media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:18px}
#main-content.ypn-inner .ypn-inner-split h3.ypn-section-eyebrow{margin:0 0 16px;font-family:inherit}
.ypn-photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:48px 0 0;padding:0;list-style:none}
.ypn-photo-strip img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
.ypn-inner-address{font-style:normal}
.ypn-inner-address p{color:#001f3d}
.ypn-inner-address a{color:#001f3d;font-weight:600;text-underline-offset:4px}

/* A6 contact form + A8 input border + A7 states. Copy lives in the page markup (data-slot keys);
   inner.js only toggles `hidden`, text and ARIA. */
.ypn-contact-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(420px,7fr);grid-template-areas:"intro form" "details form";gap:0 48px;align-items:start}
.ypn-contact-intro{grid-area:intro}
.ypn-contact-details{grid-area:details}
.ypn-form-card,.ypn-form-success{grid-area:form;min-width:0}
.ypn-contact-list{margin:0;display:grid;gap:18px}
.ypn-contact-list div{display:grid;gap:2px}
.ypn-contact-list dt{font-size:13px;line-height:1.5;color:#62676c}
.ypn-contact-list dd{margin:0;font-size:16px;line-height:1.5;color:#001f3d}
.ypn-contact-list a{color:#001f3d;font-weight:600;text-underline-offset:4px}
.ypn-contact-list .ypn-contact-hint{display:block;font-size:14px;color:#62676c}
.ypn-form-card{background:#fff;border:1px solid #d7dde2;border-radius:20px;padding:28px}
#main-content.ypn-inner .ypn-form-title{font-family:Besley,Georgia,serif;font-weight:400;font-size:28px;line-height:1.3;letter-spacing:-.78px;color:#001f3d;margin:0 0 8px}
.ypn-form-required{margin:0 0 20px;font-size:13px;line-height:1.5;color:#62676c}
.ypn-field{margin:0 0 20px}
.ypn-field label{display:block;margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.5;color:#001f3d}
/* #main-content beats the template's `form input[type=…]` (3px/16px radius, #c0bbb6 border, 22px padding). */
#main-content .ypn-field input,#main-content .ypn-field select,#main-content .ypn-field textarea{display:block;width:100%;min-height:48px;padding:11px 14px;border:1px solid #62676c;border-radius:10px;background:#fff;color:#001f3d;font:inherit;font-size:16px;line-height:1.5}
#main-content .ypn-field textarea{min-height:0;resize:vertical}
#main-content .ypn-field input:focus-visible,#main-content .ypn-field select:focus-visible,#main-content .ypn-field textarea:focus-visible{outline:2px solid #001f3d;outline-offset:2px}
#main-content .ypn-field [aria-invalid=true]{border-color:#b3261e;box-shadow:inset 0 0 0 1px #b3261e}
.ypn-field-error{margin:6px 0 0;font-size:13px;line-height:1.5;color:#b3261e}
.ypn-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
#main-content .ypn-form-card button.ypn-inner-btn{width:100%;border:0;cursor:pointer;font-family:inherit;gap:10px}
#main-content .ypn-form-card button[aria-disabled=true]{cursor:progress}
.ypn-spinner{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ypn-spin .8s linear infinite}
@keyframes ypn-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ypn-spinner{animation:none;border-right-color:currentColor;opacity:.6}}
.ypn-form-alert{margin:0 0 20px;padding:16px;border-radius:10px;background:#fcebe9;color:#b3261e;font-size:14px;line-height:1.5}
.ypn-form-alert p{margin:0}
.ypn-form-alert p+p{margin-top:6px}
.ypn-form-alert a{color:#b3261e;font-weight:600}
.ypn-form-note{margin:16px 0 0;padding:16px;border-radius:10px;background:#f5f3ec;color:#001f3d;font-size:14px;line-height:1.5}
.ypn-form-note a,.ypn-form-success a{color:inherit;font-weight:600}
.ypn-form-success{background:#e6f5ed;color:#1b7a4b;border-radius:20px;padding:28px}
#main-content.ypn-inner .ypn-form-success h2{font-family:Besley,Georgia,serif;font-weight:400;font-size:28px;line-height:1.3;letter-spacing:-.78px;color:#1b7a4b;margin:0 0 12px}
.ypn-form-success h2:focus{outline:none}
.ypn-form-success h2:focus-visible{outline:2px solid #1b7a4b;outline-offset:4px}
.ypn-form-success p{margin:0;font-size:16px;line-height:1.5}
.ypn-form-success p+p{margin-top:8px}

@media(max-width:960px){
.ypn-svc-grid,.ypn-inner-split,.ypn-inner-split--even{grid-template-columns:minmax(0,1fr)}
.ypn-svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ypn-inner-split{gap:32px}
.ypn-compare{font-size:14px}
.ypn-contact-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "form" "details";gap:32px}
}
@media(max-width:800px){.ypn-photo-strip{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){
.ypn-svc-grid{grid-template-columns:minmax(0,1fr)}
.ypn-svc-card{padding:24px}
#main-content.ypn-inner .ypn-svc-card h3{font-size:25px}
#main-content.ypn-inner .ypn-team-band .ypn-team-band-lede{font-size:16px}
.ypn-compare th{padding:16px;font-size:18px}
.ypn-compare td{padding:12px 16px}
.ypn-compare td:first-child{padding-left:36px}
.ypn-compare td:first-child:before{left:16px;top:12px}
.ypn-inner-figure img{aspect-ratio:3/2}
.ypn-inner-logos{padding:36px 0}
.ypn-inner-logos .trust-line p{font-size:12px;margin-bottom:10px}
.ypn-form-card,.ypn-form-success{padding:22px}
}

/* Service-page modifiers (requested by the coordinator, 2026-10-01; to replace inline styles in Phase 4). */
/* L9 with 4 cards: 2 x 2 at desktop and tablet; the homepage's <=640 `1fr!important` still collapses it to 1. */
#main-content #optional-feature-grid .feature-grid.feature-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Proof row with one card: one column the width of a card in the 3-up row, centred under the centred header. */
/* auto-fit collapses the unused tracks, so a later second card (e.g. the q6 case card) sits beside it, still centred.
   Use it on the full-width wrapper (no .ypn-inner-narrow) so the 860px H2 keeps its two lines. */
.ypn-proof-grid.ypn-proof-grid--single{grid-template-columns:repeat(auto-fit,min(100%,max(300px,calc((100% - 32px) / 3))));justify-content:center}
@media(max-width:640px){.ypn-proof-grid.ypn-proof-grid--single{grid-template-columns:minmax(0,1fr)}}
/* The small filing label used outside the L9 grid, e.g. "ADD-ON" in L15 rows on /services/custom. */
#main-content.ypn-inner .ypn-service-link .ypn-filing-label{flex:none;margin:0;font-size:12px;line-height:1.2;color:#62676c}

/* ===== Phase 4 fix pass (2026-10-01, QA weaknesses 2 and 4, fix list 1-3). Additive only. ===== */
/* T5 rhythm on the service template: no two visible light sections share a surface. Keyed on the
   pending band's `hidden` state, so un-hiding q5 restores the template order with no markup or CSS
   cleanup. Markup-free: pages need no modifier class (QA item 12's class is superseded). */
/* 1. A white section straight after L8 (company-registration's second L8, custom's add-ons) turns #faf9f6. */
#main-content.ypn-inner .ss-tabs-section+:is(.ss-tabs-section,.ypn-inner-section--white){background:#faf9f6}
/* 2. q5 hidden: Proof would touch the white section before it, so Proof turns #faf9f6 (unless rule 1 already flipped that section). */
#main-content.ypn-inner :is(.ss-tabs-section,.ypn-inner-section--white):not(.ss-tabs-section+*)+section[hidden]+#homepage-customers-2025{background:#faf9f6!important}
/* 3. q5 shown after a #faf9f6 section (rule 1, or a --page band): the q5 band turns white and Proof #faf9f6. */
#main-content.ypn-inner :is(.ss-tabs-section+:is(.ss-tabs-section,.ypn-inner-section--white),.ypn-inner-section--page)+.ypn-inner-section--page:not([hidden]){background:#fff}
#main-content.ypn-inner :is(.ss-tabs-section+:is(.ss-tabs-section,.ypn-inner-section--white),.ypn-inner-section--page)+.ypn-inner-section--page:not([hidden])+#homepage-customers-2025{background:#faf9f6!important}
/* L15 follows the 44px mobile section rhythm like every other inner section (homepage CSS keeps 64px). */
@media(max-width:640px){#main-content.ypn-inner #ypn-additional-services{padding:44px 0!important}}
/* Desktop Services menu: Escape closes the panel even while focus stays inside it (inner.js toggles the class). */
.rb-nav-item--has-menu.ypn-nav-shut .rb-nav-panel{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.rb-nav-item--has-menu.ypn-nav-shut .rb-nav-chevron{transform:none!important}

/* ===== A13 (2026-10-01): service-page v2 composition, bookkeeping first. Additive: new `.ypn-sv-*` classes only.
   Nothing above changed; the other inner pages keep the earlier components until they adopt this template. ===== */
.ypn-sv-section{padding:72px 0}
.ypn-sv-section--white{background:#fff}
.ypn-sv-section--page{background:#faf9f6}
.ypn-sv-section--band{background:#f5f3ec}
/* L15 after a white section on v2 pages: warm, so no two light neighbours share a surface (T5). */
.ypn-sv #ypn-additional-services{background:#faf9f6}
/* Left-aligned header inside split compositions (A13 §2; precedent .ypn-inner-split). */
.ypn-sv-head--left{text-align:left;margin:0 0 32px}
#main-content.ypn-inner .ypn-sv-head--left h2.section-heading{text-align:left!important;margin:0!important;max-width:none}

/* Hero (A13 §1): the text column defines the row; the photo fills it. The proof row is its own grid item so the
   photo spans text + proof on desktop and the proof moves under the photo at ≤640. */
.ypn-sv-hero{background:#faf9f6;padding:48px 0 72px}
.ypn-sv-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-areas:"text media" "proof media";grid-template-rows:1fr auto;column-gap:56px;row-gap:36px;align-items:stretch}
.ypn-sv-hero-text{grid-area:text}
.ypn-sv-hero-media{grid-area:media;position:relative;min-height:560px;border-radius:28px;overflow:hidden;background:#001f3d}
.ypn-sv-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
#main-content.ypn-inner .ypn-sv-hero h1{font-family:Besley,Georgia,serif;font-weight:400;font-size:64px;line-height:1.1;letter-spacing:-2px;color:#001f3d;margin:0 0 24px;text-wrap:balance}
.ypn-sv-hero .ypn-inner-lede{margin-bottom:36px}
.ypn-sv-hero .ypn-inner-actions{margin:0}
/* F:3 proof rule (homepage .trial-terms-list li) restated for the new hero. */
.ypn-sv-hero-proof{grid-area:proof;align-self:end;display:flex;flex-wrap:wrap;gap:12px 32px;margin:0;padding:0;list-style:none}
.ypn-sv-hero-proof li{padding:2px 0 2px 14px;border-left:3px solid #e87a00;font-size:15px;line-height:1.4;font-weight:500;color:#001f3d}

/* What this covers (A13 §2–3): 5/7 split, both columns start on the same top edge. */
.ypn-sv-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.ypn-sv-split-media{align-self:stretch;display:flex;min-height:0;border-radius:20px;overflow:hidden;background:#02284b}
.ypn-sv-split-media img{display:block;width:100%;height:100%;object-fit:contain}
.ypn-sv-checks{margin:0;padding:0;list-style:none}
.ypn-sv-checks li{display:flex;align-items:flex-start;gap:16px;padding:16px 0;border-top:1px solid #d7dde2;font-size:17px;line-height:1.45;font-weight:500;letter-spacing:-.2px;color:#001f3d}
.ypn-sv-checks li:last-child{border-bottom:1px solid #d7dde2}
.ypn-sv-checks li::before{content:'';flex:none;width:28px;height:28px;margin-top:-2px;border-radius:50%;background:#001f3d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23e87a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}

/* How it works (A13 §4): display numeral, dotted connector, icon tile; the q2 date is a navy pill when shown. */
.ypn-sv-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 32px;margin:0;padding:0;list-style:none}
.ypn-sv-step{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"n line icon" "date date date" "title title title" "text text text";align-items:center;column-gap:12px}
.ypn-sv-step-n{grid-area:n;font-family:Besley,Georgia,serif;font-size:60px;line-height:1;letter-spacing:-2px;color:#e87a00}
.ypn-sv-step-line{grid-area:line;height:0;border-top:2px dotted rgba(0,31,61,.28)}
.ypn-sv-step-icon{grid-area:icon;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;background:#fff;border:1px solid #d7dde2}
.ypn-sv-step-icon img{display:block;width:32px;height:32px}
.ypn-sv-step .ypn-step-date{grid-area:date;justify-self:start;margin:22px 0 0;padding:5px 12px;border-radius:99px;background:#001f3d;color:#fff;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:1.2px;text-transform:uppercase}
#main-content.ypn-inner .ypn-sv-step-title{grid-area:title;font-family:Besley,Georgia,serif;font-weight:400;font-size:22px;line-height:1.25;letter-spacing:-.66px;color:#001f3d;margin:22px 0 10px}
.ypn-sv-step .ypn-step-date:not([hidden])+.ypn-sv-step-title{margin-top:14px}
.ypn-sv-step-text{grid-area:text;margin:0;font-size:16px;line-height:1.5;color:#62676c}

/* What gets filed (A13 §5): L9 band kept; cards become documents with the frequency as a navy pill and a second
   offset sheet behind. Specificity beats the homepage's `#main-content #optional-feature-grid .feature-grid .feature-block.warm`. */
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs{padding:80px 0!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid{gap:28px 24px!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-block.warm{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:240px!important;padding:28px!important;border-radius:16px!important;border:1px solid #eadfd0!important;background:#faf8f1!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-block.warm::before{content:'';position:absolute;inset:10px -10px -10px 10px;border:1px solid rgba(255,255,255,.22);border-radius:16px;pointer-events:none}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-header{flex:1 1 auto;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:44px!important;margin:0!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-header img{width:64px!important;height:64px!important;max-width:none!important;max-height:none!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-header h3{font-size:24px!important;line-height:1.25!important;letter-spacing:-.72px!important;margin:0!important;padding-right:0}
/* The template gives .feature-description `left:-24px; width:100%`; both are reset so the pill sits top-right. */
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-description{position:absolute;top:24px;right:24px;left:auto!important;width:auto!important;margin:0!important;text-align:right}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .ypn-filing-label{display:inline-block;margin:0;padding:6px 12px;border-radius:99px;background:#001f3d;color:#fff;font-size:11px;font-weight:600;line-height:1.2;letter-spacing:1.2px}

/* What you send us (A13 §5): document tiles with 64-grid icons. */
.ypn-sv-docgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ypn-sv-docitem{display:flex;align-items:center;gap:20px;min-height:112px;padding:22px 26px;background:#fff;border:1px solid #d7dde2;border-radius:16px;font-size:17px;line-height:1.4;font-weight:500;letter-spacing:-.2px;color:#001f3d}
.ypn-sv-docitem img{flex:none;width:56px;height:56px}

/* The mistakes trio (q5) keeps the default cards and adds a numeral so it reads as designed once shown. */
.ypn-sv-card-n{display:block;font-family:Besley,Georgia,serif;font-size:42px;line-height:1;letter-spacing:-1px;color:#e87a00;margin:0 0 16px}

/* Proof (A13 §6): photo beside stars, rating, review link and a pull quote. */
.ypn-sv-proof-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:center}
.ypn-sv-proof-media{margin:0}
.ypn-sv-proof-media img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:24px}
.ypn-sv-proof-media figcaption{margin:12px 0 0;font-size:13px;line-height:1.5;color:#62676c}
.ypn-sv-rating{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 28px}
.ypn-sv-stars{display:inline-flex;gap:3px;color:#e87a00}
.ypn-sv-stars svg{display:block;width:22px;height:22px}
.ypn-sv-rating-value{font-family:Besley,Georgia,serif;font-size:42px;line-height:1;letter-spacing:-1px;color:#001f3d}
.ypn-sv-rating .ypn-review-source{margin:0;font-size:15px}
.ypn-sv-quote{margin:0;padding:0;border:0;text-indent:0}
/* The template decorates blockquote descendants with its own quote marks; only the glyph below is wanted. */
.ypn-sv-quote *::before,.ypn-sv-quote *::after{content:none!important}
.ypn-sv-quote::before{content:'\201C';display:block;font-family:Besley,Georgia,serif;font-size:84px;line-height:.5;height:34px;color:#e87a00;margin:0}
.ypn-sv-quote p{margin:0 0 20px;padding:0;text-indent:0;font-family:Besley,Georgia,serif;font-size:28px;line-height:1.35;letter-spacing:-.6px;color:#001f3d;text-wrap:pretty}
.ypn-sv-quote footer{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:15px;line-height:1.5}
.ypn-sv-quote cite{font-style:normal;font-weight:600;color:#001f3d}
.ypn-sv-quote footer span{color:#62676c}
.ypn-sv-proof-body .ypn-case-card{margin-top:32px}

/* Who this is for (A13 §7): audience blocks and the byline as a two-column strip. */
.ypn-sv-who{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ypn-sv-who li{display:flex;flex-direction:column;justify-content:space-between;gap:28px;min-height:168px;padding:24px;border-radius:16px;background:#f5f3ec}
.ypn-sv-who-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:#fff}
.ypn-sv-who-icon img{display:block;width:36px;height:36px}
#main-content.ypn-inner .ypn-sv-who h3{font-family:Besley,Georgia,serif;font-weight:400;font-size:24px;line-height:1.25;letter-spacing:-.72px;color:#001f3d;margin:0}
.ypn-sv-byline{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px 56px;margin-top:56px;padding-top:32px;border-top:1px solid #d7dde2}
.ypn-sv-byline p{margin:0}
.ypn-sv-byline .ypn-byline-name{font-size:18px;font-weight:600;color:#001f3d}
.ypn-sv-byline .ypn-byline-meta{margin-top:4px;font-size:13px;line-height:1.5;color:#62676c}
.ypn-sv-byline .ypn-byline-bio{font-size:16px;line-height:1.5;color:#62676c}

@media(max-width:1100px){
.ypn-sv-steps,.ypn-sv-who{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:960px){
.ypn-sv-section{padding:56px 0}
.ypn-sv-hero{padding:36px 0 56px}
.ypn-sv-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:32px;row-gap:28px}
.ypn-sv-hero-media{min-height:420px;border-radius:24px}
#main-content.ypn-inner .ypn-sv-hero h1{font-size:44px;line-height:1.12;letter-spacing:-1.4px}
.ypn-sv-hero .ypn-inner-lede{font-size:18px;margin-bottom:28px}
.ypn-sv-hero-proof{flex-direction:column;gap:10px}
.ypn-sv-split,.ypn-sv-proof-grid{grid-template-columns:minmax(0,1fr);gap:32px}
.ypn-sv-split-media{display:block}
.ypn-sv-split-media img{height:auto}
.ypn-sv-docgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ypn-sv-proof-media img{aspect-ratio:16/10}
.ypn-sv-byline{grid-template-columns:minmax(0,1fr);gap:12px}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-block.warm{min-height:200px!important}
}
@media(max-width:640px){
.ypn-sv-section{padding:44px 0}
.ypn-sv-hero{padding:24px 0 44px}
.ypn-sv-hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"text" "media" "proof";grid-template-rows:auto;row-gap:24px}
.ypn-sv-hero-media{min-height:0;aspect-ratio:1;border-radius:20px}
#main-content.ypn-inner .ypn-sv-hero h1{font-size:38px;line-height:1.15;letter-spacing:-1.4px}
.ypn-sv-hero-proof{gap:10px}
.ypn-sv-steps,.ypn-sv-docgrid,.ypn-sv-who{grid-template-columns:minmax(0,1fr)}
.ypn-sv-steps{gap:28px}
.ypn-sv-step-n{font-size:48px}
#main-content.ypn-inner .ypn-sv-step-title{margin-top:16px}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs{padding:44px 0!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid{gap:18px!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-block.warm{min-height:0!important;padding:22px!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-header{gap:28px!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-header img{width:48px!important;height:48px!important}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-header h3{font-size:22px!important;padding-right:0}
#main-content.ypn-inner #optional-feature-grid.ypn-sv-docs .feature-grid .feature-description{top:20px;right:20px}
.ypn-sv-docitem{min-height:0;padding:18px 20px;gap:16px}
.ypn-sv-docitem img{width:48px;height:48px}
.ypn-sv-proof-media img{aspect-ratio:4/5}
.ypn-sv-quote::before{font-size:64px}
.ypn-sv-quote p{font-size:23px;letter-spacing:-.4px}
.ypn-sv-rating-value{font-size:36px}
.ypn-sv-who li{flex-direction:row;align-items:center;gap:20px;min-height:0;padding:18px 20px}
.ypn-sv-who-icon{width:56px;height:56px}
.ypn-sv-who-icon img{width:30px;height:30px}
#main-content.ypn-inner .ypn-sv-who h3{font-size:22px}
.ypn-sv-byline{margin-top:40px;padding-top:28px}
}
