/* ─────────────────────────────────────────
   TaxSurvivalGuide.uk — Site stylesheet
   ───────────────────────────────────────── */

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

:root {
  --cream:      #F7F7F8;
  --white:      #FFFFFF;
  --ink:        #111214;
  --brand:      #9f111b;
  --brand-dk:   #7a0d15;
  --brand-lt:   #FAEAEB;
  --slate:      #64686F;
  --slate-lt:   #9DA2AA;
  --border:     #E4E5E7;
  --border-dk:  #CDD0D5;
  --success:    #1A7F4B;
  --success-lt: #E6F5EE;
  --success-bd: #A8DBBE;
  --shadow-sm:  rgba(17,18,20,0.06);
  --shadow-md:  rgba(17,18,20,0.12);
  --shadow-lg:  rgba(17,18,20,0.18);
  --ff-display: 'Rockwell','Rockwell Nova','Rockwell MT',Georgia,serif;
  --ff-body:    'DM Sans',sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 40px;
  --max-w:      1080px;
  --gutter:     clamp(20px,5vw,56px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAV ───────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--brand); }
.logo small {
  font-size: 15px;
  color: var(--slate-lt);
  font-weight: 400;
  letter-spacing: 0;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color .15s;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 16px; flex-shrink: 0; }
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--brand-dk); transform: translateY(-1px); }

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ── ARTICLE HEADER ────────────────────── */

.article-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 8vw, 88px) var(--gutter);
  text-align: center;
}
.article-header__inner {
  max-width: 720px;
  margin: 0 auto;
}
.tag-badge {
  display: inline-block;
  background: var(--brand-lt);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.article-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-lede {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 28px;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--slate-lt);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-dk);
  display: inline-block;
}

/* ── ARTICLE BODY / PROSE ──────────────── */

.article-body {
  background: var(--cream);
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.prose {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.prose h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.prose p { margin-bottom: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol {
  margin: 0.5rem 0 1.15rem 0;
  padding-left: 1.4rem;
}
.prose ul li, .prose ol li {
  margin-bottom: 0.45rem;
  padding-left: 0.25rem;
}
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--brand); }
.prose a:hover { color: var(--brand-dk); }
.prose code {
  font-family: monospace;
  font-size: 0.9em;
  background: var(--brand-lt);
  padding: 2px 5px;
  border-radius: 4px;
}

/* Blockquote → callout/highlight box */
.prose blockquote {
  background: var(--brand-lt);
  border-left: 3px solid var(--brand);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 16px;
  line-height: 1.65;
}
.prose blockquote p { margin-bottom: 0.6rem; }
.prose blockquote p:last-child { margin-bottom: 0; }

/* Markdown table → worked example / data */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.prose table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.prose table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
}
.prose table td:last-child {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.prose table tr:last-child td { border-bottom: none; }

/* ── GUIDES LISTING ────────────────────── */

.guides-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 8vw, 88px) var(--gutter);
  text-align: center;
}
.guides-hero__inner { max-width: 680px; margin: 0 auto; }
.guides-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.guides-hero p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--slate);
  line-height: 1.65;
}
.guides-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.guide-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(159,17,27,0.08);
}
.guide-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.guide-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.guide-card__lede {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.6;
}
.guide-card__meta {
  font-size: 0.82rem;
  color: var(--slate-lt);
  margin-top: 4px;
}

/* ── ARTICLES INDEX ────────────────────── */

.articles-section {
  padding: clamp(32px, 5vw, 56px) var(--gutter) 0;
}
.articles-section:last-of-type { padding-bottom: clamp(40px, 6vw, 72px); }
.articles-section__inner { max-width: var(--max-w); margin: 0 auto; }
.articles-section__heading {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-lt);
}
.articles-section__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── CTA SECTION ───────────────────────── */

.cta-section {
  background: var(--brand);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}
.cta-section__inner { max-width: 560px; margin: 0 auto; }
.cta-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
}
.cta-section p {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.88;
  margin-bottom: 32px;
}
.btn-cta {
  display: inline-block;
  background: var(--white);
  color: var(--brand);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-cta:hover { opacity: 0.92; }

/* ── FOOTER ────────────────────────────── */

.footer { background: #0C0D0F; padding: 44px var(--gutter) 30px; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.footer .logo { font-weight: 700; font-size: 19px; }
.footer .logo small { font-size: 15px; font-weight: 400; }
.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.65;
}
.footer__nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__col h4 {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; padding: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding-top: 24px; }
.footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  max-width: 640px;
  line-height: 1.65;
  margin-top: 8px;
}
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
}
@media (max-width: 960px) {
  .footer__top { flex-direction: column; }
}
@media (max-width: 580px) {
  .footer__nav { gap: 28px; }
}

/* ── CONTACT FORM ──────────────────────── */

.contact-form { margin-top: 2rem; }
.contact-form__field { margin-bottom: 1.25rem; }
.contact-form__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border-dk);
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color .15s;
  outline: none;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus { border-color: var(--brand); }
.contact-form__field textarea { resize: vertical; }
.contact-form__submit {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.contact-form__submit:hover { background: var(--brand-dk); }
.contact-success {
  background: var(--success-lt);
  border: 1px solid #a3d9bc;
  color: var(--success);
  border-radius: 10px;
  padding: 28px 28px 24px;
  margin-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-success__heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--success);
}
.contact-success a { color: var(--success); }
.contact-error {
  background: var(--brand-lt);
  border: 1px solid #f5c0c3;
  color: var(--brand-dk);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ── RELATED GUIDES ────────────────────── */

.related-guides {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: clamp(32px, 5vw, 56px) var(--gutter);
}
.related-guides__inner {
  max-width: 680px;
  margin: 0 auto;
}
.related-guides h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-lt);
  margin-bottom: 16px;
}
.related-guides ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-guides li a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}
.related-guides li a:hover { text-decoration: underline; }

/* ── CHANNEL NAV (cross-channel links on index pages) ── */

.channel-nav {
  border-top: 1px solid var(--border);
  padding: 28px var(--gutter);
  background: var(--white);
}
.channel-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.channel-nav p {
  font-size: 0.875rem;
  color: var(--slate-lt);
  flex-shrink: 0;
}
.channel-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}
.channel-nav a:hover { text-decoration: underline; }

/* ── PROSE TABLES ─────────────────── */

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  margin: 1.75rem 0;
}
.prose thead tr { background: var(--brand-lt); }
.prose th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--brand-dk);
  border-bottom: 2px solid var(--border-dk);
}
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: top;
}
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:nth-child(even) { background: var(--cream); }

/* ── 404 PAGE ──────────────────────── */

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px, 15vw, 160px) var(--gutter);
  min-height: 60vh;
}
.error-code {
  font-family: var(--ff-display);
  font-size: clamp(96px, 20vw, 180px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.15;
}
.error-page h1 { margin-bottom: 12px; }
.error-page p { color: var(--slate); margin-bottom: 32px; font-size: 1.05rem; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--brand-dk); transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   HOMEPAGE
   ═══════════════════════════════════════════ */

/* ── Type ───────────────────────────────── */

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(34px, 5.5vw, 66px); }
h2 { font-size: clamp(26px, 3.5vw, 44px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 12px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--slate); line-height: 1.6; }

/* ── Layout ─────────────────────────────── */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--ink); color: var(--cream); }

/* ── Buttons ────────────────────────────── */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ff-body); font-weight: 600; font-size: 16px; border-radius: 50px; padding: 15px 30px; border: 2px solid transparent; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, background 0.18s; white-space: nowrap; text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 4px 18px rgba(159,17,27,0.25); }
.btn-brand:hover { background: var(--brand-dk); box-shadow: 0 8px 28px rgba(159,17,27,0.35); }
.btn-outline { background: transparent; border-color: var(--border-dk); color: var(--slate); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-lg { padding: 18px 38px; font-size: 17px; }
.btn-full { width: 100%; }

/* ── Hero ───────────────────────────────── */

.hero {
  background: var(--white);
  padding: clamp(64px, 9vw, 112px) var(--gutter);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-lt) 0%, transparent 68%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__pill { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-lt); color: var(--brand); font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 50px; margin-bottom: 22px; letter-spacing: 0.01em; }
.hero h1 { margin-bottom: 20px; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lede { margin-bottom: 32px; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__trust { display: flex; flex-direction: column; gap: 8px; }
.trust-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.hero__visual { position: relative; display: flex; flex-direction: column; gap: 16px; }
.product-stack { display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 20px 60px var(--shadow-lg); border: 1px solid var(--border); }

/* Hero product stack */

.stack-bundle {
  background: linear-gradient(150deg, #1A0305 0%, #3D0810 60%, #6B0F1A 100%);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.stack-bundle::before { content: '🎨'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 100px; opacity: 0.08; pointer-events: none; }
.stack-bundle__recommended { display: inline-flex; align-items: center; gap: 5px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 14px; }
.stack-bundle h3 { font-size: 20px; color: #fff; margin-bottom: 6px; line-height: 1.25; }
.stack-bundle__sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.stack-bundle__includes { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.stack-bundle__include { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.8); }
.stack-bundle__include::before { content: '✓'; color: rgba(255,255,255,0.5); font-weight: 800; font-size: 11px; flex-shrink: 0; }
.stack-bundle__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-was { font-size: 13px; color: rgba(255,255,255,0.38); text-decoration: line-through; margin-bottom: 2px; }
.price-now { font-family: var(--ff-display); font-size: 40px; font-weight: 700; color: #fff; line-height: 1; }
.price-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.btn-bundle { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; font-family: var(--ff-body); font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 50px; transition: background 0.15s, transform 0.15s; box-shadow: 0 4px 16px rgba(159,17,27,0.4); white-space: nowrap; }
.btn-bundle:hover { background: var(--brand-dk); transform: translateY(-2px); }
.stack-main { background: var(--white); padding: 22px 28px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stack-main__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 5px; }
.stack-main__title { font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.stack-main__sub { font-size: 13px; color: var(--slate); }
.stack-main__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.stack-main__price { font-family: var(--ff-display); font-size: 28px; font-weight: 700; color: var(--ink); }
.btn-main { display: inline-flex; align-items: center; gap: 6px; background: var(--cream); border: 1.5px solid var(--border-dk); color: var(--ink); font-family: var(--ff-body); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 50px; transition: all 0.15s; white-space: nowrap; }
.btn-main:hover { border-color: var(--ink); }
.coming-soon-strip { background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coming-soon-strip__label { font-size: 12px; font-weight: 700; color: var(--slate); white-space: nowrap; }
.coming-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--white); border: 1px solid var(--border); border-radius: 50px; font-size: 12px; font-weight: 500; color: var(--slate); padding: 4px 12px; display: flex; align-items: center; gap: 5px; }
.chip--soon { background: var(--cream); color: var(--slate-lt); border-style: dashed; }

/* ── Problem ─────────────────────────────── */

.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.problem__text h2 { margin-bottom: 18px; }
.problem__text p { color: var(--slate); margin-bottom: 16px; font-size: 16px; }
.problem__cards { display: flex; flex-direction: column; gap: 12px; }
.problem-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; transition: border-color 0.15s, box-shadow 0.15s; }
.problem-card:hover { border-color: var(--brand); box-shadow: 0 4px 20px var(--shadow-sm); }
.problem-card__icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--brand-lt); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.problem-card h4 { font-family: var(--ff-body); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.problem-card p { font-size: 14px; color: var(--slate); line-height: 1.5; }

/* ── Products ────────────────────────────── */

.products__header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.products__header h2 { margin-bottom: 14px; }
.products__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 56px var(--shadow-md); }
.product-card--featured { border-color: var(--brand); box-shadow: 0 8px 40px rgba(159,17,27,0.12); }
.product-card--featured:hover { box-shadow: 0 20px 56px rgba(159,17,27,0.18); }
.card__recommended { position: absolute; top: 20px; right: 20px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; z-index: 1; }
.card__cover { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative; overflow: hidden; }
.cover--bundle { background: linear-gradient(135deg, #1A0305 0%, #3D0810 50%, #6B0F1A 100%); }
.cover--main { background: linear-gradient(135deg, #111214 0%, #2a2a2e 100%); }
.card__cover-label { position: absolute; bottom: 16px; left: 20px; font-family: var(--ff-display); font-size: 16px; color: #fff; font-weight: 700; line-height: 1.3; z-index: 1; max-width: 200px; }
.card__cover-sub { position: absolute; bottom: 0; left: 0; right: 0; top: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%); }
.card__body { padding: 26px 28px; }
.card__what { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.card__title { font-size: 20px; margin-bottom: 10px; line-height: 1.25; }
.card__desc { font-size: 15px; color: var(--slate); margin-bottom: 22px; line-height: 1.6; }
.card__includes { background: var(--cream); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 22px; }
.card__includes-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.card__include { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.card__include:last-child { margin-bottom: 0; }
.card__include::before { content: '✓'; color: var(--success); font-weight: 800; font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.card__price-was { font-size: 13px; color: var(--slate-lt); text-decoration: line-through; margin-bottom: 1px; }
.card__price { font-family: var(--ff-display); font-size: 42px; font-weight: 700; color: var(--ink); line-height: 1; }
.card__price-note { font-size: 12px; color: var(--slate); margin-top: 2px; }
.card--featured .card__price { color: var(--brand); }
.card__saving { display: inline-flex; align-items: center; gap: 4px; background: var(--success-lt); color: var(--success); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 50px; margin-top: 6px; }
.btn-card-primary { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; font-family: var(--ff-body); font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 50px; transition: background 0.15s, transform 0.15s, box-shadow 0.15s; box-shadow: 0 4px 16px rgba(159,17,27,0.25); white-space: nowrap; }
.btn-card-primary:hover { background: var(--brand-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(159,17,27,0.35); }
.btn-card-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--cream); border: 1.5px solid var(--border-dk); color: var(--ink); font-family: var(--ff-body); font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 50px; transition: all 0.15s; white-space: nowrap; }
.btn-card-secondary:hover { border-color: var(--ink); }
.product-coming { background: var(--white); border: 2px dashed var(--border); border-radius: var(--r-2xl); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 32px; min-height: 480px; }
.product-coming__icon { font-size: 48px; margin-bottom: 18px; opacity: 0.4; }
.product-coming h3 { font-size: 20px; color: var(--slate); margin-bottom: 10px; }
.product-coming p { font-size: 15px; color: var(--slate-lt); max-width: 240px; line-height: 1.6; margin-bottom: 24px; }
.coming-chips-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.coming-chip { background: var(--cream); border: 1px dashed var(--border-dk); border-radius: var(--r-md); padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.coming-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-dk); flex-shrink: 0; }
.coming-notify { margin-top: 22px; }
.coming-notify p { font-size: 13px; color: var(--slate-lt); margin-bottom: 10px; }
.coming-notify-form { display: flex; gap: 8px; }
.coming-notify-form input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 50px; font-family: var(--ff-body); font-size: 14px; outline: none; transition: border-color 0.15s; }
.coming-notify-form input:focus { border-color: var(--brand); }
.coming-notify-form input::placeholder { color: var(--slate-lt); }
.coming-notify-form button { background: var(--ink); color: #fff; font-family: var(--ff-body); font-weight: 600; font-size: 13px; padding: 10px 16px; border-radius: 50px; border: none; cursor: pointer; white-space: nowrap; transition: background 0.15s; }
.coming-notify-form button:hover { background: #333; }

/* ── What's inside tabs ──────────────────── */

.inside__header { text-align: center; max-width: 580px; margin: 0 auto 48px; }
.inside__header h2 { margin-bottom: 12px; }
.tabs { display: flex; background: var(--cream); border: 1px solid var(--border); border-radius: 50px; padding: 5px; max-width: 480px; margin: 0 auto 44px; }
.tab { flex: 1; padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center; color: var(--slate); border: none; background: transparent; font-family: var(--ff-body); }
.tab.active { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px var(--shadow-md); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inside-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px 22px; }
.inside-block__icon { font-size: 32px; margin-bottom: 12px; }
.inside-block h3 { font-size: 17px; margin-bottom: 10px; }
.inside-block__list { display: flex; flex-direction: column; gap: 6px; }
.inside-item { font-size: 14px; color: var(--slate); display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.inside-item::before { content: '✓'; color: var(--brand); font-weight: 800; font-size: 11px; flex-shrink: 0; margin-top: 2px; }

/* ── How it works ────────────────────────── */

.how__header { text-align: center; max-width: 540px; margin: 0 auto 52px; }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.how__steps::before { content: ''; position: absolute; top: 27px; left: calc(16.66% + 27px); right: calc(16.66% + 27px); height: 2px; background: var(--border); }
.how-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.how-step__num { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--ff-display); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; position: relative; z-index: 1; border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--ink); }
.how-step:nth-child(2) .how-step__num { background: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.how-step:nth-child(3) .how-step__num { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.how-step h3 { margin-bottom: 10px; }
.how-step p { font-size: 15px; color: var(--slate); }

/* ── Free resources ──────────────────────── */

.resources__header { text-align: center; max-width: 540px; margin: 0 auto 44px; }
.resources__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, border-color 0.15s; }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px var(--shadow-md); border-color: var(--brand); }
.resource-card__tag { display: inline-flex; background: var(--brand-lt); color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; align-self: flex-start; }
.resource-card h4 { font-size: 16px; font-family: var(--ff-display); line-height: 1.35; }
.resource-card p { font-size: 14px; color: var(--slate); flex: 1; line-height: 1.55; }
.resource-card__link { font-size: 14px; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 5px; }
.resource-card__link::after { content: '→'; transition: transform 0.15s; }
.resource-card:hover .resource-card__link::after { transform: translateX(3px); }

/* ── Lead magnet ─────────────────────────── */

.magnet {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dk) 100%);
  border-radius: var(--r-2xl);
  padding: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.magnet::after { content: '📋'; position: absolute; right: 10%; top: 50%; transform: translateY(-50%); font-size: 180px; opacity: 0.05; pointer-events: none; }
.magnet__text .eyebrow { color: rgba(255,255,255,0.6); }
.magnet__text h2 { color: #fff; font-size: clamp(22px, 3vw, 36px); margin-bottom: 14px; }
.magnet__text p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.6; }
.magnet__bullets { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.magnet__bullet { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,0.85); }
.magnet__bullet::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.18); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.magnet__form { position: relative; z-index: 1; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-xl); padding: 28px; backdrop-filter: blur(4px); }
.magnet__form h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.magnet__form p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 20px; }
.magnet-inputs { display: flex; flex-direction: column; gap: 10px; }
.magnet-input { width: 100%; padding: 13px 16px; border-radius: var(--r-md); border: none; font-family: var(--ff-body); font-size: 15px; background: rgba(255,255,255,0.15); color: #fff; outline: none; transition: background 0.15s; }
.magnet-input::placeholder { color: rgba(255,255,255,0.45); }
.magnet-input:focus { background: rgba(255,255,255,0.22); }
.btn-magnet { width: 100%; background: #fff; color: var(--brand); font-family: var(--ff-body); font-weight: 700; font-size: 16px; padding: 15px; border-radius: 50px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity 0.15s, transform 0.15s; margin-top: 4px; }
.btn-magnet:hover { opacity: 0.92; transform: translateY(-1px); }
.magnet-note { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 8px; }

/* ── About ───────────────────────────────── */

.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__visual { background: var(--brand-lt); border-radius: var(--r-2xl); padding: 44px 36px; text-align: center; }
.about__visual-icon { font-size: 72px; margin-bottom: 18px; }
.about__quote { font-family: var(--ff-display); font-size: 19px; color: var(--brand-dk); line-height: 1.45; font-style: italic; }
.about__stats { display: flex; justify-content: space-around; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(159,17,27,0.12); }
.about__stat-num { font-family: var(--ff-display); font-size: 30px; font-weight: 700; color: var(--brand); }
.about__stat-label { font-size: 12px; color: var(--slate); margin-top: 2px; }
.about__text h2 { margin-bottom: 18px; }
.about__text p { color: var(--slate); font-size: 16px; margin-bottom: 16px; }
.about__checks { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.about__check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.about__check::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-lt); color: var(--brand); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ── Final CTA ───────────────────────────── */

.final {
  background: var(--ink);
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(159,17,27,0.2) 0%, transparent 60%); pointer-events: none; }
.final__inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.final h2 { color: var(--cream); font-size: clamp(28px, 4.5vw, 54px); margin-bottom: 16px; }
.final p { color: rgba(255,255,255,0.6); font-size: 18px; margin-bottom: 40px; line-height: 1.6; }
.final__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; margin-bottom: 28px; }
.final__card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-xl); padding: 22px; transition: background 0.15s; }
.final__card:hover { background: rgba(255,255,255,0.08); }
.final__card--featured { border-color: var(--brand); background: rgba(159,17,27,0.12); }
.final__card-what { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.final__card-title { font-family: var(--ff-display); font-size: 16px; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.final__card-price { font-family: var(--ff-display); font-size: 34px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.final__card--featured .final__card-price { color: var(--brand-lt); }
.final__card-saving { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: line-through; margin-top: -10px; margin-bottom: 14px; }
.btn-final-primary { display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--brand); color: #fff; font-family: var(--ff-body); font-weight: 700; font-size: 15px; padding: 13px; border-radius: 50px; transition: background 0.15s, transform 0.15s; box-shadow: 0 4px 16px rgba(159,17,27,0.35); }
.btn-final-primary:hover { background: var(--brand-dk); transform: translateY(-2px); }
.btn-final-secondary { display: flex; align-items: center; justify-content: center; gap: 7px; background: transparent; border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); font-family: var(--ff-body); font-weight: 600; font-size: 14px; padding: 12px; border-radius: 50px; transition: all 0.15s; }
.btn-final-secondary:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.final__guarantee { font-size: 13px; color: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* ── Mobile sticky bar ───────────────────── */

.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 12px 20px; z-index: 200; box-shadow: 0 -4px 24px var(--shadow-md); align-items: center; gap: 12px; }
.mobile-bar__text { flex: 1; }
.mobile-bar__title { font-family: var(--ff-display); font-size: 14px; font-weight: 700; }
.mobile-bar__sub { font-size: 12px; color: var(--slate); }
.mobile-bar .btn-nav { font-size: 15px; padding: 12px 22px; }

/* ── Toast ───────────────────────────────── */

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ink); color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 50px; font-size: 15px; font-weight: 500; box-shadow: 0 8px 32px rgba(0,0,0,0.25); z-index: 500; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); white-space: nowrap; }
.toast.toast--show { transform: translateX(-50%) translateY(0); }
.toast__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }

/* ── Reveal animation ────────────────────── */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

/* ── Homepage responsive ─────────────────── */

@media (max-width: 960px) {
  .hero__inner, .problem__grid, .products__grid, .about__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .magnet { grid-template-columns: 1fr; }
  .magnet::after { display: none; }
  .tab-panel.active { grid-template-columns: 1fr 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .how__steps::before { display: none; }
  .final__cards { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .page-home { padding-bottom: 74px; }
  .page-home .nav__links { display: none; }
}
@media (max-width: 580px) {
  .tab-panel.active, .resources__grid { grid-template-columns: 1fr; }
  .tabs { max-width: 100%; }
  .coming-notify-form { flex-direction: column; }
  .coming-notify-form input, .coming-notify-form button { width: 100%; border-radius: var(--r-md); }
}
