:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --line: #d9e2ea;
  --text: #17202c;
  --muted: #667085;
  --brand: #1f3348;
  --accent: #15845d;
  --gold: #c69a34;
  --danger: #a23838;
  --shadow: 0 18px 50px rgba(14, 24, 35, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 16px;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.notice {
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 16px;
  text-align: center;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--brand);
  padding: 12px clamp(18px, 4vw, 54px);
}

.brand img {
  display: block;
  width: 158px;
  max-width: 44vw;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: calc(100vh - 116px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.62)),
    url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/themes/2148239904/settings_images/XpQMymRVaxaevrYKZ5xw_oAcDe9uSliG9MbTTs3RQ_website_main.jpg") center / cover;
  color: #fff;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 74px);
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions a,
.private-group a,
.course-card {
  text-decoration: none;
}

.hero-actions a,
.private-group a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  padding: 0 18px;
}

.hero-actions .secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.login-panel {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 24px;
  box-shadow: var(--shadow);
}

.login-panel h2 {
  font-size: 30px;
}

.course-access-panel > p:not(.eyebrow),
.login-intro {
  color: var(--muted);
  line-height: 1.55;
}

.panel-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  padding: 0 18px;
  text-decoration: none;
}

.panel-note,
.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.standalone-login {
  display: grid;
  min-height: calc(100vh - 44px);
  place-items: center;
  gap: 20px;
  padding: 40px 18px;
}

.standalone-brand img {
  display: block;
  width: 190px;
}

.standalone-login-card {
  width: min(100%, 430px);
  color: var(--text);
}

.standalone-login-card h1 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(32px, 6vw, 46px);
}

.back-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.standalone-dashboard {
  width: min(100%, 1100px);
  margin: 0 auto;
  border-radius: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: var(--surface-soft);
  padding: clamp(40px, 7vw, 88px) clamp(18px, 5vw, 74px);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#login-form {
  display: grid;
  gap: 14px;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
}

.text-button {
  min-height: 32px;
  background: transparent;
  color: var(--brand);
  font-size: 12px;
  padding: 0;
  text-decoration: underline;
}

.password-reset-panel {
  display: grid;
  gap: 12px;
}

.password-reset-panel h2 {
  font-size: 26px;
}

.password-requirements {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.status-text {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status-text.error {
  color: var(--danger);
}

.status-text.success {
  color: var(--accent);
}

.account-email {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.dashboard,
.proof,
.private-group {
  padding: clamp(36px, 6vw, 76px) clamp(18px, 5vw, 74px);
}

.dashboard {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.6;
}

.course-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.course-card,
.proof-grid article {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  overflow: hidden;
}

.course-card:hover {
  border-color: var(--accent);
}

.course-card strong,
.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.course-card strong,
.course-card span {
  margin-left: 20px;
  margin-right: 20px;
}

.course-card strong {
  margin-top: 18px;
}

.course-card-cover {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.course-card span,
.proof-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.private-group {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  background: var(--surface-soft);
}

.private-group img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.private-group p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.proof {
  background: var(--surface);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  background: #111827;
  color: rgba(255, 255, 255, 0.72);
  padding: 24px clamp(18px, 5vw, 74px);
}

footer p {
  max-width: 720px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hero,
  .private-group,
  .course-grid,
  .proof-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header,
  nav,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  nav {
    gap: 10px;
  }

  .hero {
    background-position: 72% center;
  }
}
