:root {
  --ink: #16110f;
  --muted: #5f504a;
  --red: #e21b23;
  --red-dark: #ad1017;
  --gold: #ffc928;
  --cream: #fff5df;
  --ivory: #fffaf1;
  --teal: #097f72;
  --line: rgba(22, 17, 15, 0.14);
  --shadow: 0 18px 44px rgba(113, 23, 19, 0.13);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

.site-header {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(22, 17, 15, 0.08);
  background: rgba(255, 250, 241, 0.96);
}

.brand img {
  width: 132px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: end;
  padding: 44px 18px 58px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 8, 7, 0.74) 0%, rgba(12, 8, 7, 0.9) 53%, rgba(12, 8, 7, 0.96) 100%),
    url("assets/food-costing-masterclass-bg.png") left center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  margin: 0 auto;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.34);
  line-height: 1.25;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 64px;
}

h2 {
  margin-bottom: 22px;
  font-size: 42px;
}

h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.promise {
  max-width: 650px;
  color: #fff7dd;
  font-size: 19px;
  font-weight: 900;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions p {
  color: #ffe89a;
  font-size: 15px;
  font-weight: 900;
}

.button,
.checkout-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  max-width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.button-primary,
.checkout-form button {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 30px rgba(226, 27, 35, 0.28);
}

.button:hover,
.checkout-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hero-facts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.hero-facts span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.deadline-strip {
  display: grid;
  gap: 8px;
  padding: 14px 18px;
  background: var(--gold);
  color: #22120c;
  text-align: center;
  font-weight: 900;
}

.deadline-strip a {
  color: var(--red-dark);
  text-transform: uppercase;
}

.section {
  padding: 64px 18px;
}

.container {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.compact {
  width: min(100%, 800px);
}

.two-column,
.mentor-grid,
.enroll-grid {
  display: grid;
  gap: 34px;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.highlight-copy {
  padding: 17px 18px;
  border-left: 7px solid var(--red);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.centered {
  text-align: center;
}

.pain-section,
.audience-section {
  background: var(--cream);
}

.outcome-section,
.mentor-section,
.objection-section {
  background: #fff;
}

.outcome-grid,
.bonus-grid,
.audience-grid,
.stats {
  display: grid;
  gap: 14px;
}

.outcome-grid article,
.bonus-grid article,
.audience-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 17, 15, 0.06);
}

.outcome-grid article,
.bonus-grid article,
.audience-grid article {
  padding: 20px;
}

.outcome-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 40px;
  line-height: 1;
}

.outcome-grid p,
.agenda-list p,
.bonus-grid p,
.main-offer p,
.mentor-section p,
.faq-section p,
footer p {
  color: var(--muted);
}

.agenda-section {
  background: #12100f;
  color: #fff;
}

.agenda-section .kicker,
.enroll-section .kicker,
.faq-section .kicker {
  color: var(--gold);
}

.agenda-list {
  display: grid;
  gap: 8px;
}

.agenda-list article {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.agenda-list time {
  color: var(--gold);
  font-weight: 900;
}

.agenda-list h3 {
  margin-bottom: 4px;
  color: #fff;
}

.agenda-list p {
  color: #eadbc2;
}

.value-section {
  background: linear-gradient(180deg, #fffaf1 0%, #fff 100%);
}

.value-layout {
  display: grid;
  gap: 16px;
}

.main-offer {
  padding: 24px;
  border: 2px solid var(--red);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.main-offer .label {
  margin-bottom: 8px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.main-offer strong,
.bonus-grid strong {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 900;
}

.total-value {
  display: grid;
  gap: 5px;
  width: min(100%, 520px);
  margin: 26px auto 0;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.total-value span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.total-value strong {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 58px;
  line-height: 0.95;
}

.total-value p {
  color: #fff2d6;
  font-weight: 900;
}

.mentor-photo img {
  width: min(100%, 320px);
  margin: 0 auto;
  border: 8px solid var(--gold);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.proof-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
}

.stats {
  width: min(100%, 1060px);
  margin: 42px auto 0;
}

.stats span {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  text-align: center;
  font-weight: 900;
}

.stats strong {
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 48px;
  line-height: 0.9;
}

.audience-grid article {
  min-height: 88px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}

.audience-note {
  width: min(100%, 840px);
  margin: 26px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 18px;
}

.enroll-section {
  background:
    linear-gradient(180deg, rgba(226, 27, 35, 0.96), rgba(19, 13, 11, 0.96)),
    url("assets/food-costing-masterclass-bg.png") left center / cover no-repeat;
  color: #fff;
}

.enroll-copy p {
  color: #ffe9cf;
  font-size: 18px;
}

.price-box {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.price-box span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.price-box strong {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 64px;
  line-height: 0.9;
}

.checkout-form {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.checkout-form h3 {
  margin-bottom: 8px;
}

.checkout-form p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d8cdc0;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.checkout-form .payment-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(9, 127, 114, 0.2);
  border-radius: 8px;
  background: #eefaf6;
  color: #11574f;
  font-weight: 900;
}

.checkout-form .payment-note a {
  color: var(--red-dark);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 900;
}

.form-status.is-error {
  color: var(--red-dark);
}

.checkout-form .privacy-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
}

.admin-body {
  min-height: 100vh;
  background: #f5efe4;
}

.admin-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 22px 16px 48px;
}

.admin-topbar {
  display: grid;
  gap: 16px;
  padding: 18px 0 22px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-brand img {
  width: 70px;
}

.admin-brand span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-brand strong {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 0.95;
}

.admin-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(22, 17, 15, 0.07);
}

.admin-login {
  display: grid;
  gap: 12px;
}

.admin-login label,
.admin-tools label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-login input,
.admin-tools input,
.admin-tools select,
.notes-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8cdc0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-button.secondary {
  background: #eee4d8;
  color: var(--ink);
}

.admin-button.success {
  background: var(--teal);
}

.admin-button.warning {
  background: var(--red-dark);
}

.admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.admin-metrics {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 0.95;
}

.admin-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-table {
  width: 100%;
  min-width: 1260px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #eee4d8;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff7e6;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-name {
  font-weight: 900;
}

.admin-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f5ead7;
  color: #755428;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.paid {
  background: #dff7ed;
  color: #126b54;
}

.status-pill.unpaid {
  background: #fee8e7;
  color: var(--red-dark);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.row-actions .admin-button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 11px;
}

.notes-input {
  min-width: 180px;
  min-height: 38px;
  font-size: 13px;
}

.admin-empty {
  padding: 26px;
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

.faq-section {
  background: #14100f;
  color: #fff;
}

details {
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

summary {
  min-height: 54px;
  padding: 16px 18px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  padding: 0 18px 18px;
  color: #eadbc2;
}

.faq-section .button {
  display: flex;
  width: min(100%, 430px);
  margin: 30px auto 0;
}

.final-cta {
  padding: 64px 18px;
  background: var(--gold);
  text-align: center;
}

.signature {
  margin-bottom: 10px;
  color: var(--red-dark);
  font-family: "Pacifico", cursive;
  font-size: 32px;
}

.final-cta h2 {
  width: min(100%, 820px);
  margin: 0 auto 22px;
}

footer {
  padding: 42px 18px 54px;
  background: #151515;
  color: #e6ddd0;
  text-align: center;
  font-size: 12px;
}

footer p {
  width: min(100%, 980px);
  margin: 8px auto;
  color: #d7cbbb;
}

footer a {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 520px) {
  .hero {
    min-height: 620px;
    padding: 62px 24px 72px;
  }

  h1 {
    font-size: 78px;
  }

  h2 {
    font-size: 52px;
  }

  .hero-actions,
  .hero-facts,
  .deadline-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
    min-width: 290px;
  }
}

@media (min-width: 760px) {
  body {
    font-size: 17px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    grid-template-columns: auto 1fr;
    justify-items: stretch;
    align-items: center;
    padding: 17px 30px;
    backdrop-filter: blur(18px);
  }

  .brand img {
    width: 146px;
  }

  nav {
    justify-content: end;
    gap: 18px;
    font-size: 13px;
  }

  .section {
    padding: 82px 30px;
  }

  .hero {
    min-height: 700px;
    align-items: center;
    padding: 82px 30px 92px;
    background:
      linear-gradient(90deg, rgba(11, 8, 7, 0.9) 0%, rgba(60, 16, 14, 0.78) 48%, rgba(12, 8, 7, 0.58) 100%),
      url("assets/food-costing-masterclass-bg.png") center / cover no-repeat;
  }

  .hero-content {
    width: min(100%, 1060px);
  }

  h1 {
    font-size: 108px;
  }

  h2 {
    font-size: 64px;
  }

  .promise {
    font-size: 23px;
  }

  .two-column,
  .mentor-grid,
  .enroll-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .outcome-grid,
  .bonus-grid,
  .audience-grid,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .agenda-list article {
    grid-template-columns: 120px 1fr;
    gap: 22px;
  }

  .price-box {
    width: min(100%, 420px);
  }

  .admin-topbar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .admin-login {
    grid-template-columns: minmax(240px, 1fr) auto;
    align-items: end;
  }

  .admin-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-tools {
    grid-template-columns: 1fr 190px auto;
    align-items: end;
  }

  .total-value strong,
  .price-box strong {
    font-size: 74px;
  }
}

@media (min-width: 1060px) {
  body {
    font-size: 18px;
  }

  .site-header {
    padding-left: max(36px, calc((100vw - 1160px) / 2));
    padding-right: max(36px, calc((100vw - 1160px) / 2));
  }

  .section {
    padding: 94px 36px;
  }

  .hero {
    min-height: 760px;
    padding-left: 36px;
    padding-right: 36px;
  }

  h1 {
    font-size: 134px;
  }

  h2 {
    font-size: 76px;
  }

  h3 {
    font-size: 36px;
  }

  .promise {
    font-size: 27px;
  }

  .two-column {
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
    gap: 72px;
  }

  .outcome-grid,
  .bonus-grid,
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-offer,
  .checkout-form {
    padding: 34px;
  }

  .total-value {
    padding: 28px;
  }

  .total-value strong {
    font-size: 78px;
  }
}
