:root {
  --ink: #0b1620;
  --panel: #0f2130;
  --panel-2: #142a3c;
  --line: #22394d;
  --paper: #f4f1e8;
  --gold: #d4a531;
  --gold-deep: #a9781f;
  --green: #3fae6a;
  --red: #d9564a;
  --text: #e8ecef;
  --text-dim: #9fb0bd;
  --text-faint: #6d8194;
  --radius: 10px;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --serif: "Source Serif 4", "Georgia", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- disclaimer strip ---------- */
.disclaimer-strip {
  background: #1a1005;
  border-bottom: 1px solid #3a2a0d;
  color: #e8c988;
  font-size: 12.5px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}
.disclaimer-strip strong { color: #f2d78e; }

/* ---------- header ---------- */
header.site {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(11, 22, 32, 0.92);
  backdrop-filter: blur(6px);
  z-index: 50;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; }
.nav-lang-group { display: flex; align-items: center; margin-left: auto; }
.brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.brand .mark {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  padding: 2px 7px;
  border-radius: 4px;
}
.brand .name { font-weight: 600; font-size: 15px; color: var(--text); }
nav.site-nav { display: flex; gap: 16px; font-size: 13.5px; }
nav.site-nav a { color: var(--text-dim); white-space: nowrap; }
nav.site-nav a:hover { color: var(--gold); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 900px 420px at 80% -10%, rgba(212, 165, 49, 0.10), transparent 60%),
    var(--ink);
}
.hero-lang-switch {
  position: absolute;
  top: 28px;
  right: 24px;
  font-family: var(--mono);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-lang-switch .active { color: var(--gold); font-weight: 600; }
.hero-lang-switch .sep { color: var(--line); }
.hero-lang-switch a { color: var(--text-dim); }
.hero-lang-switch a:hover { color: var(--gold); text-decoration: none; }
@media (max-width: 640px) {
  .hero-lang-switch { position: static; justify-content: flex-end; margin-bottom: 20px; }
}
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 780px;
  color: #fff;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 32px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 7px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: #1a1204; }
.btn-primary:hover { background: #e2b747; text-decoration: none; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* hero stat row */
.hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stats .cell {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}
.hero-stats .cell:last-child { border-right: none; }
.hero-stats .val {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold);
}
.hero-stats .val.neg { color: var(--red); }
.hero-stats .lbl { font-size: 12px; color: var(--text-faint); margin-top: 4px; }

/* ---------- sections ---------- */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
section h2 {
  font-family: var(--serif);
  font-size: 30px;
  color: #fff;
  margin: 0 0 14px;
}
section > .wrap > p.lead {
  color: var(--text-dim);
  max-width: 680px;
  font-size: 15.5px;
  margin-bottom: 36px;
}

/* what-it-is cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card .icon-num { font-family: var(--mono); color: var(--gold); font-size: 13px; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 16.5px; color: #fff; }
.card p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* stat cards grid (perf section) */
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.stat-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.stat-tile .v { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--text); }
.stat-tile .v.gold { color: var(--gold); }
.stat-tile .v.red { color: var(--red); }
.stat-tile .v.green { color: var(--green); }
.stat-tile .l { font-size: 11.5px; color: var(--text-faint); margin-top: 5px; letter-spacing: 0.02em; }

/* tabs (hedged vs non-hedged) */
.tabbar { display: flex; gap: 8px; margin-bottom: 24px; }
.tabbtn {
  font-family: var(--mono);
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}
.tabbtn.active { background: var(--gold); color: #1a1204; border-color: var(--gold); font-weight: 600; }
.tabpanel { display: none; }
.tabpanel.active { display: block; }

/* comparison table */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-scroll table.cmp { border: none; border-radius: 0; }
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.cmp th, table.cmp td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.cmp th { color: var(--text-faint); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
table.cmp td.num, table.cmp th.num { text-align: right; font-family: var(--mono); }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp td.hi { color: var(--gold); font-weight: 600; }

/* charts */
.chart-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.chart-box h4 { margin: 0 0 14px; font-size: 13.5px; color: var(--text-dim); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
svg.chart { width: 100%; height: auto; display: block; }

/* week-wise table */
.weektable-wrap { max-height: 480px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.weekly { width: 100%; border-collapse: collapse; font-size: 13px; font-family: var(--mono); }
table.weekly thead th {
  position: sticky; top: 0;
  background: var(--panel-2);
  padding: 10px 14px;
  text-align: right;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11.5px;
  text-transform: uppercase;
}
table.weekly thead th:first-child { text-align: left; }
table.weekly td { padding: 8px 14px; text-align: right; border-bottom: 1px solid rgba(34,57,77,0.5); color: var(--text-dim); }
table.weekly td:first-child { text-align: left; color: var(--text); }
table.weekly td.pos { color: var(--green); }
table.weekly td.neg { color: var(--red); }
.weektable-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.weektable-controls select, .weektable-controls input {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--sans);
}

/* validation section */
.validation-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.validation-strip .vitem { flex: 1; min-width: 180px; }
.validation-strip .vitem .v { font-family: var(--mono); font-size: 20px; color: var(--gold); }
.validation-strip .vitem .l { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }

/* price tag */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--gold-deep);
  border-radius: 8px;
  padding: 14px 22px;
  margin-bottom: 28px;
}
.price-tag .amount { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--gold); }
.price-tag .tag-sub { font-size: 13px; color: var(--text-dim); }
.qr-price { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }

/* pricing / access */
.access-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.access-left { padding: 34px; }
.access-left h3 { font-family: var(--serif); font-size: 24px; color: #fff; margin: 0 0 14px; }
.access-left ul { padding-left: 20px; margin: 0 0 24px; color: var(--text-dim); font-size: 14.5px; }
.access-left li { margin-bottom: 8px; }
.access-right {
  background: var(--panel-2);
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid var(--line);
}
.qr-frame {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.qr-frame img { display: block; width: 190px; height: 190px; }
.upi-id { font-family: var(--mono); font-size: 14px; color: var(--gold); margin-bottom: 4px; }
.access-right .note { font-size: 12px; color: var(--text-faint); max-width: 240px; }

/* whatsapp float */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #06210f;
  padding: 12px 18px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
  font-weight: 600;
  font-size: 14px;
}
.wa-float:hover { background: #22c55e; text-decoration: none; color: #06210f; }
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }

/* footer */
footer.site {
  padding: 40px 0 30px;
  font-size: 12.5px;
  color: var(--text-faint);
}
footer.site .disclaimer-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
  line-height: 1.6;
}
footer.site .disclaimer-block strong { color: var(--text-dim); }
footer.site .bottom-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* responsive */
@media (max-width: 1320px) {
  nav.site-nav { display: none; }
}
@media (max-width: 860px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .cell:nth-child(2) { border-right: none; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .access-panel { grid-template-columns: 1fr; }
  .access-right { border-left: none; border-top: 1px solid var(--line); }
}
