/* practice-planner-reviews.uk — shared stylesheet.
   Extracted verbatim from index.html when the site grew past one page. The
   site still has no build step: this is a plain <link> every page carries. */

  :root {
    --sun: #ff8a3d;
    --sun-deep: #f3722c;
    --sky: #4ea1d3;
    --sky-soft: #cdeaf7;
    --mint: #5fc9a3;
    --berry: #ef6f9b;
    --cream: #fff7ee;
    --ink: #2b2440;
    --ink-soft: #6a6280;
    --card: #ffffff;
    --line: #ece5f2;
    --shadow: 0 18px 40px rgba(60, 40, 80, 0.12);
    --radius: 28px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html, body { margin: 0; padding: 0; }

  body {
    font-family: "Nunito", system-ui, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 15% 10%, #fff1e2 0%, var(--cream) 45%, #f3f8fc 100%);
    min-height: 100vh;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4 {
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
  }

  a { color: var(--sun-deep); }
  a:hover { opacity: 0.8; }

  .wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 20px 40px;
  }

  /* ---------- Top bar ---------- */
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 22px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Baloo 2", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--ink);
    text-decoration: none;
  }
  /* The tick mark, matching the favicon and the share card. */
  .brand .mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 6px 14px rgba(43, 36, 64, 0.25);
  }
  .topbar .updated {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
  }

  /* ---------- Hero ---------- */
  .crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
  .crumbs a { text-decoration: none; font-weight: 700; }

  .kicker {
    display: inline-block;
    background: var(--sky-soft);
    color: #226389;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
  }
  h1 { font-size: clamp(30px, 5.5vw, 44px); margin-bottom: 16px; }
  .deck { font-size: 19px; color: var(--ink-soft); font-weight: 600; margin: 0 0 22px; }
  .byline {
    display: flex; gap: 22px; flex-wrap: wrap;
    font-size: 14px; color: var(--ink-soft);
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .byline strong { color: var(--ink); }

  /* ---------- Cards & boxes ---------- */
  .card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 28px;
    margin: 26px 0;
  }
  .disclosure {
    background: #fff4e9;
    border-radius: 22px;
    padding: 22px 24px;
    margin: 28px 0;
    font-size: 15px;
    color: var(--ink-soft);
  }
  .disclosure .label {
    display: block;
    font-family: "Baloo 2", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sun-deep);
    margin-bottom: 6px;
  }
  .disclosure p { margin: 0 0 10px; }
  .disclosure p:last-child { margin-bottom: 0; }

  p { margin: 0 0 18px; }
  .lead { font-size: 19px; font-weight: 600; }

  h2 { font-size: 28px; margin: 46px 0 16px; }
  h3 { font-size: 21px; margin: 26px 0 10px; }

  .criteria { list-style: none; padding: 0; margin: 16px 0 0; }
  .criteria li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--ink-soft);
  }
  .criteria li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--sun-deep);
    font-weight: 800;
  }
  .criteria strong { color: var(--ink); }

  /* ---------- Ranked entries ---------- */
  .entry { position: relative; }
  .rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sun), var(--berry));
    color: #fff;
    font-family: "Baloo 2", sans-serif;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 6px 14px rgba(243, 114, 44, 0.35);
    margin-bottom: 12px;
  }
  .rank.other { background: linear-gradient(135deg, var(--sky), var(--mint)); font-size: 22px; }
  .entry h3 { margin: 0 0 6px; font-size: 25px; }
  .meta {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 16px;
  }
  .meta .price { color: var(--sun-deep); }
  .entry p { font-size: 16px; }
  .verdict {
    background: #f7f4fb;
    border-radius: 18px;
    padding: 16px 20px;
    margin-top: 18px;
    font-size: 15px;
  }
  .verdict p { margin: 0 0 6px; font-size: 15px; }
  .verdict p:last-child { margin-bottom: 0; }

  /* ---------- Table ---------- */
  .table-wrap {
    overflow-x: auto;
    background: var(--card);
    border-radius: 22px;
    box-shadow: var(--shadow);
    margin: 24px 0;
  }
  table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; }
  th, td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); }
  thead th {
    font-family: "Baloo 2", sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: #fbf7f2;
    white-space: nowrap;
  }
  tbody th {
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    font-size: 14px;
  }
  .mark {
    display: inline-block;
    width: 22px; height: 22px; line-height: 22px;
    border-radius: 50%;
    font-size: 12px; font-weight: 800; color: #fff;
  }
  .yes { background: var(--mint); }
  .part { background: #f0b429; }
  .no { background: #ded7e6; color: #8b83a0; }
  .legend { font-size: 14px; color: var(--ink-soft); }
  .meta .score {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 13px;
    letter-spacing: 0.01em;
  }
  tbody tr.totals th, tbody tr.totals td {
    border-top: 2px solid var(--line);
    border-bottom: none;
    padding-top: 14px;
  }
  td.total {
    font-family: "Baloo 2", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
  }

  /* ---------- CTA ---------- */
  .cta {
    background: linear-gradient(135deg, #fff1e2, #eef7fc);
    border-radius: var(--radius);
    padding: 28px;
    margin: 34px 0;
    text-align: center;
  }
  .cta h3 { margin-top: 0; }
  .cta p { color: var(--ink-soft); }

  /* The top CTA: the whole reason this page exists is to get people to the
     calculator, so it sits above the fold, before the article proper. */
  .cta-top {
    /* Full width, not two columns: side by side, the heading was wrapping
       inside a ~350px gutter while the button sat in whitespace. */
    display: block;
    text-align: left;
    padding: 30px 32px;
    margin: 26px 0 22px;
    box-shadow: var(--shadow);
  }
  .cta-top h2 {
    margin: 0 0 12px;
    font-size: 28px;
    letter-spacing: -0.01em;
  }
  .cta-top .cta-body {
    margin: 0 0 22px;
    font-size: 16.5px;
    max-width: 62ch;
  }
  /* The timing line and the button share a row: the reassurance sits where
     the decision is made, not buried above it. */
  .cta-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(43, 36, 64, 0.08);
    padding-top: 20px;
  }
  /* The text column shrinks and wraps; the button never drops to its own line
     on desktop, which is what happens if this is left to flex defaults. */
  .cta-action > div { flex: 1 1 240px; min-width: 0; }
  .cta-action .btn { flex: 0 0 auto; }
  .cta-time {
    font-family: "Baloo 2", sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
    margin: 0 0 5px !important;
  }
  .cta-trust {
    font-size: 14px !important;
    font-weight: 700;
    color: var(--ink-soft);
    margin: 0 !important;
  }
  .btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--sun), var(--sun-deep));
    color: #fff;
    text-decoration: none;
    font-family: "Baloo 2", sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 14px 26px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(243, 114, 44, 0.35);
  }

  .cost-list { list-style: none; padding: 0; margin: 18px 0; }
  .cost-list li {
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 10px;
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(60, 40, 80, 0.06);
  }
  .cost-list strong { font-family: "Baloo 2", sans-serif; }

  .faq h3 { font-size: 19px; }
  .faq p { font-size: 16px; }

  footer {
    border-top: 1px solid var(--line);
    margin-top: 46px;
    padding-top: 26px;
    font-size: 14px;
    color: var(--ink-soft);
  }
  footer h4 { font-size: 17px; margin-bottom: 10px; color: var(--ink); }
  .footer-meta { margin-top: 18px; font-size: 13px; }

  /* Sticky return-path to the calculator. Appears once the hero CTA has
     scrolled away, so it never doubles up with it. */
  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(255, 247, 238, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(60, 40, 80, 0.10);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta p {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
  }
  .sticky-cta .btn {
    font-size: 16px;
    padding: 10px 20px;
    box-shadow: 0 8px 18px rgba(243, 114, 44, 0.3);
  }
  .sticky-cta .close {
    background: none;
    border: none;
    color: var(--ink-soft);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
  }
  @media (prefers-reduced-motion: reduce) {
    .sticky-cta { transition: none; }
  }

  @media (max-width: 640px) {
    body { font-size: 16px; }
    .card { padding: 22px 20px; border-radius: 22px; }
    h2 { font-size: 24px; }
    .entry h3 { font-size: 21px; }
    .deck { font-size: 17px; }
    .cta-top { padding: 24px 22px; }
    .cta-top h2 { font-size: 23px; }
    .cta-top .cta-body { font-size: 16px; margin-bottom: 18px; }
    /* Button below the reassurance, full width — a centred pill with text
       either side reads as an afterthought on a narrow screen. */
    .cta-action { flex-direction: column; align-items: stretch; gap: 16px; }
    .cta-action .btn { text-align: center; }
    .cta-time { font-size: 18px; }
    .sticky-cta p { font-size: 14px; }
    .sticky-cta { gap: 10px; padding: 10px 12px; }
    /* Keep the footer clear of the sticky bar. */
    footer { padding-bottom: 80px; }
  }

/* ==========================================================================
   Guide-page components
   Added when the site grew past a single page. Everything above this line is
   the original article's CSS, unchanged.
   ========================================================================== */

/* Cross-links between guides. The whole card is the target — these are the
   internal crawl paths as much as they are navigation. */
.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.related li { margin: 0; }
.related a {
  display: block;
  height: 100%;
  background: var(--card);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(60, 40, 80, 0.07);
  text-decoration: none;
  color: var(--ink);
}
.related a:hover { opacity: 1; box-shadow: 0 10px 26px rgba(60, 40, 80, 0.13); }
.related .rel-kicker {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sun-deep);
  margin-bottom: 5px;
}
.related strong {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 5px;
}
.related span.rel-note { font-size: 14px; color: var(--ink-soft); }

/* A single point worth pulling out of the prose — used for the tax-relief
   rule and the "check this before you migrate" warnings. */
.callout {
  background: #eef7fc;
  border-radius: 22px;
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 16px;
}
.callout p { margin: 0 0 10px; font-size: 16px; }
.callout p:last-child { margin-bottom: 0; }
.callout .label {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #226389;
  margin-bottom: 6px;
}

/* At-a-glance facts at the top of a single-product review. */
.glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px;
  background: var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin: 24px 0;
}
.glance div { background: var(--card); padding: 16px 18px; }
.glance dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.glance dd {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 17px;
}

/* Two columns of what's good and what isn't. */
.updown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.updown ul { list-style: none; padding: 0; margin: 10px 0 0; }
.updown li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.updown li::before { position: absolute; left: 0; font-weight: 800; }
.updown .good li::before { content: "+"; color: var(--mint); }
.updown .bad li::before  { content: "−"; color: var(--berry); }
.updown h4 { font-size: 17px; }

/* Money tables read better left-aligned on the label and right on the figure
   than the centred comparison grid the ranking table uses. */
table.figures { min-width: 520px; }
table.figures td, table.figures th { text-align: right; }
table.figures td:first-child, table.figures th:first-child { text-align: left; }
table.figures tbody th { font-weight: 700; }
table.figures caption {
  caption-side: bottom;
  padding: 12px 10px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: left;
}

@media (max-width: 640px) {
  .callout { padding: 18px 20px; border-radius: 18px; }
  .glance dd { font-size: 16px; }
}
