/* InvokeForge unified editorial visual system, October 2026.
   Source-of-truth design: homepage palette cream / graphite / signal coral.
   Applied after the old site.css to preserve existing document content and layout.
*/
:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --bg2: #f7f4ed;
  --panel: #fffefa;
  --panel-solid: #fffefa;
  --text: #242321;
  --muted: #665f54;
  --line: #ded7ca;
  --accent: #f26247;
  --accent2: #b84633;
  --success: #267b49;
  --warning: #a77724;
  --shadow: 0 18px 45px rgba(45,35,26,.065);
  --radius: 15px;
}
html{scroll-behavior:smooth;scroll-padding-top:36px}
body {
  background:#f7f4ed !important;
  color:#242321;
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.65;
}
body::before{content:none!important}
a{color:inherit}
.shell{width:min(1190px,calc(100% - 52px));margin:0 auto}
/* Page chrome */
nav.nav.if-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:20px 0;
  border-bottom:1px solid #ddd5ca;
  background:transparent;
  box-shadow:none;
}
.if-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#242321;white-space:nowrap;font-weight:890;font-size:23px;letter-spacing:-1.2px;line-height:1}
.if-brand span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#f26247;color:#fff;font-size:21px;font-weight:900;box-shadow:0 5px 13px rgba(242,98,71,.12)}
nav.nav.if-nav .navlinks{display:flex;gap:22px;align-items:center;justify-content:flex-end;flex-wrap:nowrap}
nav.nav.if-nav .navlinks a{font-size:13px;color:#37342f;text-decoration:none;font-weight:740;white-space:nowrap;letter-spacing:-.005em}
nav.nav.if-nav .navlinks a:hover{color:#b94734}
nav.nav.if-nav .navlinks .if-nav-cta{display:inline-flex!important;align-items:center;justify-content:center;padding:11px 17px;background:#f26247;color:#241e1a!important;border:1px solid #f26247;border-radius:9px;box-shadow:none}
nav.nav.if-nav .navlinks .if-nav-cta:hover{background:#e9543a;color:#1e1b19!important}
.if-nav-mobile{display:none;position:relative}
.if-nav-mobile summary{display:flex;gap:7px;align-items:center;list-style:none;border:1px solid #d9d0c5;padding:10px 14px;border-radius:9px;font-size:13px;font-weight:750;cursor:pointer}
.if-nav-mobile summary::-webkit-details-marker{display:none}
.if-nav-mobile[open] summary{background:#fffdfa}
.if-nav-mobile>div{position:absolute;z-index:50;top:calc(100% + 8px);right:0;width:min(265px,calc(100vw - 40px));display:flex;flex-direction:column;gap:0;padding:9px;background:#fffefa;border:1px solid #d9d0c5;box-shadow:0 14px 40px rgba(38,29,20,.13);border-radius:12px}
.if-nav-mobile a{display:block;padding:9px 11px;border-radius:7px;color:#26231f;text-decoration:none;font-weight:700;font-size:13px}
.if-nav-mobile a:hover{background:#f3e8df}
/* Typography and editorial rhythm */
h1,h2,h3,h4{color:#252320;letter-spacing:-.041em}
h1{font-size:clamp(43px,6vw,75px);line-height:1.04;max-width:1030px}
h2{letter-spacing:-.045em}
p,.lead,.section-intro{color:#625d54}
.hero{padding-top:79px;padding-bottom:80px}
.hero .lead,.page-hero .lead{color:#625c52;font-size:clamp(17px,2vw,21px)}
.page-hero{max-width:980px;padding:68px 0 53px}
.page-hero h1{font-size:clamp(43px,6.5vw,70px)}
.page-hero .lead{max-width:790px}
.section{border-top:1px solid #ded7ca;padding:76px 0}
.section .section-intro{color:#6a645a}
.eyebrow,.pill{color:#a74432!important;background:#f5e6dd!important;border:1px solid rgba(242,98,71,.2)!important;letter-spacing:.09em}
/* Buttons and app surfaces */
.button,.nav-cta{transition:transform .15s ease,background .15s ease,border-color .15s ease}
.button:hover{transform:translateY(-2px)}
.button.primary{background:#f26247!important;border-color:#f26247!important;color:#211e1b!important;background-image:none!important}
.button.primary:hover{background:#e9543a!important}
.button.secondary{background:#fffefa!important;color:#292622!important;border-color:#d9d2c6!important}
.hero-panel,.card,.status-card,.quote,.step,.partner-card{
  color:#242321;
  background:#fffefa!important;
  background-image:none!important;
  border:1px solid #dcd6ca!important;
  box-shadow:0 8px 22px rgba(37,28,19,.035)!important;
  border-radius:15px;
}
.hero-panel h2,.card h3,.quote h3,.step h3,.partner-card h3{color:#252320}
.hero-panel p,.card p,.status-card p,.quote p,.step p,.partner-card p,.feature p{color:#665e55!important}
.checks li{color:#625c52}
.checks span{background:rgba(242,98,71,.11)!important;color:#b84835!important}
.proof-grid{border-color:#ddd6cc;background:#e3ddd2}
.proof{background:#f0ebe2!important;color:#282521!important}
.proof strong{color:#292522}
.proof span{color:#665f55}
.status{border-color:#ded7ca;color:#776f64}
.status.live{color:#247644;border-color:rgba(36,118,68,.32)}
.status.validation{color:#97691e;border-color:rgba(151,105,30,.3)}
.card a{color:#ae422f!important}
.card:hover,.feature:hover{border-color:#d2b7a6!important}
.step-num,.flow .feature b{color:#b94632!important}
.feature,.mini{background:#fffdfa!important;border:1px solid #e0d9cd!important;color:#242321;border-radius:12px}
.mini span{color:#746f64}
.quote strong{color:#242321}
.clean-list li{color:#665f54}
.clean-list li::before{background:#f26247!important}
.cta{background:linear-gradient(130deg,#faeee2,#efe1d2)!important;border:1px solid #e8cfc1!important;box-shadow:none!important}
.cta h2,.cta p{color:#242321!important}
.cta p{color:#635e56!important}
.two-col .feature h3{color:#242321}
footer.footer.if-footer{
  background:transparent!important;
  border-top:1px solid #ded7ca;
  padding:30px 0 45px;
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;
  color:#686258;font-size:13px;
}
.if-footer-brand strong{display:block;font-size:15px;color:#25231f;margin-bottom:5px}
.if-footer-brand span{display:block;max-width:400px;line-height:1.55}
footer.footer.if-footer .footerlinks{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}
footer.footer.if-footer .footerlinks a{font-size:13px;text-decoration:none;color:#645d53;font-weight:700}
footer.footer.if-footer .footerlinks a:hover{color:#b54734}
/* Inputs, FAQ, details */
details{color:#252321}
summary{cursor:pointer}
pre,code{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}
:focus-visible{outline:3px solid #e35e43;outline-offset:4px}
@media(max-width:1100px){nav.nav.if-nav .navlinks{gap:14px}nav.nav.if-nav .navlinks a{font-size:12px}}
@media(max-width:800px){nav.nav.if-nav .navlinks{display:none!important}.if-nav-mobile{display:block}footer.footer.if-footer{flex-direction:column}footer.footer.if-footer .footerlinks{justify-content:flex-start}.hero{padding-top:54px}}
@media(max-width:650px){.shell{width:calc(100% - 30px)}.page-hero{padding:48px 0 46px}.page-hero h1{font-size:clamp(39px,10vw,55px)}.section{padding:56px 0}nav.nav.if-nav{padding:16px 0}.if-brand{font-size:21px}.hero{padding:46px 0 57px}h1{font-size:clamp(40px,11vw,53px)}.cta{padding:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.button{transition:none!important;transform:none!important}}
