@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --navy:#1A2756;
  --gold:#C9A84C;
  --teal:#00B7D3;
  --ink:#17213c;
  --cream:#F7F4ED;
  --line:#E7E1D7;
  --muted:#667085;
  --white:#FFFFFF;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{margin:0;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.58;font-size:16px}
h1,h2,h3{font-family:"DM Serif Display",Georgia,"Times New Roman",serif;color:var(--navy);font-weight:400;margin:0 0 1rem;line-height:1.02;letter-spacing:-.025em}
h1{font-size:clamp(3.7rem,5.45vw,5.85rem)}
h2{font-size:clamp(2.35rem,3.6vw,4rem)}
h3{font-size:1.4rem;line-height:1.12}
p{margin:.4rem 0 1rem}
.eyebrow{letter-spacing:.21em;text-transform:uppercase;font-size:.72rem;font-weight:800;color:var(--gold)}
.container{width:min(1220px,90vw);margin:auto}

.nav{height:92px;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.brand{display:flex;align-items:center;gap:.72rem;text-decoration:none;color:var(--navy)}
.brand img{width:46px;height:46px;flex:0 0 auto}
.brand-copy{display:flex;flex-direction:column}
.brand-name{font-family:"DM Serif Display",Georgia,serif;font-size:2rem;font-weight:400;line-height:.92;letter-spacing:-.02em}
.brand-tag{font-size:.56rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin-top:.38rem}
.navlinks{display:flex;align-items:center;gap:1.7rem}
.navlinks a{color:var(--navy);text-decoration:none;font-size:.87rem;font-weight:700;letter-spacing:-.01em}
.navlinks .cta{background:var(--gold);padding:.8rem 1.12rem;border-radius:6px;color:#11182d}

.hero-dark{
  background:
    linear-gradient(90deg,rgba(11,23,54,.96) 0%,rgba(26,39,86,.90) 43%,rgba(26,39,86,.55) 100%),
    url('moody_law_library_still_life.png') center/cover;
  color:white
}
.hero-dark h1,.hero-dark h2{color:white}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(260px,.58fr);min-height:640px;align-items:center;gap:2rem}
.hero-copy{padding:5.8rem 0 6.2rem;max-width:790px}
.hero-copy h1{max-width:760px}
.gold{color:var(--gold)!important}
.lead{font-size:1.13rem;max-width:700px;color:#F0F2F7;line-height:1.72;margin-top:1.25rem;margin-bottom:1.8rem}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.92rem 1.18rem;border-radius:6px;text-decoration:none;font-weight:800;font-size:.9rem;border:1px solid transparent}
.btn-gold{background:var(--gold);color:#11182d}
.btn-outline{border-color:#D9DEE8;color:var(--navy);background:white}

.strip{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line)}
.strip>div{padding:2.5rem 2.1rem;border-right:1px solid var(--line)}
.strip>div:last-child{border-right:0}
.strip p,.card p,.role{color:var(--muted)}
.icon{font-size:1.45rem;color:var(--navy);margin-bottom:.95rem}

.section{padding:6.5rem 0}
.soft{background:var(--cream)}
.two-col{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:6rem;align-items:center}
.panel{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 46px rgba(26,39,86,.09);padding:1.8rem}
.match-row{display:grid;grid-template-columns:155px 1fr;gap:1.25rem;padding:1.15rem 0;border-bottom:1px solid var(--line)}
.match-row:last-child{border-bottom:0}
.match-label{font-weight:800;color:var(--navy)}

.band{background:var(--navy);color:white}
.band h2,.band h3{color:white}
.band p{color:#E6EAF3}

.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1.15rem}
.card{border:1px solid var(--line);border-radius:9px;padding:1.7rem;background:white}

.screen{border:1px solid #CFD5DF;border-radius:12px;overflow:hidden;box-shadow:0 18px 40px rgba(26,39,86,.16);background:#F7F9FC}
.screenbar{height:34px;background:#EEF1F6;border-bottom:1px solid #D7DCE5}
.screenbody{display:grid;grid-template-columns:150px 1fr;min-height:360px}
.screenside{background:var(--navy);color:white;padding:1rem}
.screenmain{padding:1.4rem}
.searchbar{height:42px;border:1px solid #D6DBE5;border-radius:7px;margin-bottom:1rem;background:white}
.result{border:1px solid #DFE3EA;border-radius:8px;padding:1rem;margin-bottom:.8rem;background:white}
.result strong{display:block}
.badge{display:inline-block;padding:.25rem .55rem;border-radius:999px;background:#F1E5BF;color:#624C0F;font-size:.75rem;font-weight:800}

.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin-top:2.4rem}
.step{border-top:2px solid var(--gold);padding-top:1rem}
.step b{color:var(--navy)}

.team{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.person{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white}
.ph{height:235px;background:#D9DCE2}
.person div:last-child{padding:1rem}

.form{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{display:flex;flex-direction:column;gap:.35rem}
.field.full{grid-column:1/-1}
label{font-weight:700;color:var(--navy)}
input,select,textarea{font:inherit;padding:.85rem;border:1px solid #CFD5DF;border-radius:7px}
textarea{min-height:110px}

.footer{background:var(--navy);color:white;padding:2.2rem 0}
.footer-grid{display:flex;justify-content:space-between;align-items:center;gap:2rem}
.footer a{color:white;text-decoration:none;font-size:.84rem}
.menubtn{display:none}

@media(max-width:980px){
  .container{width:min(94vw,1220px)}
  .navlinks{gap:1.1rem}.navlinks a{font-size:.82rem}
  .hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(180px,.75fr)}
  .hero-copy h1{font-size:clamp(3.55rem,6.3vw,4.9rem)}
}
@media(max-width:820px){
  body{font-size:15px}
  .nav{height:74px}.brand-name{font-size:1.6rem}.brand-tag{display:none}.brand img{width:38px;height:38px}
  .navlinks{display:none}.menubtn{display:block;font-size:1.4rem;color:var(--navy)}
  .hero-grid,.two-col{grid-template-columns:1fr}.hero-grid{min-height:auto}
  .hero-copy{padding:4.4rem 0 4.8rem;max-width:none}.hero-dark .hero-grid>div:last-child{display:none}
  .hero-copy h1{font-size:clamp(3rem,12vw,4.25rem);max-width:95%}
  .lead{font-size:1rem;line-height:1.65}
  .strip{grid-template-columns:1fr 1fr}.strip>div{padding:1.5rem}
  .cards,.team,.timeline{grid-template-columns:1fr}
  .section{padding:4.6rem 0}.two-col{gap:2.5rem}
  .screenbody{grid-template-columns:72px 1fr}.screenside{font-size:0}
  .form{grid-template-columns:1fr}.field.full{grid-column:auto}
  .footer-grid{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .container{width:90vw}
  .strip{grid-template-columns:1fr}
  .strip>div{border-right:0;border-bottom:1px solid var(--line)}
  .hero-copy h1{font-size:clamp(2.75rem,13vw,3.75rem)}
  .match-row{grid-template-columns:1fr;gap:.35rem}
}
/* Approved visual treatments */
.pilot-hero{background:linear-gradient(90deg,#1A2756 0%,#1A2756 48%,#f4efe6 48%,#fff 100%);overflow:hidden}
.pilot-hero h1{color:#fff}.pilot-hero .lead{color:#eef1f7}
.pilot-hero-grid{display:grid;grid-template-columns:1fr 1fr;min-height:610px;align-items:stretch}
.pilot-visual{position:relative;min-height:610px;background:linear-gradient(145deg,#f7f1e7 0%,#fff 60%);overflow:hidden}
.window-light{position:absolute;inset:-10% -10% 0 10%;background:repeating-linear-gradient(115deg,rgba(255,255,255,.96) 0 75px,rgba(231,218,194,.38) 78px 110px,rgba(255,255,255,.9) 112px 210px);filter:blur(2px);transform:skewX(-7deg);opacity:.82}
.desk{position:absolute;left:0;right:0;bottom:0;height:33%;background:linear-gradient(180deg,#d8c4a5,#aa8c67);box-shadow:inset 0 18px 40px rgba(255,255,255,.35)}
.laptop{position:absolute;left:50%;bottom:18%;width:min(78%,500px);transform:translateX(-50%);filter:drop-shadow(0 26px 32px rgba(26,39,86,.22))}
.laptop-screen{height:265px;background:#161d2e;border:10px solid #202839;border-radius:16px 16px 7px 7px;padding:22px}
.screen-top{height:22px;background:#1A2756;border-radius:5px;margin-bottom:18px}
.screen-lines{display:grid;grid-template-columns:1.1fr .9fr;gap:12px}
.screen-lines i{display:block;height:70px;border-radius:7px;background:linear-gradient(180deg,#fff,#e9edf3);box-shadow:inset 0 0 0 1px #d8dee8}
.screen-lines i:nth-child(3){height:48px}.screen-lines i:nth-child(4){height:48px}
.laptop-base{width:112%;height:16px;background:linear-gradient(180deg,#c9ced6,#8c939f);margin-left:-6%;border-radius:0 0 18px 18px}

.product-showcase{display:grid;grid-template-columns:.72fr 1.28fr;gap:5rem;align-items:center}
.device-stage{position:relative;padding:2rem 2rem 3rem}
.device-shadow{position:absolute;left:13%;right:13%;bottom:2.2rem;height:32px;background:rgba(26,39,86,.16);filter:blur(20px);border-radius:50%}
.device-frame{position:relative;background:#202839;padding:10px;border-radius:16px 16px 9px 9px;box-shadow:0 28px 60px rgba(26,39,86,.2)}
.device-frame .screen{box-shadow:none;border-radius:8px}
.device-base{width:112%;height:18px;margin-left:-6%;background:linear-gradient(180deg,#cdd2da,#9097a3);border-radius:0 0 18px 18px}

@media(max-width:820px){
  .pilot-hero{background:#1A2756}
  .pilot-hero-grid{grid-template-columns:1fr;min-height:auto}
  .pilot-visual{min-height:360px}
  .product-showcase{grid-template-columns:1fr;gap:2.5rem}
  .device-stage{padding:1rem 0 2rem}
}

/* Final repo image assets */
.pilot-visual{position:relative;min-height:610px;overflow:hidden;background:#f5efe5}
.pilot-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.window-light,.desk,.laptop{display:none!important}

.feature-photo-wrap{position:relative;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(26,39,86,.18);min-height:470px;background:#f2eee6}
.feature-photo{width:100%;height:100%;min-height:470px;object-fit:cover;display:block;filter:saturate(.92) contrast(.98)}
.feature-photo-wrap:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,244,237,.05),rgba(26,39,86,.08));pointer-events:none}
.feature-ui-overlay{position:absolute;right:5%;top:10%;width:58%;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid rgba(26,39,86,.12);border-radius:10px;padding:1rem;box-shadow:0 18px 42px rgba(26,39,86,.18);z-index:2}
.feature-ui-head{font-weight:800;color:var(--navy);font-size:.82rem;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.08em}
.feature-ui-overlay .result{font-size:.78rem;padding:.8rem;margin-bottom:.6rem}
.feature-ui-overlay .result:last-child{margin-bottom:0}
.feature-ui-overlay .badge{margin-top:.35rem}
@media(max-width:820px){
  .pilot-visual{min-height:310px}
  .feature-photo-wrap,.feature-photo{min-height:390px}
  .feature-ui-overlay{position:absolute;left:5%;right:5%;top:auto;bottom:5%;width:auto}
}

/* Home page locked header treatment */
.home-page>header{background:var(--navy);border-bottom:1px solid rgba(255,255,255,.08)}
.home-page .nav{height:78px}
.home-page .nav .brand{color:#fff}
.home-page .nav .brand img{width:42px;height:42px}
.home-page .nav .brand-name{color:#fff}
.home-page .nav .brand-tag{color:#fff;opacity:.85}
.home-page .navlinks a{color:#fff;opacity:.92}
.home-page .navlinks a.active{color:var(--gold);position:relative}
.home-page .navlinks a.active:after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:2px;background:var(--gold)}
.home-page .navlinks .cta{background:var(--gold);color:#11182d;opacity:1}
.home-page .menubtn{color:#fff}
@media(max-width:820px){
  .home-page .nav{height:72px}
}

/* Home approved mock hero controls */
.home-page .hero-actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}
.home-page .btn-ghost{border-color:rgba(255,255,255,.65);color:#fff;background:rgba(11,23,54,.18)}
.home-page .btn-ghost:before{content:"▶";font-size:.7rem}

/* Home hero image alignment + lighter overlay — approved mock tuning */
.home-page .hero-dark{
  background-color:#0B1736;
  background-image:
    linear-gradient(90deg,
      rgba(11,23,54,.90) 0%,
      rgba(18,34,74,.72) 34%,
      rgba(18,34,74,.42) 58%,
      rgba(18,34,74,.16) 100%),
    url('moody_law_library_still_life.png');
  background-repeat:no-repeat,no-repeat;
  background-size:100% 100%,88% auto;
  background-position:center,right 4% center;
}

/* Home hero placement correction */
.home-page .hero-dark{
  background-size:100% 100%,88% auto;
  background-position:center,calc(100% - 72px) center;
}
@media(max-width:1200px){
  .home-page .hero-dark{
    background-position:center,calc(100% - 44px) center;
  }
}
@media(max-width:820px){
  .home-page .hero-dark{
    background-size:100% 100%,cover;
    background-position:center,center;
  }
}

/* Home hero responsive crop fix — no exposed navy border */
.home-page .hero-dark{
  background-size:100% 100%,cover;
  background-position:center,62% center;
}
@media(max-width:1200px){
  .home-page .hero-dark{
    background-size:100% 100%,cover;
    background-position:center,66% center;
  }
}
@media(max-width:900px){
  .home-page .hero-dark{
    background-size:100% 100%,cover;
    background-position:center,70% center;
  }
}
@media(max-width:820px){
  .home-page .hero-dark{
    background-size:100% 100%,cover;
    background-position:center,72% center;
  }
}

/* Home hero final responsive behaviour: preserve image proportion, fill excess width with navy */
.home-page .hero-dark{
  background-color:#0B1736;
  background-image:
    linear-gradient(90deg,
      rgba(11,23,54,.94) 0%,
      rgba(14,28,63,.80) 30%,
      rgba(18,34,74,.48) 52%,
      rgba(18,34,74,.18) 72%,
      rgba(18,34,74,.05) 100%),
    url('moody_law_library_still_life.png');
  background-repeat:no-repeat,no-repeat;
  background-size:100% 100%,auto 100%;
  background-position:center,right center;
}
@media(max-width:980px){
  .home-page .hero-dark{
    background-size:100% 100%,auto 100%;
    background-position:center,right center;
  }
}
@media(max-width:820px){
  .home-page .hero-dark{
    background-size:100% 100%,auto 100%;
    background-position:center,68% center;
  }
}

/* Home feature strip icon scale — match approved mock */
.home-page .strip .icon{
  font-size:2.2rem;
  line-height:1;
  margin-bottom:1.2rem;
}
@media(max-width:820px){
  .home-page .strip .icon{font-size:1.9rem}
}

/* Home feature strip SVG icons */
.home-page .strip .icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:1.15rem;
}
.home-page .strip .icon svg{
  width:38px;
  height:38px;
  fill:none;
  stroke:var(--navy);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media(max-width:820px){
  .home-page .strip .icon,
  .home-page .strip .icon svg{width:32px;height:32px}
}

/* Home feature strip — approved mock presentation */
.home-page .strip{
  width:min(1220px,90vw);
  margin:0 auto;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.home-page .strip>div{
  min-height:210px;
  padding:2rem 1.8rem 1.9rem;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  border-right:1px solid var(--line);
}
.home-page .strip>div:last-child{border-right:0}
.home-page .strip .icon{
  width:42px;
  height:42px;
  margin:0 auto 1rem;
  justify-content:center;
}
.home-page .strip .icon svg{
  width:42px;
  height:42px;
  stroke-width:1.8;
}
.home-page .strip h3{
  font-size:1.12rem;
  line-height:1.12;
  margin:0 0 .65rem;
  max-width:180px;
}
.home-page .strip p{
  font-size:.86rem;
  line-height:1.5;
  margin:0;
  max-width:210px;
  color:#6f788d;
}
@media(max-width:820px){
  .home-page .strip>div{min-height:185px;padding:1.6rem 1.25rem}
  .home-page .strip .icon,
  .home-page .strip .icon svg{width:36px;height:36px}
  .home-page .strip h3{font-size:1.02rem}
  .home-page .strip p{font-size:.82rem}
}

/* Home feature strip final proportion tuning to approved mock */
.home-page .strip>div{
  min-height:168px;
  padding:1.45rem 1.25rem 1.35rem;
}
.home-page .strip .icon{
  width:30px;
  height:30px;
  margin:0 auto .8rem;
}
.home-page .strip .icon svg{
  width:30px;
  height:30px;
  stroke-width:1.75;
}
.home-page .strip h3{
  font-size:.98rem;
  line-height:1.08;
  margin:0 0 .5rem;
  max-width:155px;
  font-weight:400;
}
.home-page .strip p{
  font-size:.77rem;
  line-height:1.42;
  max-width:175px;
  color:#747d90;
}
@media(max-width:820px){
  .home-page .strip>div{min-height:158px;padding:1.35rem 1rem}
  .home-page .strip .icon,
  .home-page .strip .icon svg{width:28px;height:28px}
  .home-page .strip h3{font-size:.95rem}
  .home-page .strip p{font-size:.76rem}
}

/* Home feature strip balance — closer to approved mock */
.home-page .strip>div{
  min-height:196px;
  padding:1.8rem 1.45rem 1.65rem;
}
.home-page .strip .icon{
  width:36px;
  height:36px;
  margin:0 auto 1rem;
}
.home-page .strip .icon svg{
  width:36px;
  height:36px;
  stroke-width:1.8;
}
.home-page .strip h3{
  font-size:1.08rem;
  line-height:1.08;
  margin:0 0 .65rem;
  max-width:170px;
  font-weight:400;
}
.home-page .strip p{
  font-size:.84rem;
  line-height:1.48;
  max-width:190px;
  color:#747d90;
}
@media(max-width:820px){
  .home-page .strip>div{min-height:178px;padding:1.55rem 1.1rem}
  .home-page .strip .icon,
  .home-page .strip .icon svg{width:32px;height:32px}
  .home-page .strip h3{font-size:1rem}
  .home-page .strip p{font-size:.8rem}
}

/* Home hero composition: keep image compact and inset from right edge */
.home-page .hero-dark{
  background-size:100% 100%,auto 100%;
  background-position:center,calc(100% - 96px) center;
}
@media(max-width:1400px){
  .home-page .hero-dark{background-position:center,calc(100% - 64px) center;}
}
@media(max-width:1100px){
  .home-page .hero-dark{background-position:center,calc(100% - 36px) center;}
}
@media(max-width:820px){
  .home-page .hero-dark{
    background-size:100% 100%,auto 100%;
    background-position:center,72% center;
  }
}

/* Home feature strip: restore visual presence from approved mock */
.home-page .strip{
  width:min(1220px,90vw);
  margin:0 auto;
}
.home-page .strip>div{
  min-height:228px;
  padding:2.15rem 1.6rem 1.9rem;
}
.home-page .strip .icon{
  width:42px;
  height:42px;
  margin:0 auto 1.15rem;
}
.home-page .strip .icon svg{
  width:42px;
  height:42px;
  stroke-width:1.85;
}
.home-page .strip h3{
  font-size:1.18rem;
  line-height:1.08;
  margin:0 0 .75rem;
  max-width:180px;
  font-weight:400;
}
.home-page .strip p{
  font-size:.9rem;
  line-height:1.5;
  max-width:205px;
  color:#6f788d;
}
@media(max-width:820px){
  .home-page .strip>div{min-height:190px;padding:1.7rem 1.15rem}
  .home-page .strip .icon,
  .home-page .strip .icon svg{width:36px;height:36px}
  .home-page .strip h3{font-size:1.05rem}
  .home-page .strip p{font-size:.82rem}
}

/* Home hero seam fix: inset image with soft navy blend, no hard center edge */
.home-page .hero-dark{
  position:relative;
  overflow:hidden;
  background:#0B1736;
}
.home-page .hero-dark::before{
  content:"";
  position:absolute;
  top:0;
  right:5.5%;
  bottom:0;
  width:min(58vw,980px);
  background:url('moody_law_library_still_life.png') right center/auto 100% no-repeat;
  z-index:0;
}
.home-page .hero-dark::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,
    #0B1736 0%,
    rgba(11,23,54,.98) 33%,
    rgba(11,23,54,.86) 43%,
    rgba(11,23,54,.58) 53%,
    rgba(11,23,54,.26) 65%,
    rgba(11,23,54,.06) 82%,
    rgba(11,23,54,0) 100%);
  z-index:1;
  pointer-events:none;
}
.home-page .hero-dark .hero-grid{
  position:relative;
  z-index:2;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{right:4%;width:min(62vw,920px)}
}
@media(max-width:1100px){
  .home-page .hero-dark::before{right:2.5%;width:66vw}
}
@media(max-width:820px){
  .home-page .hero-dark::before{
    right:0;
    width:100%;
    background-position:68% center;
  }
  .home-page .hero-dark::after{
    background:linear-gradient(90deg,
      rgba(11,23,54,.94) 0%,
      rgba(11,23,54,.78) 45%,
      rgba(11,23,54,.38) 72%,
      rgba(11,23,54,.08) 100%);
  }
}

/* Home feature strip: +20% typography and increased height */
.home-page .strip>div{
  min-height:256px;
  padding:2.45rem 1.75rem 2.15rem;
}
.home-page .strip h3{
  font-size:1.42rem;
  line-height:1.08;
  margin-bottom:.85rem;
  max-width:205px;
}
.home-page .strip p{
  font-size:1.08rem;
  line-height:1.5;
  max-width:235px;
}
@media(max-width:820px){
  .home-page .strip>div{
    min-height:215px;
    padding:1.95rem 1.25rem;
  }
  .home-page .strip h3{font-size:1.26rem}
  .home-page .strip p{font-size:.98rem}
}

/* Home feature strip: +20% vertical spacing only */
.home-page .strip>div{
  padding-top:2.94rem;
  padding-bottom:2.58rem;
}
@media(max-width:820px){
  .home-page .strip>div{
    padding-top:2.34rem;
    padding-bottom:2.34rem;
  }
}

/* Home insight section — approved mock structure */
.home-page .home-insight{
  padding-top:3.25rem;
  padding-bottom:5.25rem;
}
.home-page .insight-grid{
  grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);
  gap:3.75rem;
  align-items:center;
}
.home-page .insight-image{
  overflow:hidden;
  min-height:360px;
  background:#eee8de;
}
.home-page .insight-image img{
  width:100%;
  height:100%;
  min-height:360px;
  display:block;
  object-fit:cover;
  object-position:center;
}
.home-page .insight-copy{max-width:560px}
.home-page .insight-copy h2{
  font-size:clamp(2.8rem,4vw,4.6rem);
  margin-bottom:1rem;
}
.home-page .insight-copy p{
  font-size:1.05rem;
  line-height:1.68;
  color:#5f687c;
  max-width:520px;
}
.home-page .insight-link{
  display:inline-block;
  margin-top:.4rem;
  color:var(--navy);
  font-weight:800;
  text-decoration:none;
}
@media(max-width:820px){
  .home-page .home-insight{padding-top:2.3rem;padding-bottom:4rem}
  .home-page .insight-grid{grid-template-columns:1fr;gap:2rem}
  .home-page .insight-image,
  .home-page .insight-image img{min-height:280px}
}

/* Home hero blend refinement — remove jarring middle gap */
.home-page .hero-dark::before{
  right:3.5%;
  width:min(67vw,1120px);
}
.home-page .hero-dark::after{
  background:
    linear-gradient(90deg,
      #0B1736 0%,
      rgba(11,23,54,.98) 24%,
      rgba(11,23,54,.90) 34%,
      rgba(11,23,54,.72) 43%,
      rgba(11,23,54,.48) 52%,
      rgba(11,23,54,.25) 62%,
      rgba(11,23,54,.10) 74%,
      rgba(11,23,54,.02) 88%,
      rgba(11,23,54,0) 100%);
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    right:2.5%;
    width:70vw;
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    right:1.5%;
    width:74vw;
  }
}

/* Home insight section spacing + eyebrow scale */
.home-page .home-insight{
  padding-top:1.625rem;
}
.home-page .insight-copy .eyebrow{
  font-size:.86rem;
  letter-spacing:.20em;
  margin-bottom:.55rem;
}

/* Home insight image + eyebrow refinement */
.home-page .insight-grid{
  grid-template-columns:minmax(255px,.70fr) minmax(0,1.30fr);
}
.home-page .insight-image{
  min-height:306px;
  max-width:85%;
}
.home-page .insight-image img{
  min-height:306px;
}
.home-page .insight-copy .eyebrow{
  font-size:.95rem;
}
@media(max-width:820px){
  .home-page .insight-grid{grid-template-columns:1fr}
  .home-page .insight-image{
    max-width:100%;
    min-height:240px;
  }
  .home-page .insight-image img{min-height:240px}
}

/* Home hero alignment: start image beneath headline rather than far right */
.home-page .hero-dark::before{
  right:auto;
  left:36%;
  width:64%;
  background-position:left center;
}
.home-page .hero-dark::after{
  background:linear-gradient(90deg,
    #0B1736 0%,
    rgba(11,23,54,.98) 22%,
    rgba(11,23,54,.88) 31%,
    rgba(11,23,54,.66) 40%,
    rgba(11,23,54,.42) 49%,
    rgba(11,23,54,.20) 59%,
    rgba(11,23,54,.07) 70%,
    rgba(11,23,54,0) 82%);
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    left:34%;
    width:66%;
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    left:31%;
    width:69%;
  }
}
@media(max-width:820px){
  .home-page .hero-dark::before{
    left:0;
    width:100%;
    background-position:62% center;
  }
}

/* Home hero final alignment: image begins beneath headline */
.home-page .hero-dark::before{
  left:23%;
  width:77%;
  background-position:left center;
}
.home-page .hero-dark::after{
  background:linear-gradient(90deg,
    #0B1736 0%,
    rgba(11,23,54,.98) 18%,
    rgba(11,23,54,.90) 26%,
    rgba(11,23,54,.76) 34%,
    rgba(11,23,54,.58) 42%,
    rgba(11,23,54,.40) 50%,
    rgba(11,23,54,.24) 59%,
    rgba(11,23,54,.12) 68%,
    rgba(11,23,54,.05) 78%,
    rgba(11,23,54,0) 90%);
}
@media(max-width:1400px){
  .home-page .hero-dark::before{left:21%;width:79%}
}
@media(max-width:1100px){
  .home-page .hero-dark::before{left:18%;width:82%}
}

/* Home Singapore section — approved mock image-backed treatment */
.home-page .singapore-band{
  position:relative;
  overflow:hidden;
  color:#fff;
  padding:5.3rem 0;
  background:#0B1736;
}
.home-page .singapore-band::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(11,23,54,.86) 0%,
      rgba(11,23,54,.74) 36%,
      rgba(11,23,54,.44) 62%,
      rgba(11,23,54,.18) 100%),
    url('Golden-Hour Courthouse Colonnade.png') center/cover no-repeat;
}
.home-page .singapore-band-inner{
  position:relative;
  z-index:1;
}
.home-page .singapore-copy{
  max-width:620px;
  margin-left:auto;
}
.home-page .singapore-band h2{
  color:#fff;
  font-size:clamp(2.8rem,4.4vw,4.8rem);
  margin-bottom:1rem;
}
.home-page .singapore-band p{
  color:#eef1f7;
  max-width:520px;
  font-size:1.02rem;
  line-height:1.65;
}
@media(max-width:820px){
  .home-page .singapore-band{padding:4rem 0}
  .home-page .singapore-copy{margin-left:0;max-width:100%}
  .home-page .singapore-band::before{
    background:
      linear-gradient(90deg,rgba(11,23,54,.90),rgba(11,23,54,.58)),
      url('Golden-Hour Courthouse Colonnade.png') 38% center/cover no-repeat;
  }
}

/* Home header containment fix */
.home-page>header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--navy);
  overflow:visible;
}
.home-page .nav{
  height:86px;
  min-height:86px;
  padding-top:0;
  padding-bottom:0;
  align-items:center;
}
.home-page .nav .brand{
  align-items:center;
  min-height:58px;
}
.home-page .nav .brand img{
  width:44px;
  height:44px;
  flex:0 0 44px;
}
.home-page .nav .brand-copy{
  justify-content:center;
  min-height:48px;
}
.home-page .nav .brand-name{
  font-size:1.95rem;
  line-height:1;
  padding-top:1px;
}
.home-page .nav .brand-tag{
  margin-top:.32rem;
  line-height:1;
}
.home-page .navlinks{
  align-self:stretch;
  display:flex;
  align-items:center;
}
.home-page .navlinks a.active:after{
  bottom:10px;
}
@media(max-width:820px){
  .home-page .nav{
    height:74px;
    min-height:74px;
  }
}

/* Home hero position correction: pull image back to the right */
.home-page .hero-dark::before{
  left:30%;
  width:70%;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{left:28%;width:72%}
}
@media(max-width:1100px){
  .home-page .hero-dark::before{left:25%;width:75%}
}

/* Home hero: remove empty right navy strip without stretching image */
.home-page .hero-dark::before{
  left:23%;
  width:77%;
  right:0;
  background-position:right center;
  background-size:auto 100%;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    left:21%;
    width:79%;
    right:0;
    background-position:right center;
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    left:18%;
    width:82%;
    right:0;
    background-position:right center;
  }
}

/* Home hero: restore intentional right breathing room */
.home-page .hero-dark::before{
  left:23%;
  right:clamp(72px,7vw,120px);
  width:auto;
  background-position:right center;
  background-size:auto 100%;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    left:21%;
    right:clamp(56px,6vw,92px);
    width:auto;
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    left:18%;
    right:36px;
    width:auto;
  }
}
@media(max-width:820px){
  .home-page .hero-dark::before{
    left:0;
    right:0;
    width:auto;
  }
}

/* Home hero: shift image substantially further left */
.home-page .hero-dark::before{
  left:8%;
  right:clamp(72px,7vw,120px);
  width:auto;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    left:6%;
    right:clamp(56px,6vw,92px);
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    left:4%;
    right:36px;
  }
}

/* Home hero: move the actual photo left, not just its container */
.home-page .hero-dark::before{
  left:8%;
  right:clamp(72px,7vw,120px);
  width:auto;
  background-position:calc(100% - 220px) center;
  background-size:auto 100%;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    left:6%;
    right:clamp(56px,6vw,92px);
    background-position:calc(100% - 160px) center;
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    left:4%;
    right:36px;
    background-position:calc(100% - 100px) center;
  }
}

/* Home hero: shift actual photo another 100px left */
.home-page .hero-dark::before{
  background-position:calc(100% - 320px) center;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    background-position:calc(100% - 260px) center;
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    background-position:calc(100% - 200px) center;
  }
}

/* Home hero: move actual photo 30px back right */
.home-page .hero-dark::before{
  background-position:calc(100% - 290px) center;
}
@media(max-width:1400px){
  .home-page .hero-dark::before{
    background-position:calc(100% - 230px) center;
  }
}
@media(max-width:1100px){
  .home-page .hero-dark::before{
    background-position:calc(100% - 170px) center;
  }
}

/* Home: reduce gap between feature strip and insight section by 20% */
.home-page .home-insight{
  padding-top:1.3rem;
}

/* Home: correct spacing target — restore insight top, reduce gap before Singapore section */
.home-page .home-insight{
  padding-top:1.625rem;
  padding-bottom:4.2rem;
}

/* Home: add 30px above From Search to Insight */
.home-page .home-insight{
  padding-top:calc(1.625rem + 30px);
}

/* Home: equalize section rhythm below Singapore band */
.home-page .singapore-band + .soft{
  padding-top:4.2rem;
}

/* Home eyebrow consistency */
.home-page .singapore-band .eyebrow,
.home-page .soft .eyebrow{
  font-size:.95rem;
  letter-spacing:.20em;
}

/* Home: reduce pilot section bottom gap before footer */
.home-page .singapore-band + .soft{
  padding-bottom:3.2rem;
}

/* Final homepage copy/layout overrides */
.home-page .hero-dark{
  background:
    linear-gradient(90deg,
      rgba(11,23,54,.96) 0%,
      rgba(11,23,54,.90) 30%,
      rgba(11,23,54,.68) 48%,
      rgba(11,23,54,.30) 68%,
      rgba(11,23,54,.08) 86%,
      rgba(11,23,54,0) 100%),
    url('moody_law_library_still_life.png') right center/cover no-repeat;
}
.home-page .hero-dark::before,
.home-page .hero-dark::after{display:none!important}
.home-page .navlinks a.active{
  text-decoration:none!important;
}
.home-page .navlinks a.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  height:2px;
  background:var(--gold);
}
.home-page .hero-actions{display:block}
.home-page .home-insight{
  padding-top:calc(1.625rem + 30px);
  padding-bottom:4.2rem;
}
.home-page .insight-grid{
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:4.25rem;
  align-items:center;
}
.home-page .insight-copy{
  max-width:520px;
}
.home-page .insight-copy h2{
  font-size:clamp(2.8rem,4vw,4.6rem);
}
.home-page .why-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  box-shadow:0 18px 46px rgba(26,39,86,.08);
  padding:1.75rem;
}
.home-page .why-panel h3{
  margin-bottom:.85rem;
  font-size:1.45rem;
}
.home-page .why-row{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:1rem;
  align-items:start;
  padding:1rem 0;
  border-top:1px solid var(--line);
}
.home-page .why-row:first-of-type{border-top:0}
.home-page .why-icon{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.home-page .why-icon svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:var(--navy);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.home-page .why-row strong{
  display:block;
  color:var(--navy);
  margin-bottom:.2rem;
}
.home-page .why-row span{
  display:block;
  color:var(--muted);
  line-height:1.45;
}
.home-page .match-meter{
  display:flex;
  align-items:center;
  gap:.35rem;
  margin-top:.55rem;
}
.home-page .match-meter i{
  width:34px;
  height:6px;
  border-radius:999px;
  background:var(--gold);
}
.home-page .match-meter i.muted{background:#E8E3D9}
.home-page .match-meter b{
  margin-left:.45rem;
  color:var(--navy);
  font-size:.85rem;
}
.home-page .home-pilot-cta .btn{
  margin-top:.65rem;
}
@media(max-width:820px){
  .home-page .insight-grid{grid-template-columns:1fr;gap:2rem}
}

/* Mobile Home containment + CTA fix */
@media(max-width:820px){
  html, body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .home-page>header{
    width:100%;
    overflow:hidden;
  }

  .home-page .nav{
    width:90vw;
    max-width:100%;
    height:72px;
    min-height:72px;
    padding:0;
  }

  .home-page .navlinks{
    display:none!important;
  }

  .home-page .menubtn{
    display:block!important;
    color:#fff;
    font-size:1.35rem;
    line-height:1;
    margin-left:auto;
  }

  .home-page .nav .brand{
    min-width:0;
    max-width:calc(100% - 52px);
  }

  .home-page .nav .brand img{
    width:36px;
    height:36px;
    flex-basis:36px;
  }

  .home-page .nav .brand-name{
    font-size:1.55rem;
  }

  .home-page .hero-dark{
    width:100%;
    min-height:auto;
    background-position:72% center;
  }

  .home-page .hero-grid{
    width:90vw;
    max-width:100%;
    grid-template-columns:1fr;
    min-height:auto;
  }

  .home-page .hero-copy{
    width:100%;
    max-width:100%;
    padding:3.6rem 0 4rem;
  }

  .home-page .hero-copy h1{
    max-width:100%;
    font-size:clamp(2.75rem,12vw,4rem);
    line-height:1.02;
    overflow-wrap:normal;
  }

  .home-page .lead{
    max-width:100%;
    font-size:1rem;
    line-height:1.55;
  }

  .home-page .hero-actions{
    width:100%;
    margin-top:1.35rem;
  }

  .home-page .hero-actions .btn{
    width:100%;
    max-width:320px;
    min-height:52px;
    padding:1rem 1.1rem;
    font-size:.95rem;
    white-space:nowrap;
  }

  .home-page .hero-grid>div:last-child{
    display:none;
  }

  .home-page .strip,
  .home-page .home-insight,
  .home-page .singapore-band,
  .home-page .home-pilot-cta,
  .home-page .footer{
    max-width:100%;
    overflow-x:hidden;
  }
}

/* Pilot hero — approved mock direction */
.pilot-page .pilot-hero{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(90deg,
      rgba(11,23,54,.97) 0%,
      rgba(11,23,54,.92) 30%,
      rgba(11,23,54,.72) 48%,
      rgba(11,23,54,.35) 68%,
      rgba(11,23,54,.08) 88%,
      rgba(11,23,54,0) 100%),
    url('pilot-hero-singapore-legal-office.png') right center/cover no-repeat;
}
.pilot-page .pilot-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);
  min-height:610px;
  align-items:center;
}
.pilot-page .pilot-hero .hero-copy{
  max-width:650px;
  padding:5.4rem 0 5.8rem;
}
.pilot-page .pilot-hero h1{
  color:#fff;
  font-size:clamp(3.2rem,5.5vw,5.5rem);
  line-height:1.02;
  margin-bottom:1.2rem;
}
.pilot-page .pilot-hero .lead{
  max-width:620px;
  color:#eef1f7;
  font-size:1.08rem;
  line-height:1.68;
  margin-bottom:1.8rem;
}
.pilot-page .pilot-hero .eyebrow{
  color:var(--gold);
  margin-bottom:.7rem;
}
@media(max-width:820px){
  .pilot-page .pilot-hero{
    background:
      linear-gradient(90deg,
        rgba(11,23,54,.94) 0%,
        rgba(11,23,54,.82) 48%,
        rgba(11,23,54,.46) 78%,
        rgba(11,23,54,.18) 100%),
      url('pilot-hero-singapore-legal-office.png') 68% center/cover no-repeat;
  }
  .pilot-page .pilot-hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .pilot-page .pilot-hero .hero-copy{
    padding:4.2rem 0 4.6rem;
    max-width:none;
  }
  .pilot-page .pilot-hero h1{
    font-size:clamp(2.9rem,12vw,4.2rem);
  }
  .pilot-page .pilot-hero .lead{
    font-size:1rem;
    line-height:1.58;
  }
  .pilot-page .pilot-hero .btn{
    width:100%;
    max-width:320px;
  }
  .pilot-page .pilot-hero-grid>div:last-child{
    display:none;
  }
}

/* Pilot entails — approved mock structure */
.pilot-page .pilot-entails{
  padding-top:5rem;
  padding-bottom:4.8rem;
}
.pilot-page .pilot-entails-grid{
  display:grid;
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
  gap:4.5rem;
  align-items:center;
}
.pilot-page .pilot-entails-image{
  overflow:hidden;
  background:#eee8de;
  min-height:480px;
}
.pilot-page .pilot-entails-image img{
  display:block;
  width:100%;
  height:100%;
  min-height:480px;
  object-fit:cover;
  object-position:center;
}
.pilot-page .pilot-entails-copy .eyebrow{
  margin-bottom:1.2rem;
}
.pilot-page .pilot-entails-list{
  display:grid;
  gap:0;
}
.pilot-page .pilot-entails-list>div{
  padding:1.15rem 0 1.2rem;
  border-top:1px solid var(--line);
}
.pilot-page .pilot-entails-list>div:first-child{
  border-top:0;
  padding-top:.35rem;
}
.pilot-page .pilot-entails-list h3{
  font-size:1.42rem;
  margin-bottom:.45rem;
}
.pilot-page .pilot-entails-list p{
  margin:0;
  color:var(--muted);
  max-width:560px;
}
.pilot-page .pilot-entails .timeline{
  margin-top:4rem;
}
@media(max-width:820px){
  .pilot-page .pilot-entails{padding:4rem 0}
  .pilot-page .pilot-entails-grid{
    grid-template-columns:1fr;
    gap:2.25rem;
  }
  .pilot-page .pilot-entails-image,
  .pilot-page .pilot-entails-image img{
    min-height:340px;
  }
  .pilot-page .pilot-entails .timeline{
    margin-top:3rem;
  }
}

/* Pilot closing CTA — approved mock direction */
.pilot-page .pilot-closing-cta{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(90deg,
      rgba(11,23,54,.97) 0%,
      rgba(11,23,54,.90) 34%,
      rgba(11,23,54,.70) 56%,
      rgba(11,23,54,.28) 78%,
      rgba(11,23,54,.08) 100%),
    url('pilot-entails-lawyer-document-review..png') right 42%/cover no-repeat;
}
.pilot-page .pilot-closing-grid{
  display:grid;
  grid-template-columns:minmax(0,620px) 1fr;
  align-items:center;
  min-height:360px;
}
.pilot-page .pilot-closing-cta .eyebrow{
  color:var(--gold);
  margin-bottom:.75rem;
}
.pilot-page .pilot-closing-cta h2{
  color:#fff;
  font-size:clamp(2.5rem,4.4vw,4.3rem);
  line-height:1.06;
  margin-bottom:.85rem;
}
.pilot-page .pilot-closing-cta p{
  color:#eef1f7;
  max-width:520px;
  margin-bottom:1.4rem;
  font-size:1.05rem;
}
@media(max-width:820px){
  .pilot-page .pilot-closing-cta{
    background:
      linear-gradient(90deg,
        rgba(11,23,54,.95) 0%,
        rgba(11,23,54,.83) 55%,
        rgba(11,23,54,.58) 100%),
      url('pilot-entails-lawyer-document-review..png') 68% center/cover no-repeat;
  }
  .pilot-page .pilot-closing-grid{
    grid-template-columns:1fr;
    min-height:auto;
    padding-top:4rem;
    padding-bottom:4.2rem;
  }
  .pilot-page .pilot-closing-cta .btn{
    width:100%;
    max-width:320px;
  }
}

/* Shared mobile navigation */
@media(max-width:820px){
  .nav{
    position:relative;
    z-index:1100;
  }
  .menubtn{
    cursor:pointer;
    user-select:none;
  }
  .nav.menu-open .navlinks{
    display:flex!important;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:.7rem 0 1rem;
    background:#fff;
    border-top:1px solid var(--line);
    box-shadow:0 18px 32px rgba(26,39,86,.14);
  }
  .nav.menu-open .navlinks a{
    display:block;
    padding:.9rem 1rem;
    font-size:.95rem;
    color:var(--navy);
  }
  .nav.menu-open .navlinks .cta{
    margin:.45rem 1rem 0;
    text-align:center;
    color:#fff;
  }
  .home-page .nav.menu-open .navlinks{
    display:flex!important;
  }
}

/* Features hero — approved editorial direction */
.features-page .features-hero{
  background:#f7f4ee;
  overflow:hidden;
}
.features-page .features-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(420px,1.14fr);
  gap:4.5rem;
  align-items:center;
  min-height:610px;
}
.features-page .features-hero-copy{
  padding:5.2rem 0 5.6rem;
  max-width:610px;
}
.features-page .features-hero-copy .eyebrow{
  margin-bottom:.75rem;
}
.features-page .features-hero h1{
  font-size:clamp(3.2rem,5.2vw,5.25rem);
  line-height:1.02;
  margin-bottom:1.2rem;
  color:var(--navy);
}
.features-page .features-hero .lead{
  max-width:590px;
  font-size:1.08rem;
  line-height:1.66;
}
.features-page .features-hero-visual{
  padding:3.5rem 0;
}
.features-page .features-hero-visual .feature-photo-wrap{
  position:relative;
  min-height:470px;
  overflow:hidden;
  border-radius:10px;
  box-shadow:0 22px 54px rgba(26,39,86,.16);
}
.features-page .features-hero-visual .feature-photo{
  width:100%;
  height:100%;
  min-height:470px;
  object-fit:cover;
  object-position:center;
  display:block;
}
.features-page .feature-ui-overlay-hero{
  position:absolute;
  right:5%;
  bottom:6%;
  width:min(76%,520px);
  background:rgba(255,255,255,.97);
  border:1px solid #D8DDE6;
  border-radius:10px;
  padding:1rem;
  box-shadow:0 16px 36px rgba(26,39,86,.18);
}
.features-page .feature-ui-overlay-hero .feature-ui-head{
  font-weight:800;
  color:var(--navy);
  margin-bottom:.7rem;
}
.features-page .feature-ui-overlay-hero .result{
  margin-bottom:.6rem;
  padding:.8rem;
}
.features-page .feature-ui-overlay-hero .result:last-child{
  margin-bottom:0;
}
.features-page .feature-ui-overlay-hero .result strong{
  font-size:.88rem;
  line-height:1.35;
}
.features-page .feature-ui-overlay-hero .result span:not(.badge){
  font-size:.78rem;
  color:var(--muted);
}
@media(max-width:820px){
  .features-page .features-hero-grid{
    grid-template-columns:1fr;
    gap:0;
    min-height:auto;
  }
  .features-page .features-hero-copy{
    padding:4rem 0 2.4rem;
    max-width:none;
  }
  .features-page .features-hero h1{
    font-size:clamp(2.9rem,12vw,4.2rem);
  }
  .features-page .features-hero .lead{
    font-size:1rem;
    line-height:1.58;
  }
  .features-page .features-hero-visual{
    padding:0 0 3.5rem;
  }
  .features-page .features-hero-visual .feature-photo-wrap,
  .features-page .features-hero-visual .feature-photo{
    min-height:360px;
  }
  .features-page .feature-ui-overlay-hero{
    left:5%;
    right:5%;
    bottom:5%;
    width:auto;
  }
}

/* Features cards — clearer section contrast */
.features-page .features-grid-section{
  background:#fff;
  border-top:1px solid var(--line);
  padding-top:5rem;
  padding-bottom:5rem;
}
.features-page .features-cards{
  gap:1.35rem;
}
.features-page .features-cards .card{
  position:relative;
  min-height:195px;
  padding:2rem 2rem 1.9rem;
  border:1px solid #DDE1E8;
  border-radius:8px;
  box-shadow:none;
}
.features-page .features-cards .card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:var(--gold);
}
.features-page .feature-number{
  margin-bottom:.8rem;
  color:var(--gold);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.14em;
}
.features-page .features-cards h3{
  margin-bottom:.65rem;
  font-size:1.42rem;
}
.features-page .features-cards p{
  margin:0;
  max-width:500px;
  color:var(--muted);
  line-height:1.55;
}

/* Features product view — dark contrast section */
.features-page .features-product-section{
  background:var(--navy);
  color:#fff;
  padding-top:5.4rem;
  padding-bottom:5.4rem;
}
.features-page .features-product-section .product-showcase{
  grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  gap:5rem;
}
.features-page .features-product-section .eyebrow{
  color:var(--gold);
}
.features-page .features-product-section h2{
  color:#fff;
  font-size:clamp(2.8rem,4.4vw,4.5rem);
  line-height:1.06;
  margin-bottom:1rem;
}
.features-page .features-product-section p{
  max-width:470px;
  color:#DCE2F0;
  line-height:1.65;
}
.features-page .product-interface{
  background:#F8F9FC;
  color:var(--navy);
  border:1px solid rgba(255,255,255,.22);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 24px 55px rgba(0,0,0,.22);
}
.features-page .product-interface-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1rem 1.25rem;
  background:#fff;
  border-bottom:1px solid #DDE1E8;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
}
.features-page .product-count{
  color:var(--muted);
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
}
.features-page .product-result{
  display:flex;
  justify-content:space-between;
  gap:1.25rem;
  align-items:center;
  margin:1rem 1.15rem;
  padding:1.2rem;
  background:#fff;
  border:1px solid #DDE1E8;
  border-radius:8px;
}
.features-page .product-result strong{
  display:block;
  line-height:1.38;
  margin-bottom:.35rem;
}
.features-page .product-result div>span{
  display:block;
  color:var(--muted);
  font-size:.86rem;
}
.features-page .product-result>.badge{
  flex:0 0 auto;
}
@media(max-width:820px){
  .features-page .features-grid-section{
    padding:4rem 0;
  }
  .features-page .features-cards .card{
    min-height:0;
  }
  .features-page .features-product-section{
    padding:4.2rem 0;
  }
  .features-page .features-product-section .product-showcase{
    grid-template-columns:1fr;
    gap:2.4rem;
  }
  .features-page .product-result{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* Features dark section rhythm + closing CTA */
.features-page .features-product-section{
  padding-top:4.8rem;
  padding-bottom:4.2rem;
}
.features-page .features-closing-cta{
  background:#17234d;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.14);
}
.features-page .features-closing-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3rem;
  align-items:center;
  padding-top:3.6rem;
  padding-bottom:3.8rem;
}
.features-page .features-closing-cta .eyebrow{
  color:var(--gold);
  margin-bottom:.55rem;
}
.features-page .features-closing-cta h2{
  color:#fff;
  font-size:clamp(2.4rem,3.8vw,3.8rem);
  line-height:1.05;
  margin-bottom:.7rem;
}
.features-page .features-closing-cta p{
  margin:0;
  color:#DCE2F0;
  font-size:1rem;
}
.features-page .features-closing-action{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.features-page .features-closing-action .btn{
  white-space:nowrap;
}
@media(max-width:820px){
  .features-page .features-product-section{
    padding-top:4rem;
    padding-bottom:3.6rem;
  }
  .features-page .features-closing-inner{
    grid-template-columns:1fr;
    gap:1.5rem;
    padding-top:3.2rem;
    padding-bottom:3.4rem;
  }
  .features-page .features-closing-action{
    justify-content:flex-start;
  }
  .features-page .features-closing-action .btn{
    width:100%;
    max-width:320px;
  }
}

/* Registration — approved pilot journey direction */
.register-page .register-welcome{
  background:#f7f4ee;
  border-top:1px solid var(--line);
  padding:2.2rem 0 4.8rem;
}
.register-page .register-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
  margin-bottom:2.5rem;
  color:var(--muted);
  font-size:.88rem;
  font-weight:700;
}
.register-page .register-steps>div{
  display:flex;
  align-items:center;
  gap:.55rem;
}
.register-page .register-steps span{
  width:28px;height:28px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #d4d9e1;background:#fff;color:var(--navy);
  font-size:.78rem;
}
.register-page .register-steps .active{color:var(--navy)}
.register-page .register-steps .active span{
  background:var(--gold);border-color:var(--gold);color:var(--navy);
}
.register-page .register-steps .done span{
  background:var(--navy);border-color:var(--navy);color:#fff;
}
.register-page .register-welcome-grid{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(460px,1.18fr);
  gap:4.5rem;
  align-items:center;
}
.register-page .register-welcome-copy h1{
  font-size:clamp(3.1rem,5vw,5rem);
  line-height:1.02;
  margin-bottom:1.2rem;
}
.register-page .register-welcome-copy p{
  max-width:600px;
  color:var(--muted);
  line-height:1.65;
}
.register-page .register-welcome-copy .btn{margin-top:.6rem}
.register-page .register-welcome-visual{
  position:relative;
  min-height:460px;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 22px 54px rgba(26,39,86,.14);
}
.register-page .register-welcome-visual img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.register-page .register-process{
  position:absolute;
  left:4%;right:4%;bottom:4%;
  padding:1rem 1.1rem;
  background:rgba(247,244,238,.96);
  border:1px solid rgba(26,39,86,.1);
  border-radius:8px;
}
.register-page .register-process>strong{
  display:block;margin-bottom:.7rem;color:var(--navy);
}
.register-page .register-process-row{
  display:grid;grid-template-columns:repeat(6,1fr);gap:.55rem;
}
.register-page .register-process-row span{
  font-size:.68rem;line-height:1.25;color:var(--navy);font-weight:700;
}
.register-page .register-form-section{background:#fff}
.register-page .register-steps-form{margin-bottom:3rem}
.register-page .register-form-grid{
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(520px,1.28fr);
  gap:4.5rem;
  align-items:start;
}
.register-page .register-form-intro h2{
  font-size:clamp(2.7rem,4vw,4rem);
  line-height:1.04;
  margin-bottom:1rem;
}
.register-page .register-form-intro>p{
  color:var(--muted);line-height:1.6;max-width:500px;
}
.register-page .register-note{
  margin-top:2rem;padding:1.4rem 1.5rem;border-left:3px solid var(--gold);
  background:#f7f4ee;
}
.register-page .register-note h3{margin-bottom:.8rem}
.register-page .register-note p{font-size:.9rem;margin:.55rem 0;color:var(--muted)}
.register-page .register-form-card{
  padding:2rem;
  background:#fff;
  border:1px solid #dde1e8;
  box-shadow:0 18px 44px rgba(26,39,86,.08);
}
.register-page .register-form-card h3{margin:0 0 .5rem}
.register-page .register-consent{font-weight:500;line-height:1.45}
.register-page .register-consent input{margin-right:.55rem}
@media(max-width:820px){
  .register-page .register-welcome{padding:1.5rem 0 3.5rem}
  .register-page .register-steps{grid-template-columns:1fr 1fr;gap:.75rem 1rem}
  .register-page .register-welcome-grid,
  .register-page .register-form-grid{grid-template-columns:1fr;gap:2.2rem}
  .register-page .register-welcome-visual{min-height:360px}
  .register-page .register-process-row{grid-template-columns:repeat(2,1fr);gap:.7rem}
  .register-page .register-form-card{padding:1.3rem}
}

/* Pilot timeline — match approved mock */
.pilot-page .pilot-timeline{
  margin-top:4.4rem;
}
.pilot-page .pilot-timeline>.eyebrow{
  margin-bottom:1.6rem;
}
.pilot-page .pilot-timeline-track{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}
.pilot-page .pilot-timeline-track:before{
  content:"";
  position:absolute;
  left:12.5%;
  right:12.5%;
  top:19px;
  height:1px;
  background:#AEB7C7;
  z-index:0;
}
.pilot-page .pilot-timeline-step{
  position:relative;
  z-index:1;
  text-align:center;
  padding:0 .7rem;
}
.pilot-page .pilot-timeline-dot{
  width:38px;
  height:38px;
  margin:0 auto 1rem;
  border:2px solid #72819B;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:var(--navy);
  font-weight:800;
  font-size:.92rem;
}
.pilot-page .pilot-timeline-step h3{
  margin:0 0 .38rem;
  font-family:Inter,Arial,sans-serif;
  font-size:.96rem;
  line-height:1.25;
  font-weight:800;
  color:var(--navy);
}
.pilot-page .pilot-timeline-step p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.35;
}
@media(max-width:820px){
  .pilot-page .pilot-timeline{
    margin-top:3.2rem;
  }
  .pilot-page .pilot-timeline-track{
    grid-template-columns:1fr;
    gap:1.3rem;
  }
  .pilot-page .pilot-timeline-track:before{
    left:19px;
    right:auto;
    top:19px;
    bottom:19px;
    width:1px;
    height:auto;
  }
  .pilot-page .pilot-timeline-step{
    display:grid;
    grid-template-columns:38px 1fr;
    column-gap:1rem;
    text-align:left;
    padding:0;
  }
  .pilot-page .pilot-timeline-dot{
    grid-row:1 / span 2;
    margin:0;
  }
  .pilot-page .pilot-timeline-step h3{
    margin-top:.05rem;
  }
}

/* Features hero — restore approved mock hierarchy */
.features-page .features-hero{
  background:#f7f4ee;
  border-bottom:1px solid var(--line);
}
.features-page .features-hero-simple{
  min-height:430px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:4.8rem 0 5rem;
  max-width:760px;
}
.features-page .features-hero-simple .eyebrow{
  margin-bottom:.85rem;
}
.features-page .features-hero-simple h1{
  font-size:clamp(3.2rem,5.2vw,5.25rem);
  line-height:1.03;
  margin-bottom:1.15rem;
  color:var(--navy);
}
.features-page .features-hero-simple .lead{
  max-width:690px;
  font-size:1.08rem;
  line-height:1.66;
  color:var(--muted);
}
.features-page .features-hero-grid,
.features-page .features-hero-visual,
.features-page .feature-ui-overlay-hero{
  display:none!important;
}
@media(max-width:820px){
  .features-page .features-hero-simple{
    min-height:auto;
    padding:4rem 0;
  }
  .features-page .features-hero-simple h1{
    font-size:clamp(2.9rem,12vw,4.2rem);
  }
  .features-page .features-hero-simple .lead{
    font-size:1rem;
    line-height:1.58;
  }
}

/* Registration pilot process — separate strip, not photo overlay */
.register-page .register-process{display:none!important}
.register-page .register-process-strip{
  margin-top:-1.4rem;
  margin-bottom:4.4rem;
  padding:1.35rem 1.5rem 1.45rem;
  background:#f7f4ee;
  border:1px solid #ded9cf;
  border-radius:8px;
}
.register-page .register-process-title{
  margin-bottom:1rem;
  font-weight:800;
  color:var(--navy);
}
.register-page .register-process-steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:1rem;
}
.register-page .register-process-steps:before{
  content:"";
  position:absolute;
  left:8.5%;
  right:8.5%;
  top:16px;
  height:1px;
  background:#c6ccd6;
}
.register-page .register-process-steps>div{
  position:relative;
  z-index:1;
  text-align:center;
}
.register-page .register-process-steps span{
  width:32px;
  height:32px;
  margin:0 auto .65rem;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #aeb7c7;
  color:var(--navy);
  font-size:.78rem;
  font-weight:800;
}
.register-page .register-process-steps b{
  display:block;
  max-width:130px;
  margin:0 auto;
  color:var(--navy);
  font-size:.76rem;
  line-height:1.25;
}
@media(max-width:820px){
  .register-page .register-process-strip{
    margin-top:-.5rem;
    margin-bottom:3.2rem;
  }
  .register-page .register-process-steps{
    grid-template-columns:1fr 1fr;
    gap:1rem 1.25rem;
  }
  .register-page .register-process-steps:before{
    display:none;
  }
  .register-page .register-process-steps>div{
    text-align:left;
    display:grid;
    grid-template-columns:32px 1fr;
    gap:.7rem;
    align-items:center;
  }
  .register-page .register-process-steps span{
    margin:0;
  }
  .register-page .register-process-steps b{
    margin:0;
    max-width:none;
  }
}

/* Registration — canonical single-page form */
.register-page .register-welcome,
.register-page .register-process-strip,
.register-page .register-form-section,
.register-page .register-steps{
  display:none!important;
}
.register-page .register-single{
  background:#f7f4ee;
  padding-top:5rem;
  padding-bottom:5.2rem;
}
.register-page .register-single-grid{
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(560px,1.28fr);
  gap:5rem;
  align-items:start;
}
.register-page .register-single-intro{
  padding-top:1rem;
}
.register-page .register-single-intro h1{
  font-size:clamp(3.2rem,5vw,5rem);
  line-height:1.02;
  margin-bottom:1.15rem;
}
.register-page .register-single-intro>p{
  max-width:500px;
  color:var(--muted);
  line-height:1.65;
}
.register-page .register-points{
  margin-top:2.2rem;
  display:grid;
  gap:1.25rem;
}
.register-page .register-points>div{
  padding-left:1.15rem;
  border-left:3px solid var(--gold);
}
.register-page .register-points strong{
  display:block;
  margin-bottom:.2rem;
  color:var(--navy);
}
.register-page .register-points span{
  display:block;
  max-width:430px;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.45;
}
.register-page .register-single-card{
  padding:2rem;
  background:#fff;
  border:1px solid #dde1e8;
  box-shadow:0 18px 44px rgba(26,39,86,.08);
}
.register-page .register-form-heading h3{
  margin:0;
  font-size:1.3rem;
}
.register-page .register-form-divider{
  margin-top:.5rem;
  padding-top:1.35rem;
  border-top:1px solid var(--line);
}
.register-page .register-single-card textarea{
  min-height:90px;
  resize:vertical;
}
.register-page .register-consent{
  font-weight:500;
  line-height:1.5;
}
.register-page .register-consent input{
  margin-right:.55rem;
}
@media(max-width:820px){
  .register-page .register-single{
    padding:4rem 0;
  }
  .register-page .register-single-grid{
    grid-template-columns:1fr;
    gap:2.5rem;
  }
  .register-page .register-single-card{
    padding:1.3rem;
  }
}

/* Final mock corrections: Pilot / Features / Registration */
.navlinks a.active{
  position:relative;
}
.navlinks a.active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-8px;
  height:2px;
  background:var(--gold);
}

/* Features cards: approved icon treatment */
.features-page .features-cards .card{
  padding:1.75rem 1.75rem 1.8rem;
}
.features-page .features-cards .card:before{
  display:none;
}
.features-page .feature-number{
  display:none;
}
.features-page .feature-card-icon{
  width:34px;
  height:34px;
  margin-bottom:1rem;
}
.features-page .feature-card-icon svg{
  width:32px;
  height:32px;
  fill:none;
  stroke:var(--navy);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Features: approved Designed for Practice layout */
.features-page .features-product-section{
  background:#fff;
  color:var(--ink);
  padding:5.2rem 0;
}
.features-page .features-product-section .product-showcase{
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:4.75rem;
  align-items:center;
}
.features-page .features-practice-image{
  overflow:hidden;
  border-radius:8px;
  min-height:420px;
  box-shadow:0 18px 44px rgba(26,39,86,.12);
}
.features-page .features-practice-image img{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
}
.features-page .features-product-section .eyebrow{
  color:var(--gold);
}
.features-page .features-product-section h2{
  color:var(--navy);
  font-size:clamp(2.8rem,4.1vw,4.25rem);
}
.features-page .features-product-section p{
  color:var(--muted);
  max-width:520px;
}
.features-page .product-interface{
  display:none!important;
}
@media(max-width:820px){
  .features-page .features-product-section .product-showcase{
    grid-template-columns:1fr;
    gap:2.3rem;
  }
  .features-page .features-practice-image,
  .features-page .features-practice-image img{
    min-height:320px;
  }
}

/* Registration final form details */
.register-page .phone-field{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:.6rem;
}
.register-page .phone-field select,
.register-page .phone-field input{
  width:100%;
}
.register-page .register-single-card .field.full select,
.register-page .register-single-card .field.full textarea,
.register-page .register-single-card .field.full input{
  width:100%;
}

/* Confirmation page — final triptych direction */
.thankyou-page .thankyou-section{
  background:
    linear-gradient(90deg,rgba(247,244,238,.98),rgba(247,244,238,.90)),
    url('warm_executive_office_with_city_views.png') center/cover no-repeat;
  min-height:calc(100vh - 92px);
  display:flex;
  align-items:center;
}
.thankyou-page .thankyou-grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(520px,1.2fr);
  gap:5rem;
  align-items:center;
}
.thankyou-page .thankyou-copy h1{
  font-size:clamp(3.3rem,5.2vw,5.2rem);
  line-height:1.02;
}
.thankyou-page .thankyou-copy p{
  max-width:520px;
  color:var(--muted);
  line-height:1.65;
}
.thankyou-page .thankyou-card{
  background:#fff;
  border:1px solid #dde1e8;
  border-radius:10px;
  box-shadow:0 20px 48px rgba(26,39,86,.10);
  padding:2rem;
}
.thankyou-page .thankyou-icon{
  width:64px;height:64px;
  margin:0 auto 1.7rem;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#eef1f6;
  color:var(--navy);
  font-size:1.6rem;
}
.thankyou-page .thankyou-step{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:1rem;
  padding:1rem 0;
  border-top:1px solid var(--line);
}
.thankyou-page .thankyou-step>span{
  width:30px;height:30px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #cbd2de;
  color:var(--navy);
  font-weight:800;
  font-size:.78rem;
}
.thankyou-page .thankyou-step.active>span{
  background:var(--gold);
  border-color:var(--gold);
}
.thankyou-page .thankyou-step strong{
  color:var(--navy);
}
.thankyou-page .thankyou-step p{
  margin:.2rem 0 0;
  color:var(--muted);
  font-size:.9rem;
}
.thankyou-page .thankyou-actions{
  margin-top:1.2rem;
  padding-top:1.35rem;
  border-top:1px solid var(--line);
  display:grid;
  gap:.7rem;
}
.thankyou-page .thankyou-actions h3{
  margin-bottom:.2rem;
}
.thankyou-page .thankyou-actions .btn{
  justify-content:space-between;
}
@media(max-width:820px){
  .thankyou-page .thankyou-grid{
    grid-template-columns:1fr;
    gap:2.5rem;
  }
  .thankyou-page .thankyou-section{
    padding:4rem 0;
  }
  .thankyou-page .thankyou-card{
    padding:1.3rem;
  }
}

/* About — final website mock structure */
.about-page .about-hero{
  position:relative;
  min-height:470px;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(90deg,
      rgba(11,23,54,.94) 0%,
      rgba(11,23,54,.82) 42%,
      rgba(11,23,54,.46) 68%,
      rgba(11,23,54,.16) 100%),
    url('about-us.png') center/cover no-repeat;
}
.about-page .about-hero-inner{
  padding:5rem 0 5.4rem;
}
.about-page .about-hero .eyebrow{
  color:#fff;
  opacity:.9;
}
.about-page .about-hero h1{
  color:#fff;
  font-size:clamp(3.1rem,5.3vw,5rem);
  max-width:760px;
}
.about-page .about-hero p{
  max-width:760px;
  color:#eef1f7;
  font-size:1.06rem;
  line-height:1.65;
}
.about-page .about-approach{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.about-page .about-approach> .container > h2{
  margin-bottom:2.2rem;
}
.about-page .about-approach-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
}
.about-page .about-approach-grid>div{
  padding:0 2.4rem 0 0;
  min-height:170px;
}
.about-page .about-approach-grid>div+div{
  border-left:1px solid var(--line);
  padding-left:2.4rem;
}
.about-page .about-approach-icon{
  width:34px;
  height:34px;
  margin-bottom:.9rem;
}
.about-page .about-approach-icon svg{
  width:32px;
  height:32px;
  fill:none;
  stroke:var(--navy);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.about-page .about-approach-grid h3{
  margin-bottom:.5rem;
}
.about-page .about-approach-grid p{
  margin:0;
  color:var(--muted);
  max-width:320px;
}
.about-page .team{
  margin-top:2rem;
}
@media(max-width:820px){
  .about-page .about-hero{
    min-height:auto;
    background-position:62% center;
  }
  .about-page .about-hero-inner{
    padding:4.2rem 0 4.5rem;
  }
  .about-page .about-approach-grid{
    grid-template-columns:1fr;
    gap:1.8rem;
  }
  .about-page .about-approach-grid>div,
  .about-page .about-approach-grid>div+div{
    padding:0;
    border-left:0;
  }
}

/* Resources — curated library */
.resources-page .resources-hero{
  background:var(--cream);
  border-bottom:1px solid var(--line);
}
.resources-page .resources-hero-inner{
  padding:5rem 0 5.4rem;
  max-width:820px;
}
.resources-page .resources-hero h1{
  font-size:clamp(3.2rem,5.2vw,5.2rem);
}
.resources-page .resources-hero p{
  max-width:700px;
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.65;
}
.resources-page .resources-grid-section{background:#fff}
.resources-page .resources-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.4rem;
}
.resources-page .resource-card{
  overflow:hidden;
  border:1px solid #dde1e8;
  border-radius:9px;
  background:#fff;
}
.resources-page .resource-card-featured{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:stretch;
}
.resources-page .resource-card img{
  width:100%;
  height:245px;
  object-fit:cover;
  display:block;
}
.resources-page .resource-card-featured img{
  height:100%;
  min-height:330px;
}
.resources-page .resource-card-body{padding:1.65rem}
.resources-page .resource-type{
  margin-bottom:.55rem;
  color:var(--gold);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.resources-page .resource-card h2{
  font-size:clamp(2.3rem,3.4vw,3.5rem);
}
.resources-page .resource-card h3{margin-bottom:.65rem}
.resources-page .resource-card p{
  color:var(--muted);
  line-height:1.6;
}
.resources-page .resource-card a{
  color:var(--navy);
  font-weight:800;
  text-decoration:none;
}
.resources-page .resource-card-text{
  display:flex;
  align-items:center;
  background:var(--cream);
}
.resources-page .resources-closing{
  background:var(--navy);
  color:#fff;
}
.resources-page .resources-closing-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3rem;
  align-items:center;
  padding:3.8rem 0;
}
.resources-page .resources-closing h2{
  color:#fff;
  margin-bottom:.6rem;
}
.resources-page .resources-closing p{
  color:#dce2f0;
  margin:0;
}
@media(max-width:820px){
  .resources-page .resources-hero-inner{padding:4rem 0}
  .resources-page .resources-grid{grid-template-columns:1fr}
  .resources-page .resource-card-featured{
    grid-column:auto;
    grid-template-columns:1fr;
  }
  .resources-page .resource-card-featured img{
    min-height:0;
    height:260px;
  }
  .resources-page .resources-closing-inner{
    grid-template-columns:1fr;
    gap:1.5rem;
    padding:3.2rem 0;
  }
}

/* Resources refinement — remove legacy synthetic illustrations */
.resources-page .resource-card-editorial{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  align-items:stretch;
  min-height:245px;
  background:#fff;
}
.resources-page .resource-card-featured.resource-card-editorial{
  grid-template-columns:minmax(0,1.3fr) 240px;
  min-height:330px;
}
.resources-page .resource-editorial-mark{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:1.5rem;
  background:var(--navy);
  color:#fff;
}
.resources-page .resource-editorial-mark span{
  display:block;
  margin-bottom:.45rem;
  color:var(--gold);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.14em;
}
.resources-page .resource-editorial-mark strong{
  display:block;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:1.55rem;
  line-height:1.05;
  font-weight:400;
}
.resources-page .resource-card:not(.resource-card-editorial) img{
  border-bottom:1px solid var(--line);
}
.resources-page .resource-card[href]{text-decoration:none}
@media(max-width:820px){
  .resources-page .resource-card-editorial,
  .resources-page .resource-card-featured.resource-card-editorial{
    grid-template-columns:1fr;
    min-height:0;
  }
  .resources-page .resource-editorial-mark{
    min-height:110px;
  }
}

/* Comparison guide — current GavelNet visual system */
.comparison-page .comparison-hero{
  background:var(--cream);
  border-bottom:1px solid var(--line);
}
.comparison-page .comparison-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:4rem;
  align-items:end;
  padding:5rem 0 5.3rem;
}
.comparison-page .comparison-hero h1{
  font-size:clamp(3.3rem,5.2vw,5.2rem);
}
.comparison-page .comparison-hero .lead{
  color:var(--muted);
  max-width:720px;
  margin-bottom:0;
}
.comparison-page .comparison-hero-note{
  padding:1.5rem;
  border-left:3px solid var(--gold);
  background:#fff;
}
.comparison-page .comparison-hero-note span{
  display:block;
  margin-bottom:.45rem;
  color:var(--gold);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.comparison-page .comparison-hero-note strong{
  color:var(--navy);
  font-family:"DM Serif Display",Georgia,serif;
  font-size:1.45rem;
  line-height:1.15;
  font-weight:400;
}
.comparison-page .comparison-visual-section{
  background:#fff;
  padding-top:4.8rem;
  padding-bottom:4.5rem;
}
.comparison-page .comparison-screen{
  border:1px solid #d9dee7;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 24px 55px rgba(26,39,86,.13);
  background:#fff;
}
.comparison-page .comparison-screen img{
  display:block;
  width:100%;
  height:auto;
}
.comparison-page .comparison-caption{
  margin:.8rem 0 0;
  color:var(--muted);
  font-size:.88rem;
}
.comparison-page .comparison-content{
  background:var(--cream);
}
.comparison-page .comparison-content-grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:5rem;
  align-items:start;
}
.comparison-page .comparison-content h2{
  font-size:clamp(2.7rem,4vw,4rem);
}
.comparison-page .comparison-content p{
  color:var(--muted);
  line-height:1.65;
}
.comparison-page .comparison-points{
  display:grid;
  gap:0;
}
.comparison-page .comparison-points>div{
  padding:1.2rem 0 1.3rem;
  border-top:1px solid #dcd7cc;
}
.comparison-page .comparison-points>div:first-child{
  border-top:0;
  padding-top:.25rem;
}
.comparison-page .comparison-points h3{
  margin-bottom:.4rem;
}
.comparison-page .comparison-how{
  background:#fff;
}
.comparison-page .comparison-how> .container > h2{
  max-width:780px;
  margin-bottom:2.2rem;
}
.comparison-page .comparison-how-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.2rem;
}
.comparison-page .comparison-how-grid>div{
  padding:1.8rem;
  border:1px solid #dde1e8;
  border-radius:8px;
}
.comparison-page .comparison-how-grid span{
  display:block;
  margin-bottom:.8rem;
  color:var(--gold);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.14em;
}
.comparison-page .comparison-how-grid p{
  color:var(--muted);
  margin-bottom:0;
}
.comparison-page .comparison-closing{
  background:var(--navy);
  color:#fff;
}
.comparison-page .comparison-closing-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3rem;
  align-items:center;
  padding:3.8rem 0;
}
.comparison-page .comparison-closing h2{
  color:#fff;
  margin-bottom:.6rem;
}
.comparison-page .comparison-closing p{
  color:#dce2f0;
  margin:0;
}
@media(max-width:820px){
  .comparison-page .comparison-hero-grid,
  .comparison-page .comparison-content-grid,
  .comparison-page .comparison-closing-inner{
    grid-template-columns:1fr;
    gap:2rem;
  }
  .comparison-page .comparison-hero-grid{
    padding:4rem 0;
  }
  .comparison-page .comparison-how-grid{
    grid-template-columns:1fr;
  }
  .comparison-page .comparison-closing-inner{
    padding:3.2rem 0;
  }
}

/* Flagship Judgments case study */
.case-study-page .case-study-hero{
  background:var(--cream);
  border-bottom:1px solid var(--line);
}
.case-study-page .case-study-hero-inner{
  padding:5rem 0 5.2rem;
  max-width:850px;
}
.case-study-page .case-study-hero h1{
  font-size:clamp(3.4rem,5.2vw,5.3rem);
}
.case-study-page .case-study-hero p{
  max-width:720px;
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.65;
}
.case-study-page .case-study-intro{
  padding-top:4rem;
  padding-bottom:2.5rem;
}
.case-study-page .case-study-reading{
  max-width:900px;
}
.case-study-page .case-study-kicker{
  margin-bottom:.7rem;
  color:var(--gold);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.case-study-page .case-study-lead{
  font-family:"DM Serif Display",Georgia,serif;
  color:var(--navy);
  font-size:clamp(1.8rem,2.6vw,2.65rem);
  line-height:1.25;
}
.case-study-page .case-study-body{
  padding-top:2.4rem;
  background:#fff;
}
.case-study-page .case-study-layout{
  display:grid;
  grid-template-columns:220px minmax(0,760px);
  gap:5rem;
  align-items:start;
}
.case-study-page .case-study-aside{
  position:sticky;
  top:120px;
  display:grid;
  gap:1rem;
}
.case-study-page .case-study-aside>div{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:.75rem;
  align-items:center;
}
.case-study-page .case-study-aside span{
  color:var(--gold);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
}
.case-study-page .case-study-aside strong{
  color:var(--navy);
  font-size:.9rem;
}
.case-study-page .case-study-article section{
  padding:0 0 2.8rem;
  margin-bottom:2.8rem;
  border-bottom:1px solid var(--line);
}
.case-study-page .case-study-article h2{
  font-size:clamp(2.3rem,3.4vw,3.5rem);
}
.case-study-page .case-study-article p,
.case-study-page .case-study-article li{
  color:var(--muted);
  line-height:1.72;
}
.case-study-page .case-study-article ul{
  padding-left:1.25rem;
}
.case-study-page .case-study-highlights{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:1.6rem;
}
.case-study-page .case-study-highlights>div{
  padding:1.35rem;
  border:1px solid #dde1e8;
  border-radius:8px;
  background:var(--cream);
}
.case-study-page .case-study-highlights h3{
  margin-bottom:.4rem;
}
.case-study-page .case-study-highlights p{
  margin:0;
}
.case-study-page .case-study-disclaimer{
  font-size:.9rem;
  color:var(--muted);
}
.case-study-page .case-study-closing{
  background:var(--navy);
  color:#fff;
}
.case-study-page .case-study-closing-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3rem;
  align-items:center;
  padding:3.8rem 0;
}
.case-study-page .case-study-closing h2{
  color:#fff;
  margin-bottom:.6rem;
}
.case-study-page .case-study-closing p{
  margin:0;
  color:#dce2f0;
}
@media(max-width:820px){
  .case-study-page .case-study-hero-inner{padding:4rem 0}
  .case-study-page .case-study-layout{
    grid-template-columns:1fr;
    gap:2rem;
  }
  .case-study-page .case-study-aside{
    position:static;
    grid-template-columns:1fr 1fr;
  }
  .case-study-page .case-study-highlights{
    grid-template-columns:1fr;
  }
  .case-study-page .case-study-closing-inner{
    grid-template-columns:1fr;
    gap:1.5rem;
    padding:3.2rem 0;
  }
}

/* Explainable legal search article */
.article-page .article-hero{
  background:var(--cream);
  border-bottom:1px solid var(--line);
}
.article-page .article-hero-inner{
  padding:5rem 0 5.2rem;
  max-width:900px;
}
.article-page .article-hero h1{
  font-size:clamp(3.4rem,5.2vw,5.4rem);
}
.article-page .article-hero p{
  max-width:760px;
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.65;
}
.article-page .article-intro{
  padding-top:4rem;
  padding-bottom:2.6rem;
}
.article-page .article-reading{
  max-width:900px;
}
.article-page .article-lead{
  font-family:"DM Serif Display",Georgia,serif;
  color:var(--navy);
  font-size:clamp(1.9rem,2.8vw,2.7rem);
  line-height:1.24;
}
.article-page .article-body{
  padding-top:2.3rem;
  background:#fff;
}
.article-page .article-layout{
  display:grid;
  grid-template-columns:220px minmax(0,760px);
  gap:5rem;
  align-items:start;
}
.article-page .article-aside{
  position:sticky;
  top:120px;
  display:grid;
  gap:1rem;
}
.article-page .article-aside>div{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:.75rem;
  align-items:center;
}
.article-page .article-aside span{
  color:var(--gold);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
}
.article-page .article-aside strong{
  color:var(--navy);
  font-size:.9rem;
}
.article-page .article-copy section{
  padding-bottom:2.8rem;
  margin-bottom:2.8rem;
  border-bottom:1px solid var(--line);
}
.article-page .article-copy h2{
  font-size:clamp(2.3rem,3.4vw,3.5rem);
}
.article-page .article-copy p{
  color:var(--muted);
  line-height:1.75;
}
.article-page .article-callout{
  margin-top:1.5rem;
  padding:1.5rem 1.6rem;
  background:var(--cream);
  border-left:3px solid var(--gold);
}
.article-page .article-callout strong{
  display:block;
  margin-bottom:.45rem;
  color:var(--navy);
}
.article-page .article-callout p{
  margin:0;
}
.article-page .article-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
  margin-top:1.5rem;
}
.article-page .article-grid>div{
  padding:1.35rem;
  border:1px solid #dde1e8;
  border-radius:8px;
}
.article-page .article-grid h3{
  margin-bottom:.4rem;
}
.article-page .article-grid p{
  margin:0;
}
.article-page .article-disclaimer{
  font-size:.9rem;
}
.article-page .article-related{
  background:var(--navy);
  color:#fff;
}
.article-page .article-related-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3rem;
  align-items:center;
  padding:3.8rem 0;
}
.article-page .article-related h2{
  color:#fff;
  margin-bottom:.6rem;
}
.article-page .article-related p{
  margin:0;
  color:#dce2f0;
}
@media(max-width:820px){
  .article-page .article-hero-inner{padding:4rem 0}
  .article-page .article-layout{
    grid-template-columns:1fr;
    gap:2rem;
  }
  .article-page .article-aside{
    position:static;
    grid-template-columns:1fr 1fr;
  }
  .article-page .article-grid{
    grid-template-columns:1fr;
  }
  .article-page .article-related-inner{
    grid-template-columns:1fr;
    gap:1.5rem;
    padding:3.2rem 0;
  }
}

/* Explainable article lead — lighter editorial treatment */
.article-page .article-lead{
  max-width:880px;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(1.45rem,2.05vw,2rem);
  line-height:1.5;
  font-weight:500;
  letter-spacing:-.01em;
  color:#24335f;
}
.article-page .article-intro{
  padding-top:4.4rem;
  padding-bottom:3.4rem;
}
@media(max-width:820px){
  .article-page .article-lead{
    font-size:clamp(1.35rem,6.2vw,1.6rem);
    line-height:1.52;
  }
}

/* Shared Resources article system */
.resource-article-hero{
  background:var(--cream);
  border-bottom:1px solid var(--line);
}
.resource-article-hero-inner{
  padding:5rem 0 5.2rem;
  max-width:900px;
}
.resource-article-hero h1{
  font-size:clamp(3.4rem,5.2vw,5.4rem);
}
.resource-article-hero p{
  max-width:760px;
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.65;
}
.resource-article-intro{
  padding-top:4.4rem;
  padding-bottom:3.4rem;
}
.resource-reading{
  max-width:900px;
}
.resource-lead{
  max-width:880px;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(1.45rem,2.05vw,2rem);
  line-height:1.5;
  font-weight:500;
  letter-spacing:-.01em;
  color:#24335f;
}
.resource-article-body{
  padding-top:2.3rem;
  background:#fff;
}
.resource-article-layout{
  display:grid;
  grid-template-columns:220px minmax(0,760px);
  gap:5rem;
  align-items:start;
}
.resource-article-aside{
  position:sticky;
  top:120px;
  display:grid;
  gap:1rem;
}
.resource-article-aside>div{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:.75rem;
  align-items:center;
}
.resource-article-aside span{
  color:var(--gold);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
}
.resource-article-aside strong{
  color:var(--navy);
  font-size:.9rem;
}
.resource-article-copy section{
  padding-bottom:2.8rem;
  margin-bottom:2.8rem;
  border-bottom:1px solid var(--line);
}
.resource-article-copy h2{
  font-size:clamp(2.3rem,3.4vw,3.5rem);
}
.resource-article-copy p,
.resource-article-copy li{
  color:var(--muted);
  line-height:1.75;
}
.resource-article-copy ul{
  padding-left:1.25rem;
}
.resource-article-copy a{
  color:var(--navy);
  font-weight:700;
}
.resource-article-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
  margin-top:1.5rem;
}
.resource-article-grid>div{
  padding:1.35rem;
  border:1px solid #dde1e8;
  border-radius:8px;
}
.resource-article-grid h3{margin-bottom:.4rem}
.resource-article-grid p{margin:0}
.resource-callout{
  margin-top:1.5rem;
  padding:1.5rem 1.6rem;
  background:var(--cream);
  border-left:3px solid var(--gold);
}
.resource-callout strong{
  display:block;
  margin-bottom:.45rem;
  color:var(--navy);
}
.resource-callout p{margin:0}
.resource-disclaimer{
  font-size:.9rem;
  color:var(--muted);
}
.resource-download{
  background:var(--navy);
  color:#fff;
}
.resource-download-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3rem;
  align-items:center;
  padding:3.8rem 0;
}
.resource-download h2{
  color:#fff;
  margin-bottom:.6rem;
}
.resource-download p{
  margin:0;
  color:#dce2f0;
}
@media(max-width:820px){
  .resource-article-hero-inner{padding:4rem 0}
  .resource-lead{
    font-size:clamp(1.35rem,6.2vw,1.6rem);
    line-height:1.52;
  }
  .resource-article-layout{
    grid-template-columns:1fr;
    gap:2rem;
  }
  .resource-article-aside{
    position:static;
    grid-template-columns:1fr 1fr;
  }
  .resource-article-grid{
    grid-template-columns:1fr;
  }
  .resource-download-inner{
    grid-template-columns:1fr;
    gap:1.5rem;
    padding:3.2rem 0;
  }
}

/* Shared Resources component: Standfirst
   The large editorial summary between hero and article body. */
.resource-standfirst{
  max-width:860px;
  margin:0;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(1.45rem,2vw,1.95rem);
  line-height:1.55;
  font-weight:500;
  letter-spacing:-.012em;
  color:#2a3966;
}
.article-page .article-intro,
.case-study-page .case-study-intro,
.whitepaper-page .resource-article-intro,
.security-page .resource-article-intro{
  padding-top:4.25rem;
  padding-bottom:3.25rem;
}
.article-page .article-reading,
.case-study-page .case-study-reading,
.whitepaper-page .resource-reading,
.security-page .resource-reading{
  max-width:900px;
}
@media(max-width:820px){
  .resource-standfirst{
    font-size:clamp(1.3rem,5.8vw,1.55rem);
    line-height:1.55;
  }
}

/* Hero alignment correction — shared site grid, inner copy measure only */
.features-page .features-hero-simple,
.article-page .article-hero-inner,
.case-study-page .case-study-hero-inner,
.resource-article-hero-inner{
  max-width:none;
  width:min(1220px,90vw);
  margin-left:auto;
  margin-right:auto;
}

.features-page .features-hero-copy{
  max-width:760px;
}
.article-page .article-hero-copy{
  max-width:900px;
}
.case-study-page .case-study-hero-copy{
  max-width:850px;
}
.resource-article-hero-copy{
  max-width:900px;
}

/* Standardise primary image-backed hero headline scale */
.home-page .hero-dark h1,
.pilot-page .pilot-hero h1{
  font-size:clamp(3.2rem,5.5vw,5.5rem);
}
@media(max-width:820px){
  .home-page .hero-dark h1,
  .pilot-page .pilot-hero h1{
    font-size:clamp(2.9rem,12vw,4.2rem);
  }
}

/* Resources hero alignment — shared site grid */
.resources-page .resources-hero-inner{
  max-width:none;
  width:min(1220px,90vw);
  margin-left:auto;
  margin-right:auto;
}
.resources-page .resources-hero-copy{
  max-width:820px;
}

/* FICO acronym treatment */
.fico-mark{
  white-space:nowrap;
  letter-spacing:.045em;
}
.fico-mark sup{
  font-size:.52em;
  line-height:0;
  vertical-align:super;
  letter-spacing:0;
  margin-left:.03em;
}

/* Global eyebrow scale — +10% */
.eyebrow{
  font-size:.79rem;
}

/* Audit corrections */
.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:.55rem 1rem;
}
.footer-links a{
  color:inherit;
  text-decoration:none;
}
.text-link{
  display:inline-block;
  margin-top:.6rem;
  color:var(--navy);
  font-weight:800;
  text-decoration:none;
}
.register-page .register-points>div{
  display:grid;
  grid-template-columns:32px 1fr;
  gap:.8rem;
  align-items:start;
}
.register-page .register-point-icon{
  width:28px;height:28px;
  border:1px solid #d8c37b;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--gold);
  font-size:.82rem;
  line-height:1;
}
.register-page .register-points>div>div{display:grid}
.register-page .register-form-heading{
  display:flex;
  align-items:center;
  gap:.65rem;
}
.register-page .register-heading-icon{
  width:26px;height:26px;
  border:1px solid #d8c37b;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--gold);
  font-size:.72rem;
  flex:0 0 auto;
}
@media(max-width:820px){
  .footer-links{justify-content:flex-start}
}

/* Footer layout correction */
.footer-grid{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  column-gap:3rem;
}
.footer-grid>div:nth-child(2){
  justify-self:center;
  white-space:nowrap;
}
.footer-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  column-gap:1.15rem;
  row-gap:.45rem;
}
.footer-links a{
  display:inline-block;
  white-space:nowrap;
}
@media(max-width:1100px){
  .footer-grid{
    grid-template-columns:auto 1fr;
    row-gap:1.25rem;
  }
  .footer-grid>div:nth-child(2){
    justify-self:end;
  }
  .footer-links{
    grid-column:1/-1;
    justify-content:flex-start;
  }
}
@media(max-width:820px){
  .footer-grid{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:1rem;
  }
  .footer-grid>div:nth-child(2){
    white-space:normal;
  }
}

/* Contact page */
.contact-hero{background:var(--cream);border-bottom:1px solid var(--line)}
.contact-hero-inner{padding:5rem 0 5.2rem;max-width:900px}
.contact-hero h1{font-size:clamp(3.4rem,5.2vw,5.4rem)}
.contact-hero p{max-width:760px;color:var(--muted);font-size:1.08rem;line-height:1.65}
.contact-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:5rem;align-items:start}
.contact-copy h2{font-size:clamp(2.5rem,4vw,4rem)}
.contact-copy p{color:var(--muted);line-height:1.7}
.contact-note{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line);display:grid;gap:.45rem}
.contact-note strong{color:var(--navy)} .contact-note span{color:var(--muted)}
.contact-card{padding:2rem}
@media(max-width:820px){.contact-hero-inner{padding:4rem 0}.contact-grid{grid-template-columns:1fr;gap:2.5rem}}

.contact-details{
  display:grid;
  gap:1.15rem;
  margin-top:2rem;
  padding:1.5rem 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.contact-details>div{
  display:grid;
  gap:.25rem;
}
.contact-details strong{color:var(--navy)}
.contact-details span,
.contact-details a{
  color:var(--muted);
  line-height:1.55;
  text-decoration:none;
}
.contact-details a:hover{color:var(--navy)}

.fico-patent{
  margin-top:.45rem;
  font-size:.72rem;
  line-height:1.35;
  color:var(--muted);
  font-style:italic;
}

.register-point-icon svg,
.register-heading-icon svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.contact-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}
.contact-form-status{
  margin:.75rem 0 0;
  min-height:1.35em;
  font-size:.88rem;
  line-height:1.45;
}
.contact-form-status.success{color:#356b50}
.contact-form-status.error{color:#9d2d2d}
.contact-card button:disabled{
  opacity:.65;
  cursor:wait;
}
