/* Software Modernization — a continuity-focused visual language on the shared ForgeVector UI base. */
.sm-page{background:#f2f5f8;color:#153454}
.sm-page h1,.sm-page h2,.sm-page h3{font-family:var(--display);font-weight:600;margin:0;letter-spacing:-.041em}
.sm-page p{margin:0;line-height:1.62}
.sm-page [id]{scroll-margin-top:1rem}
.sm-page h2{font-size:clamp(2.125rem,3.1vw,2.875rem);line-height:1.2;color:#0c2c5a}
.sm-page h2 em{font-style:normal;color:#476d92}
.sm-label{display:flex;align-items:center;gap:15px;font-size:.8125rem;letter-spacing:.115em;font-weight:700;color:#526f89;margin-bottom:24px!important}
.sm-label span{font:600 1.375rem var(--display);color:#b64d00;letter-spacing:-.04em}

/* In contrast to Custom Software, this hero is light, with a dark technical study. */
.sm-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 92% 45%,#d3e1f0 0%,transparent 49%),linear-gradient(111deg,#f7f9fc,#e9f0f7 74%,#dbe8f4);border-bottom:1px solid #c7d5e4}
.sm-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 119px,#7ba2c20c 120px);opacity:.55}
.sm-hero-layout{position:relative;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:clamp(40px,5vw,90px);align-items:center;min-height:760px;padding-block:63px 95px}
.sm-hero-copy{position:relative;z-index:1;min-width:0}
.sm-breadcrumb{display:flex;align-items:center;gap:13px;flex-wrap:wrap;color:#66809a;font-size:.9375rem;margin-bottom:77px}
.sm-breadcrumb a{color:#0b3764;border-bottom:1px solid #7796b7;padding-bottom:3px}
.sm-breadcrumb a:hover{color:#b64d00;border-color:#b64d00}
.sm-kicker{display:flex;align-items:center;gap:13px;color:#4f6a84;font-size:.8125rem;font-weight:700;letter-spacing:.11em}
.sm-kicker i{display:block;width:11px;height:11px;flex:none;background:var(--orange);transform:rotate(45deg)}
.sm-hero h1{font-size:clamp(2.5rem,3.8vw,3.25rem);line-height:1.13;max-width:650px;margin:28px 0 30px;color:#0b2d57}
.sm-hero h1 span{color:#527da7}
.sm-hero-lead{font-size:clamp(1.125rem,1.42vw,1.3125rem);line-height:1.54!important;color:#355672;max-width:54ch}
.sm-hero-support{font-size:1.0625rem;color:#526e86;max-width:58ch;margin-top:19px!important}
.sm-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:23px;margin-top:39px}
.sm-hero-actions .btn{min-height:57px;font-size:1rem;gap:26px}
.sm-hero-secondary{display:inline-flex;align-items:center;gap:15px;font-size:1rem;font-weight:600;color:#163d67;padding:12px 0;border-bottom:1px solid #9eb7cd;min-height:49px}
.sm-hero-secondary:hover{color:#b44c00;border-color:#b44c00}
.sm-migration{margin:0;min-width:0;align-self:center;padding:21px 24px 22px;background:linear-gradient(130deg,#091d39,#11345c);border:1px solid #284d76;box-shadow:22px 23px 0 #bbcfdf77,0 20px 40px #173a612b}
.sm-migration-head,.sm-migration-foot{display:flex;justify-content:space-between;gap:15px;align-items:center;color:#a0bedb;font-size:.75rem;letter-spacing:.1em;font-weight:700}
.sm-migration-field{position:relative;min-height:455px;aspect-ratio:1.19;overflow:hidden;margin:17px 0;background:radial-gradient(circle at 56% 52%,#24548555 0%,transparent 62%),repeating-linear-gradient(0deg,transparent 0 41px,#ffffff07 42px),repeating-linear-gradient(90deg,transparent 0 41px,#ffffff07 42px);border:1px solid #52769b55}
.sm-migration-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.sm-map-node{position:absolute;z-index:1;display:flex;flex-direction:column;gap:7px;padding:16px 18px;background:#0e2849e8;border:1px solid #6b90b4;color:#fff;min-width:37%;box-shadow:8px 8px 0 #06183142}
.sm-map-node span,.sm-map-boundary b{font-size:.75rem;font-weight:700;letter-spacing:.09em;color:#adc8e0}
.sm-map-node strong{font:600 clamp(1rem,1.5vw,1.25rem)/1.18 var(--display);letter-spacing:.008em}
.sm-map-node small,.sm-map-boundary small{font-size:.75rem;color:#b0c6dd}
.sm-map-existing{left:5%;top:13%}
.sm-map-evolving{right:4%;bottom:6%;background:#17395f;border-color:#91b2d0}
.sm-map-boundary{position:absolute;z-index:2;left:34%;top:41%;width:33%;display:flex;flex-direction:column;gap:7px;justify-content:center;align-items:center;min-height:104px;padding:14px 10px;text-align:center;background:#e7f0f9;border:2px solid #ff7b24;box-shadow:0 0 0 12px #ff6b0014;color:#082b54}
.sm-map-boundary b{color:#a94300}
.sm-map-boundary strong{font:600 .9375rem/1.2 var(--display)}
.sm-map-boundary small{color:#4c6b86}
.sm-map-continuity{position:absolute;bottom:12%;left:5%;z-index:1;display:flex;align-items:center;gap:9px;color:#d4e5f6;font-size:.6875rem;font-weight:700;letter-spacing:.085em;max-width:42%;border-top:1px solid #6f93b7;padding-top:12px}
.sm-map-dot{display:inline-block;width:8px;height:8px;flex:none;background:var(--orange);border-radius:50%}
.sm-migration-foot{border-top:1px solid #6585a6a0;padding-top:15px;font-size:.6875rem;letter-spacing:.045em}
.sm-migration-foot b{color:var(--orange);font-size:.9375rem;margin-inline:5px}
.sm-migration-foot strong{color:#e3effa}
.sm-hero-tail{position:relative;display:flex;justify-content:space-between;gap:20px;border-top:1px solid #a7bfd5;padding-block:20px 25px;color:#4f6c87;font-size:.75rem;letter-spacing:.12em;font-weight:700}

/* Discover the constraint before choosing a modernization tactic. */
.sm-friction{background:#fbfcfe;padding:121px 0 133px}
.sm-friction-layout{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:clamp(50px,9vw,158px)}
.sm-friction-intro>p:last-child{max-width:43ch;margin-top:29px;color:#526b85;font-size:1.125rem}
.sm-friction-list{border-top:1px solid #9db5cc}
.sm-friction-list article{display:grid;grid-template-columns:46px 1fr;gap:23px;padding:27px 0 31px;border-bottom:1px solid #c2d1df}
.sm-friction-mark{font:600 1.875rem var(--display);color:#b54d03}
.sm-friction-list h3{font-size:clamp(1.375rem,1.9vw,1.625rem);line-height:1.27;color:#12365e}
.sm-friction-list p{font-size:1.0625rem;color:#576f86;margin-top:10px;max-width:60ch}

/* A continuous decision loop, not a generic launch timeline. */
.sm-method{background:radial-gradient(ellipse at 7% 75%,#1a426f9a,transparent 50%),linear-gradient(115deg,#071b34,#0d305b);padding:119px 0 126px;color:#fff}
.sm-label-on-dark{color:#b1c8de}
.sm-label-on-dark span{color:#ff9956}
.sm-method-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:8%;align-items:end}
.sm-method h2{color:#fff}
.sm-method h2 em{color:#b6d2ee}
.sm-method-head>p{font-size:1.125rem;color:#b8cce0;max-width:46ch}
.sm-method-body{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:clamp(45px,7vw,115px);align-items:center;margin-top:72px}
.sm-method-visual{position:relative;width:min(100%,455px);aspect-ratio:1;min-height:350px;margin:auto;background:radial-gradient(circle at 50% 50%,#183c6a,transparent 66%)}
.sm-method-visual::before{content:"";position:absolute;inset:12%;border:1px dashed #7197ba;border-radius:50%;opacity:.73}
.sm-method-visual::after{content:"";position:absolute;inset:4%;border:1px solid #5e80a26e;border-radius:50%}
.sm-loop-circle{position:absolute;inset:28%;border:1px solid #b4cee6;border-radius:50%;background:#0b2546;box-shadow:0 0 0 20px #628bb00b;display:grid;place-items:center;text-align:center}
.sm-loop-circle div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px}
.sm-loop-circle span{font-size:.6875rem;font-weight:700;letter-spacing:.09em;color:#b3cde5}
.sm-loop-circle strong{font:600 clamp(1.5rem,2.4vw,2.125rem) var(--display);letter-spacing:-.03em;color:#fff}
.sm-loop-label{position:absolute;z-index:2;font-size:.75rem;letter-spacing:.08em;font-weight:700;color:#d7e7f5;background:#0b294e;padding:9px 12px;border:1px solid #7798b9}
.sm-loop-label-top{top:4%;left:50%;transform:translateX(-50%)}
.sm-loop-label-right{right:0;top:48%;transform:translateY(-50%)}
.sm-loop-label-bottom{bottom:4%;left:50%;transform:translateX(-50%)}
.sm-loop-label-left{left:0;top:48%;transform:translateY(-50%)}
.sm-loop-corner{position:absolute;width:12px;height:12px;background:var(--orange);border-radius:50%;z-index:2}
.sm-loop-corner-a{left:20%;top:20%}.sm-loop-corner-b{right:20%;bottom:20%}
.sm-method-steps{list-style:none;padding:0;margin:0;border-top:1px solid #7899b975}
.sm-method-steps li{display:grid;grid-template-columns:115px 1fr;gap:29px;border-bottom:1px solid #7899b975;padding:24px 0 27px}
.sm-method-steps li>span{font-size:.8125rem;letter-spacing:.07em;font-weight:700;color:#ffa369;padding-top:4px}
.sm-method-steps h3{font-size:1.375rem;color:#fff;line-height:1.27}
.sm-method-steps p{font-size:1rem;color:#b5cce2;margin-top:11px;max-width:51ch}

/* The choice is technical: retain, isolate, or replace. */
.sm-choices{background:#eaf1f8;padding:125px 0 135px}
.sm-choices-head{display:grid;grid-template-columns:1.1fr .9fr;gap:9%;align-items:end;margin-bottom:57px}
.sm-choices-head>p{font-size:1.125rem;color:#526d85;max-width:46ch}
.sm-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sm-choice{position:relative;min-height:365px;padding:29px 30px 34px;background:#fbfdff;border:1px solid #b1c5d9;box-shadow:0 8px 20px #143b6011}
.sm-choice-n{font-size:.8125rem;letter-spacing:.11em;font-weight:700;color:#516e8a}
.sm-choice-drawing{position:relative;width:110px;height:84px;margin-top:40px;margin-bottom:19px}
.sm-choice-drawing i{position:absolute;display:block;width:45px;height:40px;border:2px solid #7899b9;background:#e3edf6}
.sm-choice-drawing i:nth-child(1){left:6px;top:6px;border-color:#e17627;background:#ffddc5}
.sm-choice-drawing i:nth-child(2){left:25px;top:23px}
.sm-choice-drawing i:nth-child(3){left:44px;top:41px;background:#d0e2f2}
.sm-drawing-isolate i:nth-child(1){left:4px;top:24px;width:30px;height:35px}
.sm-drawing-isolate i:nth-child(2){left:39px;top:14px;width:30px;height:55px;border-style:dashed}
.sm-drawing-isolate i:nth-child(3){left:75px;top:24px;width:30px;height:35px}
.sm-drawing-replace i:nth-child(1){left:0;top:21px;width:31px;height:40px;border-style:dashed;opacity:.5}
.sm-drawing-replace i:nth-child(2){left:38px;top:21px;width:31px;height:40px;background:#ffe2ce;border-color:#e17627}
.sm-drawing-replace i:nth-child(3){left:76px;top:21px;width:31px;height:40px}
.sm-choice h3{font-size:clamp(1.5rem,1.95vw,1.75rem);line-height:1.24;color:#0e315c}
.sm-choice p:last-child{font-size:1.0625rem;color:#556f87;margin-top:16px;max-width:40ch}

/* A reviewable evidence register: technical clarity without invented metrics. */
.sm-evidence{background:#fbfcfe;padding:126px 0 137px}
.sm-evidence-layout{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(55px,7vw,115px);align-items:center}
.sm-evidence-copy h2{max-width:520px}
.sm-evidence-lead{font-size:1.25rem;line-height:1.55!important;color:#345673;max-width:45ch;margin-top:30px!important}
.sm-evidence-copy>p:last-child{font-size:1.0625rem;color:#566f87;max-width:55ch;margin-top:22px}
.sm-evidence-register{min-width:0;border:1px solid #adbfce;background:#eef4fa;box-shadow:13px 14px 0 #dfeaf5}
.sm-register-title{display:flex;justify-content:space-between;gap:20px;background:#0a2a50;color:#bdd3e8;padding:20px 23px;font-size:.75rem;font-weight:700;letter-spacing:.075em}
.sm-register-title span:first-child{color:#fff}
.sm-register-row{display:grid;grid-template-columns:39px minmax(0,1fr) 87px;gap:15px;align-items:center;padding:21px 23px;border-bottom:1px solid #c3d3e2}
.sm-register-index{font:600 1.5rem var(--display);color:#b84e05}
.sm-register-row strong{display:block;color:#13375f;font-size:1.0625rem;font-weight:600}
.sm-register-row small{display:block;color:#526f89;font-size:.875rem;margin-top:5px}
.sm-register-trace{display:flex;justify-content:flex-end;gap:5px}
.sm-register-trace i{width:14px;height:14px;border:1px solid #7799b6;background:#b3cade}
.sm-register-trace i:first-child{border-color:var(--orange);background:var(--orange)}
.sm-register-trace-last i:nth-child(2){border-color:#e78a4a;background:#ffba8c}
.sm-register-note{padding:18px 23px 21px;color:#45637d;background:#dce8f4;font-size:.875rem;line-height:1.55!important}

/* Deliverables as a scannable, bounded handover list. */
.sm-deliverables{background:#edf3f8;padding:120px 0 128px}
.sm-deliverables-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(50px,9vw,140px)}
.sm-deliverables-intro>p:last-child{font-size:1.125rem;color:#546e87;max-width:47ch;margin-top:28px}
.sm-deliverables-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:35px;row-gap:0;padding:0;margin:0}
.sm-deliverables-list li{display:grid;grid-template-columns:33px minmax(0,1fr);gap:5px 13px;align-content:start;min-height:135px;padding:21px 0 24px;border-top:1px solid #a6bacd}
.sm-deliverables-list li>span{font:600 1.5rem var(--display);color:#b65109;grid-row:1/3}
.sm-deliverables-list strong{font-size:1.0625rem;line-height:1.37;color:#10365f}
.sm-deliverables-list p{font-size:1rem;color:#506b84}

.sm-next{background:linear-gradient(113deg,#081b35,#11365f);color:#fff;padding:100px 0 107px}
.sm-next-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:65px}
.sm-next-overline{font-size:.8125rem;letter-spacing:.13em;font-weight:700;color:#afc9e3;margin-bottom:23px!important}
.sm-next h2{color:#fff;font-size:clamp(2.125rem,3.15vw,2.875rem)}
.sm-next h2 span{color:#b8d1eb}
.sm-next-layout p:last-child{max-width:64ch;font-size:1.125rem;color:#b7cbdf;margin-top:24px}
.sm-next .btn{min-height:58px;font-size:1rem;white-space:nowrap}
.sm-related{display:flex;align-items:center;flex-wrap:wrap;gap:32px;min-height:108px;padding-block:25px}
.sm-related>span{margin-right:auto;color:#4f6c85;font-size:.8125rem;font-weight:700;letter-spacing:.11em}
.sm-related a{display:inline-flex;align-items:center;gap:13px;font-size:.9375rem;font-weight:700;color:#153960}
.sm-related a:hover{color:#b54c00}
.sm-related a b{color:var(--orange);font-size:1.125rem}

@media(max-width:1200px){
  .sm-hero-layout{gap:36px}
  .sm-migration{padding:17px}
  .sm-migration-head,.sm-migration-foot{letter-spacing:.02em}
  .sm-migration-field{min-height:405px}
  .sm-map-node{min-width:39%;padding:12px}
  .sm-map-node strong{font-size:1rem}
  .sm-map-boundary{width:35%;left:33%}
  .sm-friction-layout,.sm-deliverables-layout{gap:60px}
  .sm-method-body{gap:40px}
  .sm-method-steps li{grid-template-columns:100px 1fr;gap:18px}
  .sm-choice{padding:27px 26px 32px}
  .sm-evidence-layout{gap:52px}
}
@media(max-width:960px){
  .sm-hero-layout{grid-template-columns:1fr;min-height:0;padding-block:55px 76px}
  .sm-breadcrumb{margin-bottom:49px}
  .sm-hero-copy{max-width:780px}
  .sm-migration{width:min(100%,680px);margin:30px auto 0}
  .sm-hero-tail{gap:12px}
  .sm-friction,.sm-method,.sm-choices,.sm-evidence,.sm-deliverables{padding-block:90px}
  .sm-friction-layout,.sm-deliverables-layout,.sm-evidence-layout{grid-template-columns:1fr;gap:48px}
  .sm-friction-intro>p:last-child,.sm-deliverables-intro>p:last-child{max-width:65ch}
  .sm-method-head{grid-template-columns:1fr;gap:23px}
  .sm-method-head>p{max-width:65ch}
  .sm-method-body{grid-template-columns:1fr;gap:36px;margin-top:45px}
  .sm-method-visual{min-height:0;width:min(100%,410px)}
  .sm-method-steps li{grid-template-columns:1fr;gap:7px}
  .sm-choices-head{grid-template-columns:1fr;gap:22px;margin-bottom:42px}
  .sm-choices-head>p{max-width:65ch}
  .sm-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
  .sm-choice{padding:24px 21px;min-height:355px}
  .sm-choice:last-child{grid-column:1/-1;min-height:280px}
  .sm-choice-drawing{margin-top:34px}
  .sm-choice h3{font-size:1.5rem}
  .sm-choice p:last-child{font-size:1rem}
  .sm-evidence-register{max-width:800px}
  .sm-deliverables-list{max-width:900px}
  .sm-next-layout{gap:30px}
}
@media(max-width:650px){
  .sm-hero-layout{padding-block:34px 53px}
  .sm-breadcrumb{font-size:.875rem;margin-bottom:38px}
  .sm-kicker{font-size:.75rem;letter-spacing:.065em}
  .sm-hero h1{font-size:clamp(2rem,8.5vw,2.375rem);margin:24px 0}
  .sm-hero-lead{font-size:1.125rem}
  .sm-hero-support{font-size:1rem}
  .sm-hero-actions{gap:15px;margin-top:30px}
  .sm-hero-actions .btn{width:100%}
  .sm-migration{margin-top:27px;padding:12px;box-shadow:10px 11px 0 #bbcfdf77}
  .sm-migration-head,.sm-migration-foot{font-size:.75rem;letter-spacing:0}
  .sm-migration-field{min-height:325px;aspect-ratio:1.1;margin:13px 0}
  .sm-map-node{min-width:42%;padding:9px;gap:5px}
  .sm-map-existing{left:2%;top:12%}
  .sm-map-evolving{right:2%;bottom:10%}
  .sm-map-node span{font-size:.75rem;letter-spacing:0}
  .sm-map-node strong{font-size:.875rem}
  .sm-map-node small{display:none}
  .sm-map-boundary{left:30%;top:41%;width:40%;min-height:77px;padding:8px;gap:3px;box-shadow:0 0 0 6px #ff6b0014}
  .sm-map-boundary b{font-size:.75rem;letter-spacing:0}
  .sm-map-boundary strong{font-size:.8125rem}
  .sm-map-boundary small{display:none}
  .sm-map-continuity{left:3%;bottom:10%;font-size:.75rem;letter-spacing:0;max-width:44%;gap:6px}
  .sm-migration-foot{flex-wrap:wrap;gap:8px}
  .sm-hero-tail{font-size:.75rem;letter-spacing:.05em;flex-wrap:wrap;line-height:1.5}
  .sm-friction,.sm-method,.sm-choices,.sm-evidence,.sm-deliverables{padding-block:73px}
  .sm-label{font-size:.75rem;margin-bottom:22px!important}
  .sm-page h2{font-size:clamp(1.875rem,7vw,2.375rem)}
  .sm-friction-layout,.sm-deliverables-layout,.sm-evidence-layout{gap:39px}
  .sm-friction-intro>p:last-child,.sm-deliverables-intro>p:last-child,.sm-method-head>p,.sm-choices-head>p{font-size:1.0625rem}
  .sm-friction-list article{grid-template-columns:30px 1fr;gap:16px;padding:24px 0}
  .sm-friction-mark{font-size:1.5rem}
  .sm-friction-list h3{font-size:1.375rem}
  .sm-friction-list p{font-size:1rem}
  .sm-method-body{grid-template-columns:1fr;gap:20px;margin-top:42px}
  .sm-method-visual{width:min(100%,365px);margin:0 auto 5px}
  .sm-loop-label{font-size:.625rem;padding:8px}
  .sm-loop-circle span{font-size:.625rem}
  .sm-loop-circle strong{font-size:1.5rem}
  .sm-method-steps li{grid-template-columns:1fr;padding:22px 0}
  .sm-method-steps h3{font-size:1.375rem}
  .sm-choice-grid{grid-template-columns:1fr;gap:16px}
  .sm-choice{min-height:0;padding:26px 28px 32px}
  .sm-choice:last-child{grid-column:auto;min-height:0}
  .sm-choice-drawing{margin-top:25px;margin-bottom:13px}
  .sm-choice p:last-child{font-size:1rem}
  .sm-evidence-lead{font-size:1.125rem}
  .sm-evidence-copy>p:last-child{font-size:1rem}
  .sm-evidence-register{box-shadow:7px 8px 0 #dfeaf5}
  .sm-register-title{flex-direction:column;gap:7px;padding:17px;font-size:.75rem}
  .sm-register-row{grid-template-columns:31px 1fr;gap:12px;padding:17px}
  .sm-register-index{font-size:1.375rem}
  .sm-register-row strong{font-size:1rem}
  .sm-register-trace{grid-column:2;justify-content:flex-start}
  .sm-register-note{padding:17px;font-size:.875rem}
  .sm-deliverables-list{grid-template-columns:1fr}
  .sm-deliverables-list li{min-height:0;padding:19px 0 23px}
  .sm-next{padding-block:77px}
  .sm-next-layout{grid-template-columns:1fr;gap:33px}
  .sm-next h2{font-size:clamp(1.875rem,7vw,2.375rem)}
  .sm-next-layout p:last-child{font-size:1.0625rem}
  .sm-next .btn{width:100%}
  .sm-related{flex-direction:column;align-items:flex-start;gap:18px;padding-block:35px}
  .sm-related>span{margin:0 0 4px}
}
