:root {
  --bg: #f6f6f2;
  --bg-soft: #fbfbf8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --line-strong: rgba(17, 24, 39, 0.18);
  --text: #111827;
  --muted: #667085;
  --accent: #111111;
  --accent-soft: #f0efe8;
  --success: #0f5132;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
  --shadow-soft: 0 4px 16px rgba(17, 24, 39, 0.04);
  --radius: 0;
  --container-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(246, 246, 242, 0.92) 44%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f2 50%, #f0f0ea 100%);
  position: relative;
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.9), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(250, 248, 242, 0.7), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(238, 238, 232, 0.65), transparent 38%);
  pointer-events: none;
  z-index: 0;
}

.app-navbar,
.app-main,
.app-footer {
  position: relative;
  z-index: 1;
}

.app-main {
  min-height: calc(100vh - 140px);
}

.container-xl {
  max-width: var(--container-max);
}

.app-navbar,
.app-footer,
.hero-card,
.offer-side-card,
.checkout-form-shell,
.checkout-form-card,
.summary-shell,
.info-card,
.content-card,
.notice-box,
.app-alert,
.table,
.metric-card,
.member-sidebar,
.status-hero-card,
.app-success-box,
.choice-card,
.price-panel,
.summary-list-wrap,
.inner-card {
  border-radius: var(--radius) !important;
}

.app-navbar {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
}

.navbar-brand {
  gap: 3px;
}

.navbar-nav .nav-link {
  color: var(--muted);
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--text);
}

.brand-mini {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-main {
  font-size: 1.06rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}

.hero-simple,
.checkout-section,
.member-shell,
.narrow-shell {
  position: relative;
}

.hero-card,
.offer-side-card,
.checkout-form-shell,
.checkout-form-card,
.summary-shell,
.info-card,
.content-card,
.metric-card,
.member-sidebar,
.status-hero-card,
.app-success-box,
.notice-box,
.choice-card,
.price-panel,
.summary-list-wrap,
.app-alert,
.inner-card {
  background: var(--surface);
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card,
.offer-side-card,
.checkout-form-shell,
.checkout-form-card,
.summary-shell,
.info-card,
.content-card,
.metric-card,
.member-sidebar,
.status-hero-card,
.app-alert {
  padding: 30px;
}

.hero-card {
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.summary-shell::before,
.member-sidebar::before,
.status-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.65), rgba(17, 17, 17, 0));
}

.display-5,
.status-title,
.section-heading h2,
.summary-title,
.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.offer-side-card h3,
.info-card h3 {
  letter-spacing: -.045em;
}

.display-5 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: .98;
  max-width: 12ch;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted) !important;
  max-width: 64ch;
}

.hero-points-simple {
  display: grid;
  gap: 12px;
}

.hero-point-item {
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  font-size: .97rem;
  color: var(--text);
}

.eyebrow-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eyebrow-pill,
.mini-label,
.promo-inline,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.8);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mini-label-soft {
  background: var(--accent-soft);
}

.section-heading h2,
.summary-title,
.offer-side-card h3,
.info-card h3,
.status-title,
.member-sidebar h2 {
  font-weight: 750;
}

.offer-side-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(248,248,243,0.86) 100%);
}

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

.step-list li {
  position: relative;
  padding-left: 44px;
  min-height: 30px;
  display: flex;
  align-items: center;
  color: var(--text);
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  font-size: 12px;
  font-weight: 700;
}

.offer-side-card .step-list {
  counter-reset: step;
}

.notice-box,
.app-success-box {
  padding: 16px 18px;
  line-height: 1.75;
  background: rgba(255,255,255,0.72);
}

.checkout-section {
  margin-top: 28px;
}

.checkout-form-shell,
.checkout-form-card,
.summary-shell,
.member-sidebar,
.status-hero-card {
  position: relative;
  overflow: hidden;
}

.form-label {
  margin-bottom: 10px;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
}

.app-field,
.form-select.app-field,
.form-control.app-field {
  min-height: 58px;
  border: 1px solid var(--line-strong) !important;
  background: rgba(255,255,255,0.82) !important;
  color: var(--text) !important;
  border-radius: 0 !important;
  padding-left: 16px;
  padding-right: 16px;
  box-shadow: none !important;
}

textarea.app-field {
  min-height: 124px;
  padding-top: 14px;
}

.app-field::placeholder {
  color: #98a2b3;
}

.choice-card {
  padding: 18px 18px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.choice-card:hover {
  border-color: rgba(17, 24, 39, 0.2) !important;
  background: rgba(255,255,255,0.92);
}

.choice-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.02em;
}

.choice-note {
  margin-top: 4px;
  line-height: 1.65;
}

.bundling-switch {
  width: 3rem !important;
  height: 1.55rem;
  margin-top: 3px;
  border-radius: 999px !important;
}

.summary-shell {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(249,249,245,0.88) 100%);
}

.price-panel {
  padding: 18px 18px 16px;
  background: rgba(255,255,255,0.78);
}

.compare-price {
  color: #98a2b3;
  font-size: 1rem;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.current-price,
.price-main,
.metric-number {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.06em;
}

.saving-note {
  color: var(--success);
  font-size: .96rem;
  font-weight: 600;
  margin-top: 8px;
}

.summary-list-wrap {
  padding: 18px;
}

.summary-list-title,
.inclusion-title,
.metric-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.app-btn,
.btn.app-btn {
  min-height: 52px;
  border-radius: 0 !important;
  border: 1px solid var(--accent) !important;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn-dark.app-btn {
  background: var(--accent) !important;
  color: #ffffff !important;
}

.btn-dark.app-btn:hover,
.btn-dark.app-btn:focus,
.btn-outline-dark.app-btn:hover,
.btn-outline-dark.app-btn:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft) !important;
}

.btn-outline-dark.app-btn {
  background: rgba(255,255,255,0.6) !important;
  color: var(--text) !important;
}

.app-field:focus,
.app-btn:focus,
.btn:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(17, 17, 17, .06) !important;
  border-color: rgba(17, 24, 39, 0.3) !important;
}

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

.info-card p,
.notice-box,
.text-secondary,
.choice-note,
.metric-label,
.summary-list span,
.member-summary-list span,
.app-footer,
.app-footer .small {
  color: var(--muted) !important;
}

.narrow-shell {
  max-width: 980px;
  margin-inline: auto;
}

.status-hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(248,248,243,0.9) 100%);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.8);
  font-weight: 700;
}

.status-tag.is-active {
  color: var(--success);
  border-color: rgba(15, 81, 50, 0.25);
  background: rgba(228, 245, 234, 0.9);
}

.status-tag.is-pending {
  color: #8a5b00;
  border-color: rgba(138, 91, 0, 0.22);
  background: rgba(255, 247, 224, 0.95);
}

.member-summary-list,
.summary-list {
  display: grid;
  gap: 12px;
}

.member-summary-list > div,
.summary-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.member-summary-list > div:last-child,
.summary-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.member-summary-list strong,
.summary-list strong {
  color: var(--text);
  text-align: right;
}

.member-tabs {
  gap: 10px;
}

.member-tab {
  min-width: 128px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.inner-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  height: 100%;
}

.metric-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.table,
.table th,
.table td {
  border-radius: 0 !important;
}

.app-table,
.table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255,255,255,0.58);
  --bs-table-hover-bg: rgba(17,24,39,0.02);
}

.table-responsive {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
}

.table > :not(caption) > * > * {
  padding: 15px 16px;
  border-bottom-color: var(--line);
}

.table thead th {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(250,250,247,0.88);
}

.app-alert {
  padding: 16px 18px;
  background: rgba(255,255,255,0.88);
}

.app-success-box {
  border-color: rgba(15, 81, 50, 0.18) !important;
  background: rgba(237, 249, 240, 0.9);
}

.app-footer {
  background: rgba(255,255,255,0.72) !important;
  border-top: 1px solid rgba(17, 24, 39, 0.08) !important;
}

.footer-title {
  font-weight: 700;
  letter-spacing: -.02em;
}

.sticky-top-app {
  top: 96px;
}

@media (max-width: 991.98px) {
  .hero-card,
  .offer-side-card,
  .checkout-form-shell,
  .checkout-form-card,
  .summary-shell,
  .info-card,
  .content-card,
  .metric-card,
  .member-sidebar,
  .status-hero-card,
  .app-alert {
    padding: 24px;
  }

  .display-5 {
    max-width: none;
  }

  .sticky-top-app {
    position: static !important;
    top: auto;
  }
}

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

  .hero-card,
  .offer-side-card,
  .checkout-form-shell,
  .checkout-form-card,
  .summary-shell,
  .info-card,
  .content-card,
  .metric-card,
  .member-sidebar,
  .status-hero-card,
  .app-alert {
    padding: 20px;
  }

  .current-price,
  .price-main,
  .metric-number {
    font-size: 2rem;
  }

  .member-tab,
  .app-btn,
  .btn.app-btn {
    width: 100%;
  }

  .member-tabs {
    display: grid !important;
    grid-template-columns: 1fr;
  }
}
