/* ============================================
   Fonts
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

/* ============================================
   Design tokens
   ============================================ */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --bg-dark: #0b1220;
  --text: #111827;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --border-strong: #cbd0d8;
  --accent: #0f766e;
  --accent-hover: #0d635c;
  --accent-soft: #e6f4f1;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
}

/* ============================================
   Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; color: var(--text-muted); }
::selection { background: var(--accent-soft); color: var(--text); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  text-align: center;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { display: block; width: 100%; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { background: var(--bg-alt); }

/* ============================================
   Header
   ============================================ */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo .logo-accent { color: var(--accent); font-style: italic; }
.main-nav ul {
  display: flex;
  gap: 32px;
  margin: 0; padding: 0;
  list-style: none;
}
.main-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--accent); }

/* ============================================
   Hero (editorial style)
   ============================================ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero .lead {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
.hero-meta .dot {
  width: 3px; height: 3px; background: var(--border-strong); border-radius: 50%;
  align-self: center;
}
.hero-cover {
  max-width: 960px;
  margin: 50px auto 0;
  padding: 0 24px;
}

/* ============================================
   Image placeholder
   ============================================ */
.image-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}
.image-placeholder .ph-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
}
.image-placeholder .ph-size {
  font-size: 0.7rem;
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.image-placeholder.tall { aspect-ratio: 3 / 4; }
.image-placeholder.wide { aspect-ratio: 21 / 9; }
.image-placeholder.square { aspect-ratio: 1 / 1; }

/* Real images — no visible border, natural height */
.article-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}
.article-img.section { aspect-ratio: 16 / 9; }
.article-img.book {
  background: #1a2338;
}

/* ============================================
   Article body
   ============================================ */
.article {
  padding: 60px 0;
}
.challenge {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.challenge:last-child { border-bottom: none; }
.challenge-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 24px;
}
.challenge-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.challenge-title-wrap {
  flex: 1;
}
.challenge-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.challenge h2 {
  margin: 0;
}
.challenge-body {
  font-size: 1.02rem;
  line-height: 1.85;
}
.challenge-body p { color: var(--text); }
.challenge-body p + p { margin-top: 1.1em; }
.challenge-image {
  margin: 36px 0 0;
}

/* Stat / danger callout */
.stat-callout {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--danger-soft);
  border-left: 3px solid var(--danger);
  border-radius: 4px;
}
.stat-callout .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--danger);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-callout .stat-text {
  color: var(--text);
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

/* Info note (neutral) */
.note {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--accent-soft);
  border-radius: 6px;
}
.note strong { color: var(--text); }
.note p { color: var(--text); margin: 0; font-size: 0.97rem; }

/* ============================================
   Conclusion
   ============================================ */
.conclusion {
  padding: 70px 0;
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.conclusion h2 { margin-bottom: 20px; }
.conclusion p {
  max-width: 640px;
  margin: 0 auto 1em;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ============================================
   Guide sales block
   ============================================ */
.guide {
  padding: 90px 0;
  background: var(--bg-dark);
  color: #e5e7eb;
}
.guide .container {
  max-width: 1040px;
}
.guide-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.guide-image .image-placeholder {
  aspect-ratio: 3 / 4;
  background: #1a2338;
  border-color: #2b3554;
  color: #6b7999;
}
.guide-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: #4fd1c0;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.guide h2 {
  color: #fff;
  margin-bottom: 18px;
}
.guide-text {
  color: #b8bdc9;
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.65;
}
.guide-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-features li {
  color: #d1d5db;
  font-size: 0.95rem;
  padding-left: 26px;
  position: relative;
}
.guide-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 2px;
  background: #4fd1c0;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}
.price-old {
  text-decoration: line-through;
  color: #6b7999;
  font-size: 1rem;
}
.price-new {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}
.guide .btn {
  background: #4fd1c0;
  color: #0b1220;
}
.guide .btn:hover { background: #66e3d3; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.footer-logo .logo-accent { color: var(--accent); font-style: italic; }
.footer-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  padding: 0; margin: 0;
  flex-wrap: wrap;
}
.footer-nav a { color: var(--text-muted); transition: color 0.15s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============================================
   Checkout
   ============================================ */
.checkout-page {
  padding: 70px 0 90px;
  min-height: 70vh;
  background: var(--bg-alt);
}
.checkout-page .page-title {
  text-align: center;
  margin-bottom: 10px;
}
.checkout-page .page-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 44px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.checkout-form,
.order-summary {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 8px;
}
.checkout-form h2,
.order-summary h2 { font-size: 1.15rem; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}
.summary-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.summary-thumb {
  width: 68px; height: 88px;
  border-radius: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-align: center;
  padding: 6px;
}
.summary-info h3 { font-size: 1rem; margin-bottom: 4px; font-family: inherit; }
.summary-info p { font-size: 0.87rem; color: var(--text-light); margin: 0; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.summary-row.total {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

/* ============================================
   Thank you
   ============================================ */
.thank-you-container {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--bg-alt);
}
.thank-you-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 56px 40px;
  text-align: center;
  max-width: 520px;
  width: 100%;
}
.thank-you-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.thank-you-icon svg { width: 42px; height: 42px; color: var(--accent); }
.thank-you-card h1 { font-size: 2rem; margin-bottom: 12px; }
.thank-you-card p { color: var(--text-muted); }
.order-number {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 14px 0 28px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.order-number strong { color: var(--text); }

/* ============================================
   Info pages (contacts / offer / agreement)
   ============================================ */
.info-page {
  padding: 70px 0 90px;
  min-height: 70vh;
  background: var(--bg-alt);
}
.info-page .page-header {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.info-page .page-header h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}
.info-page .page-header .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}
.info-content {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 50px 55px;
  font-size: 1rem;
  line-height: 1.8;
}
.info-content h2 {
  font-size: 1.35rem;
  margin-top: 34px;
  margin-bottom: 12px;
}
.info-content h2:first-child { margin-top: 0; }
.info-content p { color: var(--text); }
.info-content ul {
  padding-left: 22px;
  margin: 0 0 1.2em;
  color: var(--text);
}
.info-content ul li { margin-bottom: 8px; }
.info-content .updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 30px;
  letter-spacing: 0.02em;
}
.info-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.info-content a:hover { color: var(--accent-hover); }

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 32px;
}
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 24px;
}
.contact-card .label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.contact-card .value {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {
  .guide { padding: 60px 0; }
  .guide-card { grid-template-columns: 1fr; gap: 40px; }
  .checkout-layout { grid-template-columns: 1fr; max-width: 560px; }
  .info-content { padding: 32px 24px; }
  .challenge-header { gap: 16px; }
  .challenge-num { font-size: 2.8rem; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 50px 0 40px; }
  .article { padding: 40px 0; }
  .challenge { padding: 44px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .main-nav ul { gap: 20px; }
  .stat-callout { padding: 22px; }
  .stat-callout .stat-number { font-size: 2rem; }
  .thank-you-card { padding: 44px 24px; }
}
