/* ============================================================
   home.css — homepage layout + reusable product visuals (.vz-*)
   Loaded on index.html and the four pillar pages.
   ============================================================ */

/* ── Glass surface ── */
.glass {
  background: linear-gradient(180deg, rgba(255,235,190,.085), rgba(255,235,190,.03));
  border: 1px solid rgba(255,235,190,.14);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 34px 80px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(255,235,190,.04) inset, 0 0 70px -26px rgba(var(--pc-rgb, 223,169,0), .55);
}

/* ============================================================
   Reusable product visuals
   ============================================================ */
.vz { --pc-rgb: 223,169,0; padding: 20px 22px; color: var(--cream); }
.vz-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.vz-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: rgb(var(--pc-rgb)); background: rgba(var(--pc-rgb), .14); border: 1px solid rgba(var(--pc-rgb), .35); flex-shrink: 0; }
.vz-ico svg { width: 16px; height: 16px; }
.vz-title { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #E3D3A8; }
.vz-status { margin-left: auto; font-size: .7rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.vz-status.warn { color: #FFC933; border-color: rgba(255,201,51,.4); background: rgba(255,201,51,.1); }
.vz-status.ok   { color: #FFD966; border-color: rgba(255,201,51,.4); background: rgba(255,201,51,.1); }

/* certificate */
.vz-agent { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.vz-agent b { font-size: 1.28rem; letter-spacing: -0.03em; color: #fff; }
.vz-agent i { font-style: normal; font-size: .72rem; color: var(--muted); }
.vz-tiers { display: grid; gap: 11px; }
.vz-tier { display: grid; grid-template-columns: 1fr auto 34px; align-items: center; gap: 12px; padding-top: 11px; border-top: 1px solid rgba(255,235,190,.08); font-size: .8rem; color: #EBDCB3; }
.vz-tier b { font-size: .76rem; text-align: right; color: #fff; font-weight: 700; }
.vz-tier b.bad { color: #FF8F8F; }
.vz-pips { display: inline-flex; gap: 4px; }
.vz-pips i { width: 14px; height: 8px; border-radius: 3px; background: linear-gradient(180deg, #FFC933, #DFA900); animation: pipIn .5s var(--ease) both; }
.vz-pips i.bad { background: linear-gradient(180deg, #FF9A9A, #F25C5C); box-shadow: 0 0 12px rgba(242,92,92,.7); }
.vz-pips i:nth-child(1){animation-delay:.15s}.vz-pips i:nth-child(2){animation-delay:.25s}.vz-pips i:nth-child(3){animation-delay:.35s}
.vz-pips i:nth-child(4){animation-delay:.45s}.vz-pips i:nth-child(5){animation-delay:.55s}.vz-pips i:nth-child(6){animation-delay:.65s}
@keyframes pipIn { from { opacity: 0; transform: scaleX(.2) translateY(4px); } to { opacity: 1; transform: none; } }
.vz-foot { display: flex; align-items: center; gap: 9px; margin-top: 15px; padding-top: 13px; border-top: 1px dashed rgba(255,235,190,.14); font-size: .72rem; color: var(--muted); }
.vz-foot svg { width: 13px; height: 13px; color: var(--gold-lt); flex-shrink: 0; }

/* pipeline */
.vz-stages { display: flex; gap: 6px; margin-bottom: 16px; }
.vz-stages i { flex: 1; height: 7px; border-radius: 4px; background: linear-gradient(180deg, #FFD966, #FFC933); transform-origin: left; animation: pipIn .5s var(--ease) both; }
.vz-stages i.a { background: linear-gradient(180deg, #FFE08A, #FFD560); box-shadow: 0 0 14px rgba(255,201,51,.8); animation: pipIn .5s var(--ease) both, stagePulse 1.8s ease-in-out 1s infinite; }
.vz-stages i:nth-child(1){animation-delay:.1s}.vz-stages i:nth-child(2){animation-delay:.2s}.vz-stages i:nth-child(3){animation-delay:.3s}.vz-stages i:nth-child(4){animation-delay:.4s}.vz-stages i:nth-child(5){animation-delay:.5s}.vz-stages i:nth-child(6){animation-delay:.6s}
@keyframes stagePulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.vz-lines { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; }
.vz-lines li { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: #EBDCB3; }
.vz-lines li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; background: rgba(255,201,51,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFC933' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.vz-lines li.bad { color: #FFA3A3; }
.vz-lines li.bad::before { background: rgba(242,92,92,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FF8F8F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E") center/12px no-repeat; }

/* knowledge graph */
.vz-graph { width: 100%; height: auto; display: block; }
.vz-graph .e { stroke: rgba(201,139,46,.55); stroke-width: 1.2; fill: none; stroke-dasharray: 3 5; animation: dash 6s linear infinite; }
.vz-graph .n { fill: #2A1A00; stroke: #C98B2E; stroke-width: 1.4; }
.vz-graph .n.c { fill: #C98B2E; filter: drop-shadow(0 0 10px rgba(201,139,46,.9)); }
.vz-graph text { fill: #F0DDB0; font-size: 9.5px; font-weight: 600; }
.vz-graph .halo { fill: none; stroke: rgba(201,139,46,.35); animation: halo 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes dash { to { stroke-dashoffset: -64; } }
@keyframes halo { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.35); opacity: .2; } }

/* terminal */
.vz-term { border-radius: 16px; background: #100800; border: 1px solid rgba(255,235,190,.1); overflow: hidden; }
.vz-term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,235,190,.07); background: rgba(255,235,190,.03); }
.vz-term-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,235,190,.18); }
.vz-term-bar span { margin-left: 8px; font-size: .68rem; color: var(--muted); }
.vz-term-body { padding: 16px 18px; display: grid; gap: 9px; font-size: .76rem; }
.tl { display: flex; align-items: center; gap: 11px; color: #E3D3A8; opacity: 0; animation: lineIn .5s var(--ease) forwards; }
.tl b { width: 16px; text-align: center; color: #FFD966; }
.tl em { margin-left: auto; background: none; -webkit-text-fill-color: #9C8660; color: #9C8660; font-size: .66rem; }
.tl.heal b { color: #F0B07A; } .tl.heal { color: #F5D2B0; }
.tl:nth-child(1){animation-delay:.2s}.tl:nth-child(2){animation-delay:.6s}.tl:nth-child(3){animation-delay:1s}.tl:nth-child(4){animation-delay:1.4s}.tl:nth-child(5){animation-delay:1.8s}
@keyframes lineIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.vz-cursor { display: inline-block; width: 7px; height: 13px; background: #F0B07A; vertical-align: middle; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   Hero
   ============================================================ */
.hx { position: relative; overflow: hidden; padding: 176px 0 96px; }
.hx-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hx-grid { position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(255,235,190,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,235,190,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 62% 30%, #000 5%, transparent 72%); mask-image: radial-gradient(ellipse 75% 70% at 62% 30%, #000 5%, transparent 72%); }
.hx-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: orb 18s ease-in-out infinite alternate; }
.hx-orb.o1 { width: 520px; height: 520px; right: 4%; top: -8%; background: radial-gradient(circle, rgba(223,169,0,.55), transparent 65%); }
.hx-orb.o2 { width: 460px; height: 460px; left: -6%; top: 30%; background: radial-gradient(circle, rgba(255,201,51,.32), transparent 65%); animation-duration: 24s; }
@keyframes orb { to { transform: translate3d(-40px, 50px, 0) scale(1.15); } }
.hx-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 500; color: #EADCB6;
  border: 1px solid var(--border-md); background: rgba(255,235,190,.045); transition: border-color .25s, background .25s; }
.hx-pill:hover { border-color: rgba(var(--c-data-rgb), .6); background: rgba(255,235,190,.07); }
.hx-pill b { background: linear-gradient(180deg, #FFD966, #FFC933); color: #04201D; font-size: .68rem; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; }
.hx .hero-h1 { font-size: clamp(3.2rem, 7.6vw, 6.6rem) !important; line-height: .96 !important; letter-spacing: -0.055em !important; font-weight: 700; margin: 28px 0 26px !important; color: #fff; }
.hx .hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.32rem); color: #C9B994; max-width: 520px; line-height: 1.55; margin-bottom: 36px; }
.hx .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hx-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 0; padding: 0; }
.hx-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: #B9A580; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,235,190,.03); }
.hx-proof li svg { width: 13px; height: 13px; color: var(--gold-lt); }
.hx-stage { position: relative; min-height: 560px; }
.hx-stage .vz-cert { position: absolute; top: 12px; right: 0; width: min(440px, 100%); animation: floaty 9s ease-in-out infinite; }
.hx-stage .vz-pipe { --pc-rgb: 255,201,51; position: absolute; bottom: 28px; left: -4px; width: min(350px, 82%); transform: rotate(-2.5deg); animation: floaty2 11s ease-in-out infinite; }
.hx-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 14px; font-size: .76rem; font-weight: 600; color: #F3E6C3;
  background: rgba(16,16,24,.8); border: 1px solid var(--border-md); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -14px rgba(0,0,0,.8); animation: floaty 7s ease-in-out infinite; }
.hx-chip svg { width: 15px; height: 15px; color: var(--gold-lt); }
.hx-chip.c1 { right: -8px; bottom: 120px; animation-delay: -2s; }
.hx-chip.c2 { left: 40px; top: 0; animation-delay: -4s; }
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floaty2 { 0%,100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(10px); } }
.hx-short { position: relative; z-index: 1; margin: 70px auto 0; max-width: 760px; text-align: center; font-size: .92rem; color: #9C8660; line-height: 1.65; }
.hx-short b { color: #E3D3A8; font-weight: 600; }

/* ============================================================
   Bento: the four pillars
   ============================================================ */
.bx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.bx-head .section-h2 { margin-bottom: 0; }
.bx-head .section-sub { max-width: 420px; margin: 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bx { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 30px; padding: 34px; min-height: 440px; text-decoration: none; color: inherit;
  border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,235,190,.055), rgba(255,235,190,.012));
  transition: transform .45s var(--ease), border-color .3s; --pc-rgb: 223,169,0; }
.bx::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--pc-rgb), .16), transparent 62%); }
.bx::after { content: ''; position: absolute; top: -1px; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--pc-rgb), .9), transparent); opacity: .7; }
.bx:hover { transform: translateY(-5px); border-color: rgba(var(--pc-rgb), .4); }
.bx:hover::before { opacity: 1; }
.bx > * { position: relative; z-index: 1; }
.bx-a { grid-column: span 4; --pc-rgb: 223,169,0; flex-direction: row; gap: 30px; }
.bx-d { grid-column: span 2; --pc-rgb: 255,201,51; }
.bx-k { grid-column: span 2; --pc-rgb: 201,139,46; }
.bx-t { grid-column: span 4; --pc-rgb: 232,150,90; flex-direction: row; gap: 30px; }
.bx-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bx-top { display: flex; align-items: center; justify-content: space-between; }
.bx-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; color: rgb(var(--pc-rgb)); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(var(--pc-rgb), .4); background: rgba(var(--pc-rgb), .1); }
.bx-badge svg { width: 14px; height: 14px; }
.bx-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-md); color: #fff; font-size: 1rem; transition: transform .35s var(--ease), background .3s; }
.bx:hover .bx-arrow { background: rgb(var(--pc-rgb)); color: #160D00; transform: rotate(45deg); border-color: transparent; }
.bx h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.02; margin: 24px 0 12px; color: #fff; }
.bx h3 span { color: rgb(var(--pc-rgb)); }
.bx p { font-size: .98rem; color: var(--muted); max-width: 380px; line-height: 1.6; margin: 0 0 8px; }
.bx-name { font-size: .78rem; font-weight: 600; color: #9C8660; letter-spacing: .01em; }
.bx-vis { margin-top: auto; padding-top: 26px; }
.bx-a .bx-vis, .bx-t .bx-vis { margin: 0; padding: 0; flex: 1.1; align-self: center; min-width: 0; }
.bx .vz { padding: 18px 20px; border-radius: 20px; }
.bx-d .vz-stages { margin-bottom: 0; }
.vz-stack { display: grid; gap: 10px; }
.vz-step { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border-radius: 12px; font-size: .8rem; color: #EBDCB3; background: rgba(255,235,190,.04); border: 1px solid var(--border); }
.vz-step::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #FFC933; box-shadow: 0 0 10px #FFC933; }
.vz-step.bad { color: #FFA3A3; border-color: rgba(242,92,92,.35); background: rgba(242,92,92,.07); }
.vz-step.bad::before { background: #F25C5C; box-shadow: 0 0 10px #F25C5C; }
.vz-step span { margin-left: auto; font-size: .68rem; color: #9C8660; }

@media (max-width: 1020px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bx-a, .bx-t { grid-column: span 2; }
  .bx-d, .bx-k { grid-column: span 1; }
  .bx-a, .bx-t { flex-direction: column; }
  .bx-a .bx-vis, .bx-t .bx-vis { padding-top: 22px; align-self: stretch; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .bx-a, .bx-t, .bx-d, .bx-k { grid-column: span 1; }
  .bx { padding: 26px; min-height: 0; border-radius: 24px; }
}

/* ============================================================
   Attest framework explorer
   ============================================================ */
.ex-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.ex-copy .section-h2 { margin-bottom: 20px; }
.ex-rule { display: flex; gap: 16px; margin-top: 34px; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(var(--c-attest-rgb), .3); background: rgba(var(--c-attest-rgb), .07); }
.ex-rule svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.ex-rule b { display: block; color: #fff; font-size: 1rem; letter-spacing: -0.015em; margin-bottom: 3px; }
.ex-rule span { font-size: .9rem; color: #C9B994; line-height: 1.55; }
.ex-link { display: inline-flex; margin-top: 28px; color: #fff; font-weight: 600; text-decoration: none; gap: 8px; border-bottom: 1px solid var(--border-md); padding-bottom: 3px; }
.ex-link:hover { border-color: var(--gold); color: var(--gold-lt); }
.ex-card { --pc-rgb: 223,169,0; padding: 14px; border-radius: 28px; }
.ex-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 18px; background: rgba(0,0,0,.35); border: 1px solid var(--border); }
.ex-tabs button { cursor: pointer; border: 0; border-radius: 13px; padding: 13px 10px; background: transparent; color: #A89377; font-size: .78rem; font-weight: 600; text-align: center; transition: background .25s, color .25s; line-height: 1.25; }
.ex-tabs button span { display: block; font-size: .7rem; font-weight: 500; opacity: .75; margin-top: 2px; }
.ex-tabs button:hover { color: #fff; }
.ex-tabs button[aria-selected="true"] { background: linear-gradient(180deg, rgba(223,169,0,.22), rgba(223,169,0,.1)); color: #fff; box-shadow: 0 0 0 1px rgba(223,169,0,.4) inset; }
.ex-panels { padding: 26px 22px 18px; min-height: 290px; }
.ex-panel { display: none; }
.ex-panel.is-active { display: block; animation: lineIn .45s var(--ease); }
.ex-q { font-size: 1.3rem; letter-spacing: -0.03em; color: #fff; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.ex-dims { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; }
.ex-dims li { padding: 10px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: #F1E4BF; border: 1px solid var(--border-md); background: rgba(255,235,190,.045); }
.ex-dims li.t2 { border-color: rgba(255,143,143,.35); background: rgba(255,143,143,.07); }
.ex-verdict { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 20px 8px; border-top: 1px solid var(--border); font-size: .8rem; color: #9C8660; }
.ex-verdict .vd { font-weight: 700; padding: 5px 13px; border-radius: 999px; font-size: .74rem; border: 1px solid; }
.vd.pass { color: #FFD966; border-color: rgba(255,201,51,.4); background: rgba(255,201,51,.08); }
.vd.cond { color: #FFC933; border-color: rgba(255,201,51,.4); background: rgba(255,201,51,.08); }
.vd.fail { color: #FF9A9A; border-color: rgba(255,143,143,.4); background: rgba(255,143,143,.08); }
.ex-verdict .note { margin-left: auto; }
@media (max-width: 960px) { .ex-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ============================================================
   Evidence loop
   ============================================================ */
.lp { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp::before { content: ''; position: absolute; left: 6%; right: 6%; top: 27px; height: 1px; background: linear-gradient(90deg, rgba(var(--c-attest-rgb), .7), rgba(var(--c-data-rgb), .7), rgba(var(--c-kb-rgb), .7), rgba(var(--c-ts-rgb), .7)); opacity: .7; }
.lp-step { position: relative; z-index: 1; padding-right: 10px; }
.lp-n { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 22px;
  color: rgb(var(--pc-rgb)); background: #120A00; border: 1px solid rgba(var(--pc-rgb), .5); box-shadow: 0 0 34px -6px rgba(var(--pc-rgb), .7); }
.lp-step h3 { font-size: 1.3rem; letter-spacing: -0.03em; margin-bottom: 8px; color: #fff; }
.lp-step p { font-size: .94rem; color: var(--muted); line-height: 1.6; max-width: 250px; }
@media (max-width: 900px) { .lp { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .lp::before { display: none; } }
@media (max-width: 520px) { .lp { grid-template-columns: 1fr; } }

/* ============================================================
   Numbers
   ============================================================ */
.nm-wrap { border-radius: 32px; border: 1px solid var(--border); padding: 18px; background: linear-gradient(180deg, rgba(255,235,190,.04), rgba(255,235,190,.01)); }
.nm { display: grid; grid-template-columns: repeat(4, 1fr); }
.nm > div { padding: 40px 30px; border-right: 1px solid var(--border); }
.nm > div:last-child { border-right: 0; }
.nm-n { font-size: clamp(3.4rem, 6.4vw, 5.6rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; margin-bottom: 14px; background: linear-gradient(180deg, #fff 30%, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nm-l { font-size: .95rem; color: var(--muted); max-width: 190px; line-height: 1.5; }
@media (max-width: 860px) { .nm { grid-template-columns: 1fr 1fr; } .nm > div { border-bottom: 1px solid var(--border); } .nm > div:nth-child(2n) { border-right: 0; } .nm > div:nth-last-child(-n+2) { border-bottom: 0; } }

/* ============================================================
   Case studies
   ============================================================ */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs { --pc-rgb: 223,169,0; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,235,190,.05), rgba(255,235,190,.015)); transition: transform .4s var(--ease), border-color .3s; }
.cs:hover { transform: translateY(-5px); border-color: rgba(var(--pc-rgb), .45); }
.cs-top { position: relative; height: 150px; overflow: hidden; background:
  radial-gradient(240px 140px at 20% 120%, rgba(var(--pc-rgb), .55), transparent 70%),
  radial-gradient(260px 160px at 90% -20%, rgba(var(--pc-rgb), .25), transparent 70%), #120A00; border-bottom: 1px solid var(--border); }
.cs-top::before { content: ''; position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(rgba(255,235,190,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,235,190,.06) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.cs-chip { position: absolute; left: 22px; bottom: 18px; font-size: .74rem; font-weight: 700; color: #fff; padding: 6px 13px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,235,190,.2); backdrop-filter: blur(8px); }
.cs-ico { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: rgb(var(--pc-rgb)); background: rgba(var(--pc-rgb), .14); border: 1px solid rgba(var(--pc-rgb), .4); }
.cs-ico svg { width: 18px; height: 18px; }
.cs-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cs-body h3 { font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1.2; color: #fff; }
.cs-result { margin-top: auto; font-size: .88rem; color: #E0D0A6; line-height: 1.55; padding-top: 14px; border-top: 1px solid var(--border); }
.cs-result b { color: rgb(var(--pc-rgb)); font-weight: 700; }
@media (max-width: 960px) { .cs-grid { grid-template-columns: 1fr; } }

/* ============================================================
   QE services banner
   ============================================================ */
.qe { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 52px; border-radius: 32px; border: 1px solid var(--border); background:
  radial-gradient(500px 220px at 100% 0%, rgba(201,139,46,.14), transparent 70%), linear-gradient(180deg, rgba(255,235,190,.045), rgba(255,235,190,.012)); }
.qe h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 12px; }
.qe p { color: var(--muted); max-width: 520px; font-size: 1rem; }
.qe-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.qe-chips span { font-size: .78rem; color: #E3D3A8; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-md); background: rgba(255,235,190,.035); }
@media (max-width: 860px) { .qe { flex-direction: column; align-items: flex-start; padding: 34px 28px; } }

/* ============================================================
   FAQ (homepage)
   ============================================================ */
.fq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.fq-side { position: sticky; top: 130px; }
.fq-side .section-h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.fq details { border: 1px solid var(--border); border-radius: 20px; margin-bottom: 12px; background: rgba(255,235,190,.025); transition: border-color .3s, background .3s; }
.fq details:hover { border-color: var(--border-md); }
.fq details[open] { background: rgba(255,235,190,.05); border-color: var(--border-md); }
.fq summary { list-style: none; cursor: pointer; padding: 24px 64px 24px 26px; position: relative; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1.35; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-md); display: grid; place-items: center; font-size: 1.2rem; color: var(--gold-lt); transition: transform .3s var(--ease), background .3s; }
.fq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(223,169,0,.14); }
.fq .a { padding: 0 26px 26px; font-size: .98rem; line-height: 1.72; color: #C9B994; max-width: 640px; }
.fq .a a { color: var(--gold-lt); }
@media (max-width: 960px) { .fq-grid { grid-template-columns: 1fr; gap: 36px; } .fq-side { position: static; } }

/* ============================================================
   Hero responsive
   ============================================================ */
@media (max-width: 1020px) {
  .hx { padding: 140px 0 70px; }
  .hx-inner { grid-template-columns: 1fr; gap: 56px; }
  .hx-stage { min-height: 0; display: grid; gap: 16px; }
  .hx-stage .vz-cert, .hx-stage .vz-pipe { position: relative; inset: auto; width: 100%; transform: none; animation: none; }
  .hx-chip { display: none; }
}
@media (max-width: 640px) { .hx { padding: 120px 0 56px; } .hx-short { margin-top: 44px; } }

/* ============================================================
   Pillar-page hero visual wrappers
   ============================================================ */
.ph-vis .vz-cert, .ph-vis .vz-pipe { position: relative; width: 100%; max-width: 470px; margin-left: auto; animation: floaty 9s ease-in-out infinite; }
.ph-vis .vz-term, .ph-vis .vz-kb { max-width: 470px; margin-left: auto; }
.ph-vis .vz-kb { padding: 18px 18px 8px; border-radius: 24px; --pc-rgb: 201,139,46; }
@media (max-width: 960px) { .ph-vis .vz-cert, .ph-vis .vz-pipe, .ph-vis .vz-term, .ph-vis .vz-kb { margin: 0; max-width: none; } }

/* Override the legacy id-level #hero rule (min-height / flex / padding / background) */
#hero.hx { min-height: 0; display: block; padding: 176px 0 96px; background: none; }
@media (max-width: 1020px) { #hero.hx { padding: 140px 0 70px; } }
@media (max-width: 640px)  { #hero.hx { padding: 120px 0 56px; } }

/* Headline: two deliberate lines on desktop */
.hx-inner { grid-template-columns: 1.12fr 1fr; }
.hx .hero-h1 { font-size: clamp(2.7rem, 4.9vw, 4.6rem) !important; line-height: .98 !important; }
@media (min-width: 1021px) { .hx .hero-h1 { white-space: nowrap; } }

/* Source-order fix: single column below tablet (must follow the 1.12fr override above) */
@media (max-width: 1020px) { .hx-inner { grid-template-columns: 1fr; } }
