/* Veldra Site v2 — corporate (JPM-like) styling
   Conservative, high-contrast, light header, navy accents.
*/

:root{
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #0c0f14;
  --muted: rgba(12,15,20,.68);
  --border: rgba(12,15,20,.10);

  /* “Bank navy” + Veldra green accent */
  --navy: #0b1b2b;
  --navy2: #102a44;
  --accent: #76b900;

  --radius: 14px;
  --shadow: 0 18px 50px rgba(12,15,20,.10);
  --shadow2: 0 10px 26px rgba(12,15,20,.08);

  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --max: 1120px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background: radial-gradient(1100px 700px at 80% -10%, rgba(118,185,0,.10), transparent 55%),
              radial-gradient(1100px 700px at 10% 0%, rgba(11,27,43,.08), transparent 60%),
              var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 160px;
}
.brand img{
  height: 44px;
  width: auto;
  display:block;
}
.brand .word{
  font-weight: 650;
  letter-spacing: -0.01em;
}

.navlinks{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:flex-end;
}
.navlinks a{
  font-size: 14px;
  color: rgba(12,15,20,.76);
  padding: 8px 10px;
  border-radius: 10px;
}
.navlinks a[aria-current="page"]{
  background: rgba(11,27,43,.06);
  color: rgba(12,15,20,.92);
  text-decoration: none;
}

.navcta{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:flex-end;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow2);
  font-size: 14px;
  color: rgba(12,15,20,.86);
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(12,15,20,.12);
  border-color: rgba(12,15,20,.16);
  text-decoration:none;
}
.btn.primary{
  background: linear-gradient(180deg, rgba(11,27,43,.98), rgba(16,42,68,.98));
  color: rgba(255,255,255,.94);
  border-color: rgba(11,27,43,.30);
}
.btn.accent{
  background: rgba(118,185,0,.16);
  border-color: rgba(118,185,0,.28);
}

main{ padding: 34px 0 60px; }

.hero{
  padding: 28px 0 8px;
}
.kicker{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: rgba(12,15,20,.70);
}
.kdot{
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(118,185,0,.14);
}
h1{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.lede{
  margin: 0;
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}
.herorow{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

.section{
  margin-top: 28px;
}
.sectionhead{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.sectionhead h2{
  margin:0;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.sectionhead .hint{
  margin:0;
  font-size: 13px;
  color: rgba(12,15,20,.56);
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card{
  grid-column: span 4;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card.full{ grid-column: span 12; }
.card.half{ grid-column: span 6; }
.card h3{
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.card p{
  margin: 0;
  color: rgba(12,15,20,.66);
  line-height: 1.55;
}
.hr{
  height: 1px;
  background: rgba(12,15,20,.10);
  margin: 14px 0;
}
.list{
  margin:0;
  padding-left: 18px;
  color: rgba(12,15,20,.70);
  line-height: 1.65;
}

.badges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.badge{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.76);
  color: rgba(12,15,20,.74);
}
.badge.accent{
  border-color: rgba(118,185,0,.26);
  background: rgba(118,185,0,.12);
}
.badge.navy{
  border-color: rgba(11,27,43,.18);
  background: rgba(11,27,43,.06);
}

.kv{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 14px;
  align-items: baseline;
  font-size: 14px;
}
.kv .k{ color: rgba(12,15,20,.58); }
.kv .v{ color: rgba(12,15,20,.86); }
.mono{ font-family: var(--mono); }

.codepanel{
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(12,15,20,.12);
  background: linear-gradient(180deg, rgba(11,27,43,.96), rgba(16,42,68,.96));
  color: rgba(255,255,255,.92);
  padding: 14px;
  overflow:hidden;
}
.codepanel pre{
  margin:0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
}
.copybtn{
  position:absolute;
  top: 10px;
  right: 10px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  cursor:pointer;
}
.copybtn:hover{ background: rgba(255,255,255,.16); }

.callout{
  border-radius: 14px;
  border: 1px solid rgba(118,185,0,.22);
  background: rgba(118,185,0,.10);
  padding: 12px 14px;
  color: rgba(12,15,20,.78);
}

.table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow:hidden;
}
.table th, .table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(12,15,20,.08);
  text-align:left;
  vertical-align: top;
}
.table th{
  font-size: 13px;
  color: rgba(12,15,20,.60);
  background: rgba(11,27,43,.03);
}
.table tr:last-child td{ border-bottom: 0; }

.video{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}
.video iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display:block;
}

.footer{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: rgba(12,15,20,.56);
  font-size: 13px;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 980px){
  .card{ grid-column: span 12; }
  .card.half{ grid-column: span 12; }
  .nav{ flex-wrap: wrap; }
  .brand{ min-width: auto; }
}
