/* Global box model + image reset, matched to homepage qxt.css so layout/nav render identically site-wide */
*, *::before, *::after { box-sizing: border-box; }

/* ============================================================
   CLAUDE-BUILD: page-specific overrides
   ============================================================ */

/* Base typography matched 1:1 to the homepage (qxt.css) so fonts are
   identical site-wide. Homepage body uses --font (Inter); the strategy
   sheets only set Inter on components, leaving body text as serif default.
   This fixes that. */
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #18181B;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* licence-application hub: 6 compact sector cards in one row */
.la-sector-grid { grid-template-columns: repeat(6, 1fr) !important; gap: 16px !important; }
.la-sector-grid .cl-workstream-body { padding: 16px 16px 18px; }
.la-sector-grid .cl-workstream-num { letter-spacing: 0.16em; margin-bottom: 8px; }
.la-sector-grid .cl-workstream-body h3 { font-size: 15px; margin-bottom: 6px; line-height: 1.25; }
.la-sector-grid .cl-workstream-body p { font-size: 12.5px; line-height: 1.5; margin-bottom: 14px; }
.la-sector-grid .cl-workstream-link { font-size: 12.5px; }
@media (max-width: 1080px) { .la-sector-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 600px) { .la-sector-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* ============================================================
   LA-CATCARDS: text-only category cards for sector-hubs
   No photos. Auto-fit grid. Gold-hover border.
   ============================================================ */
.la-catcards-wrap {
  padding: 120px clamp(24px, 4vw, 80px);
  background: var(--strat-bone);
}
.la-catcards-head {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.la-catcards-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--strat-ink);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}
.la-catcards-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--strat-slate);
  max-width: 720px;
  margin: 0;
}
.la-catcards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.la-catcard {
  background: var(--strat-bone);
  border: 1px solid var(--strat-line);
  border-radius: 14px;
  padding: 24px 24px 22px;
  text-decoration: none;
  color: var(--strat-ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s, box-shadow 0.22s;
  min-height: 180px;
}
.la-catcard:hover {
  transform: translateY(-3px);
  border-color: var(--strat-gold);
  box-shadow: 0 12px 28px rgba(184, 132, 44, 0.10);
}
.la-catcard-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--strat-gold);
  margin-bottom: 10px;
}
.la-catcard h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--strat-ink);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  line-height: 1.3;
  transition: color 0.2s;
}
.la-catcard:hover h3 { color: var(--strat-gold); }
.la-catcard p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--strat-slate);
  margin: 0 0 14px;
  flex: 1;
}
.la-catcard-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--strat-gold);
}

/* "Help me choose" block under a card grid */
.la-catcards-help {
  max-width: 1200px;
  margin: 52px auto 0;
  text-align: center;
}
.la-catcards-help p {
  font-size: 18px;
  font-weight: 500;
  color: var(--strat-ink);
  margin: 0 0 22px;
}

/* Intro-segment CTA (Vistra "learn more" style: gold text link + arrow) */
.strat-pain-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--strat-gold);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.strat-pain-cta:hover { gap: 13px; color: #8B5A1F; }
.strat-pain-cta svg { transition: transform 0.2s; }

/* Balanced grid: force 3 columns so 5 cards wrap 3 + 2, not 4 + 1 */
.la-catcards-grid.is-3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .la-catcards-grid.is-3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .la-catcards-grid.is-3col { grid-template-columns: 1fr; } }

/* Single row: force 5 columns so 5 cards sit on one row, not 4 + 1 */
.la-catcards-grid.is-5col { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .la-catcards-grid.is-5col { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .la-catcards-grid.is-5col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .la-catcards-grid.is-5col { grid-template-columns: 1fr; } }

/* ============================================================
   SITE HEADER: replicated 1:1 from the production homepage (.nav)
   so the sandbox looks like the real site. Values inlined from qxt.css.
   ============================================================ */
.skip-link { position: absolute; top: -40px; left: 0; background: #18181B; color: #fff; padding: 8px 16px; z-index: 1000; }
.skip-link:focus { top: 0; }
/* Nav moved to site-chrome.css (single source for nav + footer). */

/* Thin gold strip on the licence-hub sector cards (replaces the large photo) */
.la-sector-strip { width: 100%; height: 40px; background-size: cover; background-position: center; }

/* Thin gold strip on the other hub category cards (wealth, legal, corporate, compliance) */
.la-catcard-strip { width: auto; height: 40px; background-size: cover; background-position: center; margin: -24px -24px 14px; }

/* Dim the gold pattern strips site-wide so gold stays an accent, not a wash (option B) */
.la-sector-strip, .la-catcard-strip { filter: saturate(0.38) brightness(0.9); }

/* ============================================================
   QX request wizard (categories | options | intro/explain/form)
   ============================================================ */
.qx-wizard { background: #FFFFFF; padding: 72px clamp(24px, 4vw, 72px); }
.qx-wizard [hidden] { display: none !important; }
.qx-wizard-inner { max-width: 1200px; margin: 0 auto; }
.qx-wizard-head { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--strat-ink); margin: 0 0 8px; }
.qx-wizard-sub { font-size: 16px; line-height: 1.55; color: var(--strat-slate); margin: 0 0 40px; max-width: 600px; }
.qx-wizard-split { display: flex; align-items: stretch; flex-wrap: wrap; border: 1px solid var(--strat-line); border-radius: 20px; overflow: hidden; min-height: 440px; }
.qx-wizard-menu { flex: 0 0 280px; background: #FBFAF7; border-right: 1px solid var(--strat-line); padding: 16px; }
.qx-wizard-optscol { flex: 0 0 260px; background: #fff; border-right: 1px solid var(--strat-line); padding: 16px; }
.qx-wizard-right { flex: 1 1 320px; padding: 40px; background: #fff; }
.qx-wizard-menu-h { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--strat-gold); margin: 6px 8px 4px; }
.qx-wizard-optscol .qx-wizard-menu-h { margin-bottom: 14px; }
.qx-wizard-menu-hint { font-size: 12.5px; color: var(--strat-slate); margin: 0 8px 14px; }
.qx-wizard-mitem { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--strat-line); border-radius: 11px; padding: 12px 14px; margin-bottom: 8px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--strat-ink); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s; }
.qx-wizard-mitem-ic { width: 19px; height: 19px; fill: none; stroke: var(--strat-gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.qx-wizard-mitem > span:not(.qx-wizard-mitem-arr) { flex: 1; }
.qx-wizard-mitem-arr { margin-left: auto; color: var(--strat-gold); font-size: 18px; line-height: 1; transition: transform 0.15s; }
.qx-wizard-mitem:hover { border-color: var(--strat-gold); box-shadow: 0 6px 16px rgba(24, 24, 27, 0.07); }
.qx-wizard-mitem:hover .qx-wizard-mitem-arr { transform: translateX(3px); }
.qx-wizard-mitem.is-selected { background: var(--strat-ink); border-color: var(--strat-ink); color: #fff; }
.qx-wizard-mitem.is-selected .qx-wizard-mitem-ic { stroke: #fff; }
.qx-wizard-mitem.is-selected .qx-wizard-mitem-arr { color: #fff; }
.qx-wizard-mitem--other { margin-top: 6px; border-style: dashed; color: var(--strat-slate); }
.qx-wizard-mitem--other .qx-wizard-mitem-ic { stroke: var(--strat-slate); }
.qx-wizard-mitem--other:hover { border-color: var(--strat-gold); color: var(--strat-ink); }
.qx-wizard-mitem--other.is-selected { background: var(--strat-ink); border-style: solid; color: #fff; }
.qx-wizard-mitem--other.is-selected .qx-wizard-mitem-ic { stroke: #fff; }
.qx-wizard-opt { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--strat-line); border-radius: 11px; padding: 11px 14px; margin-bottom: 8px; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--strat-ink); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.qx-wizard-opt:hover { border-color: var(--strat-gold); color: var(--strat-gold); }
.qx-wizard-opt.is-selected { background: var(--strat-gold); border-color: var(--strat-gold); color: #fff; }
.qx-wizard-opt--other { margin-top: 4px; border-style: dashed; color: var(--strat-slate); }
.qx-wizard-opt--other:hover { border-color: var(--strat-gold); color: var(--strat-ink); }
.qx-wizard-opt--other.is-selected { background: var(--strat-ink); border-style: solid; color: #fff; }
.qx-wizard-acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.qx-wizard-acc.is-open { grid-template-rows: 1fr; margin: -1px 0 9px; }
.qx-wizard-acc-inner { overflow: hidden; min-height: 0; display: grid; gap: 8px; padding: 2px 0 4px 12px; border-left: 2px solid var(--strat-line); }
/* Desktop only: options live in the separate column, so drop the accordion indent/border */
.qx-wizard-optscol .qx-wizard-acc-inner { padding: 0; border-left: none; }
.qx-wizard-mitem.is-open { border-color: var(--strat-gold); }
.qx-wizard-mitem.is-open .qx-wizard-mitem-arr { transform: rotate(90deg); }
.qx-wizard-acc .qx-wizard-right { padding: 14px 0 6px; background: transparent; animation: qxFade 0.25s ease; }
@keyframes qxFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qx-wizard-acc { transition: none; } .qx-wizard-acc .qx-wizard-right { animation: none; } }
.qx-wizard-intro-ic { display: inline-flex; width: 54px; height: 54px; border-radius: 14px; background: rgba(184, 132, 44, 0.1); align-items: center; justify-content: center; margin: 0 0 22px; }
.qx-wizard-intro-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--strat-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.qx-wizard-intro h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--strat-ink); margin: 0 0 10px; }
.qx-wizard-intro p { color: var(--strat-slate); font-size: 15px; line-height: 1.6; margin: 0 0 22px; max-width: 400px; }
.qx-wizard-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.qx-wizard-benefits li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; font-weight: 500; color: var(--strat-ink); }
.qx-wizard-benefits li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--strat-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center; margin-top: 1px; }
.qx-wizard-explain h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--strat-ink); margin: 0 0 12px; }
.qx-wizard-explain p { color: var(--strat-slate); font-size: 15px; line-height: 1.65; margin: 0 0 26px; max-width: 460px; }
.qx-wizard-explain-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.qx-wizard-explain button { background: var(--strat-gold); color: #fff; border: none; border-radius: 9999px; padding: 13px 30px; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.18s; }
.qx-wizard-explain button:hover { background: #8B5A1F; }
.qx-wizard-explain-link { display: inline-flex; align-items: center; gap: 6px; color: var(--strat-gold); font-weight: 600; font-size: 14px; text-decoration: none; }
.qx-wizard-explain-link:hover { color: #8B5A1F; }
.qx-wizard-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; }
.qx-wizard-chip { grid-column: 1 / -1; font-size: 14px; font-weight: 700; color: var(--strat-gold); margin: 0; }
.qx-wizard-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--strat-slate); }
.qx-wizard-form label.full { grid-column: 1 / -1; }
.qx-wizard-form input, .qx-wizard-form textarea { padding: 12px 14px; border: 1px solid var(--strat-line); border-radius: 10px; font-family: inherit; font-size: 14px; color: var(--strat-ink); }
.qx-wizard-form textarea { min-height: 88px; resize: vertical; }
.qx-wizard-form input:focus, .qx-wizard-form textarea:focus { outline: none; border-color: var(--strat-gold); }
.qx-wizard-form button { grid-column: 1 / -1; justify-self: start; background: var(--strat-gold); color: #fff; border: none; border-radius: 9999px; padding: 13px 30px; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.18s; }
.qx-wizard-form button:hover { background: #8B5A1F; }
.qx-wizard-reassure { grid-column: 1 / -1; font-size: 12.5px; color: var(--strat-slate); margin: 0; }
@media (max-width: 860px) { .qx-wizard-menu, .qx-wizard-optscol { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--strat-line); } .qx-wizard-form { grid-template-columns: 1fr; } }
