/* Pramanex homepage, redesign benchmarked on consulting-firm and audit-tech sites:
   a short provocative hero, the product doing its job instead of paragraphs, big numbers,
   image-led offering tiles of a few words each, detail pushed to inner pages. */
body.home main section { padding: 0; }
.home .sec-head { margin-bottom: 2.25rem; }
.home .sec-head h2 { font-size: 2rem; margin: 0; }
.home .sec-head.row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.home .more { font-weight: 600; text-decoration: none; }
@media (min-width: 720px) { .home .sec-head h2 { font-size: 2.6rem; } }

/* Hero */
.hx { position: relative; overflow: hidden; color: #fff; padding: 4rem 0 4.5rem !important;
  background: radial-gradient(900px 520px at 90% 0%, rgba(201,162,39,.25), transparent 60%),
              radial-gradient(700px 500px at -10% 110%, rgba(34,64,107,.95), transparent 60%),
              linear-gradient(160deg, #0B1628 0%, #13264A 60%, #0B1628 100%); }
.hx::before { content: ""; position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background-image: linear-gradient(rgba(174,185,204,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(174,185,204,.12) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); }
.hx-grid { position: relative; display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .hx-grid { grid-template-columns: 1.05fr 1fr; } .hx { padding: 6.5rem 0 7rem !important; } }
.hx h1 { color: #fff; font-size: 2.6rem; line-height: 1.05; letter-spacing: -.035em; margin: .4rem 0 1rem; max-width: 14ch; }
@media (min-width: 720px) { .hx h1 { font-size: 4.4rem; } }
.hx-sub { font-size: 1.4rem; color: #E2BD4A; font-weight: 500; margin: 0; }
.hx .eyebrow { color: #C9D2E3; }

/* Hero visual: stacked documents, a sweeping highlight, an observation card */
.hx-visual { position: relative; height: 500px; max-width: 560px; width: 100%; justify-self: center; }
.doc { position: absolute; background: #F7F5EF; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); padding: 22px 24px; color: #0F1C33; }
.d-back { top: 10px; left: 30px; right: 70px; bottom: 60px; opacity: .35; transform: rotate(-4deg); }
.d-mid { top: 24px; right: 0; width: 62%; padding: 18px 20px; transform: rotate(2deg); }
.d-front { top: 96px; left: 0; width: 70%; }
.doc-h { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8A6D12; margin-bottom: 12px; }
.ln { height: 8px; border-radius: 4px; background: #D9DEE6; margin: 9px 0; width: 100%; }
.ln.m { width: 78%; } .ln.s { width: 55%; }
.doc-t { font-family: Georgia, serif; font-size: 1rem; line-height: 1.5; margin: 10px 0; }
mark.sweep { background-color: transparent; background-image: linear-gradient(90deg, rgba(226,189,74,.8), rgba(226,189,74,.8)); background-repeat: no-repeat; background-size: 0% 100%; color: inherit; padding: 2px 0; }
.play mark.sweep { animation: sweep 1.6s ease-out .8s forwards; }
@keyframes sweep { to { background-size: 100% 100%; } }
.tbl-mini div { display: flex; justify-content: space-between; font-size: .85rem; padding: 6px 4px; border-bottom: 1px solid #E3E0D6; border-radius: 4px; }
.play .tbl-mini div.hit { animation: hit .6s ease-out 2.6s forwards; }
@keyframes hit { to { background: rgba(226,189,74,.55); } }
.obs { position: absolute; right: -6px; bottom: 0; width: 66%; background: #0F1C33; color: #fff; border: 1px solid rgba(226,189,74,.55); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.7); opacity: 0; transform: translateY(18px); }
.play .obs { animation: pop .7s cubic-bezier(.2,.8,.2,1) 3.4s forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }
.obs b { display: block; font-size: .95rem; line-height: 1.4; margin: 8px 0 6px; font-weight: 600; }
.obs small { color: #AEB9CC; font-size: .78rem; }
.obs-top { display: flex; gap: 6px; }
.pill { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.p-m { background: #E2BD4A; color: #0F1C33; } .p-a { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 560px) { .hx-visual { height: 600px; } .d-mid { top: 0; right: auto; left: 4%; width: 92%; transform: rotate(1deg); } .d-front { top: 200px; width: 92%; } .obs { width: 94%; } .d-back { display: none; } }

/* Law bar */
.lawbar { background: #0B1628; border-top: 1px solid rgba(201,162,39,.25); border-bottom: 1px solid rgba(201,162,39,.25); padding: 1.1rem 0 !important; }
.lawbar-in { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq { display: flex; gap: 3rem; padding-right: 3rem; flex: none; animation: marq 38s linear infinite; }
@keyframes marq { to { transform: translateX(-100%); } }
.lawbar span { color: #AEB9CC; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* Statement and stats */
.stat-sec { padding: 5rem 0 !important; }
h2.big { font-size: 2rem; line-height: 1.12; letter-spacing: -.03em; max-width: 22ch; margin-bottom: 2.5rem; }
h2.big span { color: var(--ink2); font-weight: 600; }
@media (min-width: 720px) { h2.big { font-size: 3.2rem; } }
.stat-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { background: linear-gradient(160deg, #0F1C33, #172B4D); color: #fff; border-radius: var(--r); padding: 1.8rem 1.6rem; }
.stat b { display: block; font-size: 3rem; letter-spacing: -.04em; line-height: 1; color: #E2BD4A; margin-bottom: .7rem; }
.stat span { color: #C9D2E3; font-size: .98rem; }
.src { font-size: .82rem; color: var(--ink2); margin-top: 1rem; }

/* Offerings */
.offer-sec { padding: 1rem 0 5rem !important; }
.offer-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }
.offer { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.art { background: radial-gradient(400px 200px at 80% 0%, rgba(201,162,39,.22), transparent 60%), linear-gradient(160deg, #0F1C33, #1B3360); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.art svg { width: 100%; height: 100%; transition: transform .4s; }
.offer:hover .art svg { transform: scale(1.05); }
.offer-txt { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.offer-txt .k { font-size: .72rem; font-weight: 800; color: var(--gold); letter-spacing: .14em; }
.offer-txt h3 { font-size: 1.2rem; margin: .3rem 0 .35rem; }
.offer-txt p { color: var(--ink2); margin: 0 0 1rem; font-size: .97rem; }
.offer-txt .go { margin-top: auto; font-weight: 600; color: var(--link); }
.blink { animation: blink 1.8s ease-in-out infinite; } .blink.b2 { animation-delay: .9s; }
@keyframes blink { 50% { opacity: .25; } }

/* Show-me tabs */
.show-sec { background: var(--bg2); padding: 5rem 0 !important; }
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 600; border: 0; background: transparent; color: var(--ink2); padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: #0F1C33; color: #fff; }
.panel { display: none; } .panel.on { display: block; animation: fadein .45s ease; }
@keyframes fadein { from { transform: translateY(10px); } to { transform: none; } }
.pl { font-size: 1.15rem; color: var(--ink2); max-width: 60ch; }
.pv { background: linear-gradient(160deg, #0F1C33, #172B4D); border-radius: 18px; padding: 2rem; color: #fff; min-height: 260px; display: grid; gap: 1.5rem; align-items: center; }
.pv-read { grid-template-columns: 1fr; }
@media (min-width: 760px) { .pv-read { grid-template-columns: 1.2fr .5fr 1fr; } }
.src-col { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.src-col span { background: rgba(255,255,255,.06); border: 1px solid rgba(174,185,204,.25); border-radius: 10px; padding: .7rem .8rem; font-size: .9rem; }
.flow { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.flow i { display: block; width: 100%; max-width: 120px; height: 3px; background: linear-gradient(90deg, transparent, #E2BD4A, transparent); background-size: 200% 100%; animation: flow 1.6s linear infinite; }
.flow i:nth-child(2) { animation-delay: .3s; } .flow i:nth-child(3) { animation-delay: .6s; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.engine { justify-self: center; text-align: center; border: 2px solid #E2BD4A; border-radius: 50%; width: 170px; height: 170px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 0 0 14px rgba(226,189,74,.08); }
.engine b { font-family: Georgia, serif; font-size: 1.35rem; } .engine small { color: #AEB9CC; }
.pv-prove { grid-template-columns: 1fr; }
@media (min-width: 760px) { .pv-prove { grid-template-columns: 1fr 1fr; } }
.snip { background: #F7F5EF; color: #0F1C33; border-radius: 12px; padding: 1.2rem 1.3rem; }
.snip p { font-family: Georgia, serif; margin: .5rem 0 0; line-height: 1.55; }
.snip mark { background: rgba(226,189,74,.75); padding: 1px 2px; }
.snip.law { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(226,189,74,.45); }
.tag-s { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8A6D12; }
.snip.law .tag-s { color: #E2BD4A; }
.pv-chal { grid-template-columns: 1fr; }
@media (min-width: 760px) { .pv-chal { grid-template-columns: repeat(3, 1fr); } }
.vs { border-radius: 12px; padding: 1.2rem; background: rgba(255,255,255,.06); border: 1px solid rgba(174,185,204,.25); }
.vs b { display: block; color: #E2BD4A; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; }
.vs.res { border-color: #E2BD4A; background: rgba(226,189,74,.12); }
.pv-seal { grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 760px) { .pv-seal { grid-template-columns: auto 1fr; justify-items: start; } }
.seal svg { width: 150px; height: 150px; }
.seal svg circle:nth-of-type(2) { animation: dash 4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
@keyframes spin { to { transform: rotate(360deg); } }
.seal-l { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; margin: 0; }
.seal-l dt { color: #AEB9CC; font-size: .85rem; } .seal-l dd { margin: 0; font-weight: 600; }

/* Proof numbers */
.proof-sec { padding: 4.5rem 0 !important; background: #0B1628; color: #fff; }
.proof-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-grid b { display: block; font-size: 3.2rem; letter-spacing: -.04em; line-height: 1; color: #fff; }
.proof-grid span { color: #AEB9CC; font-size: .95rem; display: block; margin-top: .5rem; max-width: 22ch; }
.proof-grid div { border-left: 3px solid #E2BD4A; padding-left: 1rem; }

/* Insights */
.ins-sec { padding: 5rem 0 !important; }
.ins-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ins-grid { grid-template-columns: repeat(3, 1fr); } }
.ins { text-decoration: none; color: var(--ink); display: block; }
a.ins:hover h3 { color: var(--gold); }
.ins-art { aspect-ratio: 16 / 10; border-radius: var(--r); margin-bottom: 1rem; transition: transform .3s; }
a.ins:hover .ins-art { transform: scale(1.02); }
.ins-art.i1 { background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(226,189,74,.35) 22px 23px), linear-gradient(160deg, #0F1C33, #1B3360); }
.ins-art.i2 { background: radial-gradient(circle at 70% 40%, transparent 0 46px, rgba(226,189,74,.8) 47px 50px, transparent 51px 74px, rgba(226,189,74,.35) 75px 77px, transparent 78px), linear-gradient(160deg, #172B4D, #0F1C33); }
.ins-art.i3 { background: linear-gradient(90deg, transparent 0 18%, rgba(226,189,74,.9) 18% 19%, transparent 19% 48%, rgba(226,189,74,.5) 48% 49%, transparent 49% 78%, rgba(226,189,74,.3) 78% 79%, transparent 79%), linear-gradient(160deg, #1B3360, #0F1C33); }
.ins-k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ins h3 { font-size: 1.2rem; margin-top: .4rem; transition: color .2s; }

/* CTA band */
.cta-band { padding: 5rem 0 !important; background: radial-gradient(700px 400px at 85% 0%, rgba(201,162,39,.3), transparent 60%), linear-gradient(160deg, #0F1C33, #172B4D); color: #fff; }
.cta-in h2 { color: #fff; font-size: 2rem; letter-spacing: -.03em; line-height: 1.15; }
.cta-in h2 span { color: #E2BD4A; }
@media (min-width: 720px) { .cta-in h2 { font-size: 3rem; } }
.home .site-footer { margin-top: 0; }

/* Reduced motion: show the end state of every animation */
@media (prefers-reduced-motion: reduce) {
  mark.sweep { background-size: 100% 100%; }
  .obs { opacity: 1; transform: none; }
  .tbl-mini div.hit { background: rgba(226,189,74,.55); }
}

/* Motion layer */
#threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hx .hx-grid { z-index: 1; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
.offer.rv.in:hover { transform: translateY(-4px); }
.hx-copy > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hx-copy > :nth-child(2) { animation-delay: .1s; } .hx-copy > :nth-child(3) { animation-delay: .25s; } .hx-copy > :nth-child(4) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hx-visual .doc, .hx-visual .obs { will-change: transform; }
.hx-visual .d-front { animation: float 7s ease-in-out infinite; }
.hx-visual .d-mid { animation: float2 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%,100% { transform: rotate(2deg); } 50% { transform: rotate(2deg) translateY(6px); } }
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 5s ease-in-out 2s infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .marq { animation: none; } .lawbar-in { flex-wrap: wrap; justify-content: center; } .marq[aria-hidden] { display: none; }
  .btn-gold::after { display: none; }
}
@media (max-width: 560px) { .hx-visual .d-mid { animation: none; } }
