/* =============================================================================
   CRYPTOTAX RESCUE UK — sales page
   Premium, conversion-first, anti-slop. Calm ink + warm paper + one accent
   (a deep, trustworthy indigo) and a restrained gold for premium/anchor marks.
   Self-contained: system fonts only, no external CDNs. Mobile-first.
   ============================================================================= */

:root {
  --paper:        #f5f4f1;   /* warm off-white */
  --paper-2:      #fbfaf8;
  --card:         #ffffff;
  --ink:          #14181f;   /* near-black, slightly cool */
  --ink-2:        #444b56;
  --ink-3:        #79818d;
  --line:         #e4e1d9;
  --line-2:       #efece4;
  --accent:       #2f4cb0;   /* deep indigo — trust, finance, calm */
  --accent-deep:  #233a8c;
  --accent-soft:  #e6eaf7;
  --accent-glow:  rgba(47,76,176,.16);
  --gold:         #9a7521;   /* muted, expensive gold — anchors/premium */
  --gold-soft:    #f4ecd8;
  --amber:        #9a5d12;
  --amber-soft:   #f8efdd;
  --red:          #9a2a20;
  --red-soft:     #f7e2de;
  --green:        #1f6b46;
  --green-soft:   #e1efe7;
  --radius:       16px;
  --radius-sm:    11px;
  --shadow-sm:    0 1px 2px rgba(20,24,31,.05), 0 1px 1px rgba(20,24,31,.04);
  --shadow:       0 6px 22px rgba(20,24,31,.08), 0 2px 6px rgba(20,24,31,.05);
  --shadow-lg:    0 28px 70px rgba(20,24,31,.16), 0 8px 20px rgba(20,24,31,.08);
  --sans:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif:        ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --mono:         ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw:         1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper);
  line-height: 1.62; font-size: 17px; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 700; letter-spacing: -.022em; }
h1 { font-size: clamp(2.05rem, 5.8vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1.05em; }
strong { font-weight: 680; }
.serif { font-family: var(--serif); }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.center { text-align: center; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(54px, 8vw, 96px) 0; }
.section-tight { padding: clamp(38px, 6vw, 64px) 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 6px 13px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow.warn { color: var(--red); background: var(--red-soft); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 650; letter-spacing: -.01em; text-decoration: none;
  border-radius: 12px; padding: 13px 22px; cursor: pointer; border: 1px solid transparent;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 22px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 12px 30px var(--accent-glow); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; border-radius: 13px; }
.btn-block { display: flex; width: 100%; }
.btn .sub { font-weight: 500; opacity: .8; font-size: .82em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: rgba(245,244,241,.82); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; font-size: 1.04rem; color: var(--ink); text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep)); color: #fff; font-weight: 800; font-size: .92rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 6px var(--accent-glow);
}
.nav-cta { font-size: .94rem; padding: 9px 17px; }
.nav-links { display: none; gap: 26px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 550; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(46px, 7vw, 86px) 0 clamp(34px, 5vw, 58px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 6%, var(--accent-glow), transparent 70%),
    radial-gradient(48% 40% at 6% 92%, rgba(154,117,33,.10), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 38px; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 52px; } }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent-deep); }
.hero-lede { font-size: clamp(1.06rem, 2.4vw, 1.22rem); color: var(--ink-2); max-width: 36ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin: 26px 0 16px; }
.hero-reassure { display: flex; flex-wrap: wrap; gap: 14px 20px; font-size: .88rem; color: var(--ink-2); }
.hero-reassure span { display: inline-flex; align-items: center; gap: 7px; }
.tick { color: var(--green); font-weight: 800; }

/* Hero "letter" visual */
.letter-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 24px 24px 22px; position: relative; transform: rotate(-1.1deg);
}
.letter-card::after {
  content: "SPECIMEN — illustrative, not a real HMRC letter";
  position: absolute; right: 16px; bottom: 12px; font-size: .62rem; letter-spacing: .04em;
  color: var(--ink-3); text-transform: uppercase;
}
.letter-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 13px; margin-bottom: 14px; }
.letter-logo { font-weight: 800; letter-spacing: -.01em; color: var(--ink); font-size: .96rem; }
.letter-logo .crown { color: var(--gold); }
.letter-ref { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.letter-body p { font-size: .92rem; color: var(--ink-2); margin-bottom: .7em; }
.letter-body .lead { color: var(--ink); font-weight: 600; }
.letter-flag {
  display: inline-block; background: var(--red-soft); color: var(--red); font-weight: 700;
  font-size: .78rem; padding: 3px 9px; border-radius: 6px; margin-top: 4px;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center; padding: 18px 22px; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink-2); font-weight: 550; }
.trust-item b { color: var(--ink); font-weight: 700; }

/* ---------- Problem ---------- */
.problem-quote {
  font-family: var(--serif); font-size: clamp(1.3rem, 3.2vw, 1.85rem); line-height: 1.34;
  color: var(--ink); max-width: 22ch; margin: 0 auto 12px; text-align: center; letter-spacing: -.01em;
}
.pain-grid { display: grid; gap: 16px; margin-top: 34px; }
@media (min-width: 720px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
.pain {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 20px 18px; box-shadow: var(--shadow-sm);
}
.pain h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.pain h4 .ic { color: var(--red); font-size: 1.05rem; }
.pain p { font-size: .94rem; color: var(--ink-2); margin: 0; }

/* ---------- Why now / deadline ---------- */
.whynow { background: var(--ink); color: #eef0f4; }
.whynow .eyebrow { color: #fff; background: rgba(255,255,255,.12); }
.whynow h2 { color: #fff; }
.whynow p { color: #c4c9d4; }
.timeline { display: grid; gap: 0; margin-top: 30px; border-left: 2px solid rgba(255,255,255,.18); padding-left: 0; }
.tl {
  position: relative; padding: 0 0 26px 28px; margin-left: 8px;
}
.tl::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(47,76,176,.25);
}
.tl.done::before { background: #6b7689; box-shadow: 0 0 0 4px rgba(107,118,137,.2); }
.tl .date { font-family: var(--mono); font-size: .78rem; color: var(--accent); letter-spacing: .02em; font-weight: 600; }
.tl.done .date { color: #9aa3b3; }
.tl h4 { color: #fff; margin: 4px 0 4px; font-size: 1.04rem; }
.tl p { color: #b6bcc8; font-size: .92rem; margin: 0; }

/* ---------- Mechanism / how ---------- */
.steps { display: grid; gap: 18px; margin-top: 34px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px; box-shadow: var(--shadow-sm); position: relative;
}
.step .num {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 1.05rem; margin-bottom: 14px;
}
.step h3 { margin-bottom: 7px; }
.step p { font-size: .93rem; color: var(--ink-2); margin: 0; }

/* ---------- What's inside ---------- */
.inside-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 720px) { .inside-grid { grid-template-columns: repeat(2, 1fr); } }
.inside {
  display: flex; gap: 15px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm);
}
.inside .ico {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 1.2rem;
}
.inside h4 { margin-bottom: 5px; }
.inside p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.inside .tag { font-size: .72rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Pricing ---------- */
.price-section { background: var(--paper-2); }
.price-card {
  max-width: 560px; margin: 32px auto 0; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.price-head {
  padding: 28px 30px 22px; text-align: center; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--accent-soft), transparent);
}
.price-head .kicker { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.price-anchor { color: var(--ink-3); text-decoration: line-through; font-size: 1.05rem; margin-top: 12px; }
.price-anchor b { color: var(--ink-3); }
.price-now { font-size: clamp(2.8rem, 8vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; margin: 4px 0 2px; }
.price-now .cur { font-size: .5em; vertical-align: super; font-weight: 700; color: var(--ink-2); }
.price-note { font-size: .86rem; color: var(--ink-2); }
.price-body { padding: 26px 30px 30px; }
.stack-list { list-style: none; margin: 0 0 18px; padding: 0; }
.stack-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.stack-list li:last-child { border-bottom: 0; }
.stack-list .name { color: var(--ink); font-weight: 560; font-size: .96rem; }
.stack-list .name .core-badge { font-size: .66rem; font-weight: 700; color: var(--accent-deep); background: var(--accent-soft); padding: 2px 7px; border-radius: 5px; margin-left: 7px; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; }
.stack-list .val { color: var(--ink-3); font-family: var(--mono); font-size: .85rem; white-space: nowrap; }
.stack-total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0 4px; font-weight: 700; }
.stack-total .val { color: var(--gold); font-family: var(--mono); }
.urgency-line { background: var(--gold-soft); color: var(--amber); border: 1px solid #e8d9b4; border-radius: 10px; padding: 11px 14px; font-size: .86rem; font-weight: 560; margin: 4px 0 18px; }
.consent-note { font-size: .78rem; color: var(--ink-3); margin-top: 14px; text-align: center; line-height: 1.5; }

/* ---------- Guarantee ---------- */
.guarantee {
  display: grid; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); max-width: 880px; margin: 0 auto;
}
@media (min-width: 720px) { .guarantee { grid-template-columns: 120px 1fr; } }
.seal {
  width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), #ece0c0);
  border: 2px solid var(--gold); color: var(--gold); font-weight: 800; line-height: 1.05; margin: 0 auto;
  box-shadow: inset 0 2px 8px rgba(154,117,33,.18);
}
.seal .big { font-size: 1.7rem; display: block; }
.seal .lbl { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.guarantee h3 { margin-bottom: 8px; }
.guarantee p { font-size: .96rem; color: var(--ink-2); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 30px auto 0; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; padding: 0 20px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 0; font-weight: 620; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 1.0rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { color: var(--accent); transition: transform .2s ease; font-size: 1.2rem; flex: 0 0 auto; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .ans { padding: 0 0 18px; color: var(--ink-2); font-size: .94rem; }
.faq .ans p { margin: 0 0 .7em; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .price-mini { font-size: .92rem; color: var(--ink-2); margin-top: 14px; }
.final .price-mini b { color: var(--ink); }

/* ---------- Disclosure / footer ---------- */
.disclosure {
  background: var(--paper-2); border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-2);
}
.disclosure .wrap { padding: 30px 22px; }
.disclosure h4 { font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.disclosure p { margin: 0 0 .8em; line-height: 1.55; }
.disclosure .legal-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.footer { background: var(--ink); color: #aeb4c0; }
.footer .wrap { padding: 26px 22px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.footer a { color: #cdd2dc; }
.footer .brand { color: #fff; }
.footer .brand .mark { box-shadow: none; }

/* ---------- helpers ---------- */
.lead-strong { font-size: 1.08rem; color: var(--ink); font-weight: 560; }
.note-inline { font-size: .8rem; color: var(--ink-3); }
.kw { color: var(--accent-deep); font-weight: 650; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.maxw-prose { max-width: 62ch; }
.maxw-prose-c { max-width: 62ch; margin-left: auto; margin-right: auto; }
