*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1B2430;background:#FFFFFF;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:#1E6B35}a:hover{color:#14502A}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1E7B3C;outline-offset:2px}
/* Remaining placeholders: search the HTML for class="ph" / "phbox" before launch */
.ph{background:#FFF1C2;color:#5A3B00;border:1px dashed #B8862A;border-radius:6px;padding:1px 6px;font-weight:600}
.phbox{background:repeating-linear-gradient(45deg,#E9E2D3,#E9E2D3 12px,#F1EBDF 12px,#F1EBDF 24px);border:2px dashed #B8862A;border-radius:14px;display:flex;align-items:center;justify-content:center;text-align:center;color:#5A3B00;font-weight:600;padding:16px}
.phdark{background:repeating-linear-gradient(45deg,#1C2B42,#1C2B42 12px,#22344F 12px,#22344F 24px);border:2px dashed #5FD08A;border-radius:16px;display:flex;align-items:center;justify-content:center;text-align:center;color:#F7F3EA;font-weight:600;padding:16px}
/* Before / after slider */
.ba-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.ba{margin:0;display:flex;flex-direction:column;gap:8px}
.ba figcaption{font-weight:600}
.ba-frame{position:relative;aspect-ratio:4/3;border-radius:14px;overflow:hidden;--pos:50%;background:#0F1B2D}
.ba-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ba-before{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.ba-frame::after{content:"";position:absolute;top:0;bottom:0;left:var(--pos);width:3px;margin-left:-1.5px;background:#FFFFFF;box-shadow:0 0 6px rgba(0,0,0,.4);pointer-events:none}
.ba-frame input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.ba-tag{position:absolute;bottom:10px;color:#FFFFFF;font-size:12px;font-weight:700;padding:3px 8px;border-radius:6px;pointer-events:none}
.ba-tag-b{left:10px;background:rgba(15,27,45,.85)}
.ba-tag-a{right:10px;background:#1E7B3C}
/* Mobile type scale */
@media (max-width:640px){
  h1{font-size:36px !important}
  h2{font-size:30px !important}
  section{padding-left:18px !important;padding-right:18px !important}
}
/* Header layout */
header nav{flex-wrap:nowrap !important;gap:6px 20px !important}
@media (min-width:1101px){ header > div:nth-child(2) > div{flex-wrap:nowrap !important} }
@media (max-width:1100px){
  header nav{order:3;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}
  header nav::-webkit-scrollbar{display:none}
  header nav a{white-space:nowrap}
}
@media (max-width:640px){
  header > div:first-child{font-size:13px !important;padding:8px 12px !important}
  header > div:nth-child(2){padding:10px 16px !important}
  header img{height:52px !important}
  header > div:nth-child(2) > div > div a:first-child{display:none}
}
header nav a, header a{white-space:nowrap}
header > div:nth-child(2) > div > div{flex-wrap:nowrap !important}
@media (min-width:1101px) and (max-width:1240px){ header nav{gap:6px 14px !important;font-size:14px !important} }
header > div:nth-child(2) > div > a:first-child{flex-shrink:0}
header img{width:auto !important;flex-shrink:0}
header > div:nth-child(2) > div{max-width:1240px !important;gap:16px 22px !important}
@media (min-width:1101px){ header nav{gap:6px 16px !important} }
/* white cards inside red sections keep dark text */
[style*="background: #FFFFFF"]{color:#1B2430}
/* let flex children shrink below image intrinsic width */
[style*="flex: 1 1"],[style*="flex: 2 1"]{min-width:0}
.legal h2{font-family:Fredoka,sans-serif;font-size:26px;color:#0F1B2D;margin:36px 0 10px}.legal p{margin:0 0 14px}.legal ul{margin:0 0 14px;padding-left:22px}.legal li{margin-bottom:6px}
/* respect aspect-ratio when width/height attributes are set */
img[width][height]{height:auto}
