/* ==========================================================================
   UK home page (/uk/) — scoped under .ukh
   Palette follows the site brand (navy + gold) with a restrained UK red accent.
   Libre Baskerville nods to Baskerville, the typeface cut in Birmingham.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

.ukh {
  --ukh-navy: #0b1d44;
  --ukh-navy-2: #122a5c;
  --ukh-gold: #ffc629;
  --ukh-gold-deep: #e0a200;
  --ukh-red: #c8102e;
  --ukh-ink: #0f1b33;
  --ukh-muted: #56617a;
  --ukh-line: #e3e6ee;
  --ukh-paper: #fffdf7;
  --ukh-soft: #f5f7fb;
  --ukh-serif: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;
  --ukh-sans: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ukh-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ukh-ink);
  font-family: var(--ukh-sans);
}
.ukh *, .ukh *::before, .ukh *::after { box-sizing: border-box; }
.ukh h1, .ukh h2, .ukh h3 { font-family: var(--ukh-display); color: var(--ukh-navy); text-wrap: balance; margin: 0; }
.ukh p { margin: 0; }
.ukh a { color: inherit; }
.ukh-wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .ukh-wrap { padding-inline: 16px; } }

.ukh-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ukh-navy-2);
}
.ukh-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ukh-red); }
.ukh-section { padding-block: clamp(64px, 8vw, 110px); }
.ukh-head { max-width: 720px; display: grid; gap: 14px; margin-bottom: 44px; }
.ukh-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; letter-spacing: -.02em; }
.ukh-head p { color: var(--ukh-muted); font-size: 1.05rem; line-height: 1.7; }
.ukh-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.ukh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 10px; font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ukh-btn svg { width: 18px; height: 18px; }
.ukh-btn--gold { background: var(--ukh-gold); color: var(--ukh-navy); box-shadow: 0 14px 30px -14px rgba(224,162,0,.8); }
.ukh-btn--gold:hover { transform: translateY(-2px); background: #ffd24f; }
.ukh-btn--line { border-color: rgba(11,29,68,.2); color: var(--ukh-navy); background: #fff; }
.ukh-btn--line:hover { border-color: var(--ukh-navy); }
.ukh-btn:focus-visible, .ukh a:focus-visible { outline: 3px solid var(--ukh-gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.ukh-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(130px, 14vw, 170px); padding-bottom: clamp(64px, 7vw, 96px);
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(255,198,41,.18), transparent 60%),
    linear-gradient(180deg, #fdf6db 0%, #fffdf7 55%, #ffffff 100%);
}
.ukh-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.ukh-hero__copy { display: grid; gap: 22px; }
.ukh-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.06; letter-spacing: -.03em; }
.ukh-hero h1 em { font-family: var(--ukh-serif); font-style: italic; font-weight: 400; color: var(--ukh-navy-2); letter-spacing: -.01em; }
.ukh-hero__lead { font-size: 1.12rem; line-height: 1.7; color: #3c4760; max-width: 58ch; }
.ukh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ukh-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 8px 0 0; list-style: none; }
.ukh-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ukh-navy-2); }
.ukh-proof svg { width: 18px; height: 18px; color: var(--ukh-gold-deep); flex: 0 0 auto; }

/* The "copyright page" specimen */
.ukh-specimen { position: relative; justify-self: center; width: min(100%, 440px); }
.ukh-specimen__label {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ukh-muted);
  margin-bottom: 12px;
}
.ukh-specimen__label span:last-child { color: var(--ukh-red); }
.ukh-page {
  position: relative; background: var(--ukh-paper);
  border: 1px solid #ece4cf; border-radius: 6px 14px 14px 6px;
  padding: 34px 34px 30px 40px;
  font-family: var(--ukh-serif); font-size: .82rem; line-height: 1.75; color: #2c2a26;
  box-shadow: -10px 0 0 -4px #f1e9d2, 0 30px 60px -28px rgba(11,29,68,.45), 0 2px 0 rgba(0,0,0,.03);
  transform: rotate(-1.2deg);
}
.ukh-page::before { /* gutter shadow on the bound edge */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px;
  background: linear-gradient(90deg, rgba(0,0,0,.07), transparent); border-radius: 6px 0 0 6px;
}
.ukh-page p + p { margin-top: 12px; }
.ukh-page__title { font-size: 1.05rem; font-weight: 700; letter-spacing: .01em; }
.ukh-page mark {
  background: linear-gradient(transparent 55%, rgba(255,198,41,.55) 55%);
  color: inherit; padding: 0 1px;
}
.ukh-page__isbn { font-variant-numeric: tabular-nums; }
.ukh-page__rule { height: 1px; background: #e7dcc0; margin: 16px 0; }
.ukh-page__stamp {
  position: absolute; right: -30px; bottom: -44px;
  display: grid; place-items: center; text-align: center;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--ukh-navy); color: #fff; font-family: var(--ukh-sans);
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35;
  box-shadow: 0 16px 30px -12px rgba(11,29,68,.6);
  transform: rotate(9deg);
  border: 3px double rgba(255,198,41,.8);
}
.ukh-page__stamp strong { display: block; font-size: 1.05rem; letter-spacing: .04em; color: var(--ukh-gold); }
.ukh-specimen__note { margin-top: 56px; font-size: .82rem; color: var(--ukh-muted); text-align: center; }

@media (max-width: 960px) {
  .ukh-hero__grid { grid-template-columns: 1fr; }
  .ukh-specimen { margin-top: 12px; }
}
@media (max-width: 480px) {
  .ukh-page { padding: 26px 22px 26px 28px; transform: none; }
  .ukh-page__stamp { width: 90px; height: 90px; right: -6px; }
}

/* ---------- Retailer strip ---------- */
.ukh-shelf { background: var(--ukh-navy); color: #fff; padding-block: 26px; }
.ukh-shelf__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.ukh-shelf__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ukh-gold); }
.ukh-shelf ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.ukh-shelf li {
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  font-family: var(--ukh-serif); font-size: .92rem; color: #eef1f8;
}
.ukh-shelf__note { flex-basis: 100%; font-size: .78rem; color: rgba(255,255,255,.6); }

/* ---------- Paths ---------- */
.ukh-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ukh-path {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
  padding: 30px 28px; border: 1px solid var(--ukh-line); border-radius: 18px; background: #fff;
  text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ukh-path:hover { transform: translateY(-4px); border-color: var(--ukh-gold); box-shadow: 0 24px 40px -28px rgba(11,29,68,.5); }
.ukh-path__stage { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ukh-red); }
.ukh-path h3 { font-size: 1.3rem; line-height: 1.25; }
.ukh-path p { color: var(--ukh-muted); line-height: 1.65; }
.ukh-path__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ukh-navy); }
.ukh-path__go svg { width: 18px; height: 18px; transition: transform .2s ease; }
.ukh-path:hover .ukh-path__go svg { transform: translateX(4px); }
@media (max-width: 900px) { .ukh-paths { grid-template-columns: 1fr; } }

/* ---------- US vs UK comparison ---------- */
.ukh-compare-sec { background: var(--ukh-soft); }
.ukh-table-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--ukh-line); background: #fff; }
.ukh-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .96rem; }
.ukh-table th, .ukh-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ukh-line); line-height: 1.55; }
.ukh-table tr:last-child th, .ukh-table tr:last-child td { border-bottom: 0; }
.ukh-table thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ukh-muted); background: #fafbfd; }
.ukh-table thead th:last-child { color: var(--ukh-navy); background: #fff6d6; }
.ukh-table tbody th { width: 22%; font-weight: 700; color: var(--ukh-navy); }
.ukh-table td:first-of-type { color: var(--ukh-muted); }
.ukh-table td:last-child { background: #fffbea; font-weight: 500; }
.ukh-compare-foot { margin-top: 18px; font-size: .88rem; color: var(--ukh-muted); }
.ukh-compare-foot a { font-weight: 600; color: var(--ukh-navy); }

/* ---------- Services ---------- */
.ukh-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ukh-service {
  display: grid; gap: 10px; align-content: start;
  padding: 26px; border-radius: 16px; border: 1px solid var(--ukh-line); background: #fff; text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.ukh-service:hover { border-color: var(--ukh-navy); transform: translateY(-3px); }
.ukh-service__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff3c7; color: var(--ukh-navy); }
.ukh-service__icon svg { width: 22px; height: 22px; }
.ukh-service h3 { font-size: 1.12rem; }
.ukh-service p { color: var(--ukh-muted); line-height: 1.6; font-size: .95rem; }
.ukh-service__tag { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ukh-red); }
@media (max-width: 980px) { .ukh-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ukh-services { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.ukh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; counter-reset: ukh-step; border-top: 1px solid var(--ukh-line); }
.ukh-steps li { counter-increment: ukh-step; padding: 28px 26px 30px 0; border-bottom: 1px solid var(--ukh-line); display: grid; gap: 8px; align-content: start; }
.ukh-steps li::before {
  content: counter(ukh-step, decimal-leading-zero);
  font-family: var(--ukh-serif); font-size: 2.2rem; line-height: 1; color: var(--ukh-gold-deep);
}
.ukh-steps h3 { font-size: 1.1rem; }
.ukh-steps p { color: var(--ukh-muted); line-height: 1.6; font-size: .95rem; }
@media (max-width: 900px) { .ukh-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ukh-steps { grid-template-columns: 1fr; } .ukh-steps li { padding-right: 0; } }

/* ---------- Promise (navy band) ---------- */
.ukh-promise { background: var(--ukh-navy); color: #fff; position: relative; overflow: hidden; }
.ukh-promise::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,198,41,.07);
}
.ukh-promise__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.ukh-promise__grid > div:first-child { display: grid; gap: 16px; align-content: start; }
.ukh-promise__intro { margin-top: 0 !important; }
.ukh-promise h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; }
.ukh-promise h2 em { font-family: var(--ukh-serif); font-weight: 400; color: var(--ukh-gold); }
.ukh-promise__intro { margin-top: 18px; color: rgba(255,255,255,.75); line-height: 1.75; font-size: 1.05rem; }
.ukh-promise .ukh-eyebrow { color: var(--ukh-gold); }
.ukh-promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ukh-promise li {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start;
  padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.ukh-promise li svg { width: 22px; height: 22px; color: var(--ukh-gold); margin-top: 2px; }
.ukh-promise li strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.ukh-promise li span { color: rgba(255,255,255,.72); line-height: 1.6; font-size: .95rem; }
@media (max-width: 900px) { .ukh-promise__grid { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.ukh-guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.ukh-guides a {
  display: grid; gap: 8px; height: 100%; padding: 22px; border-radius: 14px;
  background: var(--ukh-paper); border: 1px solid #efe6cc; text-decoration: none;
}
.ukh-guides a:hover { border-color: var(--ukh-gold-deep); }
.ukh-guides small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ukh-red); }
.ukh-guides strong { font-family: var(--ukh-serif); font-size: 1.05rem; line-height: 1.4; color: var(--ukh-navy); }
.ukh-guides span { font-size: .9rem; color: var(--ukh-muted); line-height: 1.55; }
@media (max-width: 980px) { .ukh-guides { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ukh-guides { grid-template-columns: 1fr; } }

/* Comparison table becomes stacked cards on phones */
@media (max-width: 700px) {
  .ukh-table-scroll { border: 0; background: transparent; overflow: visible; }
  .ukh-table { min-width: 0; display: block; }
  .ukh-table thead { display: none; }
  .ukh-table tbody { display: grid; gap: 12px; }
  .ukh-table tr { display: grid; border: 1px solid var(--ukh-line); border-radius: 14px; overflow: hidden; background: #fff; }
  .ukh-table th, .ukh-table td { display: block; width: auto; border-bottom: 0; padding: 12px 16px; }
  .ukh-table tbody th { width: auto; background: #fafbfd; border-bottom: 1px solid var(--ukh-line); }
  .ukh-table td::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ukh-muted); margin-bottom: 2px; }
  .ukh-table td:last-child::before { color: var(--ukh-red); }
}

@media (prefers-reduced-motion: reduce) {
  .ukh-btn, .ukh-path, .ukh-service, .ukh-path__go svg { transition: none; }
  .ukh-page, .ukh-page__stamp { transform: none; }
}
