/* Pramanex public site, modern edition. Palette from the report cover kit: navy, gold. Type: Inter. */
:root {
  --navy: #0F1C33; --navy2: #172B4D; --soft: #22406B; --gold: #C9A227; --gold2: #E2BD4A; --mist: #AEB9CC;
  --bg: #FFFFFF; --bg2: #F6F7FA; --ink: #0F172A; --ink2: #51607A; --line: #E6E9F0;
  --card: #FFFFFF; --link: #172B4D; --ok: #1F7A4D; --warn: #9A6400;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 60px -20px rgba(15,23,42,.35);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --r: 14px; --r-sm: 10px; --max: 1120px; --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1324; --bg2: #101B31; --ink: #E8ECF3; --ink2: #A9B4C8; --line: #233552;
    --card: #132140; --link: #E2C56A; --ok: #7CC48F; --warn: #E0B65C;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0B1324; --bg2: #101B31; --ink: #E8ECF3; --ink2: #A9B4C8; --line: #233552;
  --card: #132140; --link: #E2C56A; --ok: #7CC48F; --warn: #E0B65C;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: 2.2rem; } h2 { font-size: 1.7rem; } h3 { font-size: 1.15rem; letter-spacing: -.01em; } h4 { font-size: 1rem; }
p, ul, ol, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
small, .small { font-size: .9rem; color: var(--ink2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { font-family: "JetBrains Mono", Consolas, Menlo, monospace; font-size: .9em; background: var(--bg2); padding: .1em .4em; border-radius: 6px; word-break: break-all; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.rule { width: 48px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold2)); border: 0; border-radius: 4px; margin: 0 0 1.5rem; }
.eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .7rem; }
.lede { font-size: 1.18rem; color: var(--ink2); max-width: 62ch; line-height: 1.6; }
.muted { color: var(--ink2); }

/* Header: sticky, translucent navy glass */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(15,28,51,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); color: #fff; border-bottom: 1px solid rgba(201,162,39,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 66px; }
.wordmark { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .01em; padding: .8rem 0; }
.wordmark sup { font-size: .45em; font-family: var(--sans); font-weight: 400; color: var(--mist); margin-left: 2px; }
.nav-toggle { background: rgba(255,255,255,.06); border: 1px solid rgba(174,185,204,.5); color: #fff; font: inherit; font-size: .9rem; padding: .4rem .8rem; border-radius: 999px; cursor: pointer; }
.site-nav { display: none; width: 100%; padding-bottom: .9rem; }
.site-nav.open { display: block; }
.site-nav a { display: block; color: #E6EAF1; text-decoration: none; padding: .6rem 0; border-top: 1px solid rgba(174,185,204,.18); font-size: .92rem; font-weight: 500; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold2); }
.site-nav a.cta { color: var(--navy); background: linear-gradient(135deg, var(--gold2), var(--gold)); border: 0; border-radius: 999px; padding: .55rem 1.1rem; text-align: center; margin-top: .7rem; font-weight: 700; box-shadow: 0 6px 18px -6px rgba(201,162,39,.6); }
.site-nav a.cta:hover { filter: brightness(1.05); color: var(--navy); }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; width: auto; padding: 0; gap: 1.35rem; align-items: center; }
  .site-nav a { border: 0; padding: .4rem 0; position: relative; }
  .site-nav a:not(.cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold2); transition: right .2s; }
  .site-nav a:not(.cta):hover::after, .site-nav a[aria-current="page"]:not(.cta)::after { right: 0; }
  .site-nav a.cta { margin: 0 0 0 .6rem; padding: .5rem 1.1rem; }
}

/* Hero: deep navy gradient, soft gold glow, fine grid */
.hero { position: relative; overflow: hidden; color: #fff; padding: 4rem 0 4.25rem;
  background: radial-gradient(900px 480px at 85% -10%, rgba(201,162,39,.28), transparent 60%),
              radial-gradient(700px 420px at -10% 110%, rgba(34,64,107,.9), transparent 60%),
              linear-gradient(160deg, #0F1C33 0%, #142747 55%, #0F1C33 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  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: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(201,162,39,.35); pointer-events: none;
  box-shadow: 0 0 0 60px rgba(201,162,39,.06), 0 0 0 130px rgba(201,162,39,.035); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 2.3rem; max-width: 22ch; letter-spacing: -.03em; }
.hero .lede { color: #C9D2E3; }
.hero .eyebrow { color: var(--gold2); display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,39,.35); border-radius: 999px; padding: .35rem .8rem .35rem .6rem; }
.hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 0 4px rgba(226,189,74,.25); }
.hero.compact { padding: 2.75rem 0; }
.hero.compact h1 { font-size: 1.9rem; }
@media (min-width: 720px) { .hero h1 { font-size: 3.3rem; } .hero { padding: 5.5rem 0 5.75rem; } .hero.compact { padding: 3.5rem 0; } .hero.compact h1 { font-size: 2.4rem; } }

/* Buttons: pill, with soft shadows */
.btn { display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-weight: 600; padding: .78rem 1.35rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(201,162,39,.7); }
.btn-gold:hover { color: var(--navy); filter: brightness(1.04); }
.btn-outline { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(174,185,204,.55); }
.btn-outline:hover { border-color: var(--gold2); color: var(--gold2); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy2); color: #fff; box-shadow: var(--shadow); }
.btn-navy:hover { background: var(--soft); color: #fff; }
.btn-quiet { background: transparent; color: var(--link); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Sections and cards */
section { padding: 3.5rem 0; }
@media (min-width: 720px) { section { padding: 4.5rem 0; } }
section.alt { background: var(--bg2); }
section.navy { background: linear-gradient(160deg, #0F1C33, #142747); color: #fff; }
section.navy h2, section.navy h3 { color: #fff; }
section.navy p, section.navy li { color: #C9D2E3; }
section.navy a { color: var(--gold2); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold2), var(--gold)); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,39,.45); }
.card h3 { margin-top: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 600; text-decoration: none; }
.card.soon::before { background: var(--line); }
.tag { display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--navy); background: linear-gradient(135deg, var(--gold2), var(--gold)); padding: .2rem .6rem; border-radius: 999px; }
.tag.grey { background: var(--line); color: var(--ink2); }
.tile { background: linear-gradient(160deg, var(--navy2), var(--navy)); color: #fff; border-radius: var(--r); padding: 1.2rem 1.2rem 1.25rem; border: 1px solid rgba(201,162,39,.25); }
.tile b { display: block; font-size: 1.9rem; line-height: 1.1; margin-bottom: .3rem; letter-spacing: -.02em; }
.tile span { color: var(--mist); font-size: .9rem; }

/* Six-step strip: numbered cards */
.steps { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.1rem; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1.2rem; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--navy); font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; letter-spacing: 0; }
.steps b { display: block; font-size: 1.02rem; margin-bottom: .2rem; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Definition-style lists (layers, trust points) */
.dl { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0 0 1em; }
.dl > div { padding: 1.1rem 1.2rem; border-radius: var(--r-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(174,185,204,.18); }
section:not(.navy) .dl > div { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.dl b { display: block; margin-bottom: .25rem; font-size: 1.02rem; }
section.navy .dl b { color: var(--gold2); }
@media (min-width: 720px) { .dl.two { grid-template-columns: 1fr 1fr; } }

/* Tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: .75rem .8rem; border-bottom: 1px solid var(--line); }
th { background: var(--bg2); color: var(--ink); white-space: nowrap; font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg2); }
td.num { white-space: nowrap; }

/* Forms */
form { margin: 0; }
.field { margin-bottom: 1.1rem; }
.field label, .field .lbl { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .93rem; }
.field .hint { font-size: .85rem; color: var(--ink2); margin-top: .3rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="file"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .85rem; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.18); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
textarea { min-height: 120px; resize: vertical; }
.radio-row label { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.2rem; font-weight: 400; }
.form-note { background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 1rem 1.1rem; border-radius: var(--r-sm); margin: 1.25rem 0; }
.form-note.warn { border-left-color: var(--warn); }
.result { margin-top: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg2); }
.result.ok { border-color: var(--ok); } .result.err { border-color: var(--warn); }
.hidden { display: none !important; }
.hash { font-family: "JetBrains Mono", Consolas, Menlo, monospace; font-size: .85rem; word-break: break-all; }

/* Status and notices */
.status { font-size: .9rem; color: var(--ink2); background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1.1rem; margin: 1.75rem 0 0; }
.status.navy { color: #C9D2E3; background: rgba(255,255,255,.04); border-color: rgba(174,185,204,.22); }

/* Page layout helpers */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.two-col { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.5fr 1fr; align-items: start; } .sticky { position: sticky; top: 84px; } }
.toc { font-size: .95rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem 1rem; box-shadow: var(--shadow); }
.toc a { display: block; padding: .45rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:last-child { border-bottom: 0; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #0F1C33, #0B1324); color: var(--mist); padding: 3rem 0 2rem; margin-top: 2rem; border-top: 1px solid rgba(201,162,39,.35); font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold2); }
.site-footer .cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .entity { border-top: 1px solid rgba(174,185,204,.2); margin-top: 1.75rem; padding-top: 1.1rem; font-size: .82rem; color: #8B98B3; }
.site-footer .wm { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: .5rem; }

/* Motion, respectfully */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .card:hover, .btn:hover { transform: none; } }
