/* CheckMyLES: engraved gold on warm near-black. One accent. */

:root {
  --bg: #14110a;
  --bg-card: #1d1910;
  --bg-card2: #241f13;
  --line: #3a321e;
  --text: #efe9da;
  --muted: #b3a888;
  --gold-hi: #f6d87c;
  --gold: #d4af37;
  --gold-lo: #8a6d1d;
  --good: #7dc98f;
  --warn: #e8c46a;
  --bad: #e88a7a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

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

.gold {
  background: linear-gradient(180deg, #f9e9a8 0%, var(--gold-hi) 30%, var(--gold) 60%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.55));
}

/* Header */
.site-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  padding: 1rem 5vw; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #191509, #14110a);
}
.logo {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.9rem; letter-spacing: .06em; color: var(--text);
}
.logo span {
  background: linear-gradient(180deg, #f9e9a8, var(--gold), var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-head nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-head nav a { color: var(--muted); font-size: .92rem; font-weight: 600; }
.site-head nav a:hover { color: var(--gold-hi); text-decoration: none; }

main { max-width: 1060px; margin: 0 auto; padding: 0 5vw 4rem; }

/* Hero */
.hero { text-align: center; padding: 3.2rem 0 2rem; }
.hero.small { padding: 2.2rem 0 1.2rem; }
.hero h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.02; letter-spacing: .03em;
  text-shadow: 0 3px 8px rgba(0,0,0,.6);
}
.hero-sub { max-width: 640px; margin: 1.1rem auto 0; color: var(--muted); font-size: 1.05rem; }
.hero-badges { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.3rem; }
.hero-badges span {
  border: 1px solid var(--gold-lo); color: var(--gold-hi);
  border-radius: 999px; padding: .25rem .9rem; font-size: .8rem; font-weight: 600;
}
.crumb { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }

/* Cards */
.card {
  background: linear-gradient(180deg, var(--bg-card2), var(--bg-card));
  border: 1px solid var(--line);
  border-top-color: #4d421f;
  border-radius: 14px;
  padding: 1.6rem;
  margin: 1.2rem 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.card h2 { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .04em; font-size: 1.6rem; margin-bottom: .6rem; color: var(--gold-hi); }
.card h3 { font-size: 1.05rem; margin-bottom: .45rem; color: var(--gold-hi); }
.card p + p { margin-top: .7rem; }

.threecol { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.threecol .card { margin: 0; }

/* Buttons */
.btn-gold, .btn-plate {
  display: inline-block; cursor: pointer; border-radius: 10px;
  font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .07em;
  font-size: 1.15rem; padding: .65rem 1.6rem; text-align: center;
  border: 1px solid var(--gold-lo);
}
.btn-gold {
  background: linear-gradient(180deg, #f9e9a8 0%, var(--gold) 55%, #a8862a 100%);
  color: #241c05; text-shadow: 0 1px 0 rgba(255,255,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 14px rgba(0,0,0,.45);
}
.btn-gold:hover { filter: brightness(1.06); text-decoration: none; }
.btn-plate {
  background: linear-gradient(180deg, #2c2513, #1d1910);
  color: var(--gold-hi);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 10px rgba(0,0,0,.4);
}
.btn-plate:hover { border-color: var(--gold); text-decoration: none; }
.textlink { font-weight: 700; }

/* Forms */
.upload-form { display: flex; flex-direction: column; gap: 1rem; }
.dropzone {
  display: flex; flex-direction: column; gap: .4rem; align-items: center; justify-content: center;
  border: 2px dashed var(--gold-lo); border-radius: 12px; padding: 2.2rem 1rem; cursor: pointer;
  background: rgba(212,175,55,.04); text-align: center;
}
.dropzone:hover { border-color: var(--gold); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dz-big { font-weight: 700; font-size: 1.1rem; color: var(--gold-hi); }
.dz-small { color: var(--muted); font-size: .85rem; max-width: 480px; }
.privacy-note { color: var(--muted); font-size: .85rem; margin-top: .9rem; }

.check-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; margin-top: .8rem; }
.check-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.check-form select, .check-form input {
  background: #0f0d07; color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: .55rem .7rem; font-size: 1rem; min-width: 150px;
}
.check-form select:focus, .check-form input:focus { outline: 1px solid var(--gold); }

/* Findings */
.report { max-width: 780px; margin: 0 auto; }
.report-counts { margin-top: .8rem; font-weight: 700; }
.finding {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(180deg, var(--bg-card2), var(--bg-card));
  border: 1px solid var(--line); border-left-width: 4px;
  border-radius: 12px; padding: 1.1rem 1.2rem; margin: .8rem 0;
}
.finding h3 { margin-bottom: .3rem; font-size: 1.02rem; }
.finding p { color: var(--muted); font-size: .95rem; margin-bottom: .3rem; white-space: pre-line; }
.finding .sev {
  font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .08em;
  border-radius: 6px; padding: .15rem .6rem; font-size: .95rem; flex-shrink: 0; margin-top: .1rem;
}
.sev-good { border-left-color: var(--good); }
.sev-good .sev { background: rgba(125,201,143,.15); color: var(--good); }
span.sev-good { color: var(--good); }
.sev-check { border-left-color: var(--warn); }
.sev-check .sev { background: rgba(232,196,106,.15); color: var(--warn); }
span.sev-check { color: var(--warn); }
.sev-problem { border-left-color: var(--bad); }
.sev-problem .sev { background: rgba(232,138,122,.15); color: var(--bad); }
span.sev-problem { color: var(--bad); }
.sev-info { border-left-color: #8fa3c9; }
.sev-info .sev { background: rgba(143,163,201,.15); color: #8fa3c9; }
.report-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.4rem 0; }

/* Codes */
.codes h2 { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .04em; font-size: 1.5rem; color: var(--gold-hi); margin: 1.6rem 0 .7rem; }
.code-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.code-chip {
  display: flex; flex-direction: column; gap: .15rem;
  background: linear-gradient(180deg, var(--bg-card2), var(--bg-card));
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem;
}
.code-chip:hover { border-color: var(--gold); text-decoration: none; }
.code-chip strong { color: var(--gold-hi); font-size: .95rem; }
.code-chip span { color: var(--muted); font-size: .82rem; }

.codepage h2 { margin-top: 1.2rem; }
.codepage .rate { color: var(--gold-hi); font-weight: 700; }
.fatlist { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .6rem; color: var(--muted); }
.fatlist strong { color: var(--text); }
.cta-inline { margin-top: 1.4rem; }

.guide-card h3 { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.5rem; letter-spacing: .04em; }

/* Pay table */
.tablewrap { overflow-x: auto; padding: .8rem; }
.paytable { border-collapse: collapse; width: 100%; font-size: .82rem; white-space: nowrap; }
.paytable th, .paytable td { border: 1px solid var(--line); padding: .35rem .55rem; text-align: right; }
.paytable th { background: #241f13; color: var(--gold-hi); text-align: center; position: sticky; left: auto; }
.paytable tr th:first-child { position: sticky; left: 0; background: #2c2513; }
.paytable td { color: var(--text); }

.stat { text-align: center; }
.stat .big { font-family: "Bebas Neue", Impact, sans-serif; font-size: 2.6rem; color: var(--gold-hi); line-height: 1.1; }

.emailbox { margin-top: 1.4rem; }
.consent { flex-direction: row !important; align-items: center; gap: .5rem !important; max-width: 460px; }
.consent input { min-width: 0 !important; width: auto !important; }

/* Promo */
.promo {
  margin: 1.6rem auto; max-width: 780px;
  border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1.1rem;
  background: rgba(212,175,55,.05); font-size: .92rem;
}
.promo-tag { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-right: .5rem; }
.promo a { font-weight: 700; }
.promo-line { color: var(--muted); margin-left: .35rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.6rem 5vw 2.2rem; text-align: center; }
.foot-disclaim { color: var(--muted); font-size: .78rem; max-width: 720px; margin: 0 auto .9rem; }
.site-foot nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: .7rem; }
.site-foot nav a { color: var(--muted); font-size: .85rem; }
.foot-copy { color: var(--muted); font-size: .8rem; }

@media (max-width: 640px) {
  .site-head { justify-content: center; }
  .check-form { flex-direction: column; align-items: stretch; }
  .check-form select, .check-form input { min-width: 0; width: 100%; }
}
