/*
 * Thonem Website v9.6 — Reference Theme
 * Visual target: approved warm desert/orange reference supplied by the user.
 * This layer is loaded after the existing site/theme/experience styles.
 */
:root{
  --ref-orange:#f04b23;
  --ref-orange-2:#ff8c3e;
  --ref-orange-3:#e63f1c;
  --ref-ink:#0d2232;
  --ref-copy:#40515b;
  --ref-cream:#fffaf5;
  --ref-cream-2:#fff4ea;
  --ref-card:#fffdfa;
  --ref-line:#f0ded0;
  --ref-shadow:0 18px 50px rgba(101,54,29,.10);
  --ref-shadow-soft:0 10px 28px rgba(101,54,29,.08);
}
html{background:var(--ref-cream)}
body{background:linear-gradient(180deg,#fffaf6 0%,#fff8f2 45%,#fffdf9 100%);color:var(--ref-ink)}
body:before,.ambient{display:none!important}
.shell{width:min(100% - 40px,1260px)}

/* Site-wide header treatment from the approved reference. */
.site-header{
  position:sticky;top:0;z-index:80;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(15,34,50,.07)!important;
  box-shadow:none!important;
  backdrop-filter:blur(18px) saturate(150%);
}
.site-header.scrolled{box-shadow:0 10px 34px rgba(33,24,18,.07)!important}
.nav-wrap{height:68px!important;display:flex;align-items:center}
.brand{gap:10px!important;text-decoration:none}
.brand-logo{width:38px!important;height:38px!important;filter:drop-shadow(0 4px 9px rgba(226,73,28,.13))}
.brand-name{font-size:22px!important;font-weight:800!important;letter-spacing:-.04em!important;color:var(--ref-ink)!important;text-transform:none!important}
.site-badge{display:none!important}
.nav{gap:28px!important;margin-left:auto;margin-right:auto}
.nav a{font-size:14px!important;font-weight:700!important;color:#182935!important;letter-spacing:-.01em}
.nav a:hover,.nav a.active{color:var(--ref-orange)!important}
.nav-actions{gap:14px!important}
.nav-actions .lang-link{font-size:13px;font-weight:700;color:#1b2a35!important}
.search-trigger{
  width:38px;height:38px;padding:0!important;border:0!important;border-radius:999px!important;
  background:transparent!important;color:#142833!important;font-size:0!important;box-shadow:none!important;
}
.search-trigger:before{content:"⌕";font-size:23px;line-height:1}
.search-trigger span{display:none!important}
.btn,.btn-small{
  border:0!important;border-radius:999px!important;
  background:linear-gradient(100deg,var(--ref-orange-2),var(--ref-orange) 56%,var(--ref-orange-3))!important;
  color:#fff!important;font-weight:800!important;box-shadow:0 10px 24px rgba(240,75,35,.22)!important;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(240,75,35,.28)!important}
.btn-ghost{background:#fff!important;color:var(--ref-orange)!important;border:1px solid rgba(240,75,35,.35)!important;box-shadow:none!important}
.menu-btn span{background:#142833!important}
.mobile-nav{background:#fffdf9!important;border-color:var(--ref-line)!important;box-shadow:var(--ref-shadow)!important}
.mobile-nav a{color:#263844!important}

/* Internal pages inherit the same warm, clean component language. */
.section{padding-top:72px;padding-bottom:72px}
.kicker,.eyebrow{color:var(--ref-orange)!important;font-weight:850!important;letter-spacing:.13em!important}
.feature,.v3-card,.journey-card,.maturity-card,.readiness-card,.contract-card,.boundary-grid article,.doc-section,.release,.lead-form,.provider-profile,.docs-search-result,.check-row,.architecture-card,.lab-teaser,.demo-shell,.demo-console{
  border:1px solid var(--ref-line)!important;
  background:rgba(255,253,250,.96)!important;
  box-shadow:var(--ref-shadow-soft)!important;
  border-radius:22px!important;
}
.feature:hover,.v3-card:hover,.journey-card:hover,.maturity-card:hover,.provider-profile:hover,.docs-search-result:hover{
  border-color:rgba(240,75,35,.28)!important;box-shadow:var(--ref-shadow)!important
}
.feature-icon{border:0!important;background:linear-gradient(145deg,#ffad64,#f04b23)!important;color:#fff!important;box-shadow:0 9px 20px rgba(240,75,35,.22)!important}
.inline-link,.v3-card b,.journey-card b,.maturity-card b{color:var(--ref-orange)!important}

/* Homepage — exact structural direction of the approved reference. */
.reference-home{overflow-x:hidden;background:#fffaf6}
.reference-home .site-header{position:relative}
.reference-home .nav-wrap{max-width:1120px}
.reference-home .nav{gap:34px}
.reference-home .nav-actions .btn-small{padding:12px 22px!important}

.ref-hero{
  position:relative;isolation:isolate;min-height:410px;overflow:hidden;
  background:#ffd9b7 url('/_thonem-site/assets/hero-desert-v9.6.webp') center/cover no-repeat;
  border-bottom:1px solid rgba(240,75,35,.10);
}
.ref-hero:before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(255,238,220,.98) 0%,rgba(255,237,216,.92) 31%,rgba(255,226,192,.30) 53%,rgba(255,179,113,.08) 100%);
}
.ref-hero:after{
  content:"";position:absolute;right:13.5%;top:8px;width:330px;height:330px;border-radius:50%;z-index:-1;
  background:linear-gradient(145deg,#ff8c40,#f04b23);
  box-shadow:0 35px 85px rgba(171,58,18,.22);
}
.ref-hero-inner{position:relative;min-height:410px;display:flex;align-items:center;padding:44px 0 62px}
.ref-hero-copy{position:relative;z-index:4;width:min(590px,56%);padding-left:24px}
.ref-hero h1{font-size:clamp(48px,4.25vw,70px);line-height:.96;letter-spacing:-.055em;margin:0 0 18px;color:#0c2130;font-weight:850}
.ref-hero h1 em{font-style:normal;color:var(--ref-orange)}
.ref-hero p{max-width:620px;margin:0 0 22px;color:#3d505b;font-size:19px;line-height:1.32}
.ref-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}
.ref-actions .btn{padding:13px 24px!important;min-height:48px}
.ref-actions .btn-ghost{display:inline-flex;align-items:center;gap:9px}
.ref-play{display:grid;place-items:center;width:20px;height:20px;border:2px solid currentColor;border-radius:50%;font-size:9px}
.ref-checks{display:flex;gap:28px;align-items:center;flex-wrap:wrap;color:#2c3d46;font-size:13px;font-weight:700}
.ref-checks span:before{content:"✓";color:var(--ref-orange);font-weight:900;margin-right:9px}
.ref-mark{
  position:absolute;z-index:3;right:16.1%;top:44px;width:230px;height:250px;display:grid;place-items:center;
  filter:drop-shadow(0 18px 18px rgba(101,42,17,.23));
}
.ref-mark img{display:block;width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1);opacity:.97}
.ref-mark-base{position:absolute;right:14.3%;top:286px;width:300px;height:18px;border-radius:50%;background:rgba(119,57,28,.27);filter:blur(6px)}

.ref-feature-wrap{position:relative;z-index:7;margin-top:-43px}
.ref-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:rgba(255,255,255,.94);border:1px solid rgba(240,222,208,.92);border-radius:18px;box-shadow:var(--ref-shadow);overflow:hidden}
.ref-feature{min-height:92px;display:grid;grid-template-columns:52px 1fr;gap:15px;align-items:center;padding:17px 20px;border-right:1px solid var(--ref-line)}
.ref-feature:last-child{border-right:0}
.ref-feature-icon{width:50px;height:50px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#ff9850,#f04b23);color:#fff;font-size:25px;font-weight:900;box-shadow:0 8px 18px rgba(240,75,35,.20)}
.ref-feature strong{display:block;font-size:15px;color:#102634;margin-bottom:4px}
.ref-feature small{display:block;color:#52636c;line-height:1.25;font-size:12px}

.ref-solutions{padding:20px 0 26px;background:linear-gradient(180deg,#fffaf6,#fff7f1)}
.ref-solutions-grid{display:grid;grid-template-columns:1.15fr repeat(3,.78fr);gap:22px;align-items:stretch}
.ref-intro{padding:20px 6px 12px}
.ref-kicker{display:block;color:var(--ref-orange);font-size:12px;font-weight:900;letter-spacing:.15em;margin-bottom:9px}
.ref-intro h2{margin:0 0 9px;font-size:30px;line-height:1.05;letter-spacing:-.035em;color:#102634}
.ref-intro p{margin:0 0 16px;color:#596a73;line-height:1.35;font-size:14px;max-width:390px}
.ref-outline{display:inline-flex;align-items:center;gap:8px;padding:10px 17px;border:1.5px solid var(--ref-orange);border-radius:999px;color:var(--ref-orange);font-weight:800;font-size:13px;text-decoration:none;background:#fff}
.ref-solution-card{padding:18px;border:1px solid var(--ref-line);background:rgba(255,253,250,.90);border-radius:17px;box-shadow:0 9px 25px rgba(95,53,30,.055)}
.ref-solution-card .ref-feature-icon{width:42px;height:42px;font-size:19px;margin-bottom:13px}
.ref-solution-card h3{margin:0 0 7px;font-size:16px;color:#102634;letter-spacing:-.02em}
.ref-solution-card p{margin:0 0 9px;color:#5d6c74;font-size:13px;line-height:1.32}
.ref-solution-card a{color:var(--ref-orange);font-size:13px;font-weight:850;text-decoration:none}

.ref-proof{padding:24px 0;background:#fffdf9;border-top:1px solid rgba(240,222,208,.75);border-bottom:1px solid rgba(240,222,208,.75)}
.ref-proof-grid{display:grid;grid-template-columns:1.45fr repeat(4,.55fr) 1.6fr;gap:18px;align-items:center}
.ref-proof-copy .ref-kicker{margin-bottom:7px}
.ref-proof-copy h2{font-size:27px;margin:0 0 6px;letter-spacing:-.035em;color:#102634}
.ref-proof-copy p{font-size:13px;color:#60717a;margin:0;line-height:1.35}
.ref-stat{padding-left:18px;border-left:1px solid #edd8c8}
.ref-stat strong{display:block;color:var(--ref-orange);font-size:26px;line-height:1;font-weight:850;letter-spacing:-.04em;margin-bottom:6px}
.ref-stat small{display:block;color:#596a73;font-size:11px;line-height:1.25}
.ref-note{display:grid;grid-template-columns:52px 1fr;gap:13px;align-items:center;padding:14px 16px;border:1px solid var(--ref-line);border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(86,49,28,.05)}
.ref-note-badge{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ffd9bd,#ff8b42);color:#fff;font-weight:900;font-size:22px}
.ref-note blockquote{margin:0 0 5px;color:#263a45;font-size:12px;line-height:1.35;font-weight:650}
.ref-note small{color:#77868d;font-size:10px}

.ref-cta-wrap{padding:22px 0 8px;background:#fffdf9}
.ref-cta{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;padding:18px 38px;border-radius:17px;background:linear-gradient(105deg,#ff9a42,#f2672b 43%,#ed3e1e);color:#fff;box-shadow:0 14px 34px rgba(225,74,26,.18)}
.ref-cta:after{content:"";position:absolute;right:-14px;bottom:-55px;width:140px;height:140px;background:url('/_thonem-site/assets/thonem-logo.png') center/contain no-repeat;filter:grayscale(1) brightness(4);opacity:.11}
.ref-cta h2{margin:0 0 3px;font-size:25px;color:#fff;letter-spacing:-.03em}
.ref-cta p{margin:0;color:rgba(255,255,255,.86);font-size:13px}
.ref-cta .btn-light{position:relative;z-index:2;white-space:nowrap;background:#fff!important;color:var(--ref-orange)!important;box-shadow:none!important;padding:12px 25px!important}

.reference-home .footer{padding:10px 0 18px!important;background:#fffdf9!important;border-top:0!important}
.reference-home .footer-grid{grid-template-columns:1.15fr 2.4fr!important;gap:40px!important;align-items:start!important}
.reference-home .footer .brand-logo{width:38px!important;height:38px!important}
.reference-home .footer .brand-name{font-size:22px!important}
.reference-home .footer p{margin:7px 0 0!important;font-size:11px!important;color:#718087!important}
.reference-home .footer-links{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:5px 24px!important;align-items:start!important}
.reference-home .footer-links a{font-size:11px!important;color:#52636c!important}
.reference-home .footer-links a:nth-child(1),.reference-home .footer-links a:nth-child(4),.reference-home .footer-links a:nth-child(7),.reference-home .footer-links a:nth-child(10){font-weight:850;color:#172b37!important}
.reference-home .footer-end{grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;padding-top:10px!important;border-top:1px solid #efded2!important;font-size:10px!important;color:#7f8d93!important}

@media(max-width:1050px){
  .nav{gap:18px!important}.nav a{font-size:13px!important}
  .ref-hero:after{right:7%}.ref-mark{right:10%}.ref-mark-base{right:7.5%}
  .ref-solutions-grid{grid-template-columns:1fr 1fr}.ref-intro{grid-column:1/-1}.ref-proof-grid{grid-template-columns:1.2fr repeat(2,.6fr)}.ref-note{grid-column:2/4}.ref-stat:nth-of-type(n+4){display:none}
}
@media(max-width:860px){
  .reference-home .nav{display:none!important}.reference-home .search-trigger,.reference-home .lang-link{display:none!important}.reference-home .menu-btn{display:flex!important}
  .ref-hero{min-height:auto}.ref-hero-inner{min-height:580px;align-items:flex-start;padding-top:52px}.ref-hero-copy{width:68%;padding-left:0}.ref-hero:after{width:280px;height:280px;right:-58px;top:200px}.ref-mark{width:190px;height:210px;right:-17px;top:235px}.ref-mark-base{right:-42px;top:427px;width:250px}
  .ref-feature-grid{grid-template-columns:1fr 1fr}.ref-feature:nth-child(2){border-right:0}.ref-feature:nth-child(-n+2){border-bottom:1px solid var(--ref-line)}
  .ref-solutions-grid{grid-template-columns:1fr 1fr}
  .ref-proof-grid{grid-template-columns:1fr 1fr}.ref-proof-copy{grid-column:1/-1}.ref-note{grid-column:1/-1}.ref-stat:nth-of-type(n){display:block}
  .reference-home .footer-grid{grid-template-columns:1fr!important}.reference-home .footer-links{grid-template-columns:repeat(4,1fr)!important}
}
@media(max-width:640px){
  .shell{width:min(100% - 28px,1260px)}
  .nav-wrap{height:64px!important}.brand-logo{width:36px!important;height:36px!important}.brand-name{font-size:21px!important}.reference-home .nav-actions .btn-small{display:none!important}
  .ref-hero{background-position:63% center}.ref-hero-inner{min-height:620px;padding:38px 0 80px}.ref-hero-copy{width:100%;padding-right:0}.ref-hero h1{font-size:48px;max-width:430px}.ref-hero p{font-size:16px;max-width:410px}.ref-actions .btn{padding:12px 20px!important}.ref-checks{gap:12px 20px;font-size:12px;max-width:340px}
  .ref-hero:after{width:220px;height:220px;right:-48px;top:355px}.ref-mark{width:145px;height:165px;right:-5px;top:378px}.ref-mark-base{top:526px;right:-30px;width:200px}
  .ref-feature-wrap{margin-top:-34px}.ref-feature-grid{grid-template-columns:1fr}.ref-feature{border-right:0;border-bottom:1px solid var(--ref-line)}.ref-feature:last-child{border-bottom:0}
  .ref-solutions{padding-top:26px}.ref-solutions-grid{grid-template-columns:1fr}.ref-intro{padding:8px 2px}.ref-intro h2{font-size:28px}.ref-solution-card{padding:18px}
  .ref-proof-grid{grid-template-columns:1fr 1fr;gap:20px 12px}.ref-proof-copy{grid-column:1/-1}.ref-stat{padding-left:12px}.ref-stat strong{font-size:24px}.ref-note{grid-column:1/-1}
  .ref-cta{padding:22px;align-items:flex-start;flex-direction:column}.ref-cta h2{font-size:24px}
  .reference-home .footer-links{grid-template-columns:1fr 1fr!important}.reference-home .footer-end{gap:15px;flex-direction:column!important}
}
@media(prefers-reduced-motion:reduce){.btn:hover{transform:none}.ref-mark{filter:none}}
/* Compact footer used by the v9.6 reference homepage. */
.ref-footer-main{display:grid;grid-template-columns:1.15fr 2.4fr;gap:56px;align-items:start;padding:14px 0 12px}
.ref-footer-brand .brand{display:inline-flex}.ref-footer-brand p{max-width:270px!important}
.ref-footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.ref-foot-col strong{display:block;color:#172b37;font-size:11px;margin-bottom:6px}
.ref-foot-col a{display:block;color:#5b6b73;text-decoration:none;font-size:11px;line-height:1.55}.ref-foot-col a:hover{color:var(--ref-orange)}
.ref-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:10px;border-top:1px solid #efded2;font-size:10px;color:#7f8d93}
.ref-chev{font-size:11px;margin-left:4px;color:#5d6b72}
@media(max-width:820px){.ref-footer-main{grid-template-columns:1fr;gap:28px}.ref-footer-cols{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.ref-footer-cols{grid-template-columns:1fr 1fr;gap:22px}.ref-footer-bottom{flex-direction:column}}
