:root{
  --navy:#002349;
  --sky:#BEE3FE;
  --blue:#2788F5;
  --white:#FFFFFF;
  --ink:#002349;
  --muted:#5B7188;
  --soft:#F8FBFF;
  --soft-blue:#EFF8FF;
  --border:rgba(0,35,73,.09);
  --shadow:0 14px 42px rgba(0,35,73,.08);
  --radius:24px;
  --header-h:72px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 18px)}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
[id]{scroll-margin-top:calc(var(--header-h) + 18px)}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:1em;height:1em;display:inline-block;vertical-align:-.12em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.section-pad{padding:86px 0}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(0,35,73,.06);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.nav-wrap{height:var(--header-h);display:flex;align-items:center;gap:30px}
.brand{font-size:28px;font-weight:800;letter-spacing:-.045em;line-height:1}
.desktop-nav{display:flex;gap:28px;margin-left:18px;font-size:13px;font-weight:600;color:#294963}
.desktop-nav a,.login-link{transition:color .18s ease}
.desktop-nav a:hover,.login-link:hover{color:#0876E8}
.nav-actions{display:flex;align-items:center;gap:22px;margin-left:auto;font-size:13px;font-weight:650}
.menu-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid var(--border);background:#fff;border-radius:12px;color:var(--navy);cursor:pointer;place-items:center}
.menu-toggle .icon{width:22px;height:22px}
.mobile-menu{position:fixed;z-index:101;left:16px;right:16px;top:calc(var(--header-h) + 10px);padding:12px;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 18px 50px rgba(0,35,73,.14)}
.mobile-menu a{display:flex;align-items:center;min-height:48px;padding:0 12px;border-radius:10px;font-weight:650;font-size:15px}
.mobile-menu a:not(.btn):hover{background:#F4F9FF}
.mobile-menu .btn{margin-top:8px;justify-content:center}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 22px;border-radius:13px;font-weight:750;font-size:14px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;white-space:nowrap}
.btn .icon{width:17px;height:17px}
.btn-primary{background:var(--navy);color:#fff;box-shadow:0 10px 25px rgba(0,35,73,.16)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(0,35,73,.20)}
.btn-secondary{border:1px solid rgba(39,136,245,.36);background:rgba(255,255,255,.84);color:#0876E8}
.btn-secondary:hover{background:#F4F9FF;transform:translateY(-2px)}
.btn-small{min-height:42px;padding:0 17px;border-radius:11px}

/* Hero */
.section-shell{position:relative;overflow:hidden}
.hero{padding:72px 0 44px;background:linear-gradient(180deg,#fff 0%,#fff 72%,#EEF8FF 100%)}
.hero-glow{position:absolute;border-radius:50%;filter:blur(4px);pointer-events:none}
.hero-glow-one{width:520px;height:520px;right:-180px;top:-190px;background:radial-gradient(circle,rgba(190,227,254,.55),rgba(190,227,254,0) 72%)}
.hero-glow-two{width:430px;height:430px;left:-220px;bottom:-280px;background:radial-gradient(circle,rgba(190,227,254,.42),rgba(190,227,254,0) 72%)}
.hero-grid{display:grid;grid-template-columns:minmax(0,.90fr) minmax(520px,1.15fr);align-items:center;gap:38px;position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:#EFF8FF;color:#0876E8;font-size:13px;font-weight:650;margin-bottom:22px}
.eyebrow .icon{width:15px;height:15px}
.hero h1{margin:0;font-size:clamp(48px,5.3vw,72px);line-height:.99;letter-spacing:-.055em;font-weight:800;max-width:620px}
.hero h1 span{color:#318AF0}
.hero-lead{font-size:17px;line-height:1.58;color:var(--muted);max-width:600px;margin:24px 0 22px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.hero-points{list-style:none;margin:0;padding:0;display:grid;gap:12px;font-size:13px;color:#1B4463}
.hero-points li{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.check-dot{width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;background:#12C676;color:#fff;flex:0 0 20px}
.check-dot .icon{width:12px;height:12px;stroke-width:2.5}
.muted{color:#5F7B91;font-size:12px}
.hero-visual{position:relative;min-height:560px;isolation:isolate}
.hero-marc{position:absolute;width:310px;right:195px;top:6px;z-index:3;filter:drop-shadow(0 18px 28px rgba(0,35,73,.08))}
.scribble-note{position:absolute;top:18px;left:20px;color:#134783;font-size:14px;line-height:1.35;font-weight:650;font-style:italic;transform:rotate(-7deg);z-index:4}
.scribble-note span{font-size:28px;display:block;text-align:right;line-height:.7;color:#177FF5}
.score-float{position:absolute;top:38px;right:12px;z-index:5;background:#fff;border:1px solid rgba(0,35,73,.05);border-radius:18px;padding:15px 16px;box-shadow:var(--shadow);width:218px;transform:rotate(-4deg)}
.score-float-title{font-weight:800;font-size:13px;margin-bottom:10px}
.score-float-body{display:flex;gap:12px;align-items:center}
.score-big{width:66px;height:66px;border-radius:13px;background:#DFF9EA;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#09A85A;flex:0 0 66px}
.score-big b{font-size:27px;line-height:1}
.score-big span{font-size:11px}
.score-checks{display:grid;gap:6px;font-size:8.5px;color:#1F6549;font-weight:650}
.score-checks span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.score-checks .icon{width:10px;height:10px;stroke-width:2.5}
.product-window{position:absolute;left:24px;right:12px;bottom:2px;z-index:4;background:#fff;border:1px solid rgba(0,35,73,.09);border-radius:22px;box-shadow:0 22px 60px rgba(0,35,73,.12);overflow:hidden;transform:rotate(-1.2deg);transform-origin:center}
.product-topbar{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid rgba(0,35,73,.07);font-size:13px}
.product-search{width:188px;border:1px solid rgba(0,35,73,.08);border-radius:10px;padding:9px 11px;color:#7890A4;background:#FBFDFF;font-size:10px;display:flex;align-items:center;gap:6px}
.product-search .icon{width:12px;height:12px}
.product-body{display:grid;grid-template-columns:116px 1fr}
.product-sidebar{padding:16px 12px;background:#FBFDFF;border-right:1px solid rgba(0,35,73,.06);font-size:9px;color:#42627B;display:grid;align-content:start;gap:7px}
.product-sidebar div{padding:9px;border-radius:8px;display:flex;align-items:center;gap:6px}
.product-sidebar .icon{width:11px;height:11px}
.product-sidebar .active{background:#E8F4FF;color:#0875E8;font-weight:700}
.product-main{padding:18px}
.product-title-row{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:13px}
.product-title-row h3{font-size:17px;margin:0 0 4px;letter-spacing:-.03em}
.product-title-row p{margin:0;color:#698298;font-size:8px}
.mini-sort{font-size:8px;color:#5C7690;border:1px solid rgba(0,35,73,.08);border-radius:7px;padding:7px;background:#fff;white-space:nowrap}
.candidate-list{border:1px solid rgba(0,35,73,.06);border-radius:12px;overflow:hidden}
.candidate-row{display:grid;grid-template-columns:22px 28px 1fr auto auto 42px 8px;align-items:center;gap:7px;min-height:47px;padding:0 9px;border-bottom:1px solid rgba(0,35,73,.06);font-size:8px}
.candidate-row:last-child{border-bottom:0}
.rank{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#EDF6FF;color:#177BE8;font-weight:800}
.avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#DFF0FF;color:#145B9B;font-size:8px;font-weight:800}
.candidate-name{display:grid;gap:3px}
.candidate-name b{font-size:9px}
.candidate-name small{color:#7690A4;font-size:7px}
.badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 7px;font-size:7px;font-weight:750;white-space:nowrap}
.badge .icon{width:9px;height:9px;stroke-width:2.4}
.badge.ok{background:#E6F9EE;color:#118F55}
.badge.warn{background:#FFF1D8;color:#CD7B00}
.candidate-score{font-size:16px;line-height:1;text-align:right}
.candidate-score small{display:block;font-size:7px;font-weight:500;margin-top:2px}
.row-chevron{font-size:15px;color:#37658B}

/* Benefits */
.benefit-strip-wrap{padding:0 0 16px;background:#fff}
.benefit-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 8px 30px rgba(0,35,73,.05);overflow:hidden}
.benefit-strip article{display:flex;align-items:center;gap:14px;padding:22px 28px;min-height:108px;position:relative}
.benefit-strip article+article:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:1px;background:rgba(39,136,245,.20)}
.benefit-icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:#ECF7FF;display:grid;place-items:center;color:#0879ED}
.benefit-icon .icon{width:27px;height:27px;stroke-width:2}
.benefit-strip h3{margin:0 0 7px;font-size:14px}
.benefit-strip p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}

/* Before / after */
.compare{background:#fff}
.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.compare-card{position:relative;min-height:400px;border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 12px 36px rgba(0,35,73,.05)}
.compare-card.before{background:linear-gradient(135deg,#fff 0%,#fff 58%,#F5F8FB 100%)}
.compare-card.after{background:linear-gradient(135deg,#EEF8FF 0%,#E8F6FF 68%,#D7EDFF 100%);border-color:rgba(39,136,245,.25)}
.compare-copy{position:relative;z-index:3;padding:42px 42px 30px;max-width:64%}
.compare-copy h2{font-size:34px;line-height:1.12;letter-spacing:-.04em;margin:0 0 30px}
.compare-copy h2 span{color:#2688F4}
.compare-copy ul{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.compare-copy li{display:grid;grid-template-columns:26px 1fr;gap:12px;align-items:start;font-size:14px;line-height:1.45}
.bad-dot,.good-dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center}
.bad-dot{color:#F34040;background:#FFE8E5}
.good-dot{color:#fff;background:#12BE66}
.bad-dot .icon,.good-dot .icon{width:13px;height:13px;stroke-width:2.4}
.before-person{position:absolute;right:-8px;bottom:-8px;width:49%;height:auto;filter:saturate(.35) grayscale(.55)}
.after-marc{position:absolute;right:-58px;bottom:-115px;width:63%;max-width:390px;filter:drop-shadow(0 10px 26px rgba(0,35,73,.08))}
.center-cta{text-align:center;margin-top:32px}

/* Steps — polished reference layout */
.steps{background:#fff}
.steps .steps-container{width:min(1380px,calc(100% - 56px))}
.section-heading{text-align:center;margin-bottom:78px}
.section-heading h2{font-size:50px;line-height:1.04;letter-spacing:-.045em;margin:0 0 16px}
.section-heading p{margin:0;color:var(--muted);font-size:17px;line-height:1.45}
.steps-grid{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) 42px minmax(0,1fr);gap:0;align-items:stretch}
.step-card{min-width:0;position:relative;background:linear-gradient(155deg,#F6FBFF 0%,#EDF8FF 58%,#F9FCFF 100%);border:1px solid rgba(39,136,245,.16);border-radius:24px;padding:46px 32px 30px;min-height:535px;box-shadow:0 10px 34px rgba(0,35,73,.035);display:flex;flex-direction:column}
.step-number{position:absolute;top:-34px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#2B8CF5;color:#fff;font-weight:800;font-size:22px;box-shadow:0 9px 22px rgba(43,140,245,.16);z-index:4}
.step-visual{height:278px;border-radius:18px;position:relative;overflow:hidden;margin-bottom:30px;background:transparent;border:0}
.step-card h3{font-size:22px;line-height:1.18;letter-spacing:-.035em;margin:0 0 13px;font-weight:800;color:var(--navy)}
.step-card>p{font-size:15px;color:var(--muted);line-height:1.52;margin:0;max-width:98%}
.step-arrow{align-self:center;text-align:center;color:#2B8CF5;margin-top:-18px}
.step-arrow .icon{width:34px;height:34px;stroke-width:1.7}
.desktop-only{display:block}

/* Step 1 */
.step-one{display:flex;align-items:center;justify-content:flex-start;padding:0 8px}
.property-mini-card{position:relative;z-index:3;background:#fff;border:1px solid rgba(0,35,73,.07);border-radius:16px;box-shadow:0 12px 30px rgba(0,35,73,.075);padding:17px 18px;width:78%;font-size:10px}
.property-title{font-weight:800;font-size:12px;margin-bottom:11px;display:flex;align-items:center;gap:6px}
.property-title .icon{width:13px;height:13px;color:#147EE9}
.property-mini-card label{display:block;color:#58738C;margin:7px 0 4px;font-size:8px}
.field{height:34px;border:1px solid rgba(0,35,73,.10);border-radius:8px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;color:#244D6C;background:#fff}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.step-building{position:absolute;z-index:1;right:0;bottom:4px;width:38%;height:72%;opacity:.92}
.building-block{position:absolute;right:18px;bottom:17px;width:64px;height:132px;background:linear-gradient(180deg,#F9FCFF,#E2F2FF);border-radius:3px 3px 0 0;clip-path:polygon(0 10%,100% 0,100% 100%,0 100%);box-shadow:inset 0 0 0 1px rgba(39,136,245,.05)}
.building-block span{position:absolute;width:10px;height:22px;background:#5CAEFF;border-radius:1px;opacity:.9}
.building-block span:nth-child(1){left:13px;top:35px}.building-block span:nth-child(2){right:13px;top:32px}.building-block span:nth-child(3){left:13px;top:68px}.building-block span:nth-child(4){right:13px;top:65px}.building-block span:nth-child(5){left:13px;top:101px}.building-block span:nth-child(6){right:13px;top:98px}
.tree{position:absolute;bottom:10px;width:28px;height:56px;background:linear-gradient(180deg,#79DBA6 0 58%,#7FC6A2 58% 100%);border-radius:50% 50% 44% 44% / 34% 34% 66% 66%;filter:saturate(.9)}
.tree:after{content:"";position:absolute;left:50%;bottom:-9px;width:5px;height:18px;background:#9BC6A8;transform:translateX(-50%);border-radius:3px}
.tree-one{left:0}.tree-two{right:83px;transform:scale(.8);transform-origin:bottom}

/* Step 2 */
.step-two{display:grid;place-items:center}
.step-two:before,.step-two:after{content:"";position:absolute;border-radius:50%;background:rgba(190,227,254,.20)}
.step-two:before{width:240px;height:240px;left:-96px;bottom:-118px}.step-two:after{width:250px;height:250px;right:-125px;top:-118px}
.link-card{position:relative;z-index:3;background:#fff;border:1px solid rgba(0,35,73,.06);border-radius:17px;box-shadow:0 14px 34px rgba(0,35,73,.075);padding:20px 22px;width:88%;transform:translateY(-8px)}
.link-card small{display:block;font-size:10px;margin-bottom:11px;color:#325774}
.link-value{display:grid;grid-template-columns:24px 1fr 28px;gap:9px;align-items:center;background:#EAF6FF;border-radius:11px;padding:11px 12px;color:#0676ED;font-size:11px}
.link-value>.icon{width:17px;height:17px}.link-value button{border:0;background:transparent;color:#0878EE;cursor:pointer;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;padding:0}.link-value button:hover{background:#D8ECFD}.link-value button .icon{width:15px;height:15px}
.step-spark{position:absolute;z-index:4;width:3px;height:14px;border-radius:4px;background:#2B8CF5;left:30px;top:48px;transform-origin:center}
.spark-a{transform:rotate(-42deg)}.spark-b{left:44px;top:38px;transform:rotate(-8deg)}.spark-c{left:57px;top:49px;transform:rotate(28deg)}
.send-path{position:absolute;z-index:2;right:48px;bottom:24px;width:122px;height:60px;border-bottom:3px dashed rgba(43,140,245,.6);border-radius:0 0 65% 50%;transform:rotate(5deg)}
.paper-plane{position:absolute;right:16px;bottom:26px;z-index:4;color:#3B9AF6;font-size:46px;line-height:1;transform:rotate(-24deg);text-shadow:0 8px 18px rgba(43,140,245,.16)}

/* Step 3 */
.step-three{display:grid;place-items:center;padding:0 8px}
.result-card{width:100%;background:#fff;border:1px solid rgba(0,35,73,.06);border-radius:16px;padding:20px;box-shadow:0 12px 30px rgba(0,35,73,.07)}
.result-top{display:grid;grid-template-columns:42px 1fr 70px;gap:10px;align-items:center}
.result-avatar{width:40px;height:40px;font-size:9px}.result-top>div:nth-child(2){display:grid;gap:6px}.result-top b{font-size:13px}
.result-top .badge{font-size:7px;padding:5px 8px}
.result-score{border-radius:14px;background:#DDF8E8;color:#0AA455;display:grid;place-items:center;padding:11px 6px}.result-score b{font-size:32px;line-height:1}.result-score small{font-size:10px}
.result-card ul{list-style:none;margin:17px 0 0;padding:0;display:grid;gap:10px;color:#146B48;font-size:11px;font-weight:700}
.result-card li{display:flex;align-items:center;gap:8px}.result-check{width:16px;height:16px;border-radius:50%;background:#E6F9EE;color:#0AA455;display:grid;place-items:center;flex:0 0 16px}.result-check .icon{width:10px;height:10px;stroke-width:2.6}

.steps-cta{text-align:center;margin-top:26px}.steps-cta p{color:var(--muted);margin:0 0 14px;font-size:15px}.steps-cta .btn{min-width:286px}.inline-check{display:inline-grid;place-items:center;color:#12A85D;margin-right:6px}.inline-check .icon{width:17px;height:17px;stroke-width:2.4}


/* Mission */
.mission{padding-top:56px}
.mission-card{min-height:390px;border-radius:26px;background:linear-gradient(120deg,#EAF6FF 0%,#E8F5FF 62%,#DFF1FF 100%);position:relative;overflow:hidden;padding:46px 52px;border:1px solid rgba(39,136,245,.08)}
.mission-card:after{content:"";position:absolute;left:-90px;bottom:-160px;width:460px;height:250px;border-radius:50%;background:rgba(255,255,255,.42);transform:rotate(12deg)}
.mission-copy{position:relative;z-index:3;max-width:61%}
.mission-label{font-size:12px;color:#2487F2;font-weight:800;letter-spacing:.12em;margin-bottom:10px}
.mission-copy h2{font-size:36px;line-height:1.14;letter-spacing:-.04em;margin:0 0 24px}
.mission-copy h2 span{color:#258AF3}
.mission-copy ul{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:12px;font-size:14px}
.mission-copy li{display:flex;gap:10px;align-items:center}
.mission-copy li>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#2C8DF5;color:#fff;flex:0 0 22px}
.mission-copy li>span .icon{width:12px;height:12px;stroke-width:2.4}
.mission-actions{display:flex;gap:12px;flex-wrap:wrap}
.mission-art{position:absolute;right:24px;bottom:0;width:43%;height:100%;z-index:2}
.mission-art img{position:absolute;bottom:-130px;right:-30px;width:450px;filter:drop-shadow(0 18px 30px rgba(0,35,73,.08))}
.mission-note{position:absolute;z-index:4;top:55px;left:-60px;color:#164B87;font-weight:650;font-size:15px;line-height:1.32;font-style:italic;transform:rotate(-7deg)}
.mission-note span{display:block;text-align:right;margin-top:4px}

/* FAQ */
.faq-section{padding:14px 0 72px;background:#fff}
.faq-inner{display:grid;grid-template-columns:.65fr 1.35fr;gap:54px;align-items:start}
.faq-heading span{display:block;color:#2788F5;font-size:12px;font-weight:800;letter-spacing:.12em;margin-bottom:8px}
.faq-heading h2{margin:0;font-size:30px;letter-spacing:-.035em}
.faq-list{display:grid;gap:10px}
.faq-list details{border:1px solid var(--border);border-radius:15px;background:#fff;padding:0 18px}
.faq-list summary{cursor:pointer;list-style:none;min-height:56px;display:flex;align-items:center;font-weight:700;font-size:14px;position:relative;padding-right:28px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:"+";position:absolute;right:0;font-size:22px;color:#2788F5;font-weight:500}
.faq-list details[open] summary:after{content:"–"}
.faq-list p{margin:-2px 0 18px;color:var(--muted);font-size:13px;line-height:1.55}

/* Footer */
.site-footer{border-top:1px solid rgba(0,35,73,.07);padding:28px 0 calc(40px + env(safe-area-inset-bottom))}
.footer-inner{display:flex;align-items:center;gap:22px;color:#617B91;font-size:12px}
.footer-inner strong{font-size:20px;color:#002349}
.footer-inner nav{display:flex;gap:18px;margin-left:auto}

/* Animations */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .65s ease,transform .65s ease}
.reveal.is-visible{opacity:1;transform:none}

/* iPad landscape / small laptop */
@media (max-width:1080px){
  .container{width:min(100% - 40px,980px)}
  .desktop-nav{gap:20px;margin-left:10px}.nav-actions{gap:16px}
  .hero{padding-top:56px}.hero-grid{grid-template-columns:1fr;gap:30px}.hero-copy{text-align:center}.eyebrow{margin-inline:auto}.hero h1{max-width:760px;margin-inline:auto}.hero-lead{margin-inline:auto;max-width:680px}.hero-actions{justify-content:center}.hero-points{justify-content:center}.hero-points li{justify-content:center}
  .hero-visual{min-height:540px;max-width:780px;width:100%;margin-inline:auto}.hero-marc{width:275px;right:210px}.scribble-note{left:42px}.product-window{left:24px;right:24px}.score-float{right:18px}
  .compare-copy{max-width:69%;padding:34px 28px}.compare-copy h2{font-size:30px}.before-person{width:52%}.after-marc{width:68%;right:-80px}
  .mission-art img{width:400px}.mission-copy{max-width:62%}
}

/* iPad portrait + iPad landscape where touch-first layout is preferable */
@media (max-width:980px){
  :root{--header-h:64px}
  .desktop-nav,.nav-actions{display:none}.menu-toggle{display:grid}.nav-wrap{height:var(--header-h)}
  .container{width:min(100% - 36px,820px)}
  .hero{padding-top:52px}.hero-grid{grid-template-columns:1fr;gap:30px}.hero-copy{text-align:center}.eyebrow{margin-inline:auto}.hero h1{max-width:760px;margin-inline:auto}.hero-lead{margin-inline:auto;max-width:680px}.hero-actions{justify-content:center}.hero-points{justify-content:center}.hero-points li{justify-content:center}
  .hero-visual{min-height:540px;max-width:760px;width:100%;margin-inline:auto}.hero-marc{width:270px;right:205px}.scribble-note{left:40px}.score-float{right:18px}.product-window{left:24px;right:24px}
  .compare-grid{gap:16px}.compare-card{min-height:390px}.compare-copy{max-width:70%}.before-person{width:50%}.after-marc{width:58%;right:-46px;bottom:-118px}
  .steps .steps-container{width:min(100% - 40px,760px)}.steps-grid{grid-template-columns:1fr;gap:70px}.step-arrow{display:none}.step-card{max-width:680px;width:100%;margin:auto;min-height:0}.step-visual{height:310px}.property-mini-card{width:66%}.section-heading{margin-bottom:72px}.section-heading h2{font-size:40px}
  .mission-card{padding:40px 38px 350px}.mission-copy{max-width:100%}.mission-art{left:0;right:0;bottom:0;width:100%;height:350px}.mission-art img{left:50%;right:auto;transform:translateX(-50%);bottom:-130px;width:420px}.mission-note{left:12%;top:28px}
}

/* iPad portrait and large phones */
@media (max-width:820px){
  .benefit-strip{grid-template-columns:1fr}.benefit-strip article{min-height:88px}.benefit-strip article+article:before{left:24px;right:24px;top:0;bottom:auto;width:auto;height:1px}
  .compare-grid{grid-template-columns:1fr}.compare-card{min-height:380px}.compare-copy{max-width:64%}.before-person{width:46%}.after-marc{width:49%;right:-12px;bottom:-105px}
  .faq-inner{grid-template-columns:1fr;gap:24px}.faq-heading{text-align:center}
}

/* iPhone / mobile */
@media (max-width:600px){
  .container{width:calc(100% - 28px)}
  .section-pad{padding:64px 0}
  .site-header{padding-top:env(safe-area-inset-top)}
  .brand{font-size:25px}
  .hero{padding-top:34px;padding-bottom:34px}
  .hero-copy{text-align:left}.eyebrow{margin-inline:0;font-size:12px;padding:8px 12px;margin-bottom:18px}
  .hero h1{font-size:clamp(40px,12.2vw,48px);line-height:1.01;letter-spacing:-.05em}.hero h1 br{display:none}.hero-lead{font-size:15px;line-height:1.55;margin:20px 0 20px}
  .hero-actions{display:grid;grid-template-columns:1fr;width:100%;gap:10px}.btn{width:100%;min-height:52px}.hero-points{font-size:12px;justify-content:start;text-align:left;gap:10px}.hero-points li{justify-content:flex-start}.muted{display:block;width:calc(100% - 28px);padding-left:28px;margin-top:-3px;font-size:11px}
  .hero-visual{min-height:435px;margin-top:4px}.hero-marc{width:200px;right:74px;top:0}.scribble-note{font-size:10px;left:0;top:20px}.score-float{width:150px;padding:10px;right:0;top:12px;border-radius:14px}.score-float-title{font-size:9px;margin-bottom:7px}.score-float-body{gap:7px}.score-big{width:46px;height:46px;flex-basis:46px}.score-big b{font-size:20px}.score-big span{font-size:8px}.score-checks{font-size:5.7px;gap:4px}.score-checks .icon{width:7px;height:7px}
  .product-window{left:0;right:0;bottom:0;border-radius:16px;transform:rotate(-.4deg)}.product-topbar{height:38px;padding:0 11px}.product-topbar strong{font-size:10px}.product-search{display:none}.product-body{grid-template-columns:62px 1fr}.product-sidebar{padding:8px 5px;font-size:5.5px;gap:4px}.product-sidebar div{padding:6px 5px;gap:4px}.product-sidebar .icon{width:7px;height:7px}.product-main{padding:9px}.product-title-row{margin-bottom:7px}.product-title-row h3{font-size:11px}.product-title-row p,.mini-sort{font-size:4.8px}.mini-sort{padding:5px}.candidate-row{grid-template-columns:14px 18px 1fr auto 27px 4px;gap:3px;min-height:34px;padding:0 4px}.hide-small{display:none}.badge{font-size:4.8px;padding:3px 4px;gap:2px}.badge .icon{width:6px;height:6px}.candidate-score{font-size:10px}.candidate-name b{font-size:5.7px}.candidate-name small{font-size:4.6px}.avatar{width:18px;height:18px;font-size:4.7px}.rank{width:14px;height:14px;font-size:5.5px}.row-chevron{font-size:9px}
  .benefit-strip-wrap{padding-bottom:0}.benefit-strip article{padding:18px 18px}.benefit-icon{width:44px;height:44px;flex-basis:44px}.benefit-icon .icon{width:24px;height:24px}.benefit-strip h3{font-size:13px}.benefit-strip p{font-size:11px}
  .compare-card{min-height:0;padding-bottom:230px}.compare-copy{max-width:100%;padding:28px 24px 12px}.compare-copy h2{font-size:30px;margin-bottom:24px}.compare-copy ul{gap:14px}.compare-copy li{font-size:13px;grid-template-columns:24px 1fr;gap:10px}.bad-dot,.good-dot{width:22px;height:22px}.before-person{width:66%;max-width:300px;right:-2%;bottom:-6px}.after-marc{width:70%;max-width:320px;right:-10%;bottom:-118px}.center-cta{margin-top:22px}
  .steps .steps-container{width:calc(100% - 28px)}.section-heading{margin-bottom:64px}.section-heading h2{font-size:34px}.section-heading h2 br{display:none}.section-heading p{font-size:14px;line-height:1.5}.steps-grid{gap:62px}.step-card{max-width:none;padding:38px 20px 24px;border-radius:22px}.step-number{top:-28px;width:54px;height:54px;font-size:19px}.step-visual{height:250px;margin-bottom:24px}.property-mini-card{width:82%;padding:14px}.step-building{right:-8px;width:42%;transform:scale(.9);transform-origin:bottom right}.step-card h3{font-size:19px}.step-card>p{font-size:13px}.desktop-only{display:none}.link-card{width:94%;padding:17px}.link-value{grid-template-columns:20px 1fr 26px;font-size:9px;padding:9px}.send-path{right:38px}.paper-plane{right:7px;font-size:39px}.result-card{padding:16px}.steps-cta{margin-top:30px}.steps-cta .btn{width:auto;min-width:250px}
  .mission-card{padding:32px 22px 320px;border-radius:22px}.mission-copy h2{font-size:31px}.mission-copy ul{font-size:13px}.mission-actions{display:grid}.mission-art img{width:350px;bottom:-112px}.mission-note{font-size:11px;left:8%;top:24px}
  .faq-section{padding:4px 0 58px}.faq-heading h2{font-size:26px}.faq-list summary{font-size:13px;min-height:54px}.faq-list p{font-size:12px}
  .footer-inner{flex-wrap:wrap}.footer-inner nav{width:100%;margin-left:0;flex-wrap:wrap;gap:12px 18px}
}

/* Very small iPhones */
@media (max-width:375px){
  .container{width:calc(100% - 24px)}
  .hero h1{font-size:39px}.hero-visual{min-height:405px}.hero-marc{width:184px;right:62px}.score-float{width:138px}.product-body{grid-template-columns:58px 1fr}.candidate-row{grid-template-columns:13px 17px 1fr auto 24px 4px}.badge{font-size:4.4px}.mission-copy h2{font-size:29px}.compare-copy{padding-inline:21px}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}.reveal{opacity:1;transform:none;transition:none}.btn{transition:none}
}

/* V4 refinements */
.before-person{right:-2px;bottom:-2px;width:50%;filter:none;mix-blend-mode:multiply}

/* Booking modal */
body.booking-open{overflow:hidden}
.booking-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px}
.booking-modal[hidden]{display:none}
.booking-backdrop{position:absolute;inset:0;background:rgba(0,20,43,.48);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.booking-dialog{position:relative;z-index:1;width:min(1040px,calc(100vw - 48px));max-height:min(820px,calc(100dvh - 48px));display:grid;grid-template-columns:310px minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid rgba(0,35,73,.10);border-radius:28px;box-shadow:0 32px 90px rgba(0,35,73,.28)}
.booking-close{position:absolute;z-index:3;right:16px;top:16px;width:38px;height:38px;border:1px solid rgba(0,35,73,.10);border-radius:50%;background:rgba(255,255,255,.92);color:#002349;font-size:25px;line-height:1;cursor:pointer;display:grid;place-items:center}
.booking-intro{padding:38px 30px;background:linear-gradient(160deg,#F3FAFF 0%,#ECF7FF 54%,#FFFFFF 100%);border-right:1px solid rgba(0,35,73,.08)}
.booking-brand{font-size:26px;font-weight:800;letter-spacing:-.04em;color:#002349;margin-bottom:42px}
.booking-kicker{display:block;color:#2388F6;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:12px}
.booking-intro h2{font-size:34px;line-height:1.05;letter-spacing:-.045em;margin:0 0 16px;max-width:240px}
.booking-intro p{font-size:14px;line-height:1.6;color:#587189;margin:0 0 26px}
.booking-meta{display:flex;flex-direction:column;gap:10px;font-size:12px;font-weight:650;color:#244660}
.booking-flow{min-width:0;overflow:auto;background:#fff}
.booking-step{min-height:590px}
.booking-step-calendar{display:grid;grid-template-columns:minmax(360px,1.15fr) minmax(250px,.85fr)}
.booking-calendar-panel{padding:44px 34px 32px;border-right:1px solid rgba(0,35,73,.08)}
.calendar-toolbar{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:10px;margin-bottom:24px}
.calendar-toolbar strong{text-align:center;text-transform:capitalize;font-size:18px}
.calendar-nav{width:40px;height:40px;border-radius:50%;border:1px solid rgba(0,35,73,.10);background:#fff;color:#002349;font-size:25px;cursor:pointer}
.calendar-nav:disabled{opacity:.3;cursor:not-allowed}
.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.calendar-weekdays{margin-bottom:8px;color:#7890A4;font-size:10px;font-weight:700;text-align:center;text-transform:uppercase}
.calendar-day{aspect-ratio:1;border:0;border-radius:50%;background:transparent;color:#173A56;font:inherit;font-size:13px;font-weight:650;cursor:pointer;display:grid;place-items:center;transition:background .15s ease,color .15s ease,transform .15s ease}
.calendar-day:hover:not(:disabled){background:#EAF6FF;transform:translateY(-1px)}
.calendar-day.is-today{box-shadow:inset 0 0 0 1px #8EC8FF}
.calendar-day.is-selected{background:#0876E8;color:#fff;box-shadow:0 8px 18px rgba(8,118,232,.24)}
.calendar-day:disabled,.calendar-day.is-outside{color:#C4CFD9;cursor:not-allowed}
.calendar-help{font-size:11px;color:#7890A4;margin:20px 0 0}
.booking-slots-panel{padding:44px 28px 32px;min-width:0}
.slots-empty{height:100%;min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#6B8296;padding:24px}
.slots-empty strong{color:#002349;font-size:16px;margin-bottom:7px}
.slots-empty p{font-size:12px;margin:0}
.slots-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#EEF8FF;color:#0876E8;margin-bottom:15px}
.slots-icon .icon{width:24px;height:24px}
.slots-date-label{font-size:10px;font-weight:800;letter-spacing:.1em;color:#6F879B;text-transform:uppercase}
.booking-slots-panel h3{font-size:20px;margin:7px 0 22px;letter-spacing:-.025em}
.slot-groups{display:grid;gap:20px}
.slot-group h4{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#8196A8;margin:0 0 9px}
.slot-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.slot-btn{min-height:44px;border:1px solid rgba(8,118,232,.25);border-radius:11px;background:#fff;color:#075DAF;font-size:13px;font-weight:750;cursor:pointer;transition:.15s ease}
.slot-btn:hover{background:#0876E8;color:#fff;border-color:#0876E8;transform:translateY(-1px)}
.slot-btn:disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.booking-step-form{padding:42px 48px 40px;max-width:650px;margin:auto}
.booking-back{border:0;background:transparent;padding:0;color:#39708E;font-weight:650;font-size:12px;cursor:pointer;margin-bottom:20px}
.booking-selected-slot{padding:14px 16px;background:#F1F9FF;border:1px solid #D7EEFF;border-radius:14px;color:#173F5B;font-size:13px;font-weight:700;margin-bottom:28px}
.booking-step-form h3{font-size:30px;letter-spacing:-.04em;margin:0 0 8px}
.booking-form-lead{color:#6B8296;margin:0 0 24px;font-size:13px}
#booking-form{display:grid;grid-template-columns:1fr 1fr;gap:15px 16px}
#booking-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#173A56}
#booking-form label:first-child,#booking-form label:nth-child(2),#booking-form label:nth-child(4),#booking-form label:nth-child(5){grid-column:span 2}
#booking-form input{width:100%;height:48px;border:1px solid rgba(0,35,73,.14);border-radius:11px;padding:0 14px;font:inherit;font-size:14px;color:#002349;background:#fff;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
#booking-form input:focus{border-color:#48A0F7;box-shadow:0 0 0 4px rgba(72,160,247,.12)}
#booking-form input:user-invalid{border-color:#E17878}
.booking-submit{grid-column:span 2;margin-top:4px;width:100%}
.form-error{grid-column:span 2;color:#AE2D2D;background:#FFF2F2;border-radius:10px;padding:10px 12px;font-size:12px;margin:0}
.booking-privacy{font-size:10px;color:#8BA0B0;text-align:center;margin:14px 0 0}
.booking-step-success{padding:70px 54px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.booking-step-success[hidden]{display:none}
.success-check{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#E3F8EC;color:#0BA75A;margin-bottom:20px}
.success-check .icon{width:34px;height:34px;stroke-width:2.5}
.booking-step-success h3{font-size:30px;letter-spacing:-.04em;max-width:520px;margin:0 0 12px}
.booking-step-success>p{color:#667F93;font-size:14px;line-height:1.55;max-width:500px;margin:0 0 22px}
.booking-success-card{width:min(460px,100%);padding:18px;border:1px solid rgba(0,35,73,.09);border-radius:16px;background:#F8FBFE;margin-bottom:22px;font-size:13px;font-weight:700;color:#173A56}
.booking-step-success small{max-width:470px;color:#8BA0B0;margin-top:14px;line-height:1.45}

@media (max-width:900px){
  .booking-dialog{grid-template-columns:1fr;width:min(720px,calc(100vw - 36px));max-height:calc(100dvh - 36px)}
  .booking-intro{padding:24px 62px 22px 26px;border-right:0;border-bottom:1px solid rgba(0,35,73,.08)}
  .booking-brand{margin-bottom:12px;font-size:22px}.booking-intro h2{font-size:26px;max-width:none;margin-bottom:8px}.booking-intro p{margin-bottom:10px;max-width:560px}.booking-meta{flex-direction:row;gap:18px}
  .booking-step{min-height:0}.booking-step-calendar{grid-template-columns:1fr 1fr}.booking-calendar-panel,.booking-slots-panel{padding:26px 24px}
}

@media (max-width:700px){
  .booking-modal{padding:0;align-items:end}
  .booking-dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-radius:24px 24px 0 0;border-bottom:0;display:block;overflow:auto}
  .booking-intro{padding:22px 58px 18px 20px;position:sticky;top:0;z-index:2;background:rgba(244,250,255,.97);backdrop-filter:blur(12px)}
  .booking-intro .booking-brand,.booking-intro p{display:none}.booking-intro h2{font-size:22px;margin:3px 0 8px}.booking-intro .booking-kicker{font-size:9px;margin-bottom:4px}.booking-meta{font-size:10px}
  .booking-close{position:fixed;right:12px;top:calc(env(safe-area-inset-top) + 12px)}
  .booking-step-calendar{display:block}.booking-calendar-panel{border-right:0;border-bottom:1px solid rgba(0,35,73,.08);padding:22px 18px}.booking-slots-panel{padding:22px 18px 28px}.slots-empty{min-height:160px}
  .calendar-toolbar{margin-bottom:18px}.calendar-day{font-size:12px}.calendar-weekdays{font-size:9px}.slot-list{grid-template-columns:repeat(3,1fr)}
  .booking-step-form{padding:24px 18px calc(30px + env(safe-area-inset-bottom))}.booking-step-form h3{font-size:25px}#booking-form{grid-template-columns:1fr}#booking-form label,#booking-form label:first-child,#booking-form label:nth-child(2),#booking-form label:nth-child(4),#booking-form label:nth-child(5),.booking-submit,.form-error{grid-column:1}
  .booking-step-success{padding:48px 22px calc(40px + env(safe-area-inset-bottom))}.booking-step-success h3{font-size:25px}
}

@media (max-width:390px){
  .slot-list{grid-template-columns:repeat(2,1fr)}
  .booking-calendar-panel{padding-inline:14px}.calendar-weekdays,.calendar-grid{gap:4px}
}

/* Booking reliability / local preview fixes */
#slots-content{display:none}
#slots-content:not([hidden]){display:block}
.slots-empty[hidden]{display:none!important}
#slots-content[hidden]{display:none!important}
.no-slots{margin:8px 0 0;padding:14px 16px;border-radius:12px;background:#F5FAFE;color:#6B8296;font-size:12px;line-height:1.5}
.calendar-day[aria-pressed="true"]{background:#0876E8;color:#fff;box-shadow:0 8px 18px rgba(8,118,232,.24)}
@media(max-width:980px){.booking-slots-panel{scroll-margin-top:12px}}

/* V6 — booking modal step/scroll fixes */
.booking-step[hidden],
.booking-step-calendar[hidden],
.booking-step-form[hidden],
.booking-step-success[hidden]{
  display:none !important;
}

.booking-flow{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}

.booking-dialog{
  min-height:0;
}

.booking-step-form{
  box-sizing:border-box;
  width:100%;
}

@media (min-width:901px){
  .booking-intro{
    min-height:0;
    overflow:hidden;
  }
  .booking-flow{
    max-height:min(820px,calc(100dvh - 48px));
  }
}

@media (max-width:900px){
  .booking-dialog{
    overflow:hidden;
  }
  .booking-flow{
    max-height:calc(100dvh - 180px);
  }
}

@media (max-width:700px){
  body.booking-open{
    overflow:hidden;
  }
  .booking-modal{
    overflow:hidden;
  }
  .booking-dialog{
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  .booking-intro{
    position:relative;
    flex:0 0 auto;
    top:auto;
  }
  .booking-flow{
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:env(safe-area-inset-bottom);
  }
  .booking-close{
    position:absolute;
    top:calc(12px + env(safe-area-inset-top));
    right:12px;
  }
  .booking-step-form{
    padding-bottom:calc(44px + env(safe-area-inset-bottom));
  }
  .booking-step-success{
    min-height:100%;
  }
}

/* V7 — simple demo request modal */
.request-modal[hidden] { display: none !important; }
.request-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}
.request-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 35, 73, .52);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.request-dialog {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  max-height: min(92dvh, 850px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 30px;
  padding: 42px 40px 34px;
  box-shadow: 0 30px 90px rgba(0, 35, 73, .22);
  scrollbar-width: thin;
}
.request-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(0, 35, 73, .65);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.request-form-view h2,
.request-success-view h2 {
  margin: 0 52px 10px 0;
  color: #002349;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.request-lead {
  margin: 0 0 28px;
  color: rgba(0, 35, 73, .67);
  font-size: 17px;
  line-height: 1.55;
}
.request-lead strong { color: #002349; font-weight: 500; }
#demo-request-form { display: grid; gap: 18px; }
#demo-request-form label {
  display: grid;
  gap: 8px;
  color: #002349;
  font-size: 15px;
  font-weight: 650;
}
#demo-request-form input {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 35, 73, .12);
  border-radius: 14px;
  background: rgba(0, 35, 73, .028);
  padding: 0 18px;
  color: #002349;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
#demo-request-form input::placeholder { color: rgba(0, 35, 73, .44); }
#demo-request-form input:focus {
  background: #fff;
  border-color: rgba(0, 122, 255, .48);
  box-shadow: 0 0 0 4px rgba(190, 227, 254, .38);
}
.request-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.request-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 2px;
  justify-content: center;
  font-size: 17px;
}
.request-submit:disabled { opacity: .65; cursor: wait; }
.request-required {
  margin: 0;
  text-align: center;
  color: rgba(0, 35, 73, .58);
  font-size: 13px;
}
.request-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff3f1;
  color: #a92d1f;
  font-size: 14px;
  line-height: 1.45;
}
.request-success-view {
  min-height: 390px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 16px;
}
.request-success-view[hidden] { display: none !important; }
.request-success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf9f1;
  color: #0a9b55;
}
.request-success-icon .icon { width: 34px; height: 34px; }
.request-success-view p {
  max-width: 430px;
  margin: 0 0 10px;
  color: rgba(0, 35, 73, .66);
  font-size: 17px;
  line-height: 1.55;
}
body.request-open { overflow: hidden; }

@media (max-width: 640px) {
  .request-modal { padding: 0; align-items: end; }
  .request-dialog {
    width: 100%;
    max-height: 94dvh;
    border-radius: 26px 26px 0 0;
    padding: 34px 20px calc(24px + env(safe-area-inset-bottom));
  }
  .request-close { top: 14px; right: 14px; }
  .request-form-view h2,
  .request-success-view h2 { font-size: 30px; margin-right: 45px; }
  .request-lead { font-size: 15.5px; margin-bottom: 22px; }
  #demo-request-form { gap: 15px; }
  #demo-request-form input { min-height: 54px; font-size: 16px; }
  .request-submit { min-height: 56px; }
}

/* V8 — hero fidèle à la maquette + ordre des sections */
@media (min-width:1081px){
  .hero{
    height:clamp(610px,calc(100svh - var(--header-h)),760px);
    padding:26px 0 18px;
    display:flex;
    align-items:center;
    background:
      radial-gradient(circle at 83% 28%,rgba(190,227,254,.48),transparent 34%),
      linear-gradient(180deg,#fff 0%,#fff 74%,#EEF8FF 100%);
  }
  .hero .container{width:min(1240px,calc(100% - 56px));}
  .hero-grid{
    width:100%;
    height:100%;
    grid-template-columns:minmax(480px,.95fr) minmax(590px,1.12fr);
    gap:18px;
    align-items:center;
  }
  .hero-copy{align-self:center;padding:4px 0 10px;}
  .eyebrow{margin-bottom:17px;padding:8px 13px;font-size:12px;}
  .hero h1{font-size:clamp(50px,4.55vw,66px);line-height:1.005;max-width:585px;}
  .hero-lead{font-size:15.5px;line-height:1.55;margin:18px 0 18px;max-width:560px;}
  .hero-actions{margin-bottom:18px;}
  .hero-points{gap:9px;font-size:12.5px;}
  .hero-visual{min-height:0;height:min(545px,calc(100% - 24px));align-self:center;}
  .hero-marc{width:292px;right:190px;top:0;z-index:3;}
  .scribble-note{top:34px;left:4px;font-size:12.5px;}
  .score-float{top:34px;right:2px;width:205px;padding:13px 14px;}
  .product-window{left:8px;right:2px;bottom:0;border-radius:20px;}
  .product-topbar{height:49px;}
  .product-main{padding:15px;}
  .candidate-row{min-height:43px;}
}

/* Le bandeau bénéfices fait visuellement partie du hero. */
.benefit-strip-wrap{position:relative;z-index:8;margin-top:-10px;}

/* Sans / Avec Dossim : illustration Marc officielle, sans découpe agressive. */
.compare-card.after{background:linear-gradient(135deg,#F0F9FF 0%,#E6F5FF 72%,#D9EEFF 100%)}
.after-marc{right:-12px;bottom:-28px;width:52%;max-width:360px;}

@media (max-width:1080px) and (min-width:981px){
  .hero{padding-top:42px;padding-bottom:28px;}
  .hero-visual{min-height:520px;}
  .hero-marc{width:268px;right:205px;top:0;}
  .after-marc{width:56%;right:-20px;bottom:-36px;}
}

@media (max-width:980px){
  .hero{padding-top:42px;padding-bottom:30px;}
  .hero-marc{width:260px;right:205px;top:0;}
  .after-marc{width:53%;right:-12px;bottom:-38px;}
}

@media (max-width:820px){
  .after-marc{width:48%;right:0;bottom:-34px;}
}

@media (max-width:600px){
  .hero{padding-top:26px;padding-bottom:28px;}
  .hero-visual{min-height:420px;}
  .hero-marc{width:194px;right:72px;top:2px;}
  .score-float{top:18px;right:0;}
  .scribble-note{top:30px;left:0;}
  .after-marc{width:65%;max-width:280px;right:-7%;bottom:-22px;}
  .compare-card.after{padding-bottom:220px;}
}

@media (max-width:375px){
  .hero-visual{min-height:395px;}
  .hero-marc{width:178px;right:60px;}
  .after-marc{width:68%;right:-8%;bottom:-18px;}
}

/* V9 — exact requested layout corrections */
/* 1) First fold: keep the complete desktop hero visible on arrival, including the benefit strip just below it. */
@media (min-width:1081px){
  .hero{
    min-height:clamp(480px,calc(100svh - var(--header-h) - 116px),620px);
    padding:clamp(26px,4vh,44px) 0 clamp(20px,3vh,32px);
    display:flex;
    align-items:center;
  }
  .hero-grid{
    grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);
    gap:30px;
  }
  .hero h1{font-size:clamp(48px,4.65vw,66px);line-height:1.005}
  .hero-lead{margin:18px 0 18px;font-size:16px}
  .hero-actions{margin-bottom:17px}
  .hero-points{gap:8px}
  .hero-visual{min-height:470px}
  .hero-marc{
    width:350px;
    right:106px;
    top:-8px;
    z-index:3;
  }
  .scribble-note{left:8px;top:18px}
  .score-float{top:28px;right:0;width:210px}
  .product-window{left:24px;right:0;bottom:0}
  .benefit-strip article{min-height:96px;padding-top:18px;padding-bottom:18px}
}

/* 2) Comparison block: reproduce the compact 50/50 visual balance of the approved mockup. */
.compare{padding-top:72px;padding-bottom:72px}
.compare-grid{gap:4px;overflow:hidden;border-radius:20px;box-shadow:0 12px 34px rgba(0,35,73,.055)}
.compare-card{
  min-height:390px;
  border-radius:0;
  box-shadow:none;
}
.compare-card:first-child{border-radius:20px 0 0 20px}
.compare-card:last-child{border-radius:0 20px 20px 0}
.compare-copy{padding:36px 32px 28px;max-width:58%}
.compare-copy h2{font-size:31px;margin-bottom:25px}
.compare-copy ul{gap:16px}
.compare-copy li{font-size:13.5px;line-height:1.45}
.before-person{right:0!important;bottom:0!important;width:52%!important;max-height:100%;object-fit:contain;object-position:right bottom;filter:none!important;mix-blend-mode:multiply}
.after-marc{
  right:-55px!important;
  bottom:-68px!important;
  width:66%!important;
  max-width:420px!important;
  filter:drop-shadow(0 10px 24px rgba(0,35,73,.08));
}

/* 3) Tablet: keep all sections clean, with the requested section order preserved. */
@media (max-width:1080px) and (min-width:821px){
  .hero{padding-top:42px;padding-bottom:28px}
  .hero-visual{min-height:510px}
  .hero-marc{width:330px;right:170px;top:-4px}
  .score-float{right:12px}
  .compare{padding:66px 0}
  .compare-grid{grid-template-columns:1fr 1fr;gap:4px}
  .compare-card{min-height:390px}
  .compare-copy{max-width:61%;padding:32px 26px 24px}
  .compare-copy h2{font-size:28px}
  .compare-copy li{font-size:12.5px;gap:9px}
  .before-person{width:53%!important}
  .after-marc{width:70%!important;right:-86px!important;bottom:-66px!important}
}

/* 4) iPad portrait / mobile: comparison stacks, no cropping or overlap. */
@media (max-width:820px){
  .compare{padding:60px 0}
  .compare-grid{grid-template-columns:1fr;gap:14px;overflow:visible;box-shadow:none;border-radius:0}
  .compare-card,.compare-card:first-child,.compare-card:last-child{border-radius:22px}
  .compare-card{min-height:410px}
  .compare-copy{max-width:66%;padding:30px 26px 24px}
  .before-person{width:48%!important}
  .after-marc{width:58%!important;right:-34px!important;bottom:-64px!important}
}

@media (max-width:600px){
  .hero{padding-top:28px;padding-bottom:28px}
  .hero-visual{min-height:445px}
  .hero-marc{width:235px;right:44px;top:2px}
  .product-window{bottom:0}
  .compare-card{min-height:0;padding-bottom:245px}
  .compare-copy{max-width:100%;padding:26px 22px 12px}
  .compare-copy h2{font-size:29px;margin-bottom:22px}
  .before-person{width:72%!important;max-width:320px;right:-5%!important}
  .after-marc{width:78%!important;max-width:350px!important;right:-17%!important;bottom:-78px!important}
}

@media (max-width:390px){
  .hero-visual{min-height:420px}
  .hero-marc{width:218px;right:36px}
  .compare-card{padding-bottom:230px}
  .compare-copy{padding-inline:20px}
}

/* V11 — Steps section: viewport-fit desktop + cleaner responsive sizing */
@media (min-width:981px){
  .steps.section-pad{
    min-height:calc(100svh - var(--header-h));
    display:flex;
    align-items:center;
    padding:clamp(22px,3.4vh,40px) 0;
    scroll-margin-top:var(--header-h);
  }
  .steps .steps-container{
    width:min(1320px,calc(100% - 48px));
  }
  .steps .section-heading{
    margin-bottom:clamp(34px,4.6vh,46px);
  }
  .steps .section-heading h2{
    font-size:clamp(38px,3.15vw,46px);
    line-height:1.02;
    margin-bottom:10px;
  }
  .steps .section-heading p{
    font-size:15px;
  }
  .steps-grid{
    grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr);
  }
  .step-card{
    min-height:clamp(400px,48vh,448px);
    padding:36px 24px 22px;
    border-radius:22px;
  }
  .step-number{
    top:-27px;
    width:54px;
    height:54px;
    font-size:19px;
  }
  .step-visual{
    height:clamp(190px,25vh,224px);
    margin-bottom:18px;
  }
  .step-card h3{
    font-size:19px;
    line-height:1.18;
    margin-bottom:9px;
  }
  .step-card>p{
    font-size:13.5px;
    line-height:1.42;
  }
  .step-arrow .icon{
    width:28px;
    height:28px;
  }
  .steps-cta{
    margin-top:16px;
  }
  .steps-cta p{
    margin-bottom:10px;
    font-size:13.5px;
  }
  .steps-cta .btn{
    min-width:250px;
    min-height:46px;
    padding-top:11px;
    padding-bottom:11px;
  }
  .property-mini-card{
    padding:14px 15px;
  }
  .link-card{
    padding:17px 18px;
  }
  .result-card{
    padding:16px;
  }
  .result-card ul{
    margin-top:13px;
    gap:8px;
  }
}

/* Short laptop / iPad landscape: keep all 3 steps inside one viewport */
@media (min-width:981px) and (max-height:760px){
  .steps.section-pad{padding:18px 0 20px}
  .steps .section-heading{margin-bottom:30px}
  .steps .section-heading h2{font-size:36px;margin-bottom:8px}
  .steps .section-heading p{font-size:13px}
  .step-card{min-height:372px;padding:31px 20px 18px}
  .step-number{top:-24px;width:48px;height:48px;font-size:17px}
  .step-visual{height:174px;margin-bottom:14px}
  .step-card h3{font-size:17px;margin-bottom:7px}
  .step-card>p{font-size:12px;line-height:1.36}
  .steps-cta{margin-top:11px}
  .steps-cta p{font-size:12px;margin-bottom:7px}
  .steps-cta .btn{min-height:42px;min-width:230px;padding:9px 16px;font-size:13px}
  .property-mini-card{transform:scale(.92);transform-origin:left center;width:83%}
  .link-card{width:91%;transform:translateY(-5px) scale(.94)}
  .result-card{transform:scale(.94)}
}

/* iPad portrait / touch layouts: comfortable single-column cards without oversized gaps */
@media (min-width:601px) and (max-width:980px){
  .steps.section-pad{padding:58px 0 64px}
  .steps .section-heading{margin-bottom:58px}
  .steps .section-heading h2{font-size:38px;line-height:1.06}
  .steps-grid{gap:54px}
  .step-card{max-width:650px;padding:40px 28px 28px}
  .step-visual{height:286px;margin-bottom:22px}
  .step-card h3{font-size:21px}
  .step-card>p{font-size:14px}
  .steps-cta{margin-top:26px}
}

/* iPhone: compact, readable and no horizontal overflow */
@media (max-width:600px){
  .steps.section-pad{padding:54px 0 58px}
  .steps .section-heading{margin-bottom:54px}
  .steps .section-heading h2{font-size:clamp(30px,9.5vw,36px);line-height:1.05}
  .steps .section-heading p{max-width:330px;margin-inline:auto}
  .steps-grid{gap:54px}
  .step-card{padding:34px 18px 22px;border-radius:20px}
  .step-number{top:-25px;width:50px;height:50px;font-size:18px}
  .step-visual{height:226px;margin-bottom:20px}
  .step-card h3{font-size:18px;line-height:1.2;margin-bottom:9px}
  .step-card>p{font-size:12.5px;line-height:1.45}
  .property-mini-card{width:84%;padding:12px}
  .link-card{width:96%;padding:14px}
  .result-card{padding:14px}
  .steps-cta{margin-top:24px}
  .steps-cta p{font-size:13px}
  .steps-cta .btn{width:100%;min-width:0;max-width:330px}
}


/* V12 — impact banner: strong value proposition, deliberately different from the 3-step cards */
.impact-strip-wrap{
  position:relative;
  z-index:8;
  padding:22px 0 34px;
  margin-top:-8px;
  background:#fff;
}
.impact-container{width:min(1240px,calc(100% - 48px));}
.impact-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 110%,rgba(190,227,254,.42),transparent 36%),
    radial-gradient(circle at 88% -15%,rgba(190,227,254,.34),transparent 34%),
    #fff;
  border:1px solid rgba(39,136,245,.12);
  border-radius:26px;
  box-shadow:0 16px 45px rgba(0,35,73,.07);
}
.impact-item{
  min-width:0;
  min-height:178px;
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  align-items:center;
  gap:20px;
  padding:30px 36px;
  position:relative;
}
.impact-item+.impact-item:before{
  content:"";
  position:absolute;
  left:0;
  top:32px;
  bottom:32px;
  width:1px;
  background:rgba(39,136,245,.18);
}
.impact-icon{
  width:64px;
  height:64px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#1681F2;
  background:linear-gradient(145deg,#EAF7FF,#F5FBFF);
}
.impact-icon .icon{width:34px;height:34px;stroke-width:1.9;}
.impact-copy{min-width:0;}
.impact-value{
  display:flex;
  align-items:baseline;
  gap:3px;
  margin:0 0 2px;
  color:#2387F3;
  font-size:clamp(40px,4.2vw,60px);
  line-height:.94;
  letter-spacing:-.055em;
  font-weight:800;
  white-space:nowrap;
}
.impact-value span{color:var(--navy);}
.impact-value-time{font-size:clamp(32px,3vw,48px);letter-spacing:-.045em;}
.impact-value-time span{color:var(--navy);}
.impact-copy strong{
  display:block;
  margin-top:7px;
  color:var(--navy);
  font-size:20px;
  line-height:1.05;
  letter-spacing:-.03em;
}
.impact-copy p{
  max-width:270px;
  margin:9px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.42;
}

/* V12 — demo form: fixed modal, no internal scrolling, compact on phones */
.request-modal{
  overflow:hidden;
  overscroll-behavior:none;
  padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
}
.request-dialog{
  width:min(590px,calc(100vw - 20px));
  max-height:calc(100dvh - 20px);
  overflow:hidden;
  overscroll-behavior:none;
  padding:34px 36px 26px;
  border-radius:28px;
}
.request-form-view{overflow:hidden;}
.request-form-view h2,.request-success-view h2{font-size:36px;margin-bottom:8px;}
.request-lead{font-size:15.5px;line-height:1.45;margin-bottom:22px;}
#demo-request-form{gap:13px;}
#demo-request-form label{gap:6px;font-size:14px;}
#demo-request-form input{min-height:52px;font-size:16px;border-radius:13px;}
.request-submit{min-height:52px;font-size:16px;}
.request-required{font-size:12px;}
body.request-open{overflow:hidden;overscroll-behavior:none;}

@media (max-width:1050px){
  .impact-item{padding:26px 24px;grid-template-columns:54px minmax(0,1fr);gap:15px;}
  .impact-icon{width:54px;height:54px;border-radius:16px;}
  .impact-icon .icon{width:29px;height:29px;}
  .impact-copy strong{font-size:18px;}
  .impact-copy p{font-size:12px;}
}

@media (max-width:760px){
  .impact-strip-wrap{padding:16px 0 28px;margin-top:0;}
  .impact-container{width:min(100% - 28px,620px);}
  .impact-strip{grid-template-columns:1fr;border-radius:22px;}
  .impact-item{min-height:0;padding:22px 24px;grid-template-columns:56px minmax(0,1fr);gap:18px;}
  .impact-item+.impact-item:before{left:22px;right:22px;top:0;bottom:auto;width:auto;height:1px;}
  .impact-icon{width:56px;height:56px;}
  .impact-value{font-size:43px;}
  .impact-value-time{font-size:35px;}
  .impact-copy strong{font-size:17px;margin-top:5px;}
  .impact-copy p{max-width:none;margin-top:6px;font-size:12px;}
}

@media (max-width:640px){
  .request-modal{display:grid;place-items:center;padding:6px;align-items:center;}
  .request-dialog{
    width:calc(100vw - 12px);
    max-height:calc(100dvh - 12px);
    border-radius:22px;
    padding:18px 16px 14px;
  }
  .request-close{top:8px;right:8px;width:34px;height:34px;font-size:25px;}
  .request-form-view h2,.request-success-view h2{
    font-size:28px;
    line-height:1.04;
    margin:0 38px 6px 0;
  }
  .request-lead{font-size:13.5px;line-height:1.34;margin:0 0 14px;}
  #demo-request-form{gap:9px;}
  #demo-request-form label{gap:4px;font-size:12.5px;line-height:1.2;}
  #demo-request-form input{min-height:44px;height:44px;padding:0 14px;font-size:15px;border-radius:11px;}
  .request-submit{min-height:48px;height:48px;margin-top:1px;font-size:15px;border-radius:12px;}
  .request-required{font-size:10.5px;line-height:1.2;}
  .request-error{padding:8px 10px;font-size:12px;}
  .request-success-view{min-height:min(420px,calc(100dvh - 50px));gap:12px;}
}

@media (max-width:390px){
  .impact-item{padding:19px 18px;grid-template-columns:50px minmax(0,1fr);gap:14px;}
  .impact-icon{width:50px;height:50px;border-radius:14px;}
  .impact-icon .icon{width:26px;height:26px;}
  .impact-value{font-size:38px;}
  .impact-value-time{font-size:31px;}
  .impact-copy strong{font-size:16px;}
  .impact-copy p{font-size:11.5px;}
}

/* Short phones / landscape phones: compress vertically rather than creating a scrollbar. */
@media (max-width:640px) and (max-height:740px){
  .request-dialog{padding:12px 14px 10px;border-radius:18px;}
  .request-close{top:5px;right:5px;width:30px;height:30px;font-size:22px;}
  .request-form-view h2,.request-success-view h2{font-size:24px;margin-bottom:4px;}
  .request-lead{font-size:12px;line-height:1.28;margin-bottom:9px;}
  #demo-request-form{gap:6px;}
  #demo-request-form label{gap:2px;font-size:11px;}
  #demo-request-form input{min-height:38px;height:38px;padding:0 12px;font-size:14px;border-radius:9px;}
  .request-submit{min-height:42px;height:42px;font-size:14px;}
  .request-required{font-size:9.5px;}
}

@media (min-width:641px) and (max-height:820px){
  .request-dialog{padding:26px 32px 20px;}
  .request-form-view h2,.request-success-view h2{font-size:32px;}
  .request-lead{margin-bottom:16px;font-size:14px;}
  #demo-request-form{gap:10px;}
  #demo-request-form input{min-height:48px;}
  .request-submit{min-height:48px;}
}

/* V13 — Dossim value proposition: priority first, not document admin */
.compare-priority{
  padding:clamp(62px,7vw,96px) 0;
  background:
    radial-gradient(circle at 15% 25%,rgba(190,227,254,.24),transparent 28%),
    radial-gradient(circle at 86% 70%,rgba(39,136,245,.10),transparent 28%),
    #fff;
}
.compare-intro{
  text-align:center;
  max-width:900px;
  margin:0 auto 42px;
}
.compare-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 13px;
  border-radius:999px;
  background:#EEF8FF;
  color:#0876E8;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
}
.compare-intro h2{
  margin:15px 0 13px;
  font-size:clamp(36px,4.1vw,54px);
  line-height:1.03;
  letter-spacing:-.05em;
  font-weight:800;
}
.compare-intro h2 span{color:#2788F5}
.compare-intro p{
  margin:0 auto;
  max-width:760px;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}
.compare-priority .compare-grid{
  gap:18px;
  overflow:visible;
  border-radius:0;
  box-shadow:none;
}
.compare-priority .priority-card{
  min-height:480px;
  border-radius:26px!important;
  box-shadow:0 16px 42px rgba(0,35,73,.065);
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(230px,.92fr);
  align-items:stretch;
}
.compare-priority .priority-card.before{
  background:linear-gradient(145deg,#fff 0%,#FBFCFE 65%,#F2F5F8 100%);
}
.compare-priority .priority-card.after{
  background:linear-gradient(145deg,#F4FBFF 0%,#EAF7FF 62%,#DDF1FF 100%);
  border-color:rgba(39,136,245,.24);
}
.compare-priority .priority-copy{
  max-width:none!important;
  padding:38px 18px 36px 36px!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.priority-label{
  display:inline-flex;
  width:max-content;
  align-items:center;
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  background:#DFF2FF;
  color:#0876E8;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  margin-bottom:14px;
}
.priority-label-muted{
  background:#F0F2F5;
  color:#66798B;
}
.compare-priority .priority-copy h3{
  margin:0 0 24px;
  font-size:31px;
  line-height:1.05;
  letter-spacing:-.045em;
  font-weight:800;
}
.compare-priority .priority-copy ul{
  gap:14px!important;
}
.compare-priority .priority-copy li{
  grid-template-columns:24px 1fr!important;
  gap:10px!important;
  font-size:13px!important;
  line-height:1.42!important;
  color:#183E5D;
}
.compare-priority .bad-dot,
.compare-priority .good-dot{
  width:22px;
  height:22px;
}
.priority-ui{
  align-self:center;
  margin:26px 24px 26px 8px;
  border:1px solid rgba(0,35,73,.08);
  border-radius:20px;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 34px rgba(0,35,73,.10);
  overflow:hidden;
  position:relative;
  z-index:2;
}
.priority-ui-manual{
  transform:rotate(-1.5deg);
  box-shadow:0 14px 30px rgba(0,35,73,.08);
}
.priority-ui-ranked{
  transform:rotate(1deg);
  box-shadow:0 18px 38px rgba(0,73,150,.13);
}
.priority-ui-head{
  min-height:54px;
  padding:13px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid rgba(0,35,73,.07);
  font-size:10px;
  color:#6A8195;
}
.priority-ui-head strong{
  color:var(--navy);
  font-size:12px;
}
.priority-ui-head>span:not(.marc-chip){
  padding:5px 7px;
  border-radius:999px;
  background:#F3F5F7;
  color:#718296;
  font-size:9px;
  font-weight:700;
}
.marc-chip{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border-radius:999px;
  background:#E4F8EE;
  color:#0E9657;
  font-size:8px;
  font-weight:800;
  white-space:nowrap;
}
.manual-row,
.ranked-row{
  min-height:62px;
  display:grid;
  align-items:center;
  gap:9px;
  padding:10px 13px;
  border-bottom:1px solid rgba(0,35,73,.06);
}
.manual-row:last-child,
.ranked-row:last-child{border-bottom:0}
.manual-row{
  grid-template-columns:32px minmax(0,1fr) auto;
}
.ranked-row{
  grid-template-columns:22px 32px minmax(0,1fr) auto;
}
.manual-avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#E4F3FF;
  color:#175E9F;
  font-size:9px;
  font-weight:800;
}
.manual-row div,
.ranked-row div{
  min-width:0;
  display:grid;
  gap:3px;
}
.manual-row b,
.ranked-row b{
  font-size:10px;
  color:var(--navy);
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.manual-row small,
.ranked-row small{
  font-size:8px;
  color:#7890A5;
}
.manual-pill{
  padding:5px 7px;
  border-radius:8px;
  background:#F3F5F7;
  color:#6E8091;
  font-size:8px;
  font-weight:750;
  white-space:nowrap;
}
.manual-row.is-faded{opacity:.45}
.rank-no{
  width:20px;
  height:20px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#E9F4FF;
  color:#177BE8;
  font-size:8px;
  font-weight:800;
}
.ranked-row.is-top{
  background:linear-gradient(90deg,#F1FFF7 0%,#FBFFFD 100%);
}
.ranked-row.is-top .rank-no{
  background:#DDF8E9;
  color:#0D9B59;
}
.rank-score{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  color:#09A85A;
  font-size:20px;
  line-height:.9;
  letter-spacing:-.03em;
}
.rank-score small{
  color:#0E9D5A;
  font-size:7px;
  margin-top:3px;
  font-weight:700;
}
.priority-flow{
  margin:26px auto 0;
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  padding:11px 14px;
  border:1px solid rgba(39,136,245,.14);
  border-radius:999px;
  background:#F8FCFF;
  color:#587187;
  font-size:12px;
  font-weight:650;
}
.priority-flow span,
.priority-flow strong{
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.priority-flow b{
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#E5F3FF;
  color:#0D78E8;
  font-size:9px;
}
.priority-flow strong{color:var(--navy)}
.priority-flow strong b{background:#DFF8EB;color:#0D9C59}
.priority-flow>.icon{
  width:16px;
  height:16px;
  color:#5BA8F7;
}

@media (max-width:1080px) and (min-width:821px){
  .compare-intro{margin-bottom:34px}
  .compare-priority .priority-card{
    min-height:500px;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
  }
  .compare-priority .priority-copy{
    padding:30px 28px 18px!important;
  }
  .compare-priority .priority-copy h3{font-size:28px;margin-bottom:20px}
  .priority-ui{margin:4px 28px 28px;transform:none!important}
}

@media (max-width:820px){
  .compare-priority{padding:58px 0}
  .compare-intro{text-align:left;margin-bottom:30px}
  .compare-intro h2{font-size:38px}
  .compare-intro p{font-size:15px}
  .compare-priority .compare-grid{grid-template-columns:1fr!important;gap:16px!important}
  .compare-priority .priority-card{
    min-height:0!important;
    padding-bottom:0!important;
    grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);
  }
  .compare-priority .priority-copy{
    max-width:none!important;
    padding:30px 14px 30px 28px!important;
  }
  .compare-priority .priority-copy h3{font-size:28px}
  .priority-ui{margin:22px 22px 22px 6px;transform:none!important}
  .priority-flow{
    width:100%;
    border-radius:18px;
    gap:8px;
    justify-content:space-between;
    font-size:11px;
  }
}

@media (max-width:640px){
  .compare-priority .priority-card{
    grid-template-columns:1fr;
  }
  .compare-priority .priority-copy{
    padding:26px 22px 16px!important;
  }
  .compare-priority .priority-copy h3{font-size:29px;margin-bottom:20px}
  .compare-priority .priority-copy li{font-size:13px!important}
  .priority-ui{
    margin:6px 20px 22px;
  }
  .priority-flow{
    display:grid;
    grid-template-columns:1fr;
    justify-items:start;
    border-radius:18px;
    padding:12px 14px;
  }
  .priority-flow>.icon{transform:rotate(90deg);margin-left:3px}
  .priority-flow span,.priority-flow strong{white-space:normal}
}

@media (max-width:390px){
  .compare-intro h2{font-size:34px}
  .compare-priority .priority-copy{padding-inline:19px!important}
  .priority-ui{margin-inline:16px}
}

/* V14 — Comparison section: one-slide desktop layout + direct CTA */
.compare-cta{
  display:flex;
  justify-content:center;
  margin-top:22px;
}
.compare-cta .btn{min-width:210px;justify-content:center}

@media (min-width:1081px){
  .compare-priority{
    min-height:calc(100svh - var(--header-h));
    display:flex;
    align-items:center;
    padding:24px 0;
    scroll-margin-top:var(--header-h);
  }
  .compare-priority>.container{
    width:min(1360px,calc(100% - 48px));
  }
  .compare-priority .compare-intro{
    max-width:980px;
    margin:0 auto 24px;
  }
  .compare-priority .compare-kicker{
    min-height:27px;
    font-size:10px;
  }
  .compare-priority .compare-intro h2{
    margin:10px 0 0;
    font-size:clamp(36px,3.35vw,50px);
    line-height:1.01;
  }
  .compare-priority .priority-grid{gap:16px}
  .compare-priority .priority-card{
    min-height:365px;
    grid-template-columns:minmax(0,1.06fr) minmax(220px,.94fr);
    border-radius:24px!important;
  }
  .compare-priority .priority-copy{
    padding:26px 14px 24px 28px!important;
  }
  .compare-priority .priority-copy h3{
    margin-bottom:17px;
    font-size:27px;
  }
  .compare-priority .priority-copy ul{gap:10px!important}
  .compare-priority .priority-copy li{
    font-size:12.5px!important;
    line-height:1.35!important;
  }
  .compare-priority .priority-label{
    margin-bottom:10px;
    min-height:25px;
    font-size:10px;
  }
  .compare-priority .priority-ui{
    margin:20px 20px 20px 6px;
    border-radius:18px;
  }
  .compare-priority .priority-ui-head{
    min-height:46px;
    padding:10px 12px;
  }
  .compare-priority .manual-row,
  .compare-priority .ranked-row{
    min-height:52px;
    padding:8px 11px;
  }
  .compare-priority .manual-avatar{width:29px;height:29px}
  .compare-priority .manual-row{grid-template-columns:29px minmax(0,1fr) auto}
  .compare-priority .ranked-row{grid-template-columns:20px 29px minmax(0,1fr) auto}
  .compare-priority .rank-score{font-size:18px}
  .compare-priority .compare-cta{margin-top:18px}
  .compare-priority .compare-cta .btn{min-height:48px;padding:0 23px}
}

@media (min-width:821px) and (max-width:1080px){
  .compare-priority{padding:42px 0}
  .compare-priority .compare-intro{margin-bottom:24px}
  .compare-priority .compare-intro h2{font-size:clamp(34px,4.6vw,44px);margin-bottom:0}
  .compare-priority .priority-card{min-height:450px}
  .compare-priority .priority-copy{padding-top:24px!important}
  .compare-priority .priority-ui{margin-bottom:22px}
  .compare-cta{margin-top:20px}
}

@media (max-width:820px){
  .compare-priority .compare-intro p{display:none}
  .compare-cta{margin-top:22px}
  .compare-cta .btn{width:min(100%,320px)}
}
