/* Consultant's Edge — editorial / boardroom aesthetic, conversion-optimized */
:root {
  --ink: #0c0f14;
  --ink-muted: #3d4554;
  --paper: #f7f4ef;
  --paper-dark: #ebe6dc;
  --accent: #b5651d;
  --accent-bright: #d4882e;
  --accent-glow: rgba(212, 136, 46, 0.35);
  --cta-bg: #c9381a;
  --cta-hover: #e04428;
  --green: #1a7a4c;
  --line: rgba(12, 15, 20, 0.12);
  --shadow: 0 24px 60px rgba(12, 15, 20, 0.08);
  --radius: 4px;
  --font-display: "IBM Plex Serif", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --max: 72rem;
  --space-section: clamp(4rem, 10vw, 7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 0.75rem;
}

/* Texture overlay */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ——— Scroll Reveal Animations ——— */
.anim-reveal,
.pillar-card,
.value-item,
.week-card,
.compare-col,
.guarantee-badge {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-d1 { transition-delay: 0.1s; }
.anim-d2 { transition-delay: 0.2s; }
.anim-d3 { transition-delay: 0.3s; }
.anim-d4 { transition-delay: 0.4s; }

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.pillar-card:nth-child(2).revealed { transition-delay: 0.08s; }
.pillar-card:nth-child(3).revealed { transition-delay: 0.16s; }
.pillar-card:nth-child(4).revealed { transition-delay: 0.24s; }


.value-item:nth-child(2).revealed { transition-delay: 0.06s; }
.value-item:nth-child(3).revealed { transition-delay: 0.12s; }
.value-item:nth-child(4).revealed { transition-delay: 0.18s; }
.value-item:nth-child(5).revealed { transition-delay: 0.24s; }
.value-item:nth-child(6).revealed { transition-delay: 0.30s; }

.week-card:nth-child(2).revealed { transition-delay: 0.08s; }
.week-card:nth-child(3).revealed { transition-delay: 0.16s; }
.week-card:nth-child(4).revealed { transition-delay: 0.24s; }
.week-card:nth-child(5).revealed { transition-delay: 0.32s; }

.compare-col:nth-child(2).revealed { transition-delay: 0.12s; }


/* ——— Header ——— */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(8px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--cta-bg);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--cta-hover);
  outline: none;
}

/* ——— Hero ——— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-section) clamp(1.25rem, 4vw, 2rem) 3rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

.hero-aside {
  font-size: 0.95rem;
  color: var(--ink-muted);
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 0 0 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ——— Primary CTA Button (Conversion-optimized) ——— */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background: var(--cta-bg);
  padding: 0.95rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--cta-hover);
  transform: translateY(-1px);
  outline: none;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary--glow {
  box-shadow: 0 4px 20px rgba(201, 56, 26, 0.3);
}

.btn-primary--glow:hover {
  box-shadow: 0 6px 28px rgba(201, 56, 26, 0.4);
}

.btn-primary--lg {
  font-size: 1.15rem;
  padding: 1.1rem 2.25rem;
}

/* ——— Hero Product Showcase ——— */
.hero-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.book-stack {
  position: relative;
  width: 280px;
  height: 396px;
  perspective: 1200px;
}

@media (min-width: 900px) {
  .book-stack {
    width: 320px;
    height: 452px;
  }
}

.book-page {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(12, 15, 20, 0.25), 0 2px 8px rgba(12, 15, 20, 0.15);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.book-page--back {
  transform: rotate(-6deg) translateX(-18px) translateY(8px) scale(0.92);
  z-index: 1;
  opacity: 0.7;
}

.book-page--mid {
  transform: rotate(-3deg) translateX(-8px) translateY(4px) scale(0.96);
  z-index: 2;
  opacity: 0.85;
}

.book-page--front {
  transform: rotate(0deg);
  z-index: 3;
}

/* Hover fan-out effect */
.book-stack:hover .book-page--back {
  transform: rotate(-10deg) translateX(-36px) translateY(12px) scale(0.92);
  box-shadow: 0 16px 50px rgba(12, 15, 20, 0.3);
}

.book-stack:hover .book-page--mid {
  transform: rotate(-5deg) translateX(-18px) translateY(6px) scale(0.96);
  box-shadow: 0 14px 45px rgba(12, 15, 20, 0.28);
}

.book-stack:hover .book-page--front {
  transform: rotate(2deg) translateY(-4px);
  box-shadow: 0 20px 60px rgba(12, 15, 20, 0.35);
}

.hero-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.product-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--accent-bright);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
}

/* ——— Peek Inside ——— */
.peek-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .peek-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.peek-card {
  margin: 0;
  text-align: center;
}

.peek-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(12, 15, 20, 0.1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.peek-card:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 50px rgba(12, 15, 20, 0.18);
}

.peek-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Stagger peek cards */
.peek-card:nth-child(2).revealed { transition-delay: 0.1s; }
.peek-card:nth-child(3).revealed { transition-delay: 0.2s; }

/* ——— Hero Panel (legacy) ——— */
.hero-panel {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(200, 127, 58, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
  position: relative;
}

.stat-row {
  display: grid;
  gap: 1rem;
  position: relative;
}

.stat {
  padding: 1rem 0;
  border-top: 1px solid rgba(247, 244, 239, 0.15);
}

.stat:first-of-type {
  border-top: none;
  padding-top: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-bright);
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ——— Social Proof Bar ——— */
.proof-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 1rem clamp(1.25rem, 4vw, 2rem);
  border-bottom: 3px solid var(--accent);
}

.proof-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  font-size: 0.9rem;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proof-item strong {
  color: var(--accent-bright);
}

/* ——— Sections ——— */
section {
  padding: var(--space-section) clamp(1.25rem, 4vw, 2rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 20ch;
}

.bg-wash {
  background: linear-gradient(180deg, var(--paper-dark) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

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

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--accent);
}

/* ——— Pillar Cards ——— */
.pillar-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 2px 20px rgba(12, 15, 20, 0.04);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(139, 90, 43, 0.25);
  transform: translateY(-3px);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--paper-dark);
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  line-height: 1;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

/* ——— Value Stack ——— */
.value-stack {
  max-width: 44rem;
}

.value-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.value-item:first-child {
  border-top: 1px solid var(--line);
}

.value-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.value-item-info strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
}

.value-item-info span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.value-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
}

.value-total-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.value-total .btn-primary {
  flex-shrink: 0;
}

/* ——— Included Grid (legacy, kept for checkout) ——— */
.included-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .included-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.included-card {
  background: var(--ink);
  color: var(--paper);
  padding: 1.35rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.included-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--accent-bright);
}

/* ——— Curriculum ——— */
.curriculum {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .curriculum {
    grid-template-columns: repeat(2, 1fr);
  }
}

.week-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}

.week-card:hover {
  box-shadow: 0 8px 30px rgba(12, 15, 20, 0.06);
  transform: translateY(-2px);
}

.week-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.week-card .week-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.week-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ——— Before/After ——— */
.compare {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-col {
  padding: 1.75rem;
  border-radius: 8px;
  transition: transform 0.3s;
}

.compare-col:hover {
  transform: translateY(-2px);
}

.compare-before {
  background: rgba(12, 15, 20, 0.04);
  border: 1px dashed var(--line);
}

.compare-after {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.compare-col h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.compare-col ul {
  margin: 0;
  padding-left: 1.1rem;
}

.compare-after ul {
  color: rgba(247, 244, 239, 0.88);
}

/* ——— Guarantee ——— */
.guarantee-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.guarantee-badge {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  position: relative;
}

.guarantee-badge::after {
  content: "DAY";
  position: absolute;
  bottom: -0.2rem;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.guarantee-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1rem;
}

.guarantee-text {
  color: var(--ink-muted);
  max-width: 36rem;
  margin: 0 auto 1rem;
  font-size: 1rem;
}

.guarantee-sub {
  font-size: 0.95rem;
  color: var(--green);
  margin: 0;
}

/* ——— FAQ ——— */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq details p {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* ——— Final CTA ——— */
.final-cta {
  text-align: center;
  padding: var(--space-section) clamp(1.25rem, 4vw, 2rem);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(200, 127, 58, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 1rem;
}

.final-cta p {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  opacity: 0.88;
}

.final-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.65;
}


/* ——— Footer ——— */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 3rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  line-height: 1.55;
  opacity: 0.9;
}

/* ——— Sticky mobile CTA ——— */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 -8px 30px rgba(12, 15, 20, 0.06);
}

.sticky-cta .btn-primary {
  width: 100%;
  max-width: 28rem;
  text-align: center;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* ——— Checkout Page ——— */
.checkout-main {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 4rem;
}

.checkout-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.checkout-subtitle {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  max-width: 40rem;
}

.checkout-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.checkout-step-tab {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-muted);
}

.checkout-step-tab--active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.checkout-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr minmax(280px, 340px);
    align-items: start;
  }
}

.checkout-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 2px 24px rgba(12, 15, 20, 0.04);
}

.checkout-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--ink-muted);
}

.form-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.form-field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.form-check input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn-secondary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--paper-dark);
  outline: none;
}

.order-summary {
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2rem);
  position: sticky;
  top: 1rem;
}

.order-summary h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(247, 244, 239, 0.12);
}

.order-line:last-of-type {
  border-bottom: none;
}

.order-line span:first-child {
  opacity: 0.88;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(247, 244, 239, 0.2);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.order-total strong {
  color: var(--accent-bright);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.trust-stars {
  color: var(--accent-bright);
  letter-spacing: 0.05em;
}

.checkout-guarantee {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(12, 15, 20, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.checkout-guarantee h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.checkout-guarantee p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.pay-error {
  padding: 1rem 1.1rem;
  background: #fdeaea;
  border: 1px solid #e8b4b4;
  border-radius: var(--radius);
  color: #6b1c1c;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pay-error:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checkout-faq {
  margin-top: 2.5rem;
  max-width: 40rem;
}

.checkout-faq h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

.nav-back {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.nav-back:hover {
  text-decoration: underline;
}

/* ——— Thank You Page ——— */
.ty-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem) 4rem;
}

.ty-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.ty-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.75rem;
}

.ty-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.ty-lead {
  color: var(--ink-muted);
  font-size: 1.1rem;
  margin: 0;
}

.ty-steps {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ty-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(12, 15, 20, 0.04);
}

.ty-step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
}

.ty-step h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.ty-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.ty-guarantee {
  padding: 1.5rem;
  background: rgba(12, 15, 20, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.ty-guarantee h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.ty-guarantee p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ——— Legal Pages (Privacy, Terms) ——— */
.legal-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 4rem;
}

.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 0.35rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

.legal-main h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
}

.legal-main h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal-main p {
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.legal-main ul {
  color: var(--ink-muted);
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-main li {
  margin-bottom: 0.4rem;
}

.legal-main a {
  color: var(--accent);
}

.legal-main a:hover {
  text-decoration: none;
}
