@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Syne:wght@500;700;800&display=swap");

:root {
  --bg: #f3f5f8;
  --bg-soft: #eceff4;
  --paper: #ffffff;
  --paper-alt: #fbfbfc;
  --ink: #101828;
  --muted: #5c6678;
  --line: #d6dbe4;
  --line-strong: #b8c1cf;
  --cherry: #b11242;
  --cherry-deep: #8b1034;
  --cherry-soft: #f8dbe5;
  --mist: #eff2f6;
  --shadow-sm: 0 18px 40px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 30px 80px rgba(16, 24, 40, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.01em;
  background:
    radial-gradient(circle at top left, rgba(177, 18, 66, 0.10), transparent 20%),
    radial-gradient(circle at top right, rgba(177, 18, 66, 0.05), transparent 18%),
    linear-gradient(180deg, #fafbfc 0%, #f3f5f8 40%, #edf1f5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3,
.font-display {
  font-family: "Syne", sans-serif;
  letter-spacing: -0.03em;
}

a,
button,
input {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

.page-shell.modal-lock {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 120;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.8rem 1rem;
}

.notice-bar {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-bottom: 1px solid rgba(184, 193, 207, 0.55);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 245, 248, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-line {
  border-bottom: 1px solid rgba(184, 193, 207, 0.45);
}

.brand-tile {
  background: linear-gradient(135deg, #cf2558 0%, #8d1134 100%);
  box-shadow: 0 18px 40px rgba(139, 16, 52, 0.28);
}

.main-nav {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(184, 193, 207, 0.52);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.nav-link,
.footer-link {
  color: var(--muted);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--ink);
}

.action-primary,
.action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 800;
}

.action-primary {
  background: linear-gradient(135deg, #c61f50 0%, #8b1034 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(139, 16, 52, 0.25);
}

.action-primary:hover,
.action-primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.action-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1px solid rgba(184, 193, 207, 0.72);
}

.action-secondary:hover,
.action-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(177, 18, 66, 0.36);
  color: var(--cherry-deep);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(177, 18, 66, 0.2);
  background: rgba(255, 255, 255, 0.84);
  color: var(--cherry);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--cherry);
}

.hero-shell {
  position: relative;
  padding-top: 1.5rem;
}

.hero-shell::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(177, 18, 66, 0.12), transparent 68%);
  pointer-events: none;
}

.visual-board,
.panel,
.step-card,
.plan-card,
.disclosure-card,
.entity-card,
.policy-card,
.prose-sheet,
.aside-card,
.review-card,
.secure-card,
.enroll-dialog {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 193, 207, 0.68);
  box-shadow: var(--shadow-sm);
}

.visual-board {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.visual-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(135deg, rgba(177, 18, 66, 0.06), transparent 55%);
  pointer-events: none;
}

.visual-main {
  position: relative;
  z-index: 1;
  border-radius: 1.4rem;
  overflow: hidden;
}

.visual-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-sub {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  width: min(40vw, 220px);
  padding: 0.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(184, 193, 207, 0.72);
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.16);
}

.visual-sub img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
  border-radius: 1rem;
}

.visual-ticket {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  z-index: 2;
  max-width: 18rem;
  border-radius: 1.4rem;
  background: rgba(16, 24, 40, 0.92);
  color: #ffffff;
  padding: 1rem 1.1rem;
}

.metrics-strip {
  display: grid;
  gap: 1rem;
}

.metric-chip {
  min-height: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(184, 193, 207, 0.68);
  background: rgba(255, 255, 255, 0.82);
  padding: 1.1rem 1rem;
}

.metric-chip strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cherry);
}

.metric-chip span {
  display: block;
  margin-top: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.panel {
  border-radius: 2rem;
}

.panel-muted {
  background: rgba(239, 242, 246, 0.85);
}

.split-note {
  border-left: 4px solid var(--cherry);
  padding-left: 1rem;
}

.mini-fact {
  border-radius: 1.35rem;
  border: 1px solid rgba(184, 193, 207, 0.62);
  background: rgba(255, 255, 255, 0.84);
}

.pillar-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 2rem;
  border: 1px solid rgba(184, 193, 207, 0.7);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.45rem;
  background: linear-gradient(90deg, #cf2558 0%, #8d1134 100%);
}

.step-card,
.plan-card,
.disclosure-card,
.entity-card,
.policy-card,
.review-card,
.secure-card {
  border-radius: 2rem;
}

.step-badge,
.plan-badge,
.policy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  background: var(--cherry-soft);
  color: var(--cherry-deep);
  font-weight: 800;
}

.plan-card.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(252, 238, 242, 0.92));
  border-color: rgba(177, 18, 66, 0.4);
  box-shadow: 0 28px 66px rgba(177, 18, 66, 0.14);
}

.line-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.line-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

.line-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--cherry);
}

.disclosure-grid,
.entity-grid,
.policy-grid {
  display: grid;
  gap: 1rem;
}

.entity-row dt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.entity-row dd {
  margin: 0.55rem 0 0;
  color: var(--ink);
  line-height: 1.65;
  font-weight: 700;
}

.policy-link {
  display: block;
  border-radius: 1.4rem;
  border: 1px solid rgba(184, 193, 207, 0.68);
  background: rgba(255, 255, 255, 0.84);
}

.policy-link:hover,
.policy-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(177, 18, 66, 0.34);
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cherry-deep);
  font-weight: 800;
}

.page-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.82);
}

.page-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.page-footer a:hover,
.page-footer a:focus-visible {
  color: #ffffff;
}

.footer-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.enroll-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
}

.enroll-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.enroll-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.enroll-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.32);
}

.field-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.field-control {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(184, 193, 207, 0.82);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0.95rem 1rem;
}

.field-control:focus {
  outline: none;
  border-color: rgba(177, 18, 66, 0.5);
  box-shadow: 0 0 0 4px rgba(177, 18, 66, 0.12);
}

.hint-text {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(184, 193, 207, 0.58);
  background: rgba(239, 242, 246, 0.82);
  padding: 1rem;
}

.consent-box input {
  margin-top: 0.2rem;
}

.form-alert {
  display: none;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(177, 18, 66, 0.24);
  background: rgba(248, 219, 229, 0.55);
  color: var(--cherry-deep);
  font-weight: 700;
}

.form-alert.is-visible {
  display: block;
}

.summary-panel {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
  color: #ffffff;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.summary-list {
  display: grid;
  gap: 1rem;
}

.summary-list .mini-fact {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.summary-list .mini-fact p:last-child {
  color: rgba(255, 255, 255, 0.86);
}

.checkout-visual {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  min-height: 18rem;
}

.checkout-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.stripe-window {
  border-radius: 1.6rem;
  border: 1px solid rgba(184, 193, 207, 0.72);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}

.stripe-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(184, 193, 207, 0.62);
  background: #f8fafc;
}

.stripe-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  padding: 0.5rem 0.8rem;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placeholder-line {
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8edf5 0%, #dfe6ef 100%);
}

.placeholder-block {
  min-height: 5rem;
  border-radius: 1rem;
  border: 1px dashed rgba(184, 193, 207, 0.82);
  background: rgba(248, 250, 252, 0.92);
}

.prose-sheet {
  border-radius: 2rem;
}

.policy-prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
}

.policy-prose p,
.policy-prose li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.policy-prose ul {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

.policy-prose strong {
  color: var(--ink);
}

.policy-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(184, 193, 207, 0.68);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.88);
}

.policy-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.policy-hero-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 18rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border: 1px solid rgba(184, 193, 207, 0.62);
}

@media (max-width: 1024px) {
  .visual-sub {
    width: 190px;
  }
}

@media (max-width: 768px) {
  body::before {
    background-size: 44px 44px;
  }

  .hero-shell::after {
    width: 12rem;
    height: 12rem;
  }

  .visual-ticket,
  .visual-sub {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 1rem;
  }

  .visual-sub img {
    height: 180px;
  }

  .enroll-dialog {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
}
