:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --cherry: #b11226;
  --cherry-dark: #8d0f1f;
  --cherry-soft: #ffe5ea;
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.09);
  --shadow-card: 0 18px 40px rgba(177, 18, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #fff1f4 0, #ffffff 32%, var(--bg) 72%);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: 4.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: var(--cherry);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  color: #334155;
  transition: color 0.18s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--cherry);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.1rem;
  height: 2px;
  background: #334155;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0.85rem 1rem 1rem;
  background: #fff;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav.is-hidden {
  display: none;
}

.hero {
  padding-top: 5.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.33rem 0.72rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--cherry-soft);
  color: var(--cherry-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  margin-top: 1.35rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 0.75rem;
  min-height: 2.9rem;
  padding: 0.72rem 1.25rem;
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--cherry);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background: var(--cherry-dark);
}

.btn-secondary {
  background: #fff;
  border-color: var(--border);
  color: #334155;
}

.btn-secondary:hover {
  border-color: #f5b5bf;
  color: var(--cherry-dark);
}

.trust-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-card {
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.trust-card h3 {
  font-size: 0.92rem;
  margin-bottom: 0.18rem;
}

.trust-card p {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-image-wrap {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-image-wrap img {
  min-height: 430px;
  width: 100%;
  object-fit: cover;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.panel-accent {
  background: linear-gradient(145deg, #fff 0%, #fff5f7 55%, #fff 100%);
  border-color: #ffd8df;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.about-grid p {
  color: var(--muted);
  max-width: 66ch;
}

.about-grid p + p {
  margin-top: 1rem;
}

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

.stat-card {
  border-radius: 1rem;
  background: var(--surface-muted);
  padding: 1rem;
}

.stat-card strong {
  display: block;
  color: var(--cherry);
  font-size: 1.75rem;
  font-weight: 800;
}

.stat-card span {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-intro {
  margin-bottom: 1.2rem;
  max-width: 58ch;
  color: var(--muted);
}

.card-grid,
.steps-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

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

.info-card,
.step-card,
.price-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.info-card p,
.step-card p,
.price-card p,
.price-card li {
  color: var(--muted);
}

.info-card p,
.step-card p {
  margin-top: 0.5rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.step-label {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--cherry-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.centered {
  text-align: center;
}

.pricing-grid {
  margin-top: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card .btn {
  margin-top: auto;
}

.plan-subtitle {
  margin-top: 0.33rem;
  font-size: 0.92rem;
}

.price-value {
  margin-top: 0.8rem;
  color: var(--text) !important;
  font-weight: 800;
  font-size: 2.15rem;
}

.price-value span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
}

.price-card ul {
  list-style: disc;
  margin: 0.9rem 0 1.3rem 1.1rem;
  padding: 0;
}

.price-card li + li {
  margin-top: 0.33rem;
}

.price-card.featured {
  border: 2px solid var(--cherry);
  box-shadow: var(--shadow-card);
}

.price-card.vip {
  position: relative;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: var(--cherry);
  color: #fff !important;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.23rem 0.6rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  margin-top: 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  padding: 2.8rem 0 1.5rem;
}

.site-footer p,
.site-footer address {
  color: var(--muted);
}

.site-footer address {
  margin-top: 0.9rem;
  font-style: normal;
  line-height: 1.8;
}

.site-footer a {
  color: var(--cherry);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cherry-dark);
}

.legal-links {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 0.9rem 0 1.4rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.84rem;
}

.legal-main {
  min-height: calc(100vh - 260px);
}

.legal-panel {
  max-width: 860px;
}

.legal-panel p + p {
  margin-top: 0.8rem;
}

.legal-panel ul {
  margin: 1rem 0 0 1.2rem;
}

.legal-panel li + li {
  margin-top: 0.35rem;
}

.back-link {
  display: inline-flex;
  margin-top: 1.3rem;
  text-decoration: none;
  color: var(--cherry);
  font-weight: 700;
}

.back-link:hover {
  color: var(--cherry-dark);
}

body.modal-open {
  overflow: hidden;
}

.select-plan-btn {
  width: 100%;
  cursor: pointer;
}

.flow-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.flow-modal.is-hidden {
  display: none;
}

.flow-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}

.flow-modal-dialog {
  position: relative;
  width: min(100%, 610px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3);
  padding: 1.5rem;
}

.flow-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #334155;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.flow-modal-close:hover {
  color: var(--cherry-dark);
  border-color: #f8c4cd;
}

.modal-step {
  color: var(--cherry-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-summary {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #f8c4cd;
  border-radius: 0.85rem;
  background: #fff5f7;
  padding: 0.8rem 0.9rem;
}

.plan-summary strong {
  color: #1e293b;
  font-size: 1rem;
}

.plan-summary span {
  color: var(--cherry-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.flow-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.flow-form label {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.flow-form input {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid var(--border);
  border-radius: 0.72rem;
  padding: 0.7rem 0.85rem;
  color: #0f172a;
  font-size: 0.94rem;
  background: #fff;
}

.flow-form input:focus {
  outline: 2px solid #f6b8c2;
  outline-offset: 1px;
  border-color: #f6b8c2;
}

.flow-form input::placeholder {
  color: #94a3b8;
}

.form-note {
  margin-top: 0.2rem;
  border-left: 3px solid #f5b5bf;
  padding-left: 0.65rem;
  color: #64748b;
  font-size: 0.82rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.check-row input[type="checkbox"] {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.2rem;
}

.check-row span {
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.45;
}

.check-row a {
  color: var(--cherry);
  font-weight: 700;
}

.check-row a:hover {
  color: var(--cherry-dark);
}

.modal-submit-btn {
  margin-top: 0.45rem;
  width: 100%;
}

.modal-submit-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.75;
}

.modal-submit-btn.is-disabled-mode {
  background: #475569;
}

.modal-submit-btn.is-disabled-mode:hover {
  background: #334155;
}

.payment-status-message {
  min-height: 1.2rem;
  margin-top: 0.4rem;
  color: #b11226;
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-modal-dialog {
  width: min(100%, 980px);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.checkout-security-line {
  margin-top: 0.25rem;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 700;
}

.checkout-placeholder-badge {
  margin-top: 0.4rem;
  display: inline-flex;
  border: 1px solid #f5b5bf;
  border-radius: 999px;
  background: #fff5f7;
  color: #8d0f1f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
}

.checkout-security-line::before {
  content: "🔒";
  margin-right: 0.35rem;
}

.payment-form {
  margin-top: 0.7rem;
}

.payment-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.card-brand-row {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-brand-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.26rem 0.65rem;
}

.order-summary {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem;
}

.order-summary h3 {
  color: #0f172a;
}

.order-label {
  margin-top: 0.65rem;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.order-plan {
  margin-top: 0.2rem;
  color: #1e293b !important;
  font-size: 1rem;
  font-weight: 800;
}

.order-price {
  margin-top: 0.2rem;
  color: var(--cherry-dark) !important;
  font-size: 1.55rem;
  font-weight: 900;
}

.order-summary ul {
  margin: 0.8rem 0 0 1rem;
  padding: 0;
}

.order-summary li {
  color: #475569;
  font-size: 0.86rem;
}

.order-summary li + li {
  margin-top: 0.25rem;
}

.legal-modal-dialog {
  width: min(100%, 980px);
}

.legal-modal-dialog iframe {
  width: 100%;
  min-height: 68vh;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  margin-top: 0.7rem;
  background: #fff;
}

.legal-panel section + section {
  margin-top: 1rem;
}

.legal-panel h2 {
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  margin: 0 0 0.55rem;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.legal-panel h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
}

.modal-submit-btn.is-processing {
  box-shadow: none;
}

.success-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.2rem;
  background: radial-gradient(circle at top, #ecfdf3 0%, #ffffff 34%, #f8fafc 78%);
}

.success-card {
  width: min(100%, 760px);
  border: 1px solid #d8f8e6;
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 2.2rem 1.2rem;
}

.success-icon {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.success-card h1 {
  margin-bottom: 0.8rem;
}

.success-card p {
  max-width: 62ch;
  margin-inline: auto;
  color: #475569;
}

.success-plan {
  margin-top: 0.75rem;
  color: #1e293b !important;
  font-size: 0.96rem;
  font-weight: 700;
}

.success-actions {
  margin-top: 1.25rem;
  display: inline-flex;
  gap: 0.7rem;
}

@media (max-width: 980px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-image-wrap {
    order: -1;
  }

  .hero-image-wrap img {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .section {
    padding-block: 3.4rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
  }

  .trust-grid,
  .card-grid,
  .steps-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 1.35rem;
  }

  .brand-name {
    font-size: 1.6rem;
  }

  .flow-modal-dialog {
    padding: 1rem;
  }

  .payment-inline-grid {
    grid-template-columns: 1fr;
  }
}
