:root {
  --bg: #0c0c0d;
  --surface: #161618;
  --surface-2: #1e1e21;
  --border: #2c2c31;
  --gold: #c8a24b;
  --gold-bright: #e3c885;
  --text: #f4f1ea;
  --muted: #9c988e;
  --danger: #d9755f;
  --radius: 14px;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Century Gothic", "Jost", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 48px 24px; }
a { color: var(--gold-bright); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
}
strong, b { font-family: var(--display); font-weight: 700; }
h1 { font-size: 2.6rem; margin: 0 0 0.4em; }
h2 { font-size: 1.85rem; margin: 0 0 0.3em; }
h3 { font-size: 1.3rem; margin: 0 0 0.3em; }

/* navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: #0a0a0b;
}
.nav .brand {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav nav a:hover { color: var(--gold-bright); }

/* hero */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--gold);
  margin: 0 0 14px;
}
.hero { text-align: center; padding: 56px 0 44px; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 3.4rem; }
.hero .lead {
  font-size: 1.4rem;
  font-family: var(--body);
  color: var(--text);
  max-width: 720px;
  margin: 16px auto;
}
.hero .sub { color: var(--muted); max-width: 600px; margin: 0 auto 28px; }
.fineprint { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }

/* buttons */
.btn {
  font-family: var(--display);
  display: inline-block;
  background: var(--gold);
  color: #14110a;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover { background: var(--gold-bright); }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1.15rem; padding: 18px 44px; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* sections and cards */
.section { padding: 44px 0; border-bottom: 1px solid var(--border); }
.section h2 { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { color: var(--gold-bright); margin-top: 0; }
.checklist { list-style: none; padding: 0; max-width: 640px; margin: 24px auto 0; }
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* instructor */
.instructor { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.instructor .photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex: none;
  background: var(--surface-2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--gold);
}

/* panels and forms */
.panel, .module, .admin-module {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 22px 0;
}
.panel { max-width: 460px; margin: 40px auto; }
.field { margin-bottom: 16px; }
label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=file],
textarea, select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 1rem;
  font-family: var(--body);
}
textarea { min-height: 80px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
.field label input[type=checkbox] { width: auto; margin-right: 8px; }

/* notices */
.notice { padding: 12px 16px; border-radius: 9px; margin: 14px 0; }
.notice-error {
  background: rgba(217, 117, 95, 0.14);
  border: 1px solid var(--danger);
  color: #f0c4b8;
}

/* course and lessons */
.course-head { margin-bottom: 8px; }
.lesson-list { margin-top: 14px; }
.lesson-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface-2);
}
.lesson-row:hover { border-color: var(--gold); }
.lesson-go {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  height: 280px;
}
.video-empty p { color: var(--muted); }
.lesson-desc { color: var(--text); }
.downloads { list-style: none; padding: 0; }
.downloads li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.lesson-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* admin */
.badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge.on { background: rgba(200, 162, 75, 0.18); color: var(--gold-bright); }
.badge.off { background: var(--surface-2); color: var(--muted); }
.admin-row { display: flex; align-items: center; gap: 12px; }
.admin-row h2 { margin: 0; }
.admin-lesson {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 10px 0;
  background: var(--surface-2);
}
.admin-lessons { margin: 12px 0; }
details summary {
  cursor: pointer;
  color: var(--gold-bright);
  padding: 8px 0;
  font-size: 0.92rem;
}
.admin-actions { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.inline { display: inline; }
.link, .link-danger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  text-decoration: underline;
  font-family: var(--body);
}
.link { color: var(--muted); }
.link-danger { color: var(--danger); }
.subblock {
  margin: 12px 0;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: 9px;
}
.label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 6px;
}
.filelist { list-style: none; padding: 0; margin: 0 0 10px; }
.filelist li { padding: 6px 0; display: flex; justify-content: space-between; gap: 10px; }
table.data { width: 100%; border-collapse: collapse; margin-top: 18px; }
table.data th, table.data td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
table.data th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* sales page sections */
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 6px auto 0;
}
.final-cta { text-align: center; border-bottom: none; }

.curriculum { max-width: 760px; margin: 28px auto 0; }
.curriculum-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--border);
}
.curriculum-item .c-title { font-family: var(--display); font-weight: 700; }
.curriculum-item .c-count {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.testimonial .quote { color: var(--text); font-style: italic; margin: 0; }
.testimonial .quote-by {
  margin: 14px 0 0;
  color: var(--gold-bright);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
}

.price-box {
  max-width: 460px;
  margin: 28px auto 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.price-amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.4rem;
  color: var(--gold-bright);
  line-height: 1;
}
.price-note { color: var(--muted); margin: 6px 0 0; }
.price-box ul {
  list-style: none;
  padding: 0;
  margin: 22px auto;
  max-width: 300px;
  text-align: left;
}
.price-box li { padding: 7px 0 7px 28px; position: relative; }
.price-box li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.guarantee {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.guarantee .seal {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.faq { max-width: 720px; margin: 28px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 16px 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::marker { color: var(--gold); }
.faq-item p { padding: 0 6px 18px; color: var(--muted); margin: 0; }

/* misc */
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
footer {
  border-top: 1px solid var(--border);
  padding: 26px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { margin: 0; }

@media (max-width: 720px) {
  main { padding: 32px 18px; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero .lead { font-size: 1.2rem; }
  .grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; gap: 10px; }
  .nav nav a { margin: 0 11px; }
}
