
:root {
  --bg: #f7f4ef;
  --surface: #fcfaf7;
  --surface-2: #f4efe8;
  --text: #1f1d1b;
  --muted: #68615b;
  --accent: #a99582;
  --border: #d9d1c8;
  --shadow: 0 12px 36px rgba(31, 29, 27, 0.06);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --reading: 780px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 209, 200, 0.7);
}

.header-inner,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-size: 0.98rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.reading-width {
  width: min(100%, var(--reading));
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 96px 0;
}

h1, h2, h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p, li {
  font-size: 1.07rem;
  color: var(--text);
}

p {
  margin: 0 0 18px;
}

.hero {
  padding-top: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy p {
  max-width: 36rem;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.button-row {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--text);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.emphasis-line,
.editorial-pivot,
.highlight-line {
  font-size: 1.18rem;
  color: var(--text);
}

.editorial-pivot {
  margin: 8px 0;
}

.feature-grid {
  margin-top: 28px;
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.compare-card,
.offer-card,
.final-cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 1.38rem;
}

.section-ground .image-full {
  margin-top: 28px;
}

.image-full img,
.preview-block img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.preview-block {
  width: min(calc(100% - 40px), 1000px);
  margin: 28px auto 0;
}

.stage-copy {
  margin-top: 36px;
}

.stage-item {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.pattern-stage {
  background: rgba(169, 149, 130, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 22px 6px;
}

.dash-list,
.bullet-list,
.checklist {
  margin: 0 0 18px 0;
  padding-left: 1.3rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding: 0 0 0 2rem;
  margin-bottom: 18px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--accent);
  font-weight: 700;
}

.compare-grid {
  margin-top: 22px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compare-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  align-items: center;
}

.offer-image img,
.final-cta-visual img {
  width: 100%;
  border-radius: 18px;
}

.offer-title {
  font-size: 1.12rem;
}

.price {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 10px;
  margin-bottom: 16px;
}

.legal-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal-note a,
.footer-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.faq-item {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq-item h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
}

.final-cta-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(217, 209, 200, 0.8);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.legal-note a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .offer-card,
  .final-cta-card {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    gap: 32px;
  }

  .offer-image {
    order: -1;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    min-height: 54px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-copy .button-row {
    margin-bottom: 18px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .hero-copy .button-row {
    order: 4;
  }

  .hero-visual img,
  .offer-image img,
  .final-cta-visual img,
  .image-full img,
  .preview-block img {
    border-radius: 18px;
  }

  p, li {
    font-size: 1rem;
  }
}


/* === v1.1 targeted mobile/editorial spacing refinements === */

/* Remove the extra rule directly above The Pattern Check card. */
.stage-item.no-divider {
  border-bottom: 0;
  padding-bottom: 4px;
  margin-bottom: 14px;
}

/* The Pattern Check card itself provides the visual boundary. */
.pattern-stage {
  margin-top: 0;
  margin-bottom: 30px;
}

/* "Also Inside" is a continuation of product substance, not a full new chapter. */
.also-inside-section {
  padding-top: 58px;
}

/* Give Communication Language a clearer start after the Pattern Check preview image. */
.communication-copy {
  margin-top: 34px;
}

/* Slightly reduce the footprint of the persistent brand header. */
.site-header .header-inner {
  min-height: 42px;
}
.site-header .brand {
  font-size: 0.86rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

@media (max-width: 800px) {
  .also-inside-section {
    padding-top: 38px;
  }

  .communication-copy {
    margin-top: 30px;
  }

  .pattern-stage {
    margin-bottom: 26px;
  }

  .site-header .header-inner {
    min-height: 38px;
  }

  .site-header .brand {
    font-size: 0.82rem;
    letter-spacing: 0.15em;
  }
}


/* === v1.2 FINAL MOBILE POLISH PASS ===
   Approved changes only:
   1. Normalize/reduce excessive mobile section gaps.
   2. Make the Communication Decoded header non-sticky on mobile.
*/

/* Desktop remains unchanged. */
@media (max-width: 800px) {
  /* Reduce the double-section whitespace effect on long mobile scrolls
     while preserving the calm editorial rhythm. */
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* "Also Inside" stays intentionally tighter because it continues
     the product-substance section rather than beginning a new chapter. */
  .also-inside-section {
    padding-top: 34px;
  }

  /* The brand header should scroll away on mobile instead of covering
     content during the long-form reading experience. */
  .site-header {
    position: static;
    top: auto;
    backdrop-filter: none;
  }
}


/* === v1.3 DESKTOP POLISH PASS ===
   Approved changes only:
   1. Reduce/normalize excessive desktop section spacing.
   2. Cap the GROUND Method image to ~1000px on desktop, centered.
   3. Make the header non-sticky on desktop as well.
*/

/* Header now scrolls normally on all screen sizes. */
.site-header {
  position: static;
  top: auto;
  backdrop-filter: none;
}

/* Desktop section rhythm: tighter than v1.2 while preserving an editorial feel. */
@media (min-width: 801px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  /* "Also Inside" continues the product-substance section, so keep it tighter. */
  .also-inside-section {
    padding-top: 46px;
  }

  /* Preserve the approved full-width-above-copy placement,
     but prevent the GROUND image from dominating typical laptop viewports. */
  .section-ground .image-full {
    width: min(calc(100% - 40px), 1000px);
    margin-left: auto;
    margin-right: auto;
  }
}


/* === v1.4 FINAL CONTAINED DESKTOP PASS ===
   Approved changes only:
   1. Reduce standard desktop section spacing from 72px to 54px.
   2. Keep "Also Inside" slightly tighter than standard desktop sections.
   3. Top-align only the offer-card image.
   4. Leave hero, centered reading columns, GROUND image size, FAQ layout,
      and final CTA layout unchanged.
*/

@media (min-width: 801px) {
  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .also-inside-section {
    padding-top: 38px;
  }

  /* Only the $19 offer card changes alignment. */
  .offer-card {
    align-items: start;
  }

  .offer-image {
    align-self: start;
  }

  /* Explicitly preserve the final CTA's centered split-layout balance. */
  .final-cta-card {
    align-items: center;
  }
}
