:root{--green:#078c46;--deep:#006b37;--mint:#edf9f0;--ink:#0c1b2e;--muted:#586b7b;--border:#e2e9eb;--page:#f8fbfc;--surface:#fff;--shadow:0 4px 20px rgba(18,48,62,.035);font-family:Arial,"Noto Sans",sans-serif;color:var(--ink);background:var(--page)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:0}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid #0c9b55;outline-offset:3px}.site-header{height:46px;background:#fff;border-bottom:1px solid #e8eef0;position:relative;z-index:5}.header-inner{width:min(calc(100% - 56px),1200px);height:100%;margin:auto;display:flex;align-items:center;gap:35px}.logo{display:flex;align-items:center;flex:none;width:143px}.logo-img{width:143px;height:auto}.primary-nav{height:100%;display:flex;align-items:stretch;gap:31px}.primary-nav a{font-size:11px;display:flex;align-items:center;position:relative;white-space:nowrap}.primary-nav a:hover,.primary-nav a.active{color:var(--deep)}.primary-nav a.active:after{content:"";position:absolute;bottom:0;left:0;right:0;border-bottom:2px solid var(--green)}.locale-wrap{margin-inline-start:auto;display:flex;align-items:center;gap:5px;font-size:11px}.globe{font-size:20px}.locale-wrap select{max-width:158px;border:0;background:#fff;color:var(--ink);padding:4px;cursor:pointer}.menu-toggle{display:none}.hero{height:153px;background-image:linear-gradient(90deg,#f9fcfd 0%,rgba(249,252,253,.96) 43%,rgba(249,252,253,.03) 66%),url('/images/hero-stair-climbing.webp');background-size:cover;background-position:center 43%}.hero-inner{position:relative;width:min(calc(100% - 56px),1200px);height:100%;margin:auto;display:flex;align-items:center}.hero-copy{max-width:570px;padding:0 18px}.hero h1{font-size:30px;line-height:1.05;letter-spacing:-.035em;margin:0 0 7px;font-weight:800}.hero-lead{font-size:16px;margin:0 0 10px}.hero-description{font-size:13px;color:var(--muted);line-height:1.35;margin:0;max-width:525px}.hero-slogan{position:absolute;left:58%;top:33px;max-width:100px;font-family:"Comic Sans MS",cursive;font-style:italic;font-size:16px;line-height:1.1;transform:rotate(-10deg)}.hero-slogan svg{width:95px;display:block}.content-wrap{width:min(calc(100% - 56px),1200px);margin:-3px auto 9px;position:relative}.panel{border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow)}.panel h2{font-size:19px;line-height:1.15;margin:0;font-weight:800;letter-spacing:-.02em}.calculator-panel{padding:11px 10px 11px 20px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1.17fr) minmax(0,1fr);gap:14px;min-height:368px}.calculator-panel form{padding:7px 7px 7px 0;min-width:0;display:flex;flex-direction:column}.calculator-panel form h2{margin:2px 0 16px}.field-row{display:flex;gap:12px;margin-bottom:14px;min-width:0;align-items:flex-start}.field-icon{width:48px;height:48px;border-radius:50%;background:#f0f7f6;display:grid;place-items:center;flex:none;margin-top:2px}.field-icon img{width:25px;height:25px}.field-main{min-width:0;flex:1}.field-main label{display:block;font-size:12px;font-weight:700;margin-bottom:4px}.field-controls{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(72px,.93fr);gap:8px}.field-controls input,.unit-select{min-width:0;width:100%;height:33px;border:1px solid #d7e0e5;border-radius:5px;background:#fff;padding:4px 12px;font-size:16px;color:#0a1725}.unit-select{font-size:12px;background:#f7f9fa;display:flex;align-items:center}.field-main small{font-size:11px;color:#758697;display:block;margin-top:4px}.field-error{display:block;color:#b02b27;font-size:11px;line-height:1.2}.field-controls input[aria-invalid="true"]{border-color:#b02b27}.calculate-button{margin-top:auto;width:100%;min-height:43px;border:0;border-radius:5px;background:#0c9a54;color:white;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:12px}.calculate-button img{filter:brightness(0) invert(1)}.calculate-button:hover{background:#007b40}.calculate-button span:last-child{font-size:24px;font-weight:400}.stair-visual{position:relative;min-width:0;min-height:344px;border-radius:7px;background:#e7eef0;overflow:hidden}.stair-visual>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 45%}.step-badge{position:absolute;right:17%;top:11%;background:#fff;border:1px solid #0d2631;border-radius:4px;padding:4px 9px;text-align:center;line-height:1}.step-badge strong{display:block;font-size:17px}.step-badge span{font-size:10px}.dimension-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#162630;stroke-width:1.5}.total-height,.riser-height{position:absolute;font-size:11px;line-height:1.1;text-shadow:0 0 2px #fff,0 0 5px #fff}.total-height{right:1%;top:51%;max-width:32%}.riser-height{left:50%;bottom:9%}.total-height span,.riser-height span{display:block}.total-height strong,.riser-height strong{font-size:18px;display:block;margin-top:2px}.total-height small{display:block;font-size:9px;margin-top:3px}.result-panel{background:#effaf0;border-radius:8px;padding:14px;min-width:0;display:flex;flex-direction:column}.result-panel h2{display:flex;align-items:center;gap:10px}.result-panel h2 img{width:27px;height:27px}.result-content{text-align:center;flex:1}.result-label{font-size:14px;margin:13px 0 0}.result-number{display:flex;align-items:baseline;justify-content:center;gap:7px;color:var(--deep);line-height:1;min-width:0;flex-wrap:wrap}.result-number strong{font-size:clamp(39px,5vw,64px);font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-number span{font-size:21px;font-weight:700}.result-content>p:last-of-type{font-size:13px;line-height:1.33;text-align:left;margin:9px 0 0}.result-state{color:#ad5618;font-weight:700}.share-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.share-buttons button{border:1px solid #d4dfe4;border-radius:5px;background:white;min-height:39px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:700;padding:5px}.share-buttons button:hover{background:#e9f7ed}.share-buttons img{width:20px;height:20px}.share-feedback{font-size:11px;min-height:8px;color:#006b37;margin-top:3px}.manual-copy input{width:100%;padding:6px;border:1px solid #aab7c2}.comparison{min-height:65px;border-radius:7px;background:#fff;display:flex;align-items:center;gap:7px;padding:8px;margin-top:6px}.comparison .bulb{font-size:22px;color:#f9a800}.comparison p{font-size:10px;line-height:1.25;flex:1;margin:0}.comparison img{width:42px;height:42px;object-fit:contain}.how{margin-top:12px;background:#f0faf1;padding:13px 19px 12px}.how h2,.examples h2,.faq h2,.guide h2{display:flex;align-items:center;gap:11px}.section-symbol{color:#0d9b54;font-size:25px;line-height:1}.section-subtitle{margin:2px 0 10px 42px;font-size:13px;color:var(--muted)}.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;padding:0 22px}.how-card{display:flex;align-items:center;gap:13px;border-radius:8px;background:#fff;padding:8px 10px;min-height:87px;min-width:0}.step-num{align-self:flex-start;background:#159f53;border-radius:50%;color:#fff;width:26px;height:26px;display:grid;place-items:center;flex:none;font-size:14px}.how-card img{width:37px;height:37px;filter:invert(38%) sepia(84%) saturate(932%) hue-rotate(101deg) brightness(92%);flex:none}.how-card h3{font-size:12px;margin:0 0 5px}.how-card p{font-size:11px;line-height:1.25;color:#515a63;margin:0}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.guide,.height-table{padding:12px 16px 10px;min-width:0;min-height:283px}.tabs{display:flex;gap:11px;border-bottom:1px solid #e2e9eb;margin-top:12px;overflow-x:auto}.tabs button{border:0;background:none;white-space:nowrap;font-size:11px;color:#465a6c;padding:0 3px 8px;flex:none}.tabs button[aria-selected="true"]{color:var(--deep);border-bottom:2px solid var(--green)}.tab-panel h3{font-size:13px;margin:11px 0 5px}.tab-panel p,.tab-panel li{font-size:11px;color:#4a5661;line-height:1.35}.tab-panel p{margin:0 0 7px}.tab-panel ul{padding-left:16px;margin:9px 0 0}.tab-panel li{margin:3px 0}.formula{background:#fdfcf3;border:1px solid #f0eee1;border-radius:6px;padding:9px;text-align:center;font-size:11px}.height-table h2 img{width:23px;height:23px}.height-table .section-subtitle{margin:8px 0 13px}.table-scroll{overflow-x:auto}.height-table table{border-collapse:collapse;width:100%;font-size:11px;text-align:center;min-width:395px}.height-table th,.height-table td{border:1px solid #e1e8eb;padding:7px 4px}.height-table th{background:#f5f8f9;font-weight:700}.height-table td:first-child{text-align:left;padding-left:11px}.examples{margin-top:11px;padding:12px 16px 11px}.examples .section-subtitle{margin-bottom:10px}.example-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.example-card{border:1px solid var(--border);border-radius:6px;display:flex;gap:10px;min-width:0;padding:4px}.example-card img{width:40%;height:136px;object-fit:cover;border-radius:5px;flex:none}.example-card>div{min-width:0;padding:4px 2px 0 0}.example-card h3{font-size:11px;line-height:1.15;margin:0 0 8px}.example-card p{font-size:10px;line-height:1.3;color:#556474;margin:0 0 5px}.example-card strong{font-size:21px;color:var(--deep);display:block;white-space:nowrap}.example-card small{font-size:10px;color:#586b7b;line-height:1.3;display:block;margin-top:4px}.faq{margin-top:12px;padding:10px 18px 15px}.faq-mark{background:#159f53;color:#fff;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:18px}.faq-grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:column;grid-template-rows:repeat(4,auto);gap:3px 16px;margin-top:12px}.faq-item{border:1px solid #e5ecef;border-radius:5px;min-width:0}.faq-question{background:#fbfcfd;border:0;width:100%;min-height:26px;display:flex;justify-content:space-between;gap:8px;text-align:left;padding:5px 10px;font-size:11px}.faq-question span{font-size:14px}.faq-answer{padding:0 14px 7px;font-size:10px;line-height:1.3;color:#59636b}.site-footer{background:#fff;border-top:1px solid #e9eef0;min-height:46px}.footer-inner{width:min(calc(100% - 56px),1200px);min-height:46px;margin:auto;display:flex;align-items:center;gap:20px}.footer-brand{min-width:180px;display:flex;flex-direction:column;align-items:flex-start}.footer-logo{width:110px;height:auto;display:block}.footer-brand small{font-size:8px;color:#6b7d8b}.site-footer nav{display:flex;justify-content:center;gap:15px;flex:1;flex-wrap:wrap}.site-footer nav a{font-size:9px;color:#536474}.site-footer nav a:hover{text-decoration:underline}.footer-motto{font-size:9px;color:#536474;white-space:nowrap}.legal-main{width:min(calc(100% - 32px),850px);min-height:calc(100vh - 95px);margin:40px auto}.legal-main article{padding:28px}.legal-main h1{font-size:32px}.legal-main p{font-size:16px;line-height:1.6}.back-link{color:var(--deep);text-decoration:underline}[hidden]{display:none!important}
.hero{background-position:center top}.faq-question{min-height:23px}.faq-grid{gap:2px 16px}.field-main small{color:#586b7b}.calculate-button{background:#007a3d}.footer-brand small{color:#586b7b}
@media(max-width:950px){.calculator-panel{grid-template-columns:1fr 1fr}.result-panel{grid-column:1/-1;min-height:250px}.result-content{flex:0}.result-panel .comparison{max-width:550px;margin-inline:auto;width:100%}.how-grid{gap:10px;padding:0}.guide-grid{grid-template-columns:1fr 1fr}.example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.example-card img{width:88px}}
@media(max-width:767.98px){.site-header{height:auto;min-height:54px}.header-inner{width:min(calc(100% - 24px),1200px);min-height:54px;gap:10px;flex-wrap:wrap}.logo{width:125px}.logo-img{width:125px}.menu-toggle{display:block;margin-inline-start:auto;border:1px solid var(--border);border-radius:5px;background:#fff;min-width:40px;min-height:40px}.primary-nav{display:none;order:3;width:100%;height:auto;flex-wrap:wrap;gap:0;padding:4px 0 10px}.primary-nav.open{display:flex}.primary-nav a{min-height:40px;padding:0 10px}.locale-wrap{margin-inline-start:0}.locale-wrap select{max-width:135px}.hero{height:auto;min-height:230px;background-position:65% center;background-image:linear-gradient(90deg,rgba(249,252,253,.98),rgba(249,252,253,.82) 65%,rgba(249,252,253,.20)),url('/images/hero-stair-climbing.webp')}.hero-inner{width:min(calc(100% - 24px),1200px);min-height:230px}.hero-copy{padding:15px 0;max-width:440px}.hero h1{font-size:clamp(24px,7vw,32px)}.hero-lead{font-size:14px}.hero-description{font-size:12px}.hero-slogan{display:none}.content-wrap{width:min(calc(100% - 24px),1200px);margin-top:12px}.calculator-panel{grid-template-columns:1fr;padding:12px}.calculator-panel form{padding:3px}.calculator-panel form h2{margin-bottom:17px}.field-row{margin-bottom:16px}.field-controls input,.unit-select{height:46px;font-size:16px}.calculate-button{min-height:48px;margin-top:8px}.stair-visual{height:360px;min-height:0}.result-panel{grid-column:auto;min-height:0}.result-content>p:last-of-type{text-align:center}.result-panel .comparison{margin-top:10px}.how-grid,.guide-grid{grid-template-columns:1fr}.how-grid{padding:0 4px}.how-card{min-height:75px}.how{padding:13px}.faq-grid{grid-template-columns:1fr;grid-auto-flow:row;grid-template-rows:auto}.footer-inner{width:min(calc(100% - 24px),1200px);padding:12px 0;flex-wrap:wrap;justify-content:center}.footer-brand{align-items:center;min-width:100%}.site-footer nav{flex:auto}.footer-motto{white-space:normal;text-align:center}}
@media(max-width:400px){.header-inner{gap:6px}.logo,.logo-img{width:108px}.locale-wrap select{max-width:117px;font-size:12px}.field-icon{width:40px;height:40px}.field-row{gap:8px}.field-controls{grid-template-columns:minmax(0,1fr) 74px;gap:5px}.result-number strong{font-size:46px}.share-buttons button{font-size:11px;padding:3px}.examples .example-grid{grid-template-columns:1fr}.example-card img{width:88px}.total-height{font-size:10px}.total-height strong,.riser-height strong{font-size:16px}}
@media(max-width:767.98px){.field-main small,.how-card p,.tab-panel p,.tab-panel li,.example-card p,.example-card small,.faq-question,.faq-answer{font-size:12px}.site-footer nav a{font-size:11px}.comparison p{font-size:11px}}
html[dir="rtl"] .hero{background-image:linear-gradient(270deg,#f9fcfd 0%,rgba(249,252,253,.96) 43%,rgba(249,252,253,.03) 66%),url('/images/hero-stair-climbing.webp')}html[dir="rtl"] .faq-question{text-align:right}html[dir="rtl"] .height-table td:first-child{text-align:right}html[dir="rtl"] .dimension-lines{direction:ltr}html[dir="rtl"] .stair-visual{direction:ltr}html[dir="rtl"] .stair-visual .total-height,html[dir="rtl"] .stair-visual .riser-height{text-align:left}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Desktop visual alignment to the supplied 1024px reference. */
.globe{width:16px;height:16px;display:block}
.section-icon{width:29px;height:29px;flex:none}
.comparison .bulb{width:26px;height:26px;flex:none}
#result-description{text-align:left}
.hero{background-position:center 6%}
.calculator-panel{grid-template-columns:minmax(0,1.08fr) minmax(0,1.17fr) minmax(0,1fr);gap:18px;padding-left:21px}
.faq-grid{display:block;columns:2;column-gap:16px;margin-top:12px}
.faq-item{break-inside:avoid;margin-bottom:3px}
.faq-question{padding:3px 10px;min-height:24px}
.faq-item{margin-bottom:2px}
.section-icon{width:25px;height:25px}
.result-number strong{font-size:60px}
.hero-slogan{width:95px;max-width:none;top:28px;line-height:1.05}
.hero-slogan svg{margin-top:1px}
.result-label{margin-top:10px}
.result-content>p:last-of-type,#result-description{margin-top:6px}
.comparison{margin-top:3px}
.how-card p,.tab-panel p,.tab-panel li{font-size:12px}
.formula{font-size:12px}

/* Vector details visible in the supplied mockup. */
.primary-nav a.active::before{content:"";position:absolute;left:calc(50% - 4px);bottom:7px;width:7px;height:7px;border-right:1.5px solid var(--deep);border-bottom:1.5px solid var(--deep);transform:rotate(45deg)}
.menu-toggle .menu-icon{display:block;width:20px;height:20px;margin:auto}
.calculate-button>span{font-size:16px;font-weight:700}
.calculate-button .button-arrow{width:22px;height:22px;filter:none}
.step-badge::after{content:"";position:absolute;left:calc(50% - 8px);top:calc(100% + 1px);width:16px;height:24px;background:url('/icons/down-marker.svg') center/contain no-repeat}
.how-card{position:relative}
.how-card:not(:last-child)::after{content:"";position:absolute;right:-27px;top:calc(50% - 10px);width:16px;height:20px;background:url('/icons/chevron-right.svg') center/contain no-repeat}
.how-card img[src$="edit.svg"]{filter:none}
.faq-mark{background:none;border-radius:0;width:24px;height:24px;display:block}
.faq-chevron{width:15px;height:15px;flex:none;transition:transform .15s ease}
.faq-question[aria-expanded="true"] .faq-chevron{transform:rotate(180deg)}
.faq-question[aria-expanded="true"]::before{content:"";position:absolute;left:10px;top:7px;bottom:7px;width:2px;background:#0b9b51}
.faq-question{position:relative}
.faq-question[aria-expanded="true"]{padding-left:15px}
.footer-motto{position:relative}
.footer-motto::after{content:"";position:absolute;right:0;bottom:-9px;width:37px;height:8px;border-top:2px solid #169e50;border-radius:50%;transform:rotate(-7deg)}
@media(max-width:950px){.how-card:not(:last-child)::after{display:none}}
@media(max-width:767.98px){.primary-nav a.active::before{bottom:8px}.footer-motto::after{display:none}}
html[dir="rtl"] .faq-question[aria-expanded="true"]::before{left:auto;right:10px}
html[dir="rtl"] .faq-question[aria-expanded="true"]{padding-left:10px;padding-right:15px}
.back-link{display:inline-flex;align-items:center;gap:5px}
.back-icon{width:16px;height:16px}

/* Responsive layout follows the supplied 1024 / 768 / 480 width bands. */
@media(max-width:1023.98px){
  .hero-slogan{display:none}
  .calculator-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .calculator-panel form{grid-column:1;grid-row:1}
  .result-panel{grid-column:2;grid-row:1;min-height:344px}
  .stair-visual{grid-column:1/-1;grid-row:2;justify-self:center;width:min(100%,420px);height:420px;min-height:0}
  .example-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
}
@media(max-width:767.98px){
  .header-inner,.hero-inner,.content-wrap,.footer-inner{width:min(calc(100% - 32px),1200px)}
  .menu-toggle{min-width:44px;min-height:44px}
  .locale-wrap select{min-height:44px}
  .primary-nav a{min-height:44px}
  .calculator-panel{grid-template-columns:minmax(0,1fr);gap:12px}
  .calculator-panel form{grid-column:1;grid-row:1}
  .result-panel{grid-column:1;grid-row:2;min-height:0}
  .stair-visual{grid-column:1;grid-row:3;width:min(100%,420px);height:360px}
  .share-buttons button{min-height:44px}
  .tabs button{min-height:44px;padding-bottom:0}
  .faq-question{min-height:44px;align-items:center}
  .site-footer nav a{min-height:40px;display:inline-flex;align-items:center;padding:0 3px}
}
@media(max-width:400px){
  .logo,.logo-img{width:104px}
  .locale-wrap select{width:88px;max-width:88px}
  .header-inner{gap:6px;flex-wrap:nowrap}
  .header-inner:has(.primary-nav.open){flex-wrap:wrap}
}
.share-feedback[data-status="error"]{color:#b02b27}
.faq-question:hover,.tabs button:hover,.menu-toggle:hover{background:#eef8f1}
.calculate-button:active{background:#005c32;transform:translateY(1px)}
.share-buttons button:active,.menu-toggle:active{background:#d9f0e2;transform:translateY(1px)}
@media(max-width:950px){.calculator-panel{grid-template-columns:1fr 1fr}}
@media(max-width:767.98px){.calculator-panel{grid-template-columns:1fr;padding:12px}.faq-grid{columns:1}.hero{background-position:65% center}}
@media(max-width:767.98px){.hero{background-image:linear-gradient(90deg,rgba(249,252,253,.99),rgba(249,252,253,.94) 60%,rgba(249,252,253,.5)),url('/images/hero-stair-climbing.webp')}}

/* Detail alignment against the supplied 1024px mockup. */
@media(min-width:1024px){
  .hero-slogan{left:58.5%;top:32px}
  .total-height{top:41%}
  .step-badge{top:10%;padding-inline:12px}
  .site-header{background-image:linear-gradient(90deg,#fff 0%,#fff 54%,rgba(255,255,255,.1) 72%),url('/images/hero-stair-climbing.webp');background-size:100% auto;background-position:center top}
  .hero{background-size:100% auto;background-position:center -46px}
}
@media(min-width:768px) and (max-width:1023.98px), (min-width:1200px){
  .stair-visual>img{object-position:50% 0}
}
@media(min-width:768px) and (max-width:900px){
  .tabs{gap:0}
  .tabs button{padding-inline:2px}
}
@media(min-width:1024px){
  .locale-wrap select{appearance:none;field-sizing:content;min-width:40px;max-width:158px;padding:4px 0;background:transparent}
  .locale-wrap::after{content:"";width:6px;height:6px;flex:none;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);transform:rotate(45deg);margin-top:-4px}
}
@media(max-width:400px){
  .header-inner{flex-wrap:wrap}
  .locale-wrap{margin-inline-start:0}
  .locale-wrap select{width:auto;field-sizing:content;min-width:88px;max-width:160px}
}
@media(min-width:1024px){
  .calculator-panel{grid-template-columns:minmax(0,1.08fr) minmax(0,320px) minmax(0,1fr)}
}
.calculate-button{background:linear-gradient(100deg,#178f53,#1f9950)}
@media(min-width:1024px){
  .content-wrap{margin-bottom:7px}
  .footer-inner{min-height:45px}
}
@media(min-width:768px) and (max-width:1023.98px){
  .calculator-panel form{grid-column:1;grid-row:1}
  .stair-visual{grid-column:2;grid-row:1;width:100%;height:344px}
  .result-panel{grid-column:1/-1;grid-row:2;min-height:0}
}
@media(max-width:767.98px){
  .calculator-panel form{grid-column:1;grid-row:1}
  .stair-visual{grid-column:1;grid-row:2}
  .result-panel{grid-column:1;grid-row:3}
}

/* Reference heading width and vertical placement at its 1024px capture. */
@media(min-width:1024px){
  .panel h2{font-size:18px;letter-spacing:-.04em}
  .how{min-height:166px;padding-top:10px;padding-bottom:15px}
  .guide,.height-table{padding-top:10px;padding-bottom:12px}
  .examples{min-height:223px;padding-top:9px;padding-bottom:14px}
  .faq{min-height:201px;padding-top:8px;padding-bottom:17px}
  .how .section-icon{transform:translateY(6px) scale(1.18)}
  .guide .section-icon{transform:translateY(-1px) scale(1.1)}
  .examples .section-icon{transform:translate(3px,5px) scale(1.2)}
  .faq .faq-mark{transform:translate(2px,-1px) scale(1.12)}
}

/* One continuous photo runs behind both the header and hero. Its live slogan stays crisp. */
:root{font-family:"Trebuchet MS",Arial,sans-serif}
@media(min-width:1024px){
  .hero h1{font-size:32px}
  .logo-img{transform:translateX(5px)}
  body{position:relative}
  body::before{
    content:"";position:absolute;top:0;left:0;right:0;height:199px;z-index:0;pointer-events:none;
    background-image:linear-gradient(90deg,#f9fcfd 0%,rgba(249,252,253,.99) 34%,rgba(249,252,253,.86) 47%,rgba(249,252,253,.12) 66%,rgba(249,252,253,0) 76%),url('/images/hero-stairs-empty.webp');
    background-size:100% 100%,100% 250px;background-position:center,0 -5px;background-repeat:no-repeat
  }
  body::after{
    content:"";position:absolute;top:12px;left:64%;width:220px;height:187px;z-index:0;pointer-events:none;
    background:url('/images/hero-climber-cutout.webp') 0 0 / auto clamp(255px,calc(10vw + 152.6px),305px) no-repeat
  }
  .site-header{border-bottom:0;background:none;background-image:none}
  .hero{position:relative;background:none;background-image:none}
  html[dir="rtl"] .hero{background:none;background-image:none}
  .header-inner,.hero-inner{position:relative;z-index:1}
  .locale-wrap select{background:transparent}
  html:not([dir="rtl"]) .hero-slogan{left:58.5%;top:16px;text-shadow:0 0 5px #fff,0 1px 2px #fff}
  html[dir="rtl"] body::before{transform:scaleX(-1)}
  html[dir="rtl"] body::after{left:auto;right:64%;transform:scaleX(-1)}
  html[dir="rtl"] .hero-slogan{left:40%}
}

/* Keep the measurement caption inside the gap in its vertical ruler. */
.total-height{top:51%;right:calc(7% + 2px)}
.riser-height{left:calc(50% + 4px);bottom:calc(9% - 12px)}
.step-badge{right:calc(17% - 2px);top:calc(10% + 4px);padding-block:2.5px}
.step-badge::before{content:"";position:absolute;left:calc(50% - 4px);bottom:-4px;width:8px;height:8px;background:#fff;border-right:1px solid #0d2631;border-bottom:1px solid #0d2631;transform:rotate(45deg);z-index:1}
.step-badge::after{left:calc(50% - 1px);top:calc(100% - 1px);height:16px;z-index:2}
.dimension-lines{stroke-width:1.2}

/* The reference photo ends before the measurement ruler; keep that clear field at desktop sizes. */
@media(min-width:1024px){
  .stair-visual{background:#f4f9fb}
  .stair-visual>img{width:300px;height:344px;object-fit:fill;object-position:0 0;mask-image:linear-gradient(90deg,#000 0,#000 280px,transparent 300px)}
  .stair-visual::before{content:"";position:absolute;inset:0;background:#f4f9fb;clip-path:polygon(100% 60px,250px 95px,135px 100%,100% 100%);z-index:1;pointer-events:none}
  .stair-visual>.dimension-lines,.stair-visual>.step-badge,.stair-visual>.total-height,.stair-visual>.riser-height{z-index:2}
}
