:root {
  color-scheme: light;
  --ink: #24212a;
  --muted: #6f6570;
  --line: #eadfe4;
  --panel: #ffffff;
  --paper: #fbf7f5;
  --deep: #2b1024;
  --teal: #277979;
  --teal-dark: #1d5e5e;
  --berry: #8d2353;
  --coral: #e65d73;
  --gold: #bb7a35;
  --red: #b7423b;
  --green: #2f8c57;
  --rose: #fee8eb;
  --sage: #e6f1ee;
  --shadow: 0 24px 70px rgba(36, 33, 42, 0.14);
  --radius: 8px;
  font-family:
    "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 58%, #f4f8f7 100%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(234, 223, 228, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: clamp(260px, 28vw, 430px);
  min-height: 80px;
  padding-left: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 80px;
  max-width: clamp(260px, 28vw, 430px);
  object-fit: contain;
  object-position: left center;
}

.brand-word {
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
  color: var(--ink);
}

.brand-word b {
  color: var(--berry);
  font-weight: 850;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav button,
.ghost-button,
.primary-button,
.book-cta-button,
.danger-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
}

.nav button:hover,
.ghost-button:hover,
.icon-button:hover {
  border-color: var(--line);
  background: #fff;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--berry), var(--coral));
  box-shadow: 0 14px 30px rgba(141, 35, 83, 0.2);
}

.primary-button:hover {
  background: linear-gradient(135deg, #761841, #d94d65);
}

.book-cta-button {
  position: relative;
  display: inline-grid;
  min-width: min(260px, 100%);
  border-color: rgba(255, 255, 255, 0.16);
  padding: 16px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--berry) 0%, #a82b61 55%, var(--gold) 100%);
  box-shadow: 0 22px 48px rgba(141, 35, 83, 0.24);
  text-align: left;
  overflow: hidden;
}

.book-cta-button::after {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.58);
  content: "";
}

.book-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 58px rgba(141, 35, 83, 0.3);
}

.book-cta-button span {
  font-size: 19px;
  line-height: 1.15;
}

.book-cta-button small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.3;
}

.danger-button {
  color: #fff;
  background: var(--red);
}

.main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: calc(100vh - 74px);
  margin-left: calc(50% - 50vw);
  padding: clamp(42px, 7vw, 86px) clamp(16px, 4vw, 48px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 37%, rgba(255, 255, 255, 0.48) 59%, rgba(255, 255, 255, 0.03) 100%),
    url("./assets/reif-hero-old.jpg");
  background-position: center right 26%;
  background-size: cover;
}

.home-hero {
  min-height: calc(100vh - 105px);
}

.hero-copy {
  width: min(650px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  margin-right: auto;
}

.hero-kicker {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid rgba(141, 35, 83, 0.2);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--deep);
  font-size: clamp(30px, 4.3vw, 52px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 22px 0;
  color: #403941;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 22px 0 0;
}

.question-list div {
  position: relative;
  min-height: 52px;
  border: 1px solid rgba(154, 40, 87, 0.2);
  border-radius: 8px;
  padding: 13px 14px 13px 36px;
  color: #2c2730;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(36, 33, 42, 0.08);
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}

.question-list div::before {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  content: "";
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.split-copy h2,
.product-copy h1,
.book-copy h1 {
  margin: 14px 0 16px;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.split-copy p,
.product-copy p,
.book-copy p,
.course-copy p {
  color: #403941;
  font-size: 18px;
  line-height: 1.7;
}

.about-image-panel {
  display: grid;
  gap: 14px;
}

.about-image-panel img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 34%;
  box-shadow: 0 24px 64px rgba(36, 33, 42, 0.16);
}

.quote-panel {
  border-left: 5px solid var(--berry);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(36, 33, 42, 0.1);
}

.quote-panel b,
.quote-panel span {
  display: block;
}

.quote-panel b {
  color: var(--berry);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.quote-panel span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.compact-quote {
  padding: 18px;
  box-shadow: none;
}

.compact-quote b {
  font-size: clamp(21px, 2.2vw, 30px);
}

.product-hero,
.book-hero,
.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 6vw, 76px) 0;
}

.product-image,
.book-cover,
.course-image {
  display: flex;
  justify-content: center;
}

.product-image img,
.book-cover img,
.course-image img {
  display: block;
  width: min(100%, 390px);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(36, 33, 42, 0.18);
}

.product-image img {
  width: min(100%, 420px);
}

.course-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
}

.course-copy h1 {
  margin: 14px 0 16px;
  color: var(--deep);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
}

.course-facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 0;
}

.course-facts span {
  border: 1px solid rgba(141, 35, 83, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 820;
}

.course-price-card {
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  border: 1px solid rgba(141, 35, 83, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(141, 35, 83, 0.12);
}

.course-price-card span,
.course-price-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.course-price-card b {
  color: var(--berry);
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
}

.course-image img {
  width: min(100%, 680px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.course-card h2 {
  margin: 16px 0 12px;
  color: var(--deep);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.step-list li {
  color: #403941;
  line-height: 1.55;
}

.module-number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  background: var(--berry);
  font-size: 12px;
  font-weight: 850;
}

.metric {
  border-top: 2px solid rgba(39, 121, 121, 0.34);
  padding-top: 14px;
}

.metric b {
  display: block;
  font-size: 25px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  display: none;
}

.hero-visual img {
  display: none;
}

.brand-visual::before {
  display: none;
}

.brand-visual img {
  clip-path: none;
}

.signal-strip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(42, 7, 29, 0.76);
  color: #fff;
  backdrop-filter: blur(16px);
}

.signal-strip div {
  padding: 14px;
}

.signal-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.compass-strip div {
  min-height: 74px;
}

.band {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title h2,
.view-title h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.section-title p,
.view-title p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.auth-card,
.briefing-page,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 38px rgba(47, 19, 38, 0.08);
}

.card {
  padding: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 176px;
}

.feature-card::after {
  position: absolute;
  right: -30px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(184, 121, 33, 0.22);
  border-radius: 50%;
  content: "";
}

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--deep);
}

.accent-card {
  color: #fff;
  background: linear-gradient(145deg, var(--deep), #7a2649 72%, #9f6421);
}

.accent-card h3,
.accent-card p {
  color: #fff;
}

.decision-band {
  padding-bottom: 80px;
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.decision-strip div {
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(47, 19, 38, 0.07);
}

.decision-strip b {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
}

.decision-strip span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.price b {
  font-size: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
}

.price-card .hero-actions {
  margin-top: auto;
}

.highlight-card {
  border-color: rgba(141, 35, 83, 0.32);
  box-shadow: 0 22px 58px rgba(141, 35, 83, 0.13);
}

.price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.view {
  padding: clamp(22px, 5vw, 52px) 0 70px;
}

.view-title {
  margin-bottom: 24px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: start;
}

.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
}

.auth-intro-panel,
.login-card {
  min-height: 360px;
}

.auth-intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(141, 35, 83, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 250, 0.86)),
    url("./assets/die-marktstarterin-product.jpg");
  background-position: center right;
  background-size: cover;
  box-shadow: 0 20px 54px rgba(47, 19, 38, 0.1);
}

.auth-intro-panel h1 {
  max-width: 650px;
  margin: 16px 0 14px;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.auth-intro-panel p {
  max-width: 620px;
  margin: 0;
  color: #403941;
  font-size: 18px;
  line-height: 1.55;
}

.login-context-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.login-context-list span {
  border: 1px solid rgba(141, 35, 83, 0.18);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 820;
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-card .hero-actions {
  margin-bottom: 16px;
}

.auth-card {
  padding: 22px;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #3f4b45;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 850;
}

.status.active {
  color: #0c5433;
  background: #dff2e7;
}

.status.locked {
  color: #78322d;
  background: #f7dedc;
}

.status.draft {
  color: #695020;
  background: #faeccf;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.briefing-list {
  display: grid;
  gap: 12px;
}

.briefing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.briefing-row h3 {
  margin: 0 0 6px;
}

.briefing-row p {
  margin: 0;
  color: var(--muted);
}

.briefing-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.briefing-page {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 52px);
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdfa 52%, #f7faf8 100%) padding-box,
    linear-gradient(135deg, rgba(14, 118, 110, 0.55), rgba(184, 121, 33, 0.38), rgba(183, 66, 59, 0.28)) border-box;
}

.briefing-page::before {
  content: attr(data-watermark);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotate(-24deg);
  color: rgba(14, 118, 110, 0.14);
  font-size: clamp(30px, 7vw, 86px);
  font-weight: 900;
  text-align: center;
  pointer-events: none;
  white-space: pre-line;
}

.briefing-content {
  position: relative;
  z-index: 1;
  max-width: 930px;
}

.briefing-content h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 0.98;
}

.briefing-content h2 {
  margin-top: 34px;
}

.briefing-content p,
.briefing-content li {
  color: #33403a;
  font-size: 16px;
  line-height: 1.58;
}

.briefing-content blockquote {
  margin: 28px 0;
  border-left: 4px solid var(--teal);
  padding: 12px 0 12px 18px;
  color: #26322d;
  background: #f7faf8;
}

.research-masthead {
  margin: -8px -8px 0;
  padding: 18px;
  border-bottom: 4px solid var(--deep);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, rgba(14, 118, 110, 0.12), rgba(184, 121, 33, 0.12)),
    #fbfcfa;
}

.research-masthead p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.research-masthead span {
  display: block;
  margin-top: 10px;
  color: #425048;
  font-size: 16px;
  font-weight: 800;
}

.mode-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}

.mode-card {
  min-height: 88px;
  border: 1px solid rgba(23, 32, 28, 0.12);
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  box-shadow: 0 12px 26px rgba(23, 32, 28, 0.12);
}

.mode-card span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.mode-card b {
  display: block;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.05;
  text-transform: uppercase;
}

.mode-card.risk-watch {
  background: linear-gradient(135deg, #7b372e, #d05d4f);
}

.mode-card.risk {
  background: linear-gradient(135deg, #7f1d1d, #b7423b);
}

.mode-card.hot {
  background: linear-gradient(135deg, #0c5d58, #0e766e);
}

.mode-card.warm {
  color: #2a2312;
  background: linear-gradient(135deg, #f0c56f, #b87921);
}

.mode-card.warm span {
  color: rgba(42, 35, 18, 0.72);
}

.mode-card.watch {
  background: linear-gradient(135deg, #243b35, #64716b);
}

.core-takeaway {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #d8c7a8;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(184, 121, 33, 0.12), transparent 36%),
    #fff8ec;
}

.core-takeaway h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.core-takeaway p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.62;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.kpi-strip div {
  padding: 14px;
  background: #fbfcfa;
  font-weight: 800;
}

.kpi-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.briefing-section {
  margin-top: 26px;
}

.briefing-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c9d7d0;
  font-size: 20px;
}

.briefing-section h2::before {
  content: "";
  width: 10px;
  height: 28px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  flex: 0 0 auto;
}

.switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.switch-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 28, 0.07);
}

.switch-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--deep), #135f58);
}

.switch-card-head b,
.switch-card-head span {
  font-size: 13px;
  line-height: 1.25;
}

.switch-card p {
  margin: 0;
  padding: 12px;
  color: #33403a;
  font-size: 15px;
  line-height: 1.5;
}

.research-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(23, 32, 28, 0.06);
}

.research-table th,
.research-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.research-table th {
  color: #fff;
  background: #12221d;
  font-size: 12px;
  text-transform: uppercase;
}

.research-table tbody tr:nth-child(even) td {
  background: #f7faf8;
}

.research-table tbody tr:hover td {
  background: #fff8ec;
}

.research-table td:first-child {
  font-weight: 800;
  color: #1d2924;
}

.tag,
.priority {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.tag.hot {
  color: #fff;
  background: #0e766e;
}

.tag.warm {
  color: #51370b;
  background: #f7d88b;
}

.tag.watch {
  color: #24433d;
  background: #dbece7;
}

.tag.risk-watch {
  color: #7b372e;
  background: #f4d7cf;
}

.tag.risk {
  color: #fff;
  background: #b7423b;
}

.priority-a {
  color: #fff;
  background: #b7423b;
}

.priority-b {
  color: #51370b;
  background: #f0c56f;
}

.priority-c {
  color: #24433d;
  background: #dbece7;
}

.checklist-section ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
}

.checklist-section li {
  padding: 8px 10px;
  border-left: 3px solid var(--teal);
  background: #f7faf8;
}

.trading-note {
  padding: 16px;
  border: 1px solid #d8c7a8;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: #fff8ec;
}

.trading-note h2 {
  margin-top: 0;
}

.trading-note p {
  margin-bottom: 0;
  font-weight: 750;
}

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

.workflow-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.workflow-panel h3 {
  margin: 10px 0 6px;
}

.workflow-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.prompt-box {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.prompt-box summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 850;
}

.prompt-box pre {
  overflow-x: auto;
  margin: 0;
  padding: 14px;
  border-top: 1px solid var(--line);
  color: #24302a;
  background: #f9f7f1;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.admin-panel {
  padding: 18px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(420px, calc(100vw - 36px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(16, 25, 22, 0.94);
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.financial-disclaimer {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  border: 1px solid rgba(141, 35, 83, 0.2);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff8ec;
  box-shadow: 0 14px 36px rgba(47, 19, 38, 0.07);
}

.financial-disclaimer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 880;
  text-transform: uppercase;
}

.financial-disclaimer p {
  margin: 0;
  color: #403941;
  font-size: 13px;
  line-height: 1.55;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.9fr);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
}

.footer-brand {
  max-width: 330px;
}

.footer-brand img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-column {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-link-button {
  color: var(--ink);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.45;
  text-decoration: none;
}

.footer-link-button {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.footer-column a:hover,
.footer-link-button:hover {
  color: var(--berry);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  max-width: 880px;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(36, 33, 42, 0.08);
}

.legal-document h2 {
  margin: 28px 0 10px;
  color: var(--deep);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.15;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p {
  margin: 0 0 14px;
  color: #403941;
  line-height: 1.7;
}

.legal-box {
  margin: 16px 0;
  border: 1px solid rgba(141, 35, 83, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: #fff8fa;
}

.legal-date {
  margin-top: 28px !important;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 800;
}

.cookie-trigger {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 78;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: #7da300;
  box-shadow: 0 16px 38px rgba(62, 82, 0, 0.28);
}

.cookie-trigger:hover {
  background: #688900;
  transform: translateY(-1px);
}

.cookie-trigger svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(33, 35, 31, 0.54);
  backdrop-filter: blur(2px);
}

.cookie-modal {
  width: min(660px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid #e7e8ea;
  border-radius: 8px;
  color: #373a42;
  background: #fff;
  box-shadow: 0 28px 86px rgba(24, 25, 30, 0.34);
}

.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #eceef2;
}

.cookie-modal-head h2 {
  margin: 3px 0 0;
  color: #2d3037;
  font-size: 27px;
  letter-spacing: 0;
}

.cookie-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 8px;
  padding: 2px 9px;
  color: #537000;
  background: #ecf3d4;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.cookie-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #5f8df3;
  background: transparent;
  font-size: 34px;
  line-height: 1;
}

.cookie-close:hover {
  background: #f2f6ff;
}

.cookie-intro {
  margin: 0;
  padding: 18px 28px;
  color: #63666f;
  line-height: 1.55;
}

.cookie-rows {
  border-top: 1px solid #f0f1f3;
}

.cookie-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 16px 28px;
  border-bottom: 1px solid #f0f1f3;
  background: #fff;
}

label.cookie-row {
  cursor: pointer;
}

.cookie-row:hover {
  background: #fbfcf8;
}

.cookie-row-main {
  display: grid;
  grid-template-columns: auto 18px;
  align-items: center;
  justify-content: start;
  gap: 5px 8px;
  min-width: 0;
  color: #555861;
  font-size: 20px;
  font-weight: 500;
}

.cookie-row-main small {
  grid-column: 1 / -1;
  max-width: 460px;
  color: #8a8d96;
  font-size: 13px;
  line-height: 1.35;
}

.cookie-row-main i {
  display: inline-block;
  width: 0;
  height: 0;
  margin-top: 4px;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 7px solid #64a0ff;
}

.cookie-row strong {
  color: #7da300;
  font-size: 18px;
  white-space: nowrap;
}

.cookie-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  appearance: none;
  border: 2px solid #cdd1d8;
  border-radius: 999px;
  background: #fff;
}

.cookie-toggle::after {
  position: absolute;
  left: 10px;
  top: 6px;
  width: 8px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  content: "";
  opacity: 0;
  transform: rotate(45deg);
}

.cookie-toggle:checked {
  border-color: #353b4a;
  background: #353b4a;
}

.cookie-toggle:checked::after {
  opacity: 1;
}

.cookie-fingerprint {
  margin: 0;
  padding: 15px 28px;
  color: #595d67 !important;
  background: #f7f8f4;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-fingerprint span {
  color: #7f838c;
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
  background: #f7f8fa;
}

.cookie-privacy-link,
.cookie-text-button {
  color: #6f9300;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-privacy-link {
  background: transparent;
}

.cookie-text-button {
  min-height: 44px;
  border: 1px solid #c9d899;
  border-radius: 5px;
  padding: 0 14px;
  background: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.cookie-save,
.cookie-accept {
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  color: #fff;
  background: #7da300;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.cookie-accept {
  background: #353b4a;
}

.cookie-text-button:hover,
.cookie-privacy-link:hover {
  color: #526e00;
}

.cookie-save:hover {
  background: #688900;
}

.cookie-accept:hover {
  background: #252a35;
}

.empty {
  padding: 28px;
  border: 1px dashed #c7d2cb;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
}

.fineprint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .auth-layout,
  .auth-stage,
  .admin-layout,
  .switch-grid,
  .grid.two,
  .grid.three,
  .decision-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 380px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.42) 100%),
      url("./assets/reif-hero-old.jpg");
    background-position: 58% bottom;
    background-size: auto, auto 61%;
  }

  .hero-copy {
    width: min(680px, calc(100% - 32px));
    margin: 0 auto;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: auto;
    height: 59px;
    max-width: min(300px, 76vw);
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav button,
  .ghost-button,
  .primary-button,
  .danger-button {
    min-height: 34px;
    min-width: 0;
    flex: 0 1 auto;
    padding: 8px 4px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 360px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.98) 100%),
      url("./assets/reif-hero-old.jpg");
    background-position: center top;
    background-size: 100% auto;
  }

  .split-band,
  .product-hero,
  .book-hero,
  .course-hero,
  .course-layout,
  .pricing-grid,
  .price-note,
  .footer-inner,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .price-note {
    align-items: flex-start;
  }

  .product-image,
  .book-cover,
  .course-image {
    justify-content: flex-start;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .question-list {
    grid-template-columns: 1fr;
  }

  .hero-kicker {
    border-radius: 8px;
    line-height: 1.35;
  }

  .dashboard-head,
  .section-title,
  .briefing-row,
  .workflow-panel,
  .footer-inner {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .split-band,
  .product-hero,
  .book-hero,
  .course-hero,
  .course-layout,
  .pricing-grid,
  .footer-inner,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .cookie-trigger {
    left: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .cookie-modal-backdrop {
    align-items: end;
    padding: 14px;
  }

  .cookie-modal {
    width: 100%;
    max-height: calc(100vh - 28px);
  }

  .cookie-modal-head,
  .cookie-intro,
  .cookie-row,
  .cookie-fingerprint {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cookie-modal-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-text-button,
  .cookie-save,
  .cookie-accept {
    width: 100%;
  }

  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .mode-ribbon {
    grid-template-columns: 1fr;
  }

  .briefing-actions {
    justify-content: stretch;
  }

  .briefing-actions button {
    flex: 1;
  }

  .table,
  .research-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
