/* Verlient public website — liquid-metal visual system.
   Presentation-only overrides loaded after home.css. Never alter review routes,
   links or platform behavior.

   Layers:
     1. Tokens + page atmosphere (WebGL canvas in metallic-flow.js; CSS blobs are the fallback)
     2. Chrome: header, footer, buttons
     3. Polished-metal panels (shared environment variables, no extra JS rendering)
     4. Hero composition + content legibility
     5. Responsive + reduced motion                                                  */

/* ---------- 1. Tokens + atmosphere ---------- */
:root{
  --ground:#090915;--ground-2:#10101c;
  --panel:#20182b;--panel-2:#1c1a31;
  --line:rgba(228,164,156,.21);--line-strong:rgba(241,188,160,.42);
  --text:#fff6f5;--t2:#ecdde4;--t3:#e0d1dc;--t4:#cdbccb;
  --gold:#f3b995;--electric:#f2a98e;--cobalt:#c57c9c;--cobalt-2:#dc9da7;
}
html{background:#080a15}
body{
  background:
    radial-gradient(ellipse 70% 40% at 82% -6%,rgba(154,80,117,.29),transparent 70%),
    radial-gradient(ellipse 60% 44% at -15% 18%,rgba(28,65,111,.35),transparent 76%),
    linear-gradient(155deg,#0b0b19 0%,#171125 37%,#0b1223 69%,#070a14 100%);
}
body::before{
  background:
    radial-gradient(ellipse 75% 45% at 72% 5%,rgba(225,134,132,.13),transparent 74%),
    radial-gradient(ellipse 62% 55% at 13% 83%,rgba(43,88,133,.18),transparent 70%);
  z-index:-3
}
.v16-page-flow{z-index:0;position:fixed;isolation:isolate;opacity:.94}
.v16-metal-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
main{position:relative;z-index:1}

/* CSS fallback (no WebGL): soft ribbon layers */
.v16-page-flow::before,.v16-page-flow::after{
  content:"";position:absolute;pointer-events:none;will-change:transform;
  border-radius:47% 53% 51% 49%;mix-blend-mode:screen
}
.v16-page-flow::before{
  width:105vw;height:48vw;min-height:390px;top:-26%;left:18%;transform:rotate(-17deg);
  background:
   radial-gradient(ellipse at 36% 46%,rgba(255,212,180,.54) 0%,rgba(195,102,120,.18) 13%,transparent 45%),
   linear-gradient(174deg,transparent 5%,rgba(24,76,117,.22) 22%,rgba(239,166,148,.54) 29%,rgba(253,213,184,.19) 32%,rgba(92,48,92,.15) 42%,transparent 58%);
  filter:blur(17px);animation:verlient-liquid-a 25s ease-in-out infinite alternate
}
.v16-page-flow::after{
  width:110vw;height:46vw;min-height:380px;bottom:-34%;left:-15%;transform:rotate(-12deg);
  background:linear-gradient(165deg,transparent 13%,rgba(23,75,127,.2) 24%,rgba(251,194,160,.36) 31%,rgba(165,85,113,.34) 36%,rgba(16,48,91,.22) 45%,transparent 69%);
  filter:blur(15px);animation:verlient-liquid-b 31s ease-in-out infinite alternate
}
.v16-ribbon{
  left:48%;width:62%;opacity:.28;top:-16%;bottom:-16%;
  background:
    linear-gradient(102deg,transparent 8%,rgba(191,117,128,.19) 24%,rgba(255,210,167,.5) 30%,rgba(255,245,232,.26) 31%,rgba(76,115,161,.23) 40%,rgba(151,69,109,.16) 54%,transparent 76%),
    url("assets/continuous-silver-ribbon.png") center/contain no-repeat;
  filter:blur(5px) saturate(130%);mix-blend-mode:screen;
  animation:verlient-liquid-c 34s ease-in-out infinite alternate
}
body.has-metal-flow .v16-page-flow{opacity:1}
body.has-metal-flow .v16-page-flow::before,
body.has-metal-flow .v16-page-flow::after,
body.has-metal-flow .v16-ribbon{display:none}
@keyframes verlient-liquid-a{
 from{transform:translate3d(-3%,-1%,0) rotate(-17deg) scale(1)}
 to{transform:translate3d(5%,3%,0) rotate(-11deg) scale(1.09)}
}
@keyframes verlient-liquid-b{
 from{transform:translate3d(-3%,1%,0) rotate(-12deg) scale(1)}
 to{transform:translate3d(4%,-3%,0) rotate(-17deg) scale(1.1)}
}
@keyframes verlient-liquid-c{
 from{filter:blur(5px) hue-rotate(0deg);opacity:.23}
 to{filter:blur(8px) hue-rotate(9deg);opacity:.34}
}

/* ---------- 2. Chrome ---------- */
.v9-header,.v9-footer{position:relative;z-index:30}
.v9-header{
  position:sticky;background:rgba(14,11,30,.62);border-bottom:1px solid transparent;box-shadow:none;
  backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3)
}
.v9-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(240,165,140,.55) 22%,#ffe2c4 50%,rgba(240,165,140,.55) 78%,transparent)}
.v9-footer{z-index:2;background:rgba(9,9,19,.94)}
.v9-footer,.v9-footer-bottom{border-color:rgba(230,171,163,.17)}
.v9-brand-icon,.v9-footer-brand img,.v10-sheet-brand img,.v9-report-logo img{filter:brightness(1.28) sepia(.12) saturate(.85)}
.v9-nav a:focus-visible,.v9-actions a:focus-visible,.v9-footer a:focus-visible,
.mobile-menu a:focus-visible{outline:2px solid #ffd3ad;outline-offset:4px}

.v9-pill,.v9-primary{
  position:relative;isolation:isolate;border:1px solid transparent;border-radius:13px;color:#fff7f3;
  background:
    linear-gradient(180deg,rgba(255,226,206,.18),rgba(255,226,206,0) 50%),
    linear-gradient(142deg,rgba(138,72,102,.97),rgba(66,44,90,.98));
  box-shadow:inset 0 1px 0 rgba(255,246,235,.7),inset 0 -1px 0 rgba(10,5,20,.45),0 10px 24px rgba(4,3,13,.45),0 0 10px rgba(250,160,135,.25)
}
.v9-pill::after,.v9-primary::after{
  content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(160deg,#fff2e2,#e89c84 30%,#4a2b46 55%,#b46d8a 75%,#ffd9b8);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude
}
.v9-pill:hover,.v9-primary:hover{
  background:
    linear-gradient(180deg,rgba(255,230,212,.24),rgba(255,226,206,0) 50%),
    linear-gradient(142deg,rgba(156,82,112,.98),rgba(80,52,102,.98));
  box-shadow:inset 0 1px 0 #fff,0 10px 24px rgba(4,3,13,.45),0 0 16px rgba(255,170,140,.45)
}

/* ---------- 3. Polished-metal panels ----------
   Reflections are driven by two registered custom properties animated on :root
   (--env-a angle, --env-x position) plus --env-s set from scroll in metallic-flow.js.
   Every panel reads them through its own phase (--ph / --pp), so each surface
   mirrors the same moving environment from a different position, like polished
   metal in one room. Surface = background layers; rim = conic gradient ring. */
@property --env-a{syntax:"<angle>";inherits:true;initial-value:0deg}
@property --env-x{syntax:"<number>";inherits:true;initial-value:50}
:root{--env-s:0;animation:env-rotate 220s steps(1320) infinite,env-drift 83s steps(500) infinite alternate}
@keyframes env-rotate{to{--env-a:360deg}}
@keyframes env-drift{from{--env-x:18}to{--env-x:82}}

.v10-review-sheet,.v9-report-card,.v9-card,.v9-audience-card,.v10-float-card{
  --ph:0deg;--pp:0;--k:1;
  --x:calc(var(--env-x) + var(--pp) + var(--env-s) * .6);       /* reflection centre, % */
  --ang:calc(var(--env-a) + var(--ph));
  position:relative;isolation:isolate;border:1px solid transparent;border-radius:22px;
  background:
    /* platinum streak: narrow, bright core with dark flanks (anisotropic highlight) */
    linear-gradient(112deg,transparent calc(var(--x) * 1% - 30%),rgba(8,6,20,calc(.28 * var(--k))) calc(var(--x) * 1% - 17%),
      rgba(255,240,228,calc(.13 * var(--k))) calc(var(--x) * 1% - 8%),rgba(255,250,244,calc(.23 * var(--k))) calc(var(--x) * 1% - 5.5%),
      rgba(255,240,228,calc(.06 * var(--k))) calc(var(--x) * 1% - 2%),rgba(8,6,20,calc(.30 * var(--k))) calc(var(--x) * 1% + 6%),transparent calc(var(--x) * 1% + 18%)),
    /* curved studio-light reflection across the top lip */
    radial-gradient(ellipse 70% 38% at calc(var(--x) * 1%) -6%,rgba(255,232,214,calc(.16 * var(--k))),transparent 70%),
    /* copper / rose band, counter-angle */
    linear-gradient(68deg,transparent calc(110% - var(--x) * 1% - 24%),rgba(255,160,128,calc(.14 * var(--k))) calc(110% - var(--x) * 1% - 12%),
      rgba(255,206,176,calc(.22 * var(--k))) calc(110% - var(--x) * 1% - 9%),rgba(190,96,128,calc(.08 * var(--k))) calc(110% - var(--x) * 1% - 3%),transparent calc(110% - var(--x) * 1% + 10%)),
    /* midnight-blue reflection low on the panel */
    linear-gradient(180deg,transparent 52%,rgba(70,110,190,.13) 78%,rgba(20,34,70,.0) 100%),
    /* bevel: lit upper lip, curving into shadow */
    linear-gradient(180deg,rgba(255,226,206,.20),rgba(255,226,206,.03) 9%,transparent 22%),
    /* dark translucent metal body */
    linear-gradient(150deg,rgba(66,38,72,.80),rgba(22,20,46,.88) 55%,rgba(26,44,84,.82));
  backdrop-filter:blur(14px) saturate(1.35);-webkit-backdrop-filter:blur(14px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 rgba(255,244,230,.55),                 /* top bevel catch-light */
    inset 1px 0 0 rgba(255,214,190,.10),
    inset 0 -1px 0 rgba(0,0,0,.55),                       /* bottom bevel shadow */
    inset 0 -14px 24px -12px rgba(120,150,230,.12),
    0 22px 46px rgba(2,3,12,.55),0 2px 0 rgba(255,190,160,.06)
}
/* Reflective rim: conic ring with hard bright facets alternating with deep shadow. */
.v10-review-sheet::after,.v9-report-card::after,.v9-card::after,.v9-audience-card::after,.v10-float-card::after{
  content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;z-index:2;
  background:conic-gradient(from var(--ang) at 50% 50%,
    #0f0916 0deg,#241625 12deg,#fff6e8 20deg,#ffcfa8 34deg,#3a2236 52deg,#0f0916 74deg,
    #b27792 98deg,#1d1a38 120deg,#9db9ee 136deg,#f2f6ff 146deg,#2a3a68 166deg,#0f0916 194deg,
    #6a3a52 212deg,#ffdcba 234deg,#fff8ee 246deg,#cf8a74 262deg,#1c1220 284deg,#0f0916 302deg,
    #8a5472 320deg,#e8b098 342deg,#0f0916 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude
}
.v10-review-sheet:hover::after,.v9-report-card:hover::after,.v9-card:hover::after,.v9-audience-card:hover::after{filter:brightness(1.25) saturate(1.1)}

/* Panel specifics: phase offsets, interior darkness, numbered label stays intact */
.v10-review-sheet{--ph:20deg;--pp:0;--k:.72;background-color:rgba(10,8,24,.68)}
.v9-report-card{--ph:130deg;--pp:12}
.v9-card:nth-child(1){--ph:60deg;--pp:-6}
.v9-card:nth-child(2){--ph:200deg;--pp:10}
.v9-card:nth-child(3){--ph:300deg;--pp:22}
.v9-audience-card:nth-child(1){--ph:90deg;--pp:4}
.v9-audience-card:nth-child(2){--ph:250deg;--pp:-10}
.v10-float-qb{--ph:160deg;--pp:30}
.v10-float-metric{--ph:330deg;--pp:-18}
.v10-float-card{
  border-radius:14px;
  background-color:rgba(10,8,24,.55);
  box-shadow:inset 0 1px 0 rgba(255,244,230,.5),inset 0 -1px 0 rgba(0,0,0,.55),0 14px 30px rgba(2,3,12,.6)
}
.v10-review-sheet::before{background:radial-gradient(520px 200px at 62% -5%,rgba(239,162,152,.12),transparent 66%)}
.v10-ask-box{
  background:linear-gradient(180deg,rgba(6,5,16,.62),rgba(20,16,38,.5));border-radius:14px;border:1px solid rgba(235,178,160,.5);
  box-shadow:inset 0 2px 5px rgba(0,0,0,.55),inset 0 -1px 0 rgba(255,214,190,.18)
}
.v10-ask-box b,.v10-float-card>span{color:#ffd6b8;background:rgba(204,124,128,.16);border-color:rgba(242,188,163,.43)}
.v10-priority-row,.v10-sheet-rule{border-color:rgba(245,183,158,.16)}

/* ---------- 4. Hero composition + legibility ---------- */
.v9-hero{padding-top:92px}
.v9-hero-grid{grid-template-columns:1.18fr .82fr;gap:52px}
.v9-hero h1{font-size:clamp(44px,4.5vw,66px);max-width:none;line-height:1.06}
.v9-hero h1 span{color:#ffd0c4}
.v9-kicker{color:#ffe9de;letter-spacing:.19em}
.v9-hero .v9-kicker{display:inline-block;padding:5px 11px;margin-left:-11px;border-radius:8px;background:rgba(6,5,16,.5)}
.v9-hero-copy>p,.v9-section-head p,.v9-review-copy>p{color:#f0e4ec}
.v9-hero h1,.v9-section-head h2,.v9-review-copy h2,.v9-final h2{text-shadow:0 2px 26px rgba(5,4,14,.85),0 0 2px rgba(5,4,14,.5)}
.v9-hero-copy>p,.v9-section-head p,.v9-review-copy>p,.v9-hero-benefits small,.v9-security-line,.v9-kicker{text-shadow:0 1px 16px rgba(5,4,14,.95),0 0 3px rgba(5,4,14,.6)}
.v9-hero-benefits{
  background:rgba(6,5,16,.66);border:0;border-top:1px solid rgba(247,195,172,.22);border-radius:14px;padding:20px 20px 18px
}
.v9-hero-benefits small,.v9-security-line,.v9-footer-bottom{color:#f1e4ec}
.v10-review-sheet small,.v10-review-sheet p,.v10-float-card small,.v10-float-card strong,.v10-sheet-kicker,.v10-sheet-brand span,.v10-sheet-brand em,
.v9-report-card small,.v9-report-card li,.v9-report-eyebrow,.v9-report-logo span,.v10-priority-row p,.v10-priority-row small,.v10-ask-box span,
.v9-card p,.v9-audience-card p,.v9-benefit-grid small,.v9-hero-benefits small,.credential-copy span{color:#fff4f8}
.v10-sheet-kicker,.v9-report-eyebrow,.v10-sheet-brand em,.v10-priority-row small{color:#ffe9dc}
.v9-card a,.v9-audience-card a,.v9-report-card>a{color:#ffeadb}
.v9-secondary,.v9-card::before{color:#fff0f4}
.v10-review-sheet p,.v9-report-card li,.v10-priority-row strong{text-shadow:0 1px 8px rgba(8,5,18,.7)}
.credential-copy span,.credential-copy strong{color:#f4e8ef;text-shadow:0 1px 12px rgba(5,4,14,.9)}
.v9-gold-line,.v9-final-quote span{height:2px;background:linear-gradient(90deg,#e7a19b,#ffe0ae);box-shadow:0 0 8px rgba(255,190,150,.7)}
.v9-benefit-grid>div{border-top:1px solid #d99a86;border-image:linear-gradient(90deg,#ffe0c2,rgba(217,154,134,.25)) 1}
.v9-final-quote span{background:linear-gradient(90deg,#e7a19b,#ffe0ae)}

/* Sections: calm veil keeps long-form copy readable; metal stays visible as atmosphere */
.v9-section,.v9-review-section,.v9-why,.credential-band,.v9-final{
  position:relative;border-top:0;background-image:linear-gradient(180deg,rgba(6,5,16,.66),rgba(6,5,16,.66))
}
.v9-final{background:linear-gradient(180deg,rgba(6,5,16,.66),rgba(6,5,16,.66)),radial-gradient(ellipse 70% 65% at 76% 28%,rgba(189,94,129,.17),transparent 72%)}
.v9-section::before,.v9-review-section::before,.v9-why::before,.v9-final::before{
  content:"";position:absolute;left:max(32px,calc(50% - 590px));right:max(32px,calc(50% - 590px));top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(240,165,140,.5) 18%,#ffe6cb 50%,rgba(240,165,140,.5) 82%,transparent)
}

/* ---------- 5. Responsive + accessibility ---------- */
@media(max-width:1100px){.v9-hero-grid{grid-template-columns:1fr 1fr;gap:44px}}
@media(max-width:850px){
 .v10-review-sheet,.v9-report-card,.v9-card,.v9-audience-card,.v10-float-card{--k:.62}
 .v10-review-sheet{--k:.45}
 .v9-hero{padding-top:72px}
 .v9-hero-grid{grid-template-columns:1fr}
 .v9-hero h1{font-size:clamp(43px,10.8vw,62px)}
 .v9-kicker{color:#ffe3d8}
 .v9-hero{background:linear-gradient(180deg,rgba(6,5,16,.35),rgba(6,5,16,.55))}
 .v16-page-flow::before{width:155vw;height:100vw;left:-10%;top:-8%}
 .v16-page-flow::after{width:175vw;height:120vw;left:-38%;bottom:-14%}
 .v16-ribbon{left:25%;width:140%;opacity:.19}
 .mobile-menu.open{background:rgba(19,14,32,.98);border-color:rgba(241,183,168,.24)}
}
@media(prefers-reduced-motion:reduce){
 :root{animation:none!important}
 .v16-page-flow::before,.v16-page-flow::after,.v16-ribbon{animation:none!important;will-change:auto!important}
}
@media(forced-colors:active){
 .v10-review-sheet::after,.v9-report-card::after,.v9-card::after,.v9-audience-card::after,.v10-float-card::after,
 .v9-pill::after,.v9-primary::after{display:none}
}
