:root {
  --navy: #0f1d2e;
  --navy-2: #172a41;
  --gold: #c8a15a;
  --gold-2: #e1c690;
  --paper: #f7f4ee;
  --white: #ffffff;
  --ink: #17202b;
  --muted: #6f7780;
  --line: #e3ded4;
  --ok: #176b4d;
  --bad: #a53131;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(15, 29, 46, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.narrow { width: min(900px, 100%); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 29, 46, .96);
  backdrop-filter: blur(10px);
  color: #fff;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.brand { text-decoration: none; font-weight: 800; letter-spacing: 1.6px; font-family: Arial, sans-serif; }
.ghost-link { text-decoration: none; color: var(--gold-2); font-size: 14px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0 72px;
  min-height: 720px;
}
.hero-copy { max-width: 650px; }
.eyebrow { color: #8f6d34; font-weight: 700; font-size: 14px; }
h1 { font-size: clamp(42px, 6.2vw, 72px); line-height: 1.18; margin: 12px 0 6px; color: var(--navy); font-weight: 800; letter-spacing: -.8px; }
h2 { font-size: clamp(27px, 3.6vw, 39px); line-height: 1.35; margin: 0; font-weight: 700; color: var(--navy-2); }
.subtitle { font-size: 20px; font-weight: 500; color: #86672f; margin: 8px 0 24px; }
.lead { font-size: 17px; line-height: 2.05; color: #3e4751; margin: 0 0 26px; max-width: 58ch; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.meta-row span, .topics span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  background: #fff;
}
.price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 18px;
  margin-bottom: 20px;
}
.price-label { display: block; font-size: 12px; color: var(--muted); }
.price { display: block; color: var(--navy); font-size: 27px; line-height: 1.5; }
.badge { background: #fff; border: 1px solid #dfd4bc; color: #7d622f; border-radius: 999px; padding: 7px 11px; font-size: 12px; white-space: nowrap; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  min-height: 48px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: var(--gold); color: #101820; box-shadow: 0 10px 28px rgba(200, 161, 90, .23); }
.secondary { background: var(--navy); color: #fff; }
.text-button { background: #f1eee8; color: var(--navy); }
.full { width: 100%; }
.cover-wrap { display: flex; justify-content: center; }
.cover {
  display: block;
  width: min(390px, 100%);
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow);
  border: 1px solid #ece8df;
}

.section { padding: 72px 0; }
.soft { background: var(--paper); border-top: 1px solid #eee9df; border-bottom: 1px solid #eee9df; }
h3 { margin: 0 0 18px; color: var(--navy); font-size: 26px; line-height: 1.5; font-weight: 750; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.buy-copy { padding: 42px; background: var(--navy); color: #ecf1f6; }
.buy-copy h3 { color: #fff; }
.buy-copy .eyebrow { color: var(--gold-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { margin: 8px 0; }
.ticks li::before { content: "✓"; color: var(--gold-2); margin-left: 8px; font-weight: 800; }
.checkout { padding: 38px 38px 30px; }
.checkout label { display: block; margin-bottom: 16px; }
.checkout label > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #3d4650; }
.checkout small { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"] {
  width: 100%;
  border: 1px solid #d9d4ca;
  border-radius: 10px;
  padding: 11px 12px;
  min-height: 46px;
  font: inherit;
  outline: none;
  background: #fff;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 161, 90, .14); }
.consent { display: flex !important; gap: 9px; align-items: flex-start; cursor: pointer; }
.consent span { font-weight: 400 !important; }
.consent input { margin-top: 7px; }
.form-status { min-height: 28px; margin: 10px 0 0; font-size: 13px; }
.form-status.ok { color: var(--ok); }
.form-status.error { color: var(--bad); }
.micro { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.inline-link { color: #795a25; font-weight: 700; text-underline-offset: 4px; }
.footer { background: #0d1724; color: #dbe2e9; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: 13px; }
.footer-inner > div { display: flex; gap: 12px; align-items: center; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: #dbe2e9; }

.legal { max-width: 840px; padding: 64px 0 90px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 20px; color: var(--navy); margin-top: 34px; }
.legal p, .legal li { color: #444d57; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 38px; min-height: auto; }
  .cover-wrap { order: -1; }
  .cover { width: min(310px, 82vw); }
  .buy-card { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .shell { width: min(100% - 24px, 1120px); }
  .hero { padding-bottom: 52px; }
  .section { padding: 52px 0; }
  .price-box { align-items: flex-start; flex-direction: column; }
  .buy-copy, .checkout { padding: 26px 22px; }
  .hero-actions .button { width: 100%; }
  .footer nav { flex-wrap: wrap; }
}

/* Persian typography refinements */
p, li, label, input, button { letter-spacing: 0; }
.checkout input { font-size: 15px; }
.topics span, .meta-row span, .badge { line-height: 1.7; }
