/* XY STUDIO V16 — unified design, responsive and accessibility layer */
:root{
  --container-max:1240px;
  --gutter:32px;
  --space-1:8px;--space-2:12px;--space-3:16px;--space-4:24px;--space-5:32px;--space-6:48px;--space-7:72px;--space-8:96px;--space-9:120px;
  --radius-sm:10px;--radius-md:16px;--radius-lg:22px;
  --focus:#f2d94e;
}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{overflow-x:hidden}
.container{width:min(calc(100% - (var(--gutter)*2)),var(--container-max));margin-inline:auto}
.skip-link{position:fixed;left:16px;top:12px;z-index:9999;transform:translateY(-160%);padding:12px 16px;border-radius:10px;background:#111;color:#fff;border:2px solid var(--focus);font-weight:700;text-decoration:none}
.skip-link:focus{transform:translateY(0)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.btn,.navcta,.menu{min-height:44px}
.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center}
img,svg{max-width:100%;height:auto}
input,select,textarea{font:inherit;max-width:100%}
textarea{min-height:140px;resize:vertical}
.error-text{color:#9d1c1c;font-size:14px;margin-top:6px}
.form.is-sent .contact-form{display:none}
.form .success[hidden]{display:none}
.form .success{margin-top:16px;padding:20px;border:1px solid #d9d9d2;border-radius:16px;background:#f7f7f2}
.case-actions-inline .btn{min-height:44px}
@media (min-width:1101px){
  .container{width:min(calc(100% - 64px),var(--container-max))}
}
@media (min-width:701px) and (max-width:1100px){
  :root{--gutter:24px}
}
@media (max-width:700px){
  :root{--gutter:16px}
  html{scroll-padding-top:72px}
  section{scroll-margin-top:72px}
  .container{width:calc(100% - 32px)}
  .section-head{gap:16px}
  .btn,.navcta{min-height:48px}
  .actions,.case-actions-inline{display:grid;grid-template-columns:1fr;gap:10px}
  .actions .btn,.case-actions-inline .btn,.leadbox .btn{width:100%}
  .footer a{min-height:44px}
}
@media (max-width:380px){.container{width:calc(100% - 28px)}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* V16.4 — global header logo geometry, sourced from real-estate-xray.html */
.nav .logo{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;width:112px!important;height:auto!important;min-height:30px!important;line-height:0!important;flex:0 0 112px!important;overflow:visible!important}
.nav .logo img{display:block!important;width:142px!important;height:auto!important;max-width:142px!important;aspect-ratio:227 / 30!important}

/* V16.4 — Real Estate X-Ray product teaser */
.re-xray{background:#11110f;color:#fff;overflow:hidden}
.re-xray .container{position:relative}
.re-xray .re-xray-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:56px;align-items:stretch}
.re-xray .re-xray-copy{display:flex;flex-direction:column;min-width:0}
.re-xray .re-xray-eyebrow{font:600 10px/1.25 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.16em;text-transform:uppercase;color:#999991;margin-bottom:18px}
.re-xray h2{font-size:clamp(42px,5.6vw,76px);line-height:.91;letter-spacing:-.07em;font-weight:520;margin:0;max-width:780px;text-wrap:balance}
.re-xray .re-xray-description{font-size:17px;line-height:1.65;color:#c6c6bf;max-width:680px;margin:24px 0 0}
.re-xray .re-xray-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:44px}
.re-xray .re-xray-price{font-size:14px;font-weight:700;color:#fff;padding:11px 14px;border:1px solid #3b3b37;border-radius:999px}
.re-xray .re-xray-cta{margin-top:18px}
.re-xray .re-xray-cta .btn{background:#f4c400;border-color:#f4c400;color:#111;min-height:50px;padding-inline:20px}
.re-xray .re-xray-panel{border:1px solid #343430;border-radius:24px;background:#171715;padding:28px;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.re-xray .re-xray-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #343430;border-bottom:1px solid #343430}
.re-xray .re-xray-metric{padding:18px 14px;border-left:1px solid #343430;min-width:0}
.re-xray .re-xray-metric:first-child{border-left:0}
.re-xray .re-xray-metric strong{display:block;font-size:34px;line-height:.95;letter-spacing:-.06em;font-weight:520;color:#fff}
.re-xray .re-xray-metric span{display:block;margin-top:9px;font-size:9px;line-height:1.25;letter-spacing:.14em;text-transform:uppercase;color:#92928a}
.re-xray .re-xray-flow{margin-top:28px}
.re-xray .re-xray-flow-label{font-size:9px;line-height:1.25;letter-spacing:.16em;text-transform:uppercase;color:#8e8e87;margin-bottom:12px}
.re-xray .re-xray-flow-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:0}
.re-xray .re-xray-flow-step{position:relative;min-width:0;color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em;padding-right:18px}
.re-xray .re-xray-flow-step:not(:last-child)::after{content:'→';position:absolute;right:5px;top:-1px;color:#77776f;font-size:14px;font-weight:400}
.re-xray .re-xray-note{margin-top:26px;padding-top:18px;border-top:1px solid #343430;color:#9f9f98;font-size:12px;line-height:1.6}
@media (min-width:761px) and (max-width:1100px){
  .re-xray .re-xray-grid{grid-template-columns:1fr;gap:30px}
  .re-xray .re-xray-copy{display:block}
  .re-xray .re-xray-meta{padding-top:28px}
}
@media (max-width:760px){
  .re-xray{padding:72px 0}
  .re-xray .re-xray-grid{grid-template-columns:1fr;gap:28px}
  .re-xray h2{font-size:clamp(42px,12vw,54px)}
  .re-xray .re-xray-description{font-size:16px;margin-top:18px}
  .re-xray .re-xray-meta{padding-top:24px;gap:8px}
  .re-xray .re-xray-price{width:100%;text-align:center}
  .re-xray .re-xray-cta,.re-xray .re-xray-cta .btn{width:100%}
  .re-xray .re-xray-panel{padding:20px;border-radius:18px}
  .re-xray .re-xray-metrics{grid-template-columns:1fr}
  .re-xray .re-xray-metric,.re-xray .re-xray-metric:first-child{border-left:0;border-bottom:1px solid #343430}
  .re-xray .re-xray-metric:last-child{border-bottom:0}
  .re-xray .re-xray-metric{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:15px 0}
  .re-xray .re-xray-metric strong{font-size:32px}
  .re-xray .re-xray-metric span{margin-top:0;text-align:right}
  .re-xray .re-xray-flow-track{grid-template-columns:1fr}
  .re-xray .re-xray-flow-step{padding:12px 0;border-bottom:1px solid #343430}
  .re-xray .re-xray-flow-step:last-child{border-bottom:0}
  .re-xray .re-xray-flow-step:not(:last-child)::after{content:'↓';right:0;top:auto;bottom:-10px;z-index:1;background:#171715;padding:0 3px}
}

/* XY STUDIO — Real Estate X-Ray feature on industry page */
.real-estate-xray-feature{background:#f5f5f1;color:#11110f;border-top:0px solid rgba(17,17,15,.12);border-bottom:0px solid rgba(17,17,15,.12);padding:96px 0}
.real-estate-xray-card{display:block;color:#11110f;text-decoration:none;border:1px solid rgba(17,17,15,.18);background:#f5f5f1;padding:56px;transition:background-color .2s ease,color .2s ease,border-color .2s ease;border-radius: 15px;}
.real-estate-xray-card:visited{color:#11110f}
.real-estate-xray-card:focus-visible{outline:3px solid #11110f;outline-offset:5px}
.real-estate-xray-card:hover{background:#f5c400;color:#11110f;border-color:#f5c400}
.real-estate-xray-card:hover .real-estate-xray-eyebrow,.real-estate-xray-card:hover .real-estate-xray-flow-label{color:#11110f}
.real-estate-xray-card:hover .real-estate-xray-description{color:#11110f}
.real-estate-xray-card:hover .real-estate-xray-flow-item{border-color:#11110f}
.real-estate-xray-card:hover .real-estate-xray-flow-item span,.real-estate-xray-card:hover .real-estate-xray-metric span{color:#11110f}
.real-estate-xray-card:hover .real-estate-xray-metrics{border-color:#11110f}
.real-estate-xray-card:hover .real-estate-xray-metric{border-color:#11110f}
.real-estate-xray-card .real-estate-xray-cta{transition:background-color .18s ease,color .18s ease,border-color .18s ease}
.real-estate-xray-card:hover .real-estate-xray-cta{background:#11110f;color:#fff;border-color:#11110f}
.real-estate-xray-card .real-estate-xray-cta:hover{background:#fff;color:#11110f;border-color:#11110f}
.real-estate-xray-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:64px;align-items:stretch}
.real-estate-xray-info,.real-estate-xray-flow{min-width:0}
.real-estate-xray-eyebrow,.real-estate-xray-flow-label{font:600 10px/1.25 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.16em;text-transform:uppercase;color:#77776f}
.real-estate-xray-eyebrow{margin-bottom:18px}
.real-estate-xray-feature h2{font-size:clamp(42px,5.4vw,72px);line-height:.93;letter-spacing:-.065em;font-weight:520;margin:0;max-width:760px;text-wrap:balance}
.real-estate-xray-description{max-width:650px;font-size:17px;line-height:1.6;color:#4d4d47;margin:24px 0 0}
.real-estate-xray-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:48px;border-top:1px solid rgba(17,17,15,.18);border-bottom:1px solid rgba(17,17,15,.18)}
.real-estate-xray-metric{padding:20px 18px 18px;border-left:1px solid rgba(17,17,15,.18);min-width:0}
.real-estate-xray-metric:first-child{border-left:0}
.real-estate-xray-metric strong{display:block;font-size:36px;line-height:.95;letter-spacing:-.055em;font-weight:520;font-variant-numeric:tabular-nums}
.real-estate-xray-metric span{display:block;margin-top:10px;font-size:10px;line-height:1.25;letter-spacing:.12em;text-transform:uppercase;color:#6e6e66}
.real-estate-xray-flow{display:flex;flex-direction:column;line-height: 4.70;}
.real-estate-xray-flow-label{margin-bottom:12px}
.real-estate-xray-flow-list{border-top:1px solid rgba(17,17,15,.18)}
.real-estate-xray-flow-item{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;min-height:57px;border-bottom:1px solid rgba(17,17,15,.18)}
.real-estate-xray-flow-item span{font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#8a8a82;font-variant-numeric:tabular-nums}
.real-estate-xray-flow-item strong{font-size:14px;letter-spacing:.02em;font-weight:700}
.real-estate-xray-cta{align-self:flex-start;margin-top:28px;min-height:50px}
@media (max-width:1100px){
  .real-estate-xray-feature{padding:80px 0}
  .real-estate-xray-card{padding:40px}
  .real-estate-xray-grid{grid-template-columns:1fr;gap:48px}
}
@media (max-width:700px){
  .real-estate-xray-feature{padding:64px 0}
  .real-estate-xray-card{padding:28px 20px}
  .real-estate-xray-feature h2{font-size:clamp(42px,12vw,54px)}
  .real-estate-xray-description{font-size:16px;margin-top:18px}
  .real-estate-xray-metrics{grid-template-columns:1fr;margin-top:32px}
  .real-estate-xray-metric,.real-estate-xray-metric:first-child{border-left:0;border-bottom:1px solid rgba(17,17,15,.18);display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:16px 0}
  .real-estate-xray-metric:last-child{border-bottom:0}
  .real-estate-xray-metric strong{font-size:32px}
  .real-estate-xray-metric span{margin-top:0;text-align:right}
  .real-estate-xray-flow-item{min-height:54px}
  .real-estate-xray-cta{width:100%;justify-content:center}
}

@media (prefers-reduced-motion:reduce){
  .real-estate-xray-card,.real-estate-xray-card .real-estate-xray-cta{transition:none}
}

/* V16.5 — V15 Editorial Visual System (Release 4.1)
   Reference: revenue-xray.html / .seo-section.v15-editorial-section
   Principle: unify visual language, not component markup.
   Existing component structures, backgrounds and grids remain page-specific. */
.v15-editorial-section:not(.faq-home-v5) .editorial-copy h2,
.v15-editorial-section:not(.faq-home-v5) .seo-copy h2,
.v15-editorial-section:not(.faq-home-v5) .seo-grid h2{
  font-size:clamp(32px,3.8vw,52px);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:520;
  text-wrap:balance;
}
.v15-editorial-section:not(.faq-home-v5) .editorial-copy p,
.v15-editorial-section:not(.faq-home-v5) .seo-copy p,
.v15-editorial-section:not(.faq-home-v5) .seo-grid p{
  max-width:68ch;
}
.related.v15-editorial-section:not(.faq-home-v5) .section-head h2{
  font-size:clamp(32px,3.8vw,52px);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:520;
  text-wrap:balance;
}
.related.v15-editorial-section:not(.faq-home-v5) .section-head p{
  max-width:68ch;
}
@media (max-width:700px){
  .v15-editorial-section:not(.faq-home-v5) .editorial-copy h2,
  .v15-editorial-section:not(.faq-home-v5) .seo-copy h2,
  .v15-editorial-section:not(.faq-home-v5) .seo-grid h2,
  .related.v15-editorial-section:not(.faq-home-v5) .section-head h2{
    font-size:40px;
    line-height:.98;
  }
}
@media (prefers-reduced-motion:reduce){
  .v15-editorial-section:not(.faq-home-v5) *{transition:none!important}
}
