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

:root {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  --ink: #090d12;
  --ink-soft: #2f3740;
  --paper: #f6f1e8;
  --paper-light: #fffaf1;
  --mist: #ebe3d6;
  --gold: #bc8a3a;
  --champagne: #e2bf75;
  --line: rgba(9, 13, 18, 0.13);
  --shadow: 0 28px 80px rgba(9, 13, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
}

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

a,
button {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
}

.checkout-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(246, 241, 232, 0.88);
  border-bottom: 1px solid rgba(9, 13, 18, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.checkout-nav {
  justify-self: center;
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-nav a:hover {
  color: var(--gold);
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.header-button {
  padding: 0 20px;
  color: var(--paper-light);
  background: var(--ink);
}

.button {
  min-width: 190px;
  padding: 0 22px;
}

.button:hover,
.header-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, #f5d889, var(--gold));
  box-shadow: 0 16px 40px rgba(188, 138, 58, 0.22);
}

.button.secondary,
.button.ghost {
  border: 1px solid rgba(9, 13, 18, 0.18);
  color: var(--ink);
  background: rgba(255, 250, 241, 0.38);
}

.button.full {
  width: 100%;
  min-width: 0;
}

.checkout-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: 92px clamp(20px, 6vw, 86px) 64px;
  color: var(--paper-light);
  background: linear-gradient(135deg, #090d12 0%, #171d20 58%, #26251f 100%);
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 4vw, 4.3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.18;
}

.hero-copy p {
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.08rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 24px;
  background: var(--paper-light);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper-light);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 900;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  padding: 86px clamp(20px, 6vw, 86px);
}

.section-head {
  max-width: 940px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 760px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.pricing-section {
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 18px 52px rgba(9, 13, 18, 0.08);
}

.plan-card.recommended {
  border-color: rgba(188, 138, 58, 0.4);
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 0 26px 78px rgba(188, 138, 58, 0.18);
}

.plan-card.elite {
  color: var(--paper-light);
  background: linear-gradient(135deg, #111820, #090d12);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--champagne);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-name {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card h3 {
  min-height: 70px;
}

.price {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1;
}

.price span {
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 0.84rem;
}

.plan-copy {
  min-height: 112px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.52;
}

.plan-card ul {
  display: grid;
  gap: 9px;
  margin: 10px 0 22px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.plan-card.elite .plan-copy,
.plan-card.elite li,
.plan-card.elite .micro-note {
  color: rgba(255, 250, 241, 0.78);
}

.micro-note {
  margin: 0 0 18px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(226, 191, 117, 0.16);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.elite-tags {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.elite-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 999px;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
}

.plan-card .button {
  margin-top: auto;
}

.care-note {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(188, 138, 58, 0.22);
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.78);
}

.care-note strong {
  display: block;
  margin-bottom: 8px;
}

.care-note p {
  max-width: 1040px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-grid article,
.faq-list details {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.68);
}

.module-grid p,
.faq-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  color: var(--paper-light);
  background: linear-gradient(135deg, #111820, #090d12);
}

.visual-copy p {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.76);
  line-height: 1.65;
}

.visual-stack {
  display: grid;
  gap: 14px;
}

.visual-stack img {
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.comparison-section {
  background: var(--paper-light);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.2fr 1.4fr;
  gap: 1px;
  border-bottom: 1px solid var(--line);
}

.comparison-table > div:last-child {
  border-bottom: 0;
}

.comparison-table span {
  padding: 16px;
  background: rgba(255, 250, 241, 0.72);
}

.comparison-table .table-head span {
  color: var(--paper-light);
  background: var(--ink);
  font-weight: 900;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--mist);
}

.final-cta p {
  max-width: 700px;
  color: var(--ink-soft);
}

.faq-section {
  background: var(--paper);
}

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

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.checkout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: rgba(255, 250, 241, 0.72);
  background: var(--ink);
}

.checkout-footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 1180px) {
  .checkout-hero,
  .visual-section {
    grid-template-columns: 1fr;
  }

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

  .plan-card.elite {
    grid-column: span 2;
  }
}

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

  .checkout-nav {
    display: none;
  }

  .checkout-hero {
    min-height: auto;
    padding-top: 58px;
  }

  .trust-strip,
  .pricing-grid,
  .module-grid,
  .comparison-table > div,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .plan-card.elite {
    grid-column: auto;
  }

  .plan-card h3,
  .plan-copy {
    min-height: auto;
  }

  .visual-section {
    overflow: hidden;
  }

  .visual-stack {
    overflow-x: auto;
  }

  .visual-stack img {
    min-width: 760px;
  }

  .checkout-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .checkout-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    font-size: 1.02rem;
    letter-spacing: 0.14em;
  }

  .header-button {
    display: none;
  }

  .section {
    padding: 58px 16px;
  }

  .checkout-hero {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 54px 16px;
  }

  .hero-copy,
  .hero-actions,
  .hero-visual {
    width: calc(100vw - 52px);
    max-width: calc(100vw - 52px);
  }

  h1 {
    max-width: 9.6ch;
    font-size: 2.64rem;
    line-height: 1.02;
  }

  .hero-copy p {
    max-width: 32ch;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 2.42rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
