/* Production wiring and owner-required refinements to the approved Direction D. */
:root{--paper:#f7f6f2;--surface:#fffefa;--ink:#102b46;--muted:#516371;--line:#c5d1d4;--line-soft:#e0e6e4;--blue:#12678e;--cyan:#43bfd0;--accent:#b45b20;--deep:#091f37}
html{scroll-padding-top:24px}
.nav a,.language a{display:inline-flex;align-items:center;min-height:44px}
.language a{min-width:32px;justify-content:center;padding-inline:4px}
.text-link,.pillar-jump a{min-height:44px;align-items:center}
.theme-toggle{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:20px;line-height:1;border-radius:2px}
.footer-inner img{width:95px;height:auto}
.theme-toggle:hover,.theme-toggle[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
html[data-theme="dark"] .site-header .logo img{filter:brightness(0) invert(1)}
html[data-theme="dark"] .header-cta,html[data-theme="dark"] .button-primary{background:#84d4e0;border-color:#84d4e0;color:#071e34}
html[data-theme="dark"] .header-cta:hover,html[data-theme="dark"] .button-primary:hover{background:#b5eaf0;border-color:#b5eaf0;color:#071e34}
.mobile-nav[hidden],#optional-fields[hidden],.consent-banner[hidden],.form-note[hidden]{display:none!important}
.hp-field{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.d-brief-form .field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.d-brief-form label{color:var(--ink)}
.d-brief-form input,.d-brief-form select,.d-brief-form textarea{font-size:16px}
.d-brief-form .disclosure{min-height:48px;text-align:start}
.d-brief-form .form-note{display:block;margin-top:16px;color:#174d3c;background:#e9f5ef;padding:12px;font-size:14px}
.d-case-visual .d-egast-hero{background:#315766}
.d-case-visual .d-egast-hero:before{display:none}
.d-case-visual .d-phone-block{background:#78969a}
.d-case-visual .d-egast-hero span{font-size:11px;color:#fff;background:#142f48;padding:5px 8px;align-self:flex-start}
.d-case-visual .d-egast-hero small{font-size:12px;line-height:1.4}
.d-case-visual .d-phone-inner strong{font-size:11px}
.d-case-visual .d-case-caption{font-size:11px}
.d-case-visual .d-case-caption span:last-child{max-width:60%}
.d-study-center .d-record-row em{font-style:normal}
.d-stages .d-stage{min-height:84px}
.legacy-context-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px}
.legacy-context-list article,.legal-copy article{padding:26px 0;border-top:1px solid var(--line)}
.legacy-context-list h2,.legal-copy h2{font-size:24px;margin-bottom:8px}
.article-page{padding-top:78px;padding-bottom:100px;max-width:850px}
.article-page header{padding:40px 0 30px}
.article-page h1{font-size:clamp(40px,4vw,58px)}
.article-body p{font-size:18px;line-height:1.7}
.thank-you-page,.not-found{padding-top:100px;padding-bottom:130px;min-height:58vh}
.thank-you-page h1,.not-found h1{max-width:800px}
.thank-you-page p,.not-found p{font-size:18px;max-width:650px}
.thank-you-page>div:last-child,.not-found>div{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:26px}
.campaign-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);gap:7%;align-items:center;padding-top:82px;padding-bottom:82px}
.campaign-hero h1{font-size:clamp(44px,4vw,59px);max-width:820px}
.campaign-hero p:not(.section-kicker){font-size:18px;max-width:670px}
.campaign-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:27px}
.campaign-hero-mark{height:330px;background:#e8eff0;border:1px solid var(--line);padding:28px;display:flex;flex-direction:column;gap:18px;color:var(--ink)}
.campaign-hero-mark>span{font-size:11px;letter-spacing:.1em;color:var(--blue);font-weight:700}
.campaign-hero-mark>b{font-size:35px;line-height:1.1;margin:auto 0}
.campaign-hero-mark i{height:1px;background:var(--blue);display:block;width:100%}
.campaign-hero-mark i:last-child{width:56%}
.campaign-problem{display:grid;grid-template-columns:1fr 1fr;gap:8%;border-top:1px solid var(--line)}
.campaign-problem h2{max-width:600px}
.campaign-problem ul{list-style:none;padding:0;margin:0}
.campaign-problem li{padding:14px 0;border-bottom:1px solid var(--line)}
.campaign-approach-band{background:#eaf0ef}
.campaign-approach{display:grid;grid-template-columns:1fr 1fr;gap:8%}
.campaign-approach h2{font-size:clamp(30px,3vw,42px)}
.campaign-approach ol{padding:0;margin:0;list-style:none}
.campaign-approach li{display:flex;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}
.campaign-approach li span{font-size:12px;color:var(--blue);font-weight:700}
.campaign-faq>div{max-width:920px;margin-left:auto}
.campaign-faq details{border-top:1px solid var(--line)}
.campaign-faq details:last-child{border-bottom:1px solid var(--line)}
.campaign-faq summary{padding:18px 34px 18px 0;cursor:pointer;font-weight:700;min-height:52px}
.campaign-faq details p{padding-bottom:18px}
.campaign-convert{background:#091f37;color:#fff;padding:82px 0}
.campaign-convert h2{max-width:740px}
.campaign-convert p{color:#c7d7df;max-width:680px}
.campaign-convert .button-primary{background:#fff;border-color:#fff;color:#102b46;margin-top:16px}
.consent-banner{position:fixed;z-index:30;bottom:14px;left:14px;right:14px;max-width:720px;margin:auto;background:var(--surface);border:1px solid var(--line);box-shadow:0 15px 35px #0003;padding:18px;display:flex;gap:18px;align-items:center}
.consent-banner p{margin:0;font-size:13px}
.consent-banner>div{display:flex;gap:8px}
.consent-banner button{min-height:44px;padding:8px 13px;border:1px solid var(--ink);background:var(--surface);color:var(--ink)}
.consent-banner button[data-consent="allow"]{background:var(--ink);color:var(--paper)}
html[dir="rtl"] .campaign-faq>div{margin-left:0;margin-right:auto}
html[dir="rtl"] .campaign-faq summary{padding-left:34px;padding-right:0}
html[dir="rtl"] .d-case-visual .d-case-caption span:last-child{text-align:left}
@media(max-width:900px){.theme-toggle{width:44px;height:44px;flex-basis:44px}.campaign-hero{grid-template-columns:1fr}.campaign-hero-mark{height:230px}.campaign-problem,.campaign-approach{grid-template-columns:1fr;gap:22px}}
@media(max-width:600px){
  .header-inner{gap:8px}.header-right{margin-left:auto;gap:6px}.logo{flex-basis:84px;width:84px}.logo img{width:83px}
  .theme-toggle{width:44px;height:44px;flex-basis:44px;font-size:18px}.header-cta{min-height:44px;padding:8px 9px;font-size:10px;white-space:nowrap}.header-cta span{display:none}.mobile-nav a{min-height:44px}.mobile-nav .language a{min-width:44px;padding-inline:8px}
  .d-system{height:auto;max-width:100%}.d-system-head{font-size:10px;padding:12px}.d-system-head span:last-child{font-size:9px;max-width:48%}
  .d-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.d-stages .d-stage{min-height:78px;padding:12px 13px;gap:6px}.d-stage small{font-size:10px}.d-stage strong{font-size:14px;line-height:1.25}.d-stage span{font-size:14px;bottom:10px}
  .d-study-body{display:none}.d-system-foot{min-height:64px;padding:12px;font-size:14px;line-height:1.35}.d-stage-note{display:block}.d-system-foot span:last-child{display:none}
  .d-case-visual{padding:12px}.d-case-top{font-size:10px}.d-desktop-frame{width:100%;border-width:4px}.d-browser{font-size:9px}.d-egast-nav{font-size:9px}.d-egast-hero,.d-case-opening .d-egast-hero,.d-case-evidence .d-egast-hero{height:230px;padding:16px}.d-case-visual .d-egast-hero span{font-size:10px}.d-case-visual .d-egast-hero strong{font-size:20px}.d-case-visual .d-egast-hero small{font-size:11px}
  .d-phone-frame,.d-case-opening .d-phone-frame{position:relative;inset:auto;width:46%;height:174px;margin:14px 0 0 auto;border-width:5px;border-radius:12px}.d-phone-inner small{font-size:9px}.d-phone-inner strong{font-size:10px}.d-phone-block,.d-case-opening .d-phone-block{height:55px}
  .d-case-visual .d-case-caption{display:block;font-size:10px}.d-case-visual .d-case-caption span:last-child{display:block;max-width:none;text-align:start;margin-top:4px}
  .d-case-facts{grid-template-columns:1fr;gap:13px}.d-case-facts b{font-size:13px}.d-case-title h1{font-size:clamp(36px,9vw,43px)}
  .d-contact-intro h1{font-size:clamp(34px,9vw,40px)}.d-brief-form .field-pair{display:block}.d-brief-form label{font-size:14px}.d-brief-form input,.d-brief-form select,.d-brief-form textarea{font-size:16px}
  .legacy-context-list{grid-template-columns:1fr}.article-page{padding-top:54px}.article-body p{font-size:16px}.campaign-hero{padding-top:56px;padding-bottom:58px}.campaign-hero h1{font-size:clamp(36px,9vw,43px)}.campaign-hero-mark{height:190px}.campaign-convert{padding:60px 0}.consent-banner{display:block}.consent-banner>div{margin-top:14px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button-primary,.header-cta,.d-stage,.d-map-row{transition:none!important}}
/* RC2: genuine EGAST captures within the accepted Direction D device frames. */
.d-case-visual{margin:0}
.d-case-visual img,.d-journey-visual img{display:block}
.d-case-visual .d-browser-body img{width:100%;height:auto}
.d-case-visual .d-phone-frame img{width:100%;height:100%;object-fit:cover;object-position:center top}
.d-case-visual .d-phone-notch{position:absolute;z-index:1;top:0;left:50%;transform:translateX(-50%)}
.d-case-visual.case-buyer .d-desktop-frame{width:100%}
.d-journey-browser section{padding:0;background:none;display:block;overflow:hidden}
.d-journey-browser section img{width:100%;height:100%;object-fit:cover;object-position:left top}
.d-journey-mobile{padding:0;overflow:hidden}
.d-journey-mobile img{width:100%;height:100%;object-fit:cover;object-position:center top}
