:root {
  --bg: #fcf7f2;
  --bg-soft: #fffdf9;
  --paper: rgba(255, 255, 255, 0.8);
  --ink: #142d5f;
  --ink-soft: #41547e;
  --accent: #cc1f2f;
  --accent-deep: #9f1024;
  --line: rgba(20, 45, 95, 0.12);
  --gold: #f4d9b1;
  --shadow: 0 20px 60px rgba(28, 46, 91, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(204, 31, 47, 0.12), transparent 24rem),
    radial-gradient(circle at 85% 18%, rgba(20, 45, 95, 0.12), transparent 24rem),
    linear-gradient(180deg, #fffdfa 0%, #fbf5ef 40%, #fffaf5 100%);
}

body[data-role="professional"] {
  background:
    radial-gradient(circle at top left, rgba(20, 45, 95, 0.15), transparent 24rem),
    radial-gradient(circle at 82% 16%, rgba(204, 31, 47, 0.11), transparent 22rem),
    linear-gradient(180deg, #fefcf9 0%, #f5f7fb 44%, #fffbf7 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.entry-body {
  background:
    radial-gradient(circle at 78% 22%, rgba(204, 31, 47, 0.1), transparent 20rem),
    radial-gradient(circle at 12% 78%, rgba(20, 45, 95, 0.1), transparent 22rem),
    linear-gradient(180deg, #fffdfa 0%, #fbf5ef 100%);
}

.entry-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.entry-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
  padding: 1rem 0;
}

.entry-brand {
  justify-content: center;
  margin: 0 auto 2rem;
}

.entry-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.entry-card h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 7vw, 6.6rem);
  line-height: 0.95;
}

.entry-card p {
  margin: 1rem auto 0;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 43rem;
  font-size: 1.05rem;
}

.entry-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.entry-option {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  text-align: center;
  min-height: 15rem;
  padding: 1.6rem;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 245, 0.86)),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(20, 45, 95, 0.1);
  box-shadow:
    0 22px 50px rgba(20, 45, 95, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.entry-option::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.75;
  background:
    linear-gradient(135deg, rgba(204, 31, 47, 0.12), transparent 38%),
    radial-gradient(circle at 84% 18%, rgba(204, 31, 47, 0.12), transparent 9rem);
}

.entry-option::after {
  content: "→";
  position: absolute;
  right: 1.3rem;
  top: 1.15rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 45, 95, 0.1);
  font-weight: 800;
  transform: translateX(-4px);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.entry-option-professional::before {
  background:
    linear-gradient(135deg, rgba(20, 45, 95, 0.12), transparent 40%),
    radial-gradient(circle at 84% 18%, rgba(20, 45, 95, 0.12), transparent 9rem);
}

.entry-option:hover,
.entry-option:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(204, 31, 47, 0.2);
  box-shadow:
    0 28px 64px rgba(20, 45, 95, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.entry-option:hover::after,
.entry-option:focus-visible::after {
  transform: translateX(0);
  opacity: 1;
}

.entry-option strong {
  max-width: 16rem;
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1.15;
}

.entry-option > span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 10rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent), #ea495a);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(204, 31, 47, 0.2);
}

.entry-option-professional > span:last-child {
  background: linear-gradient(135deg, var(--ink), #29457f);
  box-shadow: 0 14px 30px rgba(20, 45, 95, 0.18);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual.reveal {
  transform: translateY(18px) scale(0.97);
}

.hero-visual.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-left {
  top: -10rem;
  left: -6rem;
  background: rgba(204, 31, 47, 0.15);
}

.ambient-right {
  right: -8rem;
  top: 10rem;
  background: rgba(20, 45, 95, 0.14);
}

.role-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(250, 244, 237, 0.72);
  backdrop-filter: blur(20px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.role-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.gate-card,
.content-panel,
.step-card,
.insight-card,
.about-card,
.stat-card {
  background: var(--paper);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.gate-card {
  width: min(980px, 100%);
  padding: 3rem;
  border-radius: 40px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent);
}

.gate-card h1,
.hero-title span,
.section-heading h3,
.content-panel h3,
.about-card h3 {
  font-family: "Cormorant Garamond", serif;
}

.gate-card h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.94;
  color: var(--ink);
}

.gate-copy {
  max-width: 44rem;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.gate-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.gate-option {
  display: grid;
  gap: 0.65rem;
  text-align: left;
  padding: 1.5rem;
  border-radius: 26px;
  border: 1px solid rgba(20, 45, 95, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 241, 234, 0.9));
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gate-option:hover,
.gate-option:focus-visible,
.role-pill:hover,
.role-pill:focus-visible,
.button:hover,
.button:focus-visible,
.resource-link:hover,
.resource-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(28, 46, 91, 0.12);
}

.option-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(204, 31, 47, 0.12), rgba(20, 45, 95, 0.09));
}

.option-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.option-copy {
  color: var(--ink-soft);
  line-height: 1.6;
}

.entry-option .option-icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 45, 95, 0.08);
  box-shadow: 0 12px 28px rgba(20, 45, 95, 0.08);
}

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

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(28, 46, 91, 0.08);
}

.brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.brand-heart {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ee5767);
  color: white;
  box-shadow: 0 12px 24px rgba(204, 31, 47, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.brand-text span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 700;
}

.role-switch {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(20, 45, 95, 0.06);
}

.role-pill {
  border: 0;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  background: transparent;
}

.role-pill.is-active {
  color: white;
  background: linear-gradient(135deg, var(--ink), #29457f);
}

main {
  padding: 3rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 9rem);
}

.hero-title {
  margin: 0;
}

.hero-title span {
  display: block;
  font-size: clamp(4rem, 7vw, 6.7rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.hero-title em {
  display: block;
  margin-top: 0.4rem;
  font-family: "Parisienne", cursive;
  font-style: normal;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--accent);
}

.hero-description,
.section-heading p,
.content-panel p,
.about-card p,
.step-card p,
.insight-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-description {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #ea495a);
  box-shadow: 0 14px 28px rgba(204, 31, 47, 0.24);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(20, 45, 95, 0.14);
  background: rgba(255, 255, 255, 0.75);
}

.hero-stat-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  min-width: 0;
  padding: 0.9rem;
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.3;
}

.stat-card span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  align-self: center;
}

.heart-image {
  display: block;
  width: min(25.5rem, 100%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 24px 44px rgba(174, 22, 39, 0.18));
}

.section {
  margin-top: 4.5rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.6rem;
}

.section-heading h3,
.content-panel h3,
.about-card h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.section-heading p {
  margin: 0.9rem 0 0;
}

.steps-grid,
.insight-grid,
.guide-grid,
.faq-grid,
.split-section {
  display: grid;
  gap: 1.2rem;
}

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

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

.step-card,
.insight-card,
.guide-card,
.faq-card,
.content-panel,
.about-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 31, 47, 0.12), transparent 70%);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ed5968);
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(204, 31, 47, 0.2);
}

.step-card h4,
.insight-card h4,
.guide-card h4,
.faq-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.guide-card,
.faq-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 45, 95, 0.09);
  box-shadow: var(--shadow);
}

.guide-card p,
.faq-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.split-section {
  grid-template-columns: 1.1fr 0.9fr;
}

.emphasis-panel {
  background:
    linear-gradient(145deg, rgba(20, 45, 95, 0.96), rgba(31, 58, 111, 0.92)),
    var(--paper);
  color: white;
}

.emphasis-panel .eyebrow,
.emphasis-panel p,
.emphasis-panel h3 {
  color: white;
}

.resource-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.resource-link {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 45, 95, 0.09);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-link strong {
  font-size: 1rem;
}

.resource-link span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-link small {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.check-list,
.timeline-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.check-item {
  position: relative;
  padding: 1rem 1rem 1rem 3.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 45, 95, 0.08);
  line-height: 1.65;
  color: var(--ink);
}

.check-item::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ef6373);
  box-shadow: 0 8px 20px rgba(204, 31, 47, 0.2);
}

.check-item::after {
  content: "";
  position: absolute;
  top: 1.38rem;
  left: 1.37rem;
  width: 0.45rem;
  height: 0.24rem;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.timeline-item p {
  margin: 0.3rem 0 0;
}

.timeline-dot {
  width: 1rem;
  height: 1rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), #3f5f9a);
  box-shadow: 0 0 0 7px rgba(20, 45, 95, 0.08);
}

.timeline-section .content-panel {
  min-height: 100%;
}

.insight-card {
  min-height: 100%;
}

.about-section {
  margin-bottom: 2rem;
}

.about-card {
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 31, 47, 0.14), transparent 70%);
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.source-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 45, 95, 0.11);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .entry-card,
  .gate-options,
  .hero,
  .steps-grid,
  .insight-grid,
  .guide-grid,
  .faq-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .entry-options {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

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

  .topbar,
  main {
    width: min(100%, calc(100% - 1.2rem));
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .entry-page {
    width: min(100%, calc(100% - 1rem));
    padding: 1.25rem 0 2rem;
  }

  .entry-card {
    gap: 1.6rem;
    padding: 0;
  }

  .entry-card h1 {
    font-size: 3.2rem;
  }

  .entry-brand {
    margin-bottom: 1.6rem;
  }

  .entry-option {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.1rem;
  }

  .entry-option > span:last-child {
    width: 100%;
  }

  .topbar {
    position: static;
    flex-direction: column;
    gap: 1rem;
    border-radius: 28px;
  }

  .gate-card,
  .step-card,
  .insight-card,
  .content-panel,
  .about-card {
    border-radius: 24px;
  }

  .gate-card {
    padding: 2rem 1.35rem;
  }

  .hero-title span {
    font-size: 3.2rem;
  }

  .hero-title em {
    font-size: 2rem;
  }

  .hero-description,
  .section-heading p,
  .guide-card p,
  .faq-card p,
  .content-panel p,
  .step-card p,
  .insight-card p {
    line-height: 1.65;
  }

  .role-switch {
    width: 100%;
  }

  .role-pill {
    flex: 1;
  }

  main,
  .section {
    margin-top: 0;
  }

  .section {
    margin-top: 3.3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .heart-image {
    width: min(18rem, 100%);
  }

  .hero-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .section-heading h3,
  .content-panel h3,
  .about-card h3 {
    font-size: 2.2rem;
  }

  .step-card,
  .insight-card,
  .guide-card,
  .faq-card,
  .content-panel,
  .about-card,
  .stat-card {
    padding: 1.2rem;
  }

  .check-item {
    padding-left: 2.9rem;
  }

  .source-list {
    display: grid;
  }

  .source-list a {
    border-radius: 16px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .topbar,
  main {
    width: min(100%, calc(100% - 0.85rem));
  }

  .brand-text span {
    font-size: 1.55rem;
  }

  .hero-title span {
    font-size: 2.7rem;
  }

  .hero-title em {
    font-size: 1.75rem;
  }

  .gate-card h1 {
    font-size: 2.5rem;
  }

  .gate-copy,
  .hero-description {
    font-size: 0.98rem;
  }

  .stat-card {
    padding: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-visual.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
