
/* Quillmerce authority update
   Targeted additions only: real product visuals, founder framing,
   funding record treatment and subtle glass layering. */

:root{
  --authority-glass: rgba(255,255,255,.68);
  --authority-glass-strong: rgba(255,255,255,.82);
  --authority-border: rgba(35,82,62,.18);
  --authority-shadow: 0 24px 64px rgba(29,64,49,.12);
}

/* Functional product surfaces */
.module.has-functional-visual{
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  align-items:stretch;
}
.module.has-functional-visual .module-copy{align-self:center}
.module-functional-visual{
  position:relative;
  overflow:hidden;
}
.module-functional-visual::before{
  content:"";
  position:absolute;
  inset:-35% 38% 62% -16%;
  background:radial-gradient(circle,rgba(97,151,116,.16),transparent 66%);
  pointer-events:none;
}
.functional-visual-frame{
  position:relative;
  box-shadow:0 10px 26px rgba(27,67,51,.08);
}
.functional-visual-frame img{
  aspect-ratio:2 / 1;
  object-fit:cover;
  object-position:center top;
}
#creative .functional-visual-frame img{object-position:center center}
#localisation .functional-visual-frame img{object-position:center 28%}
#approvals .functional-visual-frame img{object-position:center center}
.functional-visual-caption{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#698073;
  font-size:.69rem;
  letter-spacing:.01em;
}

/* Homepage: real product surface without replacing the existing hero content */
.home-functional-preview{
  padding-top:4px;
  padding-bottom:18px;
}
.home-functional-glass{
  position:relative;
  padding:14px;
  border:1px solid var(--authority-border);
  border-radius:22px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.74),rgba(239,247,241,.56));
  box-shadow:var(--authority-shadow);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.home-functional-glass::after{
  content:"";
  position:absolute;
  inset:10px 11% -13px;
  z-index:-1;
  border-radius:22px;
  background:rgba(190,220,199,.34);
  filter:blur(1px);
}
.home-functional-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:2px 3px 11px;
  color:#315a48;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.home-functional-head span:last-child{
  color:#7a9084;
  font-weight:650;
}
.home-functional-frame{
  overflow:hidden;
  border:1px solid rgba(28,66,51,.15);
  border-radius:14px;
  background:#eef2f7;
}
.home-functional-frame img{
  display:block;
  width:100%;
  height:auto;
}
.home-functional-foot{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:11px 3px 1px;
}
.home-functional-foot span{
  padding:7px 10px;
  border:1px solid rgba(35,82,62,.12);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#466656;
  font-size:.72rem;
  font-weight:650;
}

/* Founder authority block */
.founder-authority{
  position:relative;
}
.founder-authority .founder-grid{
  position:relative;
  padding:28px;
  border:1px solid var(--authority-border);
  border-radius:26px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.78),rgba(236,246,239,.60));
  box-shadow:var(--authority-shadow);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.founder-authority .founder-photo-card{
  padding:10px;
  border-color:rgba(35,82,62,.17);
  background:rgba(255,255,255,.76);
  box-shadow:0 16px 42px rgba(34,72,56,.11);
}
.founder-authority .founder-photo-card img{
  aspect-ratio:4/5;
  object-position:center top;
}
.founder-authority .quote-card{
  background:
    linear-gradient(135deg,rgba(211,235,219,.62),rgba(255,255,255,.56));
  border-color:rgba(35,82,62,.16);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.founder-role-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  padding:7px 10px;
  border:1px solid rgba(35,82,62,.14);
  border-radius:999px;
  background:rgba(255,255,255,.66);
  color:#315a48;
  font-size:.75rem;
  font-weight:760;
}
.founder-role-chip::before{
  content:"";
  width:7px;height:7px;border-radius:50%;
  background:#6ca47b;
  box-shadow:0 0 0 4px rgba(108,164,123,.12);
}

/* Funding page — screenshot-inspired record layout, while keeping the demo disclosure explicit */
.funding-authority-hero{
  padding:72px 0 68px;
  background:
    linear-gradient(120deg,rgba(221,236,248,.94),rgba(232,244,237,.92));
  border-bottom:1px solid rgba(35,82,62,.12);
}
.funding-authority-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(440px,1.1fr);
  gap:52px;
  align-items:center;
}
.funding-authority-copy .eyebrow{
  margin-bottom:20px;
}
.funding-authority-copy h1{
  max-width:760px;
}
.funding-authority-copy .lead{
  max-width:650px;
}
.funding-authority-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.funding-record-shell{
  position:relative;
  padding:8px 18px 20px 0;
}
.funding-record-shell::before{
  content:"";
  position:absolute;
  inset:22px 0 0 18px;
  border-radius:4px;
  background:rgba(203,228,215,.52);
}
.funding-record{
  position:relative;
  z-index:1;
  padding:31px 34px 24px;
  border:1px solid rgba(31,68,52,.22);
  background:rgba(255,255,255,.90);
  box-shadow:0 24px 64px rgba(32,66,52,.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.funding-record-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(35,82,62,.22);
  color:#2d6a50;
  font-size:.72rem;
  font-weight:820;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.funding-record-amount{
  padding:20px 0 23px;
  border-bottom:1px solid rgba(35,82,62,.22);
}
.funding-record-amount small{
  display:block;
  margin-bottom:6px;
  color:#667a6e;
  font-size:.76rem;
}
.funding-record-amount strong{
  display:block;
  color:#123d2e;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(3.8rem,7vw,6rem);
  line-height:.95;
  font-weight:500;
  letter-spacing:-.04em;
}
.funding-record-row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:20px;
  padding:16px 0;
  border-bottom:1px solid rgba(35,82,62,.18);
}
.funding-record-row:last-child{border-bottom:0}
.funding-record-row b{
  color:#2d6a50;
  font-size:.69rem;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.funding-record-row span{
  color:#263d34;
  font-family:Georgia,'Times New Roman',serif;
  font-size:1rem;
}
.funding-demo-flag{
  display:inline-flex;
  margin-top:18px;
  padding:7px 10px;
  border:1px solid rgba(126,86,30,.21);
  border-radius:999px;
  background:rgba(255,244,218,.78);
  color:#78561f;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* General glass refinement: only targeted framed components */
.home-demo-panel,
.security-panel,
.brand-panel{
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

@media (max-width: 1100px){
  .funding-authority-grid{grid-template-columns:1fr;gap:38px}
  .funding-record-shell{max-width:760px}
}
@media (max-width: 860px){
  .module.has-functional-visual{grid-template-columns:1fr}
  .module.has-functional-visual .module-copy{order:1}
  .module.has-functional-visual .module-functional-visual{order:2}
  .founder-authority .founder-grid{padding:20px}
}
@media (max-width: 620px){
  .home-functional-glass{padding:9px;border-radius:16px}
  .home-functional-head{align-items:flex-start;flex-direction:column;gap:3px}
  .home-functional-frame{border-radius:10px}
  .funding-authority-hero{padding:48px 0}
  .funding-record{padding:24px 21px 18px}
  .funding-record-row{grid-template-columns:1fr;gap:5px}
  .funding-record-shell{padding-right:10px}
}

/* Homepage hero v2 — centered message with product dashboard directly below. */
.home-page .hero{
  display:block;
  max-width:980px;
  margin-inline:auto;
  padding:88px 0 44px;
  text-align:center;
}
.home-page .hero-copy{
  max-width:900px;
  margin-inline:auto;
}
.home-page .hero h1{
  max-width:860px;
  margin-inline:auto;
}
.home-page .hero .lead{
  max-width:760px;
  margin-inline:auto;
}
.home-page .hero .kicker{
  width:max-content;
  max-width:100%;
  margin-inline:auto;
}
.home-page .hero-actions,
.home-page .hero-proof{
  justify-content:center;
}
.home-page .home-functional-preview{
  padding-top:0;
  padding-bottom:24px;
}
.home-page .home-functional-preview > .container{
  max-width:1220px;
}
.home-page .home-functional-glass{
  margin-top:0;
}
@media (max-width:720px){
  .home-page .hero{padding:64px 0 34px;text-align:center}
  .home-page .hero .kicker{width:auto}
  .home-page .hero-actions{display:flex}
  .home-page .hero-actions .btn{width:auto}
  .home-page .hero-proof{justify-content:center}
}
@media (max-width:520px){
  .home-page .hero-actions{display:grid}
  .home-page .hero-actions .btn{width:100%}
}

/* Homepage funding announcement — reference-led and aligned to site sections */
.home-page .home-functional-preview{
  padding-bottom:18px;
}
.home-funding-slot{
  margin:0;
  padding:56px 0;
  background:linear-gradient(110deg,#dfeef9 0%,#e9f4ee 100%);
  border-top:1px solid rgba(35,82,62,.10);
  border-bottom:1px solid rgba(35,82,62,.10);
}
.home-funding-slot + .capability-ribbon{
  padding-top:72px;
}
.home-funding-slot .funding-authority-grid{
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);
  gap:64px;
  align-items:center;
}
.home-funding-slot .funding-authority-copy .eyebrow{
  margin:0 0 18px;
  color:#2d6a50;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:.70rem;
  font-weight:700;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.home-funding-slot .funding-authority-copy h2{
  max-width:11.8ch;
  margin:0;
  color:#11362a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.8rem,4.3vw,4.25rem);
  font-weight:500;
  line-height:1.02;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.home-funding-slot .funding-authority-copy .lead{
  max-width:37ch;
  margin:22px 0 0;
  color:#4e655c;
  font-size:1rem;
  font-weight:400;
  line-height:1.55;
}
.home-funding-slot .funding-authority-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:22px;
  margin-top:26px;
}
.home-funding-slot .funding-home-cta{
  min-height:44px;
  padding:0 18px;
  font-size:.86rem;
}
.home-funding-slot .funding-home-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#173e30;
  font-size:.88rem;
  font-weight:650;
  text-decoration:none;
}
.home-funding-slot .funding-home-link:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}
.home-funding-slot .funding-record-shell{
  position:relative;
  padding:6px 18px 20px 0;
}
.home-funding-slot .funding-record-shell::before{
  content:"";
  position:absolute;
  inset:20px 0 0 18px;
  background:rgba(202,229,216,.56);
}
.home-funding-slot .funding-record{
  position:relative;
  z-index:1;
  padding:26px 30px 20px;
  border:1px solid rgba(31,68,52,.20);
  background:rgba(255,255,255,.92);
  box-shadow:0 20px 48px rgba(32,66,52,.08);
}
.home-funding-slot .funding-record-top{
  display:flex;
  justify-content:flex-start;
  padding-bottom:18px;
  border-bottom:1px solid rgba(35,82,62,.20);
  color:#2d6a50;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.home-funding-slot .funding-record-amount{
  padding:18px 0 20px;
  border-bottom:1px solid rgba(35,82,62,.20);
}
.home-funding-slot .funding-record-amount small{
  display:block;
  margin-bottom:7px;
  color:#62776d;
  font-size:.76rem;
  font-weight:400;
}
.home-funding-slot .funding-record-amount strong{
  display:block;
  color:#123d2e;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(3.7rem,5.4vw,5.35rem);
  font-weight:500;
  line-height:.94;
  letter-spacing:-.04em;
}
.home-funding-slot .funding-record-row{
  display:grid;
  grid-template-columns:118px 1fr;
  gap:24px;
  padding:14px 0;
  border-bottom:1px solid rgba(35,82,62,.17);
}
.home-funding-slot .funding-record-row:last-child{
  border-bottom:0;
}
.home-funding-slot .funding-record-row b{
  color:#2d6a50;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.home-funding-slot .funding-record-row span{
  color:#263d34;
  font-family:Georgia,"Times New Roman",serif;
  font-size:.96rem;
  font-weight:400;
}
@media (max-width:1000px){
  .home-funding-slot{padding:48px 0;}
  .home-funding-slot .funding-authority-grid{grid-template-columns:1fr;gap:34px;}
  .home-funding-slot .funding-authority-copy h2{max-width:15ch;}
  .home-funding-slot .funding-record-shell{max-width:680px;width:100%;}
}
@media (max-width:620px){
  .home-funding-slot{padding:38px 0;}
  .home-funding-slot .funding-authority-copy h2{font-size:clamp(2.35rem,11vw,3.2rem);}
  .home-funding-slot .funding-authority-copy .lead{margin-top:16px;}
  .home-funding-slot .funding-authority-actions{gap:14px;margin-top:20px;}
  .home-funding-slot .funding-record{padding:22px 20px 16px;}
  .home-funding-slot .funding-record-row{grid-template-columns:1fr;gap:5px;}
  .home-funding-slot + .capability-ribbon{padding-top:54px;}
}


/* Funding typography refinement — compact, editorial, consistent with homepage rhythm */
.home-funding-slot{
  padding:50px 0;
}
.home-funding-slot + .capability-ribbon{
  padding-top:64px;
}
.home-funding-slot .funding-authority-grid{
  grid-template-columns:minmax(0,1fr) minmax(360px,.86fr);
  gap:72px;
}
.home-funding-slot .funding-authority-copy{
  max-width:650px;
}
.home-funding-slot .funding-authority-copy .eyebrow{
  margin-bottom:13px;
  font-size:.64rem;
  font-weight:650;
  letter-spacing:.08em;
}
.home-funding-slot .funding-authority-copy h2{
  max-width:18ch;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.3rem,3.35vw,3.25rem);
  font-weight:400;
  line-height:1.06;
  letter-spacing:-.025em;
  text-wrap:pretty;
}
.home-funding-slot .funding-authority-copy h2 .funding-highlight{
  color:#356246;
  font-weight:400;
}
.home-funding-slot .funding-authority-copy .lead{
  max-width:46ch;
  margin-top:16px;
  font-size:.91rem;
  line-height:1.55;
}
.home-funding-slot .funding-authority-actions{
  gap:18px;
  margin-top:21px;
}
.home-funding-slot .funding-home-cta{
  min-height:40px;
  padding-inline:16px;
  font-size:.79rem;
}
.home-funding-slot .funding-home-link{
  font-size:.80rem;
  font-weight:600;
}
.home-funding-slot .funding-record-shell{
  width:100%;
  max-width:500px;
  justify-self:end;
  padding:5px 15px 17px 0;
}
.home-funding-slot .funding-record-shell::before{
  inset:17px 0 0 15px;
}
.home-funding-slot .funding-record{
  padding:22px 25px 16px;
}
.home-funding-slot .funding-record-top{
  padding-bottom:13px;
  font-size:.60rem;
  font-weight:650;
}
.home-funding-slot .funding-record-amount{
  padding:13px 0 15px;
}
.home-funding-slot .funding-record-amount small{
  margin-bottom:3px;
  font-size:.69rem;
}
.home-funding-slot .funding-record-amount strong{
  font-size:clamp(3rem,4.2vw,4.2rem);
  font-weight:400;
}
.home-funding-slot .funding-record-row{
  grid-template-columns:102px 1fr;
  gap:18px;
  padding:11px 0;
}
.home-funding-slot .funding-record-row b{
  font-size:.60rem;
  font-weight:650;
}
.home-funding-slot .funding-record-row span{
  font-size:.86rem;
  line-height:1.4;
}
@media (max-width:1000px){
  .home-funding-slot .funding-authority-grid{grid-template-columns:1fr;gap:28px;}
  .home-funding-slot .funding-authority-copy h2{max-width:20ch;}
  .home-funding-slot .funding-record-shell{justify-self:start;max-width:600px;}
}
@media (max-width:620px){
  .home-funding-slot{padding:36px 0;}
  .home-funding-slot .funding-authority-copy h2{font-size:clamp(2rem,9vw,2.75rem);}
  .home-funding-slot .funding-authority-copy .lead{font-size:.88rem;}
}


/* Final homepage + funding announcement refinement */
.home-page .hero{
  padding-top: 28px !important;
  padding-bottom: 40px !important;
}
.home-page .hero .kicker{
  margin-top: 0;
}
.home-page .home-functional-preview{
  padding-top: 6px;
}
.home-page .page-main > .container{
  padding-top: 0;
}
.home-funding-slot{
  padding: 34px 0 26px !important;
  background: #dbe6df;
}
.home-funding-slot + .capability-ribbon{
  padding-top: 24px !important;
}
.home-funding-slot .funding-authority-grid{
  align-items: center;
  gap: 44px;
}
.home-funding-slot .funding-authority-copy .eyebrow,
.funding-authority-hero .eyebrow,
.funding-record-top,
.funding-record-row b,
.funding-record-amount small{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: .04em;
}
.home-funding-slot .funding-authority-copy h2,
.funding-authority-hero h1{
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.045em;
  color: #133428;
}
.home-funding-slot .funding-authority-copy h2{
  max-width: 11.2ch;
  font-size: clamp(2.45rem, 4.1vw, 4.1rem);
  line-height: .96;
  margin-bottom: 0;
}
.home-funding-slot .funding-authority-copy h2 .funding-highlight,
.funding-authority-hero h1 .funding-highlight{
  color: #3e775d;
  font-weight: 500;
}
.home-funding-slot .funding-authority-copy .lead{
  max-width: 34ch;
  margin-top: 16px;
  font-size: .98rem;
  line-height: 1.5;
  color: #4c6359;
}
.home-funding-slot .funding-authority-actions{
  margin-top: 22px;
}
.home-funding-slot .funding-home-cta{
  min-height: 46px;
}
.home-funding-slot .funding-home-link{
  font-size: .98rem;
}
.home-funding-slot .funding-record-shell::before{
  background: rgba(190, 212, 201, .82);
}
.home-funding-slot .funding-record{
  border-color: rgba(28,62,47,.14);
  box-shadow: none;
}
.home-funding-slot .funding-record-top{
  font-size: .72rem;
}
.home-funding-slot .funding-record-amount strong{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.2rem, 4.9vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.04em;
}
.home-funding-slot .funding-record-row span{
  color: #30433b;
}
.funding-page .funding-authority-hero{
  padding: 58px 0 34px;
  background: #dbe6df;
}
.funding-page #announcement-details{
  padding-top: 44px;
}
.funding-page .funding-authority-grid{
  align-items: center;
  gap: 52px;
}
.funding-page .funding-authority-copy h1{
  max-width: 11.4ch;
  font-size: clamp(2.8rem, 4.4vw, 4.6rem);
  line-height: .96;
}
.funding-page .funding-authority-copy .lead{
  max-width: 40ch;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.55;
  color: #4c6359;
}
.funding-page .funding-authority-actions{
  margin-top: 24px;
}
.funding-page .funding-record-shell::before{
  background: rgba(190, 212, 201, .82);
}
.funding-page .funding-record{
  border-color: rgba(28,62,47,.14);
  box-shadow: none;
}
.funding-page .funding-record-amount strong{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.5rem, 4.8vw, 5.2rem);
  font-weight: 500;
}
.funding-page .funding-article-body{
  max-width: 760px;
}
.funding-page .funding-article-body p{
  font-size: 1.02rem;
  line-height: 1.75;
  color: #465b53;
}
.funding-page .funding-article-body h2{
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.55rem;
  letter-spacing: -.03em;
}
@media (max-width: 900px){
  .home-page .hero{padding-top: 18px !important;}
  .home-funding-slot .funding-authority-grid,
  .funding-page .funding-authority-grid{gap: 28px;}
}
@media (max-width: 620px){
  .home-page .hero{padding-top: 14px !important; padding-bottom: 28px !important;}
  .home-funding-slot{padding: 26px 0 22px !important;}
  .home-funding-slot .funding-authority-copy h2,
  .funding-page .funding-authority-copy h1{font-size: clamp(2.1rem, 9vw, 3rem); max-width: 100%;}
  .funding-page .funding-authority-hero{padding: 40px 0 26px;}
}


/* FINAL HEADER SPACING FIX */
.home-page .site-header{
  padding-top:6px !important;
}
.home-page .site-header .nav-shell{
  min-height:60px;
}
.home-page main.page-main > .container > .hero{
  padding-top:14px !important;
  padding-bottom:34px !important;
}
.home-page main.page-main > .container > .hero .kicker{
  margin-top:0 !important;
}
.home-page main.page-main > .container > .hero h1{
  margin-top:24px;
}
.funding-page .site-header{
  padding-top:6px !important;
}
.funding-page .site-header .nav-shell{
  min-height:60px;
}
.funding-page .funding-authority-hero{
  padding-top:34px !important;
}
@media (max-width:720px){
  .home-page main.page-main > .container > .hero{
    padding-top:10px !important;
    padding-bottom:26px !important;
  }
  .home-page main.page-main > .container > .hero h1{
    margin-top:18px;
  }
  .funding-page .funding-authority-hero{
    padding-top:26px !important;
  }
}


/* USER-REQUESTED FUNDING TYPOGRAPHY + RESPONSIVE FIX */
/* Homepage funding is a full-width band. Funding page keeps the site's normal paper/gradient treatment. */
.home-page .home-funding-slot{
  width:100%;
  margin:0;
  padding:42px 0 !important;
  background:#d9e7dc !important;
  border-top:1px solid rgba(28,62,47,.08);
  border-bottom:1px solid rgba(28,62,47,.08);
}
.home-page .home-funding-slot > .container{
  width:min(1180px, calc(100% - 40px));
  margin-inline:auto;
}
.home-page .home-funding-slot .funding-authority-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(360px,.88fr);
  gap:56px;
  align-items:center;
}
.home-page .home-funding-slot .funding-authority-copy{
  min-width:0;
}
.home-page .home-funding-slot .funding-authority-copy .eyebrow,
.funding-page .funding-authority-copy .eyebrow,
.home-page .home-funding-slot .funding-record-top,
.funding-page .funding-record-top,
.home-page .home-funding-slot .funding-record-row b,
.funding-page .funding-record-row b,
.home-page .home-funding-slot .funding-record-amount small,
.funding-page .funding-record-amount small{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-weight:600;
  letter-spacing:.045em;
}
.home-page .home-funding-slot .funding-authority-copy h2,
.funding-page .funding-authority-copy h1{
  margin:0;
  font-family:"Times New Roman",Times,serif !important;
  font-style:normal !important;
  font-synthesis:none;
  font-weight:400 !important;
  letter-spacing:-.025em !important;
  line-height:.98;
  color:#12372a;
  text-wrap:balance;
}
.home-page .home-funding-slot .funding-authority-copy h2{
  max-width:13ch;
  font-size:clamp(2.7rem,4.35vw,4.35rem) !important;
}
.home-page .home-funding-slot .funding-highlight,
.funding-page .funding-highlight{
  color:#3c755c;
  font-family:inherit !important;
  font-style:normal !important;
  font-weight:400 !important;
}
.home-page .home-funding-slot .funding-authority-copy .lead{
  max-width:36ch;
  margin:18px 0 0;
  font-size:.96rem;
  line-height:1.55;
  color:#4f665c;
}
.home-page .home-funding-slot .funding-authority-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px;
  margin-top:24px;
}
.home-page .home-funding-slot .funding-home-cta{
  min-height:46px;
  padding-inline:20px;
}
.home-page .home-funding-slot .funding-home-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#163a2d;
  font-size:.92rem;
  font-weight:700;
  text-decoration:none;
}
.home-page .home-funding-slot .funding-record-shell,
.funding-page .funding-record-shell{
  width:100%;
  min-width:0;
  padding:10px 16px 16px 0;
}
.home-page .home-funding-slot .funding-record-shell::before,
.funding-page .funding-record-shell::before{
  inset:20px 0 0 14px;
  background:rgba(185,207,196,.62);
}
.home-page .home-funding-slot .funding-record,
.funding-page .funding-record{
  min-width:0;
  padding:24px 28px 20px;
  border:1px solid rgba(28,62,47,.14);
  background:rgba(255,255,255,.92);
  box-shadow:none;
}
.home-page .home-funding-slot .funding-record-top,
.funding-page .funding-record-top{
  padding-bottom:14px;
  font-size:.66rem;
}
.home-page .home-funding-slot .funding-record-amount,
.funding-page .funding-record-amount{
  padding:15px 0 17px;
}
.home-page .home-funding-slot .funding-record-amount strong,
.funding-page .funding-record-amount strong{
  display:block;
  width:max-content;
  max-width:100%;
  margin:0;
  font-family:"Times New Roman",Times,serif !important;
  font-style:normal !important;
  font-synthesis:none;
  font-weight:400 !important;
  font-variant-numeric:lining-nums tabular-nums;
  letter-spacing:-.02em !important;
  line-height:.92 !important;
  white-space:nowrap;
  transform:none !important;
  color:#0f402f;
}
.home-page .home-funding-slot .funding-record-amount strong{
  font-size:clamp(3.2rem,5vw,4.7rem) !important;
}
.home-page .home-funding-slot .funding-record-row,
.funding-page .funding-record-row{
  grid-template-columns:112px minmax(0,1fr);
  gap:18px;
  padding:12px 0;
}
.home-page .home-funding-slot .funding-record-row b,
.funding-page .funding-record-row b{
  font-size:.64rem;
}
.home-page .home-funding-slot .funding-record-row span,
.funding-page .funding-record-row span{
  min-width:0;
  overflow-wrap:anywhere;
  font-family:Georgia,"Times New Roman",serif;
  font-size:.91rem;
  line-height:1.4;
  color:#30453b;
}
/* Funding page: restore the non-green page treatment; only homepage uses #d9e7dc. */
.funding-page .funding-authority-hero{
  padding:46px 0 38px !important;
  background:linear-gradient(120deg,rgba(221,236,248,.62),rgba(238,244,239,.58)) !important;
  border-bottom:1px solid rgba(35,82,62,.10);
}
.funding-page .funding-authority-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(390px,1fr);
  gap:50px;
  align-items:center;
}
.funding-page .funding-authority-copy h1{
  max-width:13ch;
  font-size:clamp(2.8rem,4.45vw,4.55rem) !important;
}
.funding-page .funding-authority-copy .lead{
  max-width:42ch;
  margin-top:18px;
  font-size:.98rem;
  line-height:1.58;
}
.funding-page .funding-record-amount strong{
  font-size:clamp(3.4rem,4.8vw,5rem) !important;
}
.funding-page #announcement-details{
  padding-top:38px;
}
/* Keep the next homepage section close to the funding band, without swallowing spacing. */
.home-page .home-funding-slot + .container > .capability-ribbon{
  padding-top:34px !important;
}
@media (max-width: 980px){
  .home-page .home-funding-slot{
    padding:34px 0 !important;
  }
  .home-page .home-funding-slot .funding-authority-grid,
  .funding-page .funding-authority-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .home-page .home-funding-slot .funding-authority-copy h2,
  .funding-page .funding-authority-copy h1{
    max-width:18ch;
  }
  .home-page .home-funding-slot .funding-record-shell,
  .funding-page .funding-record-shell{
    max-width:680px;
    justify-self:start;
  }
}
@media (max-width: 640px){
  .home-page .home-funding-slot{
    padding:28px 0 !important;
  }
  .home-page .home-funding-slot > .container{
    width:min(100% - 28px,1180px);
  }
  .home-page .home-funding-slot .funding-authority-copy h2,
  .funding-page .funding-authority-copy h1{
    max-width:none;
    font-size:clamp(2.15rem,10vw,3rem) !important;
    line-height:1.02;
  }
  .home-page .home-funding-slot .funding-authority-copy .lead,
  .funding-page .funding-authority-copy .lead{
    max-width:none;
    font-size:.92rem;
  }
  .home-page .home-funding-slot .funding-authority-actions,
  .funding-page .funding-authority-actions{
    gap:12px;
  }
  .home-page .home-funding-slot .funding-record,
  .funding-page .funding-record{
    padding:20px 18px 16px;
  }
  .home-page .home-funding-slot .funding-record-amount strong,
  .funding-page .funding-record-amount strong{
    font-size:clamp(3rem,16vw,4.2rem) !important;
  }
  .home-page .home-funding-slot .funding-record-row,
  .funding-page .funding-record-row{
    grid-template-columns:1fr;
    gap:5px;
  }
  .funding-page .funding-authority-hero{
    padding:34px 0 26px !important;
  }
}

/* FINAL HOMEPAGE FUNDING BAND — THINNER, CONTAINED, MATCHES SECTION RHYTHM */
.home-page .home-funding-slot{
  padding:24px 0 !important;
  overflow:hidden;
}
.home-page .home-funding-slot > .container{
  width:min(1040px, calc(100% - 40px));
  margin-inline:auto;
}
.home-page .home-funding-slot .funding-authority-grid{
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);
  gap:42px;
  align-items:center;
}
.home-page .home-funding-slot .funding-authority-copy .eyebrow{
  margin-bottom:9px;
  font-size:.64rem;
  line-height:1.2;
}
.home-page .home-funding-slot .funding-authority-copy h2{
  max-width:15.5ch;
  font-size:clamp(2.35rem,3.35vw,3.35rem) !important;
  line-height:.98;
  letter-spacing:-.02em !important;
}
.home-page .home-funding-slot .funding-authority-copy .lead{
  max-width:38ch;
  margin-top:12px;
  font-size:.88rem;
  line-height:1.48;
}
.home-page .home-funding-slot .funding-authority-actions{
  gap:16px;
  margin-top:16px;
}
.home-page .home-funding-slot .funding-home-cta{
  min-height:40px;
  padding:9px 16px;
  font-size:.82rem;
}
.home-page .home-funding-slot .funding-home-link{
  font-size:.82rem;
}
.home-page .home-funding-slot .funding-record-shell{
  max-width:450px;
  justify-self:end;
  padding:6px 10px 10px 0;
}
.home-page .home-funding-slot .funding-record-shell::before{
  inset:13px 0 0 10px;
}
.home-page .home-funding-slot .funding-record{
  padding:17px 21px 14px;
}
.home-page .home-funding-slot .funding-record-top{
  padding-bottom:9px;
  font-size:.57rem;
}
.home-page .home-funding-slot .funding-record-amount{
  padding:9px 0 11px;
}
.home-page .home-funding-slot .funding-record-amount small{
  margin-bottom:2px;
  font-size:.61rem;
}
.home-page .home-funding-slot .funding-record-amount strong{
  font-size:clamp(2.8rem,4vw,3.75rem) !important;
  line-height:.94 !important;
}
.home-page .home-funding-slot .funding-record-row{
  grid-template-columns:88px minmax(0,1fr);
  gap:14px;
  padding:8px 0;
}
.home-page .home-funding-slot .funding-record-row b{
  font-size:.56rem;
}
.home-page .home-funding-slot .funding-record-row span{
  font-size:.82rem;
  line-height:1.3;
}
/* Keep the next section close, like the reference section rhythm. */
.home-page .home-funding-slot + .container > .capability-ribbon{
  padding-top:22px !important;
}
@media (max-width: 900px){
  .home-page .home-funding-slot{
    padding:22px 0 !important;
  }
  .home-page .home-funding-slot > .container{
    width:min(760px, calc(100% - 36px));
  }
  .home-page .home-funding-slot .funding-authority-grid{
    grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);
    gap:28px;
  }
  .home-page .home-funding-slot .funding-authority-copy h2{
    font-size:clamp(2.05rem,4.6vw,2.75rem) !important;
    max-width:15ch;
  }
  .home-page .home-funding-slot .funding-record-shell{
    max-width:380px;
  }
}
@media (max-width: 720px){
  .home-page .home-funding-slot{
    padding:20px 0 !important;
  }
  .home-page .home-funding-slot > .container{
    width:min(100% - 28px,620px);
  }
  .home-page .home-funding-slot .funding-authority-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .home-page .home-funding-slot .funding-authority-copy h2{
    max-width:16ch;
    font-size:clamp(2rem,8vw,2.65rem) !important;
  }
  .home-page .home-funding-slot .funding-authority-copy .lead{
    max-width:44ch;
    margin-top:10px;
  }
  .home-page .home-funding-slot .funding-record-shell{
    justify-self:stretch;
    max-width:520px;
    width:100%;
  }
}
@media (max-width: 480px){
  .home-page .home-funding-slot{
    padding:18px 0 !important;
  }
  .home-page .home-funding-slot .funding-authority-actions{
    margin-top:14px;
  }
  .home-page .home-funding-slot .funding-record{
    padding:16px 16px 12px;
  }
  .home-page .home-funding-slot .funding-record-row{
    grid-template-columns:1fr;
    gap:3px;
    padding:7px 0;
  }
  .home-page .home-funding-slot .funding-record-amount strong{
    font-size:clamp(2.6rem,14vw,3.4rem) !important;
  }
}


/* ONLY CHANGE: homepage capability section light-yellow background */
.home-page #product-operations.capability-ribbon{
  position:relative;
  isolation:isolate;
  background:transparent !important;
  border-block:0 !important;
}
.home-page #product-operations.capability-ribbon::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#f6f0df;
}
.home-page #product-operations .capability-rail{
  background:transparent !important;
  border-color:#ded4b9 !important;
  box-shadow:none !important;
}
.home-page #product-operations .capability-rail span{
  background:rgba(255,255,255,.48) !important;
}


/* Funding page hero — thinner contained layout */
.funding-page .funding-authority-hero{
  padding: 30px 0 24px !important;
  background: linear-gradient(120deg, rgba(221,236,248,.62), rgba(238,244,239,.58)) !important;
}
.funding-page .funding-authority-grid{
  grid-template-columns: minmax(0,.88fr) minmax(330px,.9fr) !important;
  gap: 38px !important;
  align-items: center !important;
}
.funding-page .funding-authority-copy{
  max-width: 520px;
}
.funding-page .funding-authority-copy .eyebrow{
  margin-bottom: 10px;
  font-size: .62rem;
  letter-spacing: .08em;
}
.funding-page .funding-authority-copy h1{
  max-width: 10.8ch !important;
  font-size: clamp(2.25rem, 3.4vw, 3.5rem) !important;
  line-height: .98 !important;
  font-weight: 400 !important;
  letter-spacing: -.035em !important;
  margin-bottom: 0;
}
.funding-page .funding-authority-copy .lead{
  max-width: 39ch;
  margin-top: 14px;
  font-size: .9rem;
  line-height: 1.5;
}
.funding-page .funding-authority-actions{
  gap: 14px;
  margin-top: 18px;
}
.funding-page .funding-authority-actions .btn{
  min-height: 40px;
  padding: 10px 16px;
  font-size: .8rem;
}
.funding-page .funding-record-shell{
  max-width: 500px;
  padding: 4px 14px 16px 0;
}
.funding-page .funding-record-shell::before{
  inset: 16px 0 0 14px;
}
.funding-page .funding-record{
  padding: 20px 22px 14px;
}
.funding-page .funding-record-top{
  padding-bottom: 12px;
  font-size: .6rem;
}
.funding-page .funding-record-amount{
  padding: 12px 0 14px;
}
.funding-page .funding-record-amount strong{
  font-size: clamp(3rem, 4vw, 4.15rem) !important;
  line-height: .95;
  font-weight: 400 !important;
  font-style: normal !important;
}
.funding-page .funding-record-row{
  grid-template-columns: 95px 1fr;
  gap: 16px;
  padding: 10px 0;
}
.funding-page .funding-record-row b{
  font-size: .6rem;
}
.funding-page .funding-record-row span{
  font-size: .86rem;
  line-height: 1.42;
}
.funding-page #announcement-details{
  padding-top: 30px !important;
}
@media (max-width: 980px){
  .funding-page .funding-authority-hero{padding: 28px 0 22px !important;}
  .funding-page .funding-authority-grid{
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .funding-page .funding-authority-copy,
  .funding-page .funding-record-shell{max-width: 100%;}
}
@media (max-width: 640px){
  .funding-page .funding-authority-hero{padding: 24px 0 18px !important;}
  .funding-page .funding-authority-copy h1{
    max-width: none !important;
    font-size: clamp(2rem, 9vw, 2.7rem) !important;
  }
  .funding-page .funding-authority-copy .lead{font-size: .88rem;}
  .funding-page .funding-authority-actions .btn{width: 100%; justify-content: center;}
  .funding-page .funding-authority-actions{flex-direction: column; align-items: stretch;}
  .funding-page .funding-record{padding: 18px 16px 14px;}
  .funding-page .funding-record-amount strong{font-size: clamp(2.8rem, 15vw, 3.8rem) !important;}
  .funding-page .funding-record-row{grid-template-columns: 1fr; gap: 4px;}
}


/* Funding page title line arrangement */
.funding-page .funding-authority-copy h1 .title-line{
  display:block;
}
.funding-page .funding-authority-copy h1 .title-line + .title-line{
  margin-top:.02em;
}
.funding-page .funding-authority-copy h1 .funding-highlight{
  white-space:nowrap;
}


/* Production fallback: Product functional visual UI
   Kept here because authority-update.css is already loading on the live page.
   This prevents broken raw inline labels if final-polish.css is omitted/stale. */
.product-page .module-functional-visual{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:14px;
  border:1px solid rgba(34,92,69,.18);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(232,244,237,.60));
  box-shadow:0 18px 46px rgba(31,66,51,.10);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.product-page .functional-visual-head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:2px 2px 0;
}
.product-page .functional-visual-number{
  display:inline-grid;
  place-items:center;
  min-width:34px;
  height:26px;
  padding:0 8px;
  border-radius:5px;
  background:#d8eee2;
  color:#174936;
  font:700 .72rem/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}
.product-page .functional-visual-head .vertical-eyebrow{
  margin:0;
  color:#315a48;
  font-size:.69rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.product-page .functional-visual-frame{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(27,67,51,.16);
  border-radius:8px;
  background:#fff;
  box-shadow:0 10px 26px rgba(27,67,51,.08);
}
.product-page .functional-visual-frame img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:2/1;
  object-fit:cover;
  object-position:center top;
}
.product-page #creative .functional-visual-frame img{object-position:center center}
.product-page #localisation .functional-visual-frame img{object-position:center 28%}
.product-page #approvals .functional-visual-frame img{object-position:center center}
.product-page .functional-visual-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.product-page .functional-visual-points span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 9px;
  border:1px solid rgba(34,92,69,.15);
  border-radius:5px;
  background:rgba(255,255,255,.72);
  color:#315a48;
  font-size:.72rem;
  font-weight:600;
  line-height:1.2;
}
.product-page .functional-visual-points b{
  color:#7aa58e;
  font-size:.64rem;
  font-weight:700;
}
.product-page .functional-visual-caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#698073;
  font-size:.69rem;
  letter-spacing:.01em;
}
@media (max-width:860px){
  .product-page .module.has-functional-visual{grid-template-columns:1fr}
  .product-page .module.has-functional-visual .module-copy{order:1}
  .product-page .module.has-functional-visual .module-functional-visual{order:2}
}
@media (max-width:520px){
  .product-page .module-functional-visual{padding:9px;border-radius:9px}
  .product-page .functional-visual-points{gap:6px}
  .product-page .functional-visual-points span{font-size:.67rem;padding:6px 7px}
  .product-page .functional-visual-caption{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
}
