/* source: tokens.css */
/* ============================================================================
   Pocket design tokens
   Values extracted verbatim from the direct.withpocket.com.au app so the
   marketing site and the product site read as one brand. Single-brand here,
   so the per-tenant CSS-variable injection direct. uses is resolved to
   Pocket's concrete values. See pocketbuilder/db/seeds.rb (Pocket broker
   theme) and app/models/broker.rb THEME_DEFAULTS.
   Do not re-derive or guess these — change them only if the brand changes.
   ========================================================================== */

:root {
  /* ── Core palette ── */
  --pocket-primary:        #0077B3;  /* brand blue */
  --pocket-secondary:      #0077B3;
  --pocket-accent:         #FF8C19;
  --pocket-accent-hover:   #E07510;

  /* Blues used across landing sections */
  --pocket-blue:           #0077B3;
  --pocket-blue-dark:      #005A87;
  --pocket-blue-deeper:    #004268;
  --pocket-blue-hover:     #1e93d6;  /* .btn-blue hover */

  /* Surfaces */
  --pocket-background:     #f0f7fb;
  --pocket-white:          #FAFCFD;
  --pocket-header-bg:      #E7F3F8;  /* pale blue */
  --pocket-pale-blue:      #E7F3F8;
  --pocket-topbar-bg:      #E7F3F8;
  --pocket-topbar-border:  #C4DEE8;
  --pocket-card-bg:        var(--pocket-pure-white);
  --pocket-card-border:    #e5e7eb;
  --pocket-border:         #e5e7eb;
  --pocket-input-border:   #d1d5db;
  --pocket-footer-bg:      #004268;  /* deep blue */
  --pocket-footer-text:    rgba(255, 255, 255, 0.6);

  /* Text */
  --pocket-text:           #333333;
  --pocket-text-secondary: #4A6070;
  --pocket-text-tertiary:  #7A96A8;
  --pocket-text-strong:    #1a2e3b;  /* near-black used for card titles */

  /* Actions */
  --pocket-link:           #0077B3;
  --pocket-button-bg:      #FF8C19;
  --pocket-button-text:    #17242C;

  /* Cards */
  --pocket-card-radius:    14px;
  --pocket-card-shadow:    0 1px 3px rgba(0, 0, 0, 0.08);
  --pocket-card-shadow-hover: 0 12px 28px rgba(0, 119, 179, 0.14);
  --pocket-card-padding:   32px;
  --pocket-card-gap:       24px;

  /* Radius scale — --pocket-card-radius (above) is the one card radius; these
     cover the other repeating shapes (icon badges, hero panel, photos). */
  --pocket-radius-sm: 12px;  /* icon badges, hero-card panel */
  --pocket-radius-lg: 16px;  /* lifecycle/works photos */
  --pocket-radius-xl: 20px;  /* hero photo */

  /* Pure white vs the branded off-white surface (--pocket-white, #FAFCFD).
     Use --pocket-pure-white for foreground text/icons on a saturated
     background (buttons, footer); --pocket-white for card/panel surfaces. */
  --pocket-pure-white: #ffffff;

  /* Section vertical rhythm — the one section-band padding used site-wide.
     Mobile breakpoint is 768px (see @media convention below). */
  --pocket-section-padding: 96px;
  --pocket-section-padding-mobile: 48px;

  /* Layout */
  --pocket-container:      1200px;

  /* ── Breakpoint convention (documented, not a live CSS value — custom
     properties can't appear inside @media feature queries) ──
       768px  "mobile"  — nav collapses to hamburger, container/section padding
                          shrinks, single-column type scale kicks in.
       900px  "tablet"  — multi-column grids (hero, cta, cards, split-card)
                          collapse to one column.
     Every @media rule in this codebase should use one of these two numbers. */

  /* Type — headings use "iskra" (Adobe Fonts / Typekit kit vak4zpy, the real
     Pocket brand heading font, same kit the WordPress site loads); Merriweather
     is the graceful fallback if the kit is blocked. Body is Merriweather Sans. */
  --pocket-font-display:   "iskra", Georgia, serif;
  --pocket-font-body:      "Merriweather Sans", system-ui, sans-serif;

  /* ── Aliases matching direct.'s landing-page variable names, so ported
     component CSS can be copied with minimal edits ── */
  --blue:            var(--pocket-blue);
  --blue-dark:       var(--pocket-blue-dark);
  --blue-deeper:     var(--pocket-blue-deeper);
  --pale-blue:       var(--pocket-pale-blue);
  --pale-blue-dark:  var(--pocket-card-border);
  --border:          var(--pocket-border);
  --orange:          var(--pocket-accent);
  --orange-dark:     var(--pocket-accent-hover);
  --white:           var(--pocket-white);
  --text-secondary:  var(--pocket-text-secondary);
  --text-tertiary:   var(--pocket-text-tertiary);
  --font:            var(--pocket-font-body);
}

/* source: base.css */
/* ============================================================================
   Base: reset, typography scale, links, long-form prose defaults.
   Mirrors the @layer base block in direct.'s application.css.
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--pocket-pure-white);
  color: var(--pocket-text);
  font-size: 15px;
  line-height: 1.75;
  font-family: var(--pocket-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pocket-font-display);
  color: var(--pocket-primary);
  margin: 0 0 0.5em;
}

h1 { font-size: 3rem;    font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.2;  letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }

p { margin: 0 0 1rem; }

/* ── Links ──
   Default: no underline (nav, footer, buttons, cards opt in to their own
   treatment). Long-form content links (.prose) are underlined below so they
   read as links in running text. */
a {
  color: var(--pocket-link);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

/* Keyboard focus ring for every interactive element (was missing entirely). */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--pocket-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

img { max-width: 100%; height: auto; }

hr { border: none; border-top: 1px solid var(--pocket-border); margin: 2rem 0; }

.brand-divider {
  width: 40px;
  height: 3px;
  background: var(--pocket-primary);
  margin: 16px 0 32px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--pocket-pure-white);
  background: var(--pocket-primary);
  border-radius: 4px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── Prose: long-form article/guide body rendered from markdown ── */
.prose { min-width: 0; overflow-wrap: anywhere; font-size: 16px; line-height: 1.8; color: var(--pocket-text); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.8rem; color: var(--pocket-text); }
/* h4 is used in article bodies as a small "kicker" label above an h2. Without
   an explicit rule it fell back to body-sized text jammed under the previous
   block, making the heading hierarchy look broken — style it as a deliberate
   uppercase eyebrow so the kicker → h2 rhythm reads intentionally. */
.prose h4 {
  font-family: var(--pocket-font-display);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pocket-primary); margin-top: 2.4rem; margin-bottom: -0.4rem;
}
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: 0.35rem 0; }
.prose a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--pocket-blue-dark); text-decoration-thickness: 2px; }
.prose blockquote {
  border-left: 3px solid var(--pocket-primary);
  padding-left: 1rem; margin-left: 0; color: var(--pocket-text-secondary);
}
.prose img { border-radius: 8px; }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--pocket-border); padding: 8px 12px; text-align: left; }
.prose th { background: var(--pocket-pale-blue); }
.prose code {
  background: var(--pocket-pale-blue); border-radius: 4px;
  padding: 2px 5px; font-size: 0.9em;
}

/* source: layout.css */
/* ============================================================================
   Layout: containers, section spacing, page shell.
   ========================================================================== */

.page { display: flex; flex-direction: column; min-height: 100vh; }
/* White default so long-form content pages and the alternating home sections
   read on white; the hero and specific bands set their own pale-blue. */
.page-main { flex: 1 0 auto; background: var(--pocket-pure-white); }

.container {
  max-width: var(--pocket-container);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section { padding: var(--pocket-section-padding) 0; }
.section-sm { padding: 56px 0; }

/* Centred error page (404/422/500). */
.error-page { text-align: center; }
.error-page .section-lead { margin: 0 auto 40px; }
.error-page .hero-actions { justify-content: center; }

.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pocket-blue-dark); margin-bottom: 14px;
  /* Not --pocket-primary: this renders on the pale --pocket-header-bg tint
     band (hero, split-card), where primary blue only clears 4.33:1 —
     below WCAG AA's 4.5:1 floor for text this small. blue-dark clears 6.6:1. */
}
.section-h2 {
  font-size: 44px; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 16px; line-height: 1.15;
  /* No color override — inherits the h1-h6 base rule (--pocket-primary) so
     every heading on the site reads the same brand blue. */
}
.section-lead {
  font-size: 18px; color: var(--pocket-text-secondary); line-height: 1.9;
  max-width: 600px; margin-bottom: 56px; font-weight: 400;
}
.section-divider {
  width: 40px; height: 3px; background: var(--pocket-blue); margin: 18px 0 40px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: var(--pocket-section-padding-mobile) 0; }
  .section-sm { padding: 40px 0; }
  .section-h2 { font-size: 32px; }
  .section-lead { font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
  .section-divider { margin-bottom: 32px; }
  .grid-2, .grid-3 { gap: 16px; }
}

/* source: header.css */
/* ============================================================================
   Marketing header / nav — ported from direct.'s _marketing_header partial
   and the .marketing-nav / .site-header rules in its application.css.
   ========================================================================== */

/* ── Brand pattern strip (very top of every page) ── */
.pattern-strip {
  height: 18px;
  background-image: url("/media/2025/11/pattern-1-scaled.png");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 18px;
}

/* ── Top bar ── */
.topbar {
  background: var(--pocket-topbar-bg);
  border-bottom: 1px solid var(--pocket-topbar-border);
  font-size: 12px;
}
.topbar-inner {
  max-width: var(--pocket-container);
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-tagline { color: var(--pocket-blue-dark); font-weight: 600; }
.topbar-links { display: flex; align-items: center; gap: 24px; }
.topbar-link {
  color: var(--pocket-blue-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: text-decoration-color 0.15s;
}
.topbar-link:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 768px) {
  .topbar { display: none; }
}

.site-header {
  background: var(--pocket-header-bg);
  border-bottom: 1px solid var(--pocket-topbar-border);
  font-family: var(--pocket-font-body);
}

/* Same container as the topbar and hero: max-width + 40px inner padding, so
   the logo aligns with the topbar tagline and the hero content. */
.site-header-inner {
  max-width: var(--pocket-container);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo-link { display: inline-flex; align-items: center; }
.site-logo-image { height: 28px; width: auto; }

.site-brand-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pocket-primary);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-nav > .site-nav-link,
.site-nav > .site-nav-item {
  padding-left: 4px;
}

.site-nav-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: var(--pocket-blue-dark); /* solid deep blue, matching the WP nav (#005180) */
  transition: color 0.15s;
  white-space: nowrap;
}
.site-nav-link:hover { color: var(--pocket-primary); }

.site-nav-cta {
  background: var(--pocket-button-bg);
  color: var(--pocket-button-text);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.site-nav-cta:hover { background: var(--pocket-accent-hover); }

/* Mobile menu toggle (progressive enhancement via Stimulus) */
.site-nav-toggle {
  display: none;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--pocket-primary);
}
.site-nav-toggle-icon {
  width: 24px; height: 24px;
  align-items: center; justify-content: center;
}
.site-nav-toggle-icon--menu { display: inline-flex; }
.site-nav-toggle-icon--close { display: none; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-icon--menu { display: none; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-icon--close { display: inline-flex; }
.site-nav-toggle-icon svg { display: block; }

.site-mobile-menu {
  display: block;
  background: var(--pocket-pure-white);
  border-bottom: 1px solid var(--pocket-card-border);
  padding: 20px 24px;
}
.site-mobile-menu[hidden] { display: none; }
.site-mobile-menu-link {
  display: flex; align-items: center; min-height: 44px;
  font-size: 15px; text-decoration: none;
  padding: 8px 0; font-weight: 600; color: var(--pocket-blue-dark);
}

/* ── Desktop nav dropdowns (lifecycle hubs + Coverage) ──
   Link + chevron toggle sit side by side (never nested — a <button> can't
   live inside an <a>); the panel is absolutely positioned below both. */
.site-nav-item { position: relative; display: inline-flex; align-items: center; gap: 0; }
.site-nav-dropdown-toggle {
  min-width: 44px; min-height: 44px;
  margin-right: -12px;
  background: none; border: none; cursor: pointer; padding: 4px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--pocket-blue-dark);
  transition: color 0.15s;
}
.site-nav-dropdown-toggle svg {
  transform: translateX(-10px);
  transition: transform 0.15s;
}
.site-nav-dropdown-toggle:hover { color: var(--pocket-primary); }
.site-nav-dropdown-toggle[aria-expanded="true"] { color: var(--pocket-primary); }
.site-nav-dropdown-toggle[aria-expanded="true"] svg { transform: translateX(-10px) rotate(180deg); }

.site-nav-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 12px;
  background: var(--pocket-pure-white);
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pocket-card-radius);
  box-shadow: var(--pocket-card-shadow-hover);
  padding: 20px 24px;
  display: flex; gap: 40px;
  z-index: 50;
}
/* [hidden] and .site-nav-dropdown{display:flex} have equal specificity, and
   the latter comes later in the cascade — without this, the panel ignores
   the hidden attribute and shows open by default. */
.site-nav-dropdown[hidden] { display: none; }
.site-nav-dropdown--mega { left: auto; right: 0; }

.nav-dropdown-col { display: flex; flex-direction: column; gap: 2px; min-width: 200px; }
.nav-dropdown-heading {
  font-family: var(--pocket-font-display);
  font-size: 13px; font-weight: 700; color: var(--pocket-text-strong);
  text-decoration: none; padding-bottom: 8px; margin-bottom: 6px;
  border-bottom: 1px solid var(--pocket-card-border);
  white-space: nowrap;
}
.nav-dropdown-heading:hover { color: var(--pocket-primary); }
.nav-dropdown-link {
  font-size: 14px; color: var(--pocket-blue-dark); text-decoration: none;
  padding: 6px 0; white-space: nowrap;
}
.nav-dropdown-link:hover { color: var(--pocket-primary); }

/* ── Mobile accordion equivalent — inline expand, not an overlapping panel ── */
.site-mobile-menu-item { border-bottom: 1px solid var(--pocket-card-border); }
.site-mobile-menu-item:last-child { border-bottom: none; }
.site-mobile-menu-row { display: flex; align-items: center; justify-content: space-between; }
.site-mobile-menu-row .site-mobile-menu-link { flex: 1; }
.site-mobile-menu-toggle {
  min-width: 44px; min-height: 44px;
  background: none; border: none; cursor: pointer; padding: 12px 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pocket-blue-dark); transition: transform 0.15s;
}
.site-mobile-menu-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.site-mobile-submenu { padding: 0 0 12px 16px; display: flex; flex-direction: column; gap: 16px; }
.site-mobile-submenu[hidden] { display: none; }
.site-mobile-submenu .nav-dropdown-col { min-width: 0; gap: 0; }
.site-mobile-submenu .nav-dropdown-heading { border-bottom: none; padding-bottom: 4px; }
.site-mobile-submenu .nav-dropdown-link { padding: 6px 0; }

@media (max-width: 900px) {
  .site-header-inner { padding: 10px 16px; }
  .site-nav { display: none; }
  .site-nav-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .site-mobile-menu { padding: 8px 16px 16px; }
  .site-mobile-submenu { padding-left: 12px; gap: 8px; }
  .site-mobile-submenu .nav-dropdown-link { min-height: 44px; display: flex; align-items: center; }
}

/* source: footer.css */
/* ============================================================================
   Marketing footer — brand column + link columns + verbatim compliance block,
   modeled on the WordPress site footer with direct.'s deep-blue palette.
   ========================================================================== */

.site-footer {
  background: var(--pocket-footer-bg);
  color: var(--pocket-footer-text);
  font-size: 13px;
  line-height: 1.7;
  padding: 56px 40px 32px;
}

.site-footer-top {
  max-width: var(--pocket-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 48px;
}

/* Brand column */
.site-footer-logo { height: 25px; width: auto; margin-bottom: 16px; display: block; }
.site-footer-tagline { color: rgba(255, 255, 255, 0.75); margin-bottom: 20px; max-width: 240px; }
.site-footer-network {
  display: flex; align-items: center; gap: 6px; font-size: 12px;
  color: rgba(255, 255, 255, 0.75); margin-bottom: 20px;
}
.site-footer-steadfast {
  font-weight: 800; letter-spacing: 0.02em; color: var(--pocket-pure-white); font-size: 14px;
}
.site-footer-social { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer-social-link {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.site-footer-social-link:hover { background: rgba(255, 255, 255, 0.2); color: var(--pocket-pure-white); }

/* Link columns */
.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.site-footer-col { display: flex; flex-direction: column; gap: 8px; }
.site-footer-col-heading {
  font-weight: 700; color: rgba(255, 255, 255, 0.9); margin-bottom: 4px;
}
.site-footer-col a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-col a:hover { color: var(--pocket-pure-white); }

/* Compliance block */
.site-footer-legal {
  max-width: var(--pocket-container);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.site-footer-legal-heading {
  font-weight: 700; color: rgba(255, 255, 255, 0.7); margin-bottom: 6px;
}
.site-footer-legal p { margin-bottom: 12px; }

/* Bottom bar */
.site-footer-bottom {
  max-width: var(--pocket-container);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer-bottom-links { display: flex; gap: 16px; }
.site-footer-bottom-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer-bottom-links a:hover { color: var(--pocket-pure-white); }

@media (max-width: 900px) {
  .site-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-footer { padding: 40px 16px 24px; }
  .site-footer-top { gap: 28px; }
  .site-footer-cols { gap: 20px 16px; }
  .site-footer-legal { margin-top: 32px; }
  .site-footer-bottom { flex-direction: column; }
}

/* source: components.css */
/* ============================================================================
   Components — buttons, cards, hero, CTA, feature/step grids, FAQ accordion.
   Ported from the landing-page layer of direct.'s application.css (~L1511+),
   class names preserved so ported ERB works with minimal edits.
   ========================================================================== */

/* ── Buttons ──
   Pocket's raised button: iskra display face, uppercase, inset top highlight +
   colored drop shadow, lifts on hover. Variants:
     .btn-blue     hero primary  — blue,   hover → lighter blue
     .btn-primary  book-a-call   — orange, hover → blue (on light backgrounds)
     .btn-cta      section CTAs  — orange, hover → darker orange (safe on the
                                   deep-blue band, where blue would vanish)
     .btn-outline  tertiary      — blue outline
*/
.btn-blue,
.btn-primary,
.btn-cta,
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--pocket-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease, color 0.15s ease;
}

.btn-blue,
.btn-primary,
.btn-cta,
.btn-outline,
summary {
  min-height: 44px;
}
.btn-blue:hover,
.btn-primary:hover,
.btn-cta:hover { transform: translateY(-1px); }
.btn-blue:active,
.btn-primary:active,
.btn-cta:active { transform: translateY(0); }

/* Blue — hero "Get a quote" */
.btn-blue {
  background: var(--pocket-primary); color: var(--pocket-pure-white); font-size: 14px; padding: 15px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 119, 179, 0.35);
}
.btn-blue:hover {
  background: var(--pocket-blue-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 7px 18px rgba(0, 119, 179, 0.42);
}

/* Orange, hover → blue — book-a-call CTAs on light backgrounds */
.btn-primary {
  background: var(--orange); color: var(--pocket-button-text); font-size: 14px; padding: 15px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(224, 117, 16, 0.35);
}
.btn-primary:hover {
  background: var(--pocket-primary); color: var(--pocket-pure-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 7px 18px rgba(0, 119, 179, 0.4);
}

/* Orange, hover → darker orange — section + final CTAs (safe on deep blue) */
.btn-cta {
  background: var(--orange); color: var(--pocket-button-text); font-size: 15px; padding: 16px 34px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(224, 117, 16, 0.35);
}
.btn-cta:hover {
  background: var(--orange-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 7px 18px rgba(224, 117, 16, 0.45);
}

/* Tertiary outline */
.btn-outline {
  background: transparent; color: var(--blue); font-size: 14px; padding: 13px 28px;
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--pale-blue); }

/* ── Hero ── */
/* Pale-blue matches the hero photo's baked-in background (#e8f3f7) so the image
   blends into the section instead of reading as a card on a lighter panel. */
.hero {
  background: var(--pocket-header-bg);
  overflow: hidden; position: relative;
}
.hero-inner {
  max-width: var(--pocket-container); margin: 0 auto; padding: 104px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  position: relative; z-index: 2;
}
/* No hero photo (product-less pages like /coverage/, /get-a-quote/, /contact/):
   don't leave .hero-copy squeezed into a single 1fr column sized for an image
   that isn't there — that forces extra text wraps and inflates section height
   for no reason. Let it use most of the width instead. */
.hero-inner--solo { grid-template-columns: 1fr; }
.hero-inner--solo .hero-copy { max-width: 66%; }
.hero-inner--solo .hero-sub { max-width: none; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pocket-blue-dark); background: var(--pale-blue); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 4px; margin-bottom: 24px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.hero-h1 {
  font-size: 60px; font-weight: 800; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--blue); margin-bottom: 24px;
}
.hero-h1 em { font-style: normal; color: var(--pocket-text); }
.hero-sub {
  font-size: 18px; color: var(--text-secondary); line-height: 1.9;
  margin-bottom: 40px; font-weight: 400; max-width: 470px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-card {
  background: var(--pale-blue); border: 1px solid var(--border);
  border-radius: var(--pocket-radius-sm); padding: 36px;
}
.hero-card-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 20px;
}

/* ── Trust bar ── */
.trust-bar { background: var(--blue-deeper); padding: 20px 40px; }
.trust-bar-inner {
  max-width: var(--pocket-container); margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px; font-size: 12px;
  font-weight: 600; color: rgba(231, 243, 248, 0.85); letter-spacing: 0.02em;
}
.trust-check {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center; font-size: 10px;
  flex-shrink: 0; color: var(--pocket-header-bg);
}

/* ── Cards ── */
.card {
  background: var(--pocket-card-bg); border: 1px solid var(--pocket-card-border);
  border-radius: var(--pocket-card-radius); box-shadow: var(--pocket-card-shadow);
  padding: var(--pocket-card-padding);
}

.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--pocket-card-radius); padding: var(--pocket-card-padding);
  text-decoration: none;
}
.feature-title { font-size: 16px; font-weight: 700; color: var(--pocket-text-strong); margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* Related-content band — reuses the .feature-card shell as a clickable link.
   Hover (shared with .link-grid-card) lives in sections.css next to
   --pocket-card-shadow-hover. */
.related-card { display: block; text-decoration: none; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.related-card .section-eyebrow { margin-bottom: 8px; }
.related-card .feature-title { font-size: 18px; }

.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue);
  color: var(--pocket-pure-white); font-weight: 700; font-size: 18px; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--pocket-text-strong); margin-bottom: 8px; }
.step-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }

/* ── Coverage card ── */
.coverage-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--pocket-card-radius); padding: var(--pocket-card-padding); transition: border-color 0.15s;
}
.coverage-card:hover { border-color: var(--blue); }
.cov-title { font-size: 16px; font-weight: 700; color: var(--pocket-text); margin-bottom: 8px; letter-spacing: -0.01em; }
.cov-limit { font-size: 20px; font-weight: 800; color: var(--blue); margin-bottom: 10px; letter-spacing: -0.02em; }
.cov-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ── CTA band ── */
.cta-section { background: var(--blue-deeper); padding: 80px 40px; position: relative; overflow: hidden; }
.cta-inner {
  max-width: var(--pocket-container); margin: 0 auto; display: grid;
  grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.cta-h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.025em; color: var(--pocket-pure-white); line-height: 1.1; margin-bottom: 12px; }
.cta-sub { font-size: 16px; color: rgba(231, 243, 248, 0.7); line-height: 1.6; }
.cta-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ── FAQ accordion — native <details>/<summary>, no JS (as direct.) ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  font-size: 17px; font-weight: 700; color: var(--pocket-text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item > summary:hover { color: var(--pocket-primary); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--blue);
  flex-shrink: 0; transition: transform 0.15s;
}
.faq-item[open] > summary::after { content: "\2212"; } /* minus */
.faq-answer {
  padding: 0 0 24px; font-size: 16px; color: var(--text-secondary); line-height: 1.9;
}

/* ── Hero media ── */
.hero-copy, .hero-media { min-width: 0; }
.hero-media { display: flex; justify-content: center; }
.hero-photo {
  width: 100%; max-width: 520px; height: auto;
}

/* ── Lifecycle blocks (alternating image / text) ── */
.lifecycle-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
  padding: 52px 0;
}
.lifecycle-block--reverse .lifecycle-media { order: 2; }
.lifecycle-media { display: flex; justify-content: center; }
.lifecycle-photo {
  width: 100%; max-width: 420px; height: auto;
}
.lifecycle-heading { font-size: 34px; margin-bottom: 16px; line-height: 1.2; }
.lifecycle-body p { color: var(--pocket-text-secondary); font-size: 17px; line-height: 1.85; }
.lifecycle-need { margin-top: 12px; }
.lifecycle-need strong { color: var(--pocket-text); }
.lifecycle-link {
  display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14px;
  color: var(--pocket-primary); text-decoration: none;
}
.lifecycle-link:hover { color: var(--pocket-blue-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ── Why businesses choose Pocket ── */
.why-section { background: var(--pocket-header-bg); padding: var(--pocket-section-padding) 0; }
.why-compare {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--pocket-card-gap);
}
.why-card {
  background: var(--pocket-white); border: 1px solid var(--pocket-border);
  border-radius: var(--pocket-card-radius); padding: var(--pocket-card-padding);
}
.why-card-heading { font-size: 15px; font-weight: 700; color: var(--pocket-text); margin-bottom: 20px; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.why-list li {
  display: flex; align-items: center; gap: 12px; font-size: 15px;
  color: var(--pocket-text-secondary); line-height: 1.6;
}
.why-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.why-icon--yes { background: var(--pocket-primary); color: var(--pocket-pure-white); }
.why-icon--no  { background: var(--pocket-accent); color: var(--pocket-pure-white); }
.why-alt {
  max-width: 760px; margin: 40px auto 0; text-align: center;
  font-size: 14px; color: var(--pocket-text-secondary); line-height: 1.75;
}
.why-cta { text-align: center; margin-top: 32px; }

/* ── How Pocket works (step cards with photos) ── */
/* No card border/background — just the photo + text on the section, so nothing
   crowds an edge. */
.step-card { padding: 0; background: transparent; border: none; text-align: left; }
/* The photos carry Pocket's pocket-shaped crop baked in (on white), so show
   them at natural aspect with no CSS crop or rounding. */
.step-photo {
  width: 100%; height: auto; display: block; margin-bottom: 12px;
}
.step-heading { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 40px;
}
.steps-cta { text-align: center; margin-top: 40px; }

/* ── How Pocket works for you (image + accordion) — on white ── */
.works-for-you-inner {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start;
}
.works-photo {
  width: 100%; max-width: 420px; height: auto; position: sticky; top: 24px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 20px;
  }
  .hero-inner--solo .hero-copy { max-width: none; }
  .cta-inner { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .hero-h1 { font-size: 36px; }
  .hero-photo { max-width: 420px; }
  .cta-section { padding: 48px 20px; }
  .lifecycle-block, .works-for-you-inner { grid-template-columns: 1fr; gap: 28px; }
  .lifecycle-block--reverse .lifecycle-media { order: 0; }
  .why-compare { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .works-photo { position: static; }
}

@media (max-width: 768px) {
  .btn-blue,
  .btn-primary,
  .btn-cta,
  .btn-outline {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-actions > a { width: 100%; }
  .hero-inner { gap: 32px; padding: 40px 16px 48px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-h1 { font-size: 32px; margin-bottom: 16px; }
  .hero-sub { font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
  .hero-actions { gap: 12px; }
  .hero-photo { max-width: 300px; }

  .home-lifecycle-section { padding-top: 40px; padding-bottom: 40px; }
  .lifecycle-block { gap: 24px; padding: 32px 0; }
  .lifecycle-block:first-child { padding-top: 0; }
  .lifecycle-block:last-child { padding-bottom: 0; }
  .lifecycle-body { order: 1; }
  .lifecycle-media,
  .lifecycle-block--reverse .lifecycle-media { order: 2; }
  .lifecycle-photo { max-width: 280px; }
  .lifecycle-heading { font-size: 28px; margin-bottom: 12px; }
  .lifecycle-body p { font-size: 16px; line-height: 1.7; }

  .why-section { padding: var(--pocket-section-padding-mobile) 0; }
  .why-card { padding: 24px; }
  .why-alt { margin-top: 32px; }

  .steps-grid { gap: 24px; margin-top: 32px; }
  .step-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .step-photo { width: 108px; margin-bottom: 0; }
  .step-heading { margin-bottom: 6px; }
  .step-desc { font-size: 14px; line-height: 1.6; }
  .steps-cta { margin-top: 32px; }

  .works-for-you-inner { gap: 28px; }
  .works-body { order: 1; }
  .works-media { order: 2; display: flex; justify-content: center; }
  .works-photo { max-width: 280px; }

  .faq-item > summary { padding: 18px 0; }
  .faq-answer { padding-bottom: 18px; line-height: 1.7; }

  .cta-section { padding: 40px 16px; }
  .cta-h2 { font-size: 32px; }
  .cta-inner { gap: 24px; padding: 0; }
  .cta-actions > a { width: 100%; }
}

/* ── Consent banner — fixed to the bottom, above everything, until a choice
   is made (Stimulus toggles [hidden]; see consent_controller.js). ── */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--pocket-white); border-top: 1px solid var(--pocket-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.consent-banner-inner {
  max-width: var(--pocket-container); margin: 0 auto; padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.consent-banner-text { font-size: 14px; line-height: 1.6; color: var(--pocket-text-secondary); margin: 0; }
.consent-banner-text a { color: var(--pocket-link); text-decoration: underline; text-underline-offset: 2px; }
.consent-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.consent-banner-actions .btn-outline,
.consent-banner-actions .btn-primary { min-width: 88px; min-height: 44px; padding: 10px 20px; font-size: 14px; }

/* While the banner is showing (consent_controller removes [hidden] for visitors
   who haven't chosen), reserve its height at the bottom of the page so the
   fixed banner never sits over the footer or a page's closing CTA. Removed the
   moment a choice is made — no lingering gap. */
body:has(.consent-banner:not([hidden])) { padding-bottom: 96px; }

@media (max-width: 768px) {
  .consent-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .consent-banner-actions { justify-content: flex-end; }
  body:has(.consent-banner:not([hidden])) { padding-bottom: 176px; }
}

/* source: sections.css */
/* ============================================================================
   Structured page sections (shared/sections/_*) — the composable layout system
   that rebuilt WP/Elementor pages are assembled from. Built on the same tokens
   as the rest of the site.
   ========================================================================== */

/* Alternating section bands */
.section-band { padding: var(--pocket-section-padding) 0; }
.section-band--white { background: var(--pocket-pure-white); }
.section-band--tint  { background: var(--pocket-header-bg); }

/* Left-aligned band intro — sits at the top of the following content band.
   Also reused directly (no wrapper) by .checklist's heading, and with the
   --narrow modifier by the home page's "Why choose Pocket" head — same box
   model, different content shape. Left-aligned site-wide (was centred). */
.section-header { text-align: left; max-width: 760px; margin: 0 0 48px; }
.section-header--narrow { max-width: 640px; }
.section-header-sub {
  font-family: var(--pocket-font-display);
  color: var(--pocket-primary); font-size: 19px; font-weight: 700; margin-top: 2px;
}
.section-band .section-header:only-child,
.section-band > .container > .section-header:last-child { margin-bottom: 0; }

/* ── Split card: rich body + side card ── */
.split-card {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.split-card-heading { font-size: 30px; margin-bottom: 16px; line-height: 1.2; }
.split-card-subheading { margin: 22px 0 8px; }
.split-card-subheading strong { color: var(--pocket-text); }
.split-card-cta { margin-top: 24px; }

/* Body prose inside a section (lists, paragraphs) — airy, matching the WP site */
.prose-tight { font-size: 17px; line-height: 1.9; color: var(--pocket-text-secondary); }
.prose-tight ul, .prose-tight ol { padding-left: 1.3rem; margin: 0.5rem 0; }
.prose-tight li { margin: 0.45rem 0; }
.prose-tight p { margin: 0 0 1.1rem; }
.prose-tight strong { color: var(--pocket-text); }

/* The side "What X covers" card */
.split-card-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--pocket-card-gap); }

/* Cards-only variant (no left body) — lay the cards out as an equal-width row
   instead of a narrow sidebar. Same row treatment applies when a body IS
   present but there are 3+ cards (--many-cards): the body just sits full
   width above the row instead of being dropped. */
.split-card--cards-only,
.split-card--many-cards,
.split-card--cta-cards { grid-template-columns: 1fr; max-width: none; }
.split-card--cards-only .split-card-aside,
.split-card--many-cards .split-card-aside,
.split-card--cta-cards .split-card-aside {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.split-card--cards-only .split-card-aside .cover-card,
.split-card--many-cards .split-card-aside .cover-card,
.split-card--cta-cards .split-card-aside .cover-card { max-width: none; }
/* Opt-in fixed column count (frontmatter `columns:`) — pins the card row to N
   equal columns instead of the auto-fit flow, e.g. 4 cards as a 2×2 grid. */
.split-card--cols-2 .split-card-aside { grid-template-columns: repeat(2, 1fr); }
.split-card--many-cards .split-card-body { max-width: 760px; margin: 0 auto; }
.split-card--many-cards .split-card-aside { margin-top: 40px; }
.split-card--cta-cards .split-card-body { text-align: center; }
.split-card--cta-cards .split-card-cta { margin-top: 0; }
.cover-card {
  background: var(--pocket-white);
  border: 1px solid var(--pocket-border);
  border-radius: var(--pocket-card-radius);
  padding: var(--pocket-card-padding);
  box-shadow: var(--pocket-card-shadow);
}
.section-band--white .cover-card { background: var(--pocket-header-bg); border-color: transparent; box-shadow: none; }
.cover-card-icon {
  width: 46px; height: 46px; border-radius: var(--pocket-radius-sm);
  background: var(--pocket-primary); color: var(--pocket-pure-white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.cover-card-title {
  font-family: var(--pocket-font-display);
  font-size: 19px; font-weight: 700; color: var(--pocket-text); margin-bottom: 12px;
}
.cover-card-body { font-size: 15px; line-height: 1.8; color: var(--pocket-text-secondary); }
.cover-card-body ul { padding-left: 1.1rem; margin: 0; }
.cover-card-body li { margin: 0.3rem 0; }

/* ── Link grid: grouped product-link cards (coverage index pages) ── */
.link-grid { display: flex; flex-direction: column; gap: 64px; }
.link-grid-group-heading { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.link-grid-group-sub { font-size: 17px; color: var(--pocket-text-secondary); margin-bottom: 28px; }
.link-grid-cards { margin-top: 0; }
.link-grid-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--pocket-white);
  border: 1px solid var(--pocket-border);
  border-radius: var(--pocket-card-radius);
  padding: var(--pocket-card-padding);
  box-shadow: var(--pocket-card-shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
/* Shared "lift" hover — identical to .related-card:hover (components.css);
   grouped here so the shadow/lift treatment has one definition. */
.link-grid-card:hover,
.related-card:hover {
  border-color: var(--pocket-primary);
  box-shadow: var(--pocket-card-shadow-hover);
  transform: translateY(-2px);
}
.link-grid-card .cover-card-icon { margin-bottom: 16px; }
.link-grid-card-title {
  font-family: var(--pocket-font-display);
  font-size: 19px; font-weight: 700; color: var(--pocket-text); margin-bottom: 12px;
}
.link-grid-card-body { font-size: 15px; line-height: 1.8; color: var(--pocket-text-secondary); }

/* ── FAQ section ── */
.faq-section .section-header { margin-bottom: 28px; }
.faq-list--wide { max-width: 820px; margin: 0 auto; }

/* ── Checklist: numbered reasons list ── */
/* Heading uses .section-header directly (see above) — identical box model. */
.checklist-items {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 56px;
  max-width: 900px; margin: 0 auto;
}
.checklist-item { display: flex; align-items: flex-start; gap: 20px; }
.checklist-num {
  font-family: var(--pocket-font-display);
  font-size: 40px; font-weight: 700; color: var(--pocket-primary);
  line-height: 1; flex-shrink: 0;
}
.checklist-text { font-size: 17px; line-height: 1.6; color: var(--pocket-text); padding-top: 6px; }

/* ── Lifecycle stepper ── */
.stepper-cards { margin-top: 8px; }
.stepper-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--pocket-white);
  border: 1px solid var(--pocket-border);
  border-radius: var(--pocket-card-radius);
  padding: var(--pocket-card-padding);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.stepper-card:not(.is-current):hover {
  border-color: var(--pocket-primary);
  box-shadow: var(--pocket-card-shadow-hover);
}
/* Was background: var(--pocket-header-bg) + a transparent border — identical
   to .section-band--tint's own background, so on a tinted band the "current
   stage" card was invisible (no border, no contrast). A visible primary-blue
   border marks it as current regardless of which band it lands on. */
.stepper-card.is-current {
  background: var(--pocket-white);
  border-color: var(--pocket-primary);
  box-shadow: var(--pocket-card-shadow);
}
/* A completed stage still links forward (so the card grid is never a dead
   end) but reads as "done" via a muted label rather than a different
   background — keeps it legible on both white and tinted bands. */
.stepper-card.is-complete .stepper-card-label { color: var(--pocket-text-tertiary); }
.stepper-card-label {
  font-family: var(--pocket-font-display);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--pocket-primary); margin-bottom: 10px;
}
.stepper-card-desc { font-size: 15px; line-height: 1.6; color: var(--pocket-text-secondary); }

/* ── Embed: third-party widget iframe (Fillout forms, SavvyCal booking) ── */
.embed-wrap {
  position: relative;
  width: 100%;
  min-height: 600px;
  margin: 0 auto;
}
.embed-wrap iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border: 0;
  background: var(--pocket-pure-white);
}
.embed-loading {
  position: absolute;
  inset: 48px 0 auto;
  margin: 0;
  color: var(--pocket-text-secondary);
  font-weight: 700;
  text-align: center;
}

/* ── Scenario-figure asterisk reference link (coverage pages, #scenarios) ──
   Overrides .prose a's underline (needs equal-or-higher specificity to win) —
   the asterisk itself shouldn't look like a regular inline link. */
.prose a.scenario-ref { text-decoration: none; }

@media (max-width: 900px) {
  .split-card { grid-template-columns: 1fr; gap: 28px; }
  .split-card-aside { position: static; }
  .split-card--cols-2 .split-card-aside { grid-template-columns: 1fr; }
  .link-grid-group-heading { font-size: 28px; }
  .checklist-items { grid-template-columns: 1fr; gap: 24px; }
  .stepper-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-band { padding: var(--pocket-section-padding-mobile) 0; }
  .section-header { margin-bottom: 32px; }
  .link-grid { gap: 32px; }
  .link-grid-group-sub { margin-bottom: 20px; }
  .split-card { gap: 24px; }
  .split-card-heading { font-size: 27px; }
  .split-card--many-cards .split-card-aside { margin-top: 32px; }
  .cover-card,
  .link-grid-card,
  .stepper-card { padding: 24px; }
  .checklist-items { gap: 20px; }
  .checklist-item { gap: 16px; }
}

/* source: insights.css */
/* ============================================================================
   Insights (blog) — index layout (post grid + recent-posts sidebar) and the
   individual post layout (article + sticky recent-posts sidebar). Guides
   render through the exact same templates (merged into one content type).

   The .insight-layout/.insight-sidebar-* shape and classes are also reused
   as-is by legals-and-compliance pages (content_pages/show.html.erb) for
   their "Help and links" sidebar — same "article + sticky link list" shape,
   no need for a second near-identical set of classes.
   ========================================================================== */

/* ── Shared sidebar widget (insights index/post, legals pages) ── */
.insight-sidebar-sticky { position: sticky; top: 24px; }
.insight-sidebar-heading {
  font-family: var(--pocket-font-display);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--pocket-primary); padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--pocket-card-border);
}
.insight-sidebar-link {
  display: block; font-size: 14px; line-height: 1.5; color: var(--pocket-blue-dark);
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--pocket-card-border);
}
.insight-sidebar-link:last-child { border-bottom: none; }
.insight-sidebar-link:hover { color: var(--pocket-primary); }
.insight-sidebar-link.is-current { color: var(--pocket-text); font-weight: 700; }

/* ── Index: post grid (2 cols) + sidebar (1 col) ── */
.insights-index-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }

/* ── Individual post: article (wide) + sidebar (narrow) ── */
.insight-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.insight-header { margin-bottom: 32px; }
.insight-title {
  font-family: var(--pocket-font-display);
  font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  margin: 10px 0 16px;
}
.insight-byline {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--pocket-text-secondary);
}

/* ── Breadcrumb trail (legals-and-compliance pages only) — matches the
   "Help and links" sidebar heading treatment (small, bold, uppercase,
   letter-spaced) rather than plain default link styling; unstyled before. ── */
.breadcrumbs {
  font-family: var(--pocket-font-display);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.breadcrumbs a { color: var(--pocket-blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumbs a:hover { color: var(--pocket-primary); }
.breadcrumbs span[aria-current] { color: var(--pocket-text-strong); }

/* ── /sitemap/ — the human-readable HTML sitemap ──
   Same .insight-sidebar-heading/.insight-sidebar-link classes as the widget
   above, just laid out as several standalone columns instead of one sidebar. */
.sitemap-groups {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
  align-items: start; margin-top: 8px;
}

@media (max-width: 900px) {
  .insights-index-layout, .insight-layout { grid-template-columns: 1fr; }
  .insight-sidebar-sticky { position: static; }
  .insight-title { font-size: 32px; }
  .sitemap-groups { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sitemap-groups { grid-template-columns: 1fr; }
  .insight-header { margin-bottom: 24px; }
  .insight-title { font-size: 30px; }
  .insights-index-layout,
  .insight-layout { gap: 32px; }
  .sitemap-groups { gap: 28px; }
}

/* source: forms.css */
/*
 * First-party form styling.
 *
 * Ported from the quote flow in pocketbuilder (app/assets/tailwind/application.css)
 * so the two apps look and feel like one product. Class names are deliberately the
 * same — .pk-field, .pk-label, .pk-input-wrap, .quote-two-col, .q-side-panel — so a
 * developer moving between the repos reads the same vocabulary.
 *
 * Three deliberate differences from pocketbuilder:
 *
 *  1. The canvas is white, and the progress strip is separated by a border rather
 *     than a tint fill.
 *  2. The left column carries no card border or shadow. The form is the page.
 *  3. Hint and secondary text use #4A6070, not pocketbuilder's #7A96A8. On white
 *     that lighter grey is 3.1:1, under the 4.5:1 axe requires for body text, and
 *     the a11y spec here has no exclusion for our own markup.
 *
 * Fonts are inherited rather than restated. pocketbuilder writes its font stack as
 * var(--font-body, …) so each broker theme supplies its own; this app's theme is
 * Merriweather Sans + iskra, so inheriting is what "use the pocketbuilder
 * definitions" actually means.
 *
 * Also honoured: two breakpoints only (768/900), no inline styles anywhere (CSP
 * style-src has no 'unsafe_inline'), 44px minimum touch targets.
 */

:root {
  --pk-error: #dc2626;
  --pk-error-dark: #b91c1c;
  --pk-error-bg: #fef2f2;
  --pk-radius: 8px;
  /* Dark enough for white text on the success banner to clear 4.5:1. */
  --pk-green: #147a4a;
  --pk-green-light: #e6f7f0;
  --pk-green-border: #8ad4b3;
  --pk-max: 1200px;
  --pk-col-gap: 40px;
}

/* ── canvas ──────────────────────────────────────────────────────────────── */

.form-canvas {
  background: var(--pocket-pure-white);
}

/* ── full-width progress strip ───────────────────────────────────────────── */

.quote-progress-wrap {
  background: var(--pocket-pure-white);
  border-bottom: 1px solid var(--pocket-card-border);
  padding: 16px 40px;
}

.quote-progress-inner {
  /* Align the step label and bar to the form content below, not the two-col box:
   * the content sits inside the 1200 box's 40px gutters (1120), so the strip is
   * capped to match rather than running 40px wider on each side. */
  max-width: calc(var(--pk-max) - 80px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quote-progress-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--pocket-text-secondary);
}

.quote-progress-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  /* Tight against the step label, as in pocketbuilder — the default paragraph
   * margin was opening a large gap between the two lines. */
  margin: 1px 0 0;
  color: var(--pocket-primary);
}

/* A native <progress>. The fill is a fraction only the server knows, and CSP
 * style-src has no 'unsafe_inline', so it cannot be a style attribute — it used
 * to be one class per step ("--2-of-3"), which meant a form longer than three
 * pages matched nothing and rendered as complete on step one. A quote with
 * line-of-business pages can be any length. */
.quote-progress-track {
  width: 360px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--pocket-card-border);
  /* Firefox colours the fill with this rather than ::-moz-progress-bar alone. */
  color: var(--pocket-primary);
}

.quote-progress-track::-webkit-progress-bar {
  background: var(--pocket-card-border);
}

.quote-progress-track::-webkit-progress-value {
  background: var(--pocket-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.quote-progress-track::-moz-progress-bar {
  background: var(--pocket-primary);
  border-radius: 2px;
}

/* ── two-column grid ─────────────────────────────────────────────────────── */

.quote-two-col {
  /* Match the site canvas exactly: a --pk-max (1200px) outer with a 40px gutter,
   * the same as .container. Previously this was --pk-max + 80px, which pushed the
   * form 40px past each site edge — wider than the nav and footer above/below it. */
  max-width: var(--pk-max);
  margin: 0 auto;
  padding: 40px 40px 56px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  align-items: start;
}

.quote-two-col > :first-child {
  padding-right: var(--pk-col-gap);
  min-width: 0;
}

.quote-two-col > :last-child {
  padding-left: var(--pk-col-gap);
  position: sticky;
  top: 24px;
  align-self: start;
  min-width: 0;
}

/* The left column is the page, not a card sitting on it — no border, no shadow. */
.q-form-main {
  background: transparent;
  border: 0;
  padding: 0;
}

.q-form-card-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--pocket-primary);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-family: var(--pocket-font-display);
  line-height: 1.15;
}

.q-form-card-subtitle {
  font-size: 14px;
  color: var(--pocket-text-secondary);
  margin: 0 0 32px;
  line-height: 1.6;
}

/* ── error summary ───────────────────────────────────────────────────────── */

.form-errors {
  border: 1px solid var(--pk-error);
  border-left-width: 4px;
  border-radius: var(--pk-radius);
  background: var(--pk-error-bg);
  padding: 18px 22px;
  margin-bottom: 28px;
}

.form-errors-title {
  font-family: var(--pocket-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--pk-error-dark);
  margin: 0 0 8px;
}

.form-errors-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pocket-text);
}

.form-errors-list a {
  color: var(--pk-error-dark);
  font-weight: 700;
}

/* ── fields ──────────────────────────────────────────────────────────────── */

.form-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── occupation search ───────────────────────────────────────────────────── */

/* Hidden until its controller connects, so it never appears as dead furniture
   beside the fields that work without it. */
.pk-occupation {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  position: relative;
  margin-top: 8px;
}

.pk-occupation[hidden] {
  display: none;
}

.pk-occupation-results {
  list-style: none;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--pocket-card-border);
  border-radius: 8px;
  background: var(--pocket-pure-white);
  max-height: 260px;
  overflow-y: auto;
}

.pk-occupation-results[hidden] {
  display: none;
}

.pk-occupation-result {
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.pk-occupation-result:hover,
.pk-occupation-result[aria-selected="true"] {
  background: var(--pocket-tint);
}

/* A named group of questions on a long page. A line-of-business page runs to
 * dozens of questions and reads as a wall without these — General Liability has
 * ten sections. The rule above the heading does the separating, so the group
 * needs no card or border of its own. */
.q-form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.q-form-section[hidden] {
  display: none;
}

.q-form-section-title {
  font-family: var(--pocket-font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pocket-primary);
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--pocket-card-border);
}

/* The first section on a page sits directly under the lead, which already has
 * its own spacing. */
.form-body > .q-form-section:first-child .q-form-section-title {
  padding-top: 0;
  border-top: 0;
  margin-top: 0;
}

.pk-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* A conditional field that does not apply is rendered with `hidden`. Both classes
   below set `display`, and an author rule beats the user agent's
   `[hidden] { display: none }` — so without this the field is hidden to the
   accessibility tree and still painted on the page. */
.pk-field[hidden],
.pk-fieldset[hidden] {
  display: none;
}

.pk-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  /* A <fieldset> defaults to min-width: min-content, which lets a wide child (the
   * directors table) push the whole page wide instead of scrolling inside its
   * own box. Reset it so .pk-table-scroll can do its job. */
  min-width: 0;
}

.pk-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pocket-text);
  line-height: 1.5;
  user-select: none;
  padding: 0;
}

.pk-required {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--pocket-text-secondary);
  margin-left: 6px;
}

.pk-description {
  font-size: 0.8125rem;
  color: var(--pocket-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.pk-error {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pk-error);
  line-height: 1.5;
  margin: 0;
}

.pk-note {
  font-size: 0.8125rem;
  color: var(--pocket-text-secondary);
  font-style: italic;
  margin: 0;
}

/*
 * ABN/ACN lookup enhancement. The button and status line are revealed by the
 * Stimulus controller on connect (they render with the `hidden` attribute), so
 * with JavaScript off there is nothing here and the ABN field above stands
 * alone. Modelled on .q-btn-back — a secondary outline button, 44px target.
 * Text uses --pocket-blue-dark, which clears 4.5:1 on white.
 */
/* The ABN input and its Search button share a line. The field becomes a grid and
 * the enhancement's own box dissolves (display: contents) so its children — the
 * search row, the status, the card — flow straight into that grid. The label,
 * status and card stay full width; only the input and the Search button sit in a
 * row together. */
.pk-field:has(> .abn-lookup) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 12px;
  row-gap: 8px;
}

.abn-lookup {
  display: contents;
}

.pk-field:has(> .abn-lookup) > .pk-label,
.pk-field:has(> .abn-lookup) > .pk-description,
.pk-field:has(> .abn-lookup) > .pk-error,
.pk-field:has(> .abn-lookup) > .pk-note,
.abn-lookup__status,
.abn-card {
  grid-column: 1 / -1;
}

.pk-field:has(> .abn-lookup) > .pk-input-wrap {
  grid-column: 1;
}

.abn-lookup__search {
  grid-column: 2;
}

/* Fields the register answers, folded away when the client has an ABN — display
 * only, so they stay enabled and submitted (a display:none field still posts). */
.is-abn-folded {
  display: none;
}

.abn-lookup__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Once the register has matched, the card stands in for the question: the label
 * and the number the client typed are folded away, because the card already says
 * both and better. Hiding rather than removing keeps the input in the form, so it
 * is still submitted and still what a validation failure re-renders.
 *
 * Only the label and the input wrapper are hidden — .abn-lookup is a sibling of
 * neither, so the card itself stays visible. */
.pk-field.is-resolved > .pk-label,
.pk-field.is-resolved > .pk-input-wrap,
.pk-field.is-resolved > .pk-description {
  display: none;
}

/* The confirmation card the lookup swaps in. A client who sees their own
 * registered name, type and status trusts the fields we filled underneath — and
 * one who sees the wrong company can say so before answering forty more
 * questions. Ported from pocketbuilder's _abn_lookup card. */
.abn-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--pocket-tint);
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pk-radius);
}

.abn-card[hidden] {
  display: none;
}

.abn-card__body {
  font-size: 13px;
  line-height: 1.7;
}

.abn-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--pocket-blue-dark);
  margin: 0;
}

.abn-card__line {
  color: var(--pocket-text-secondary);
  margin: 0;
}

.abn-card__line[hidden] {
  display: none;
}

.abn-card__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.abn-card__glyph {
  width: 20px;
  height: 20px;
  color: var(--pocket-text-secondary);
}

.abn-card__change {
  font-family: var(--pocket-font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--pocket-primary);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.abn-card__change:hover {
  color: var(--pocket-blue-dark);
}

.abn-lookup__trigger {
  font-family: var(--pocket-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--pocket-blue-dark);
  background: none;
  border: 2px solid var(--pocket-card-border);
  padding: 10px 20px;
  border-radius: var(--pk-radius);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.abn-lookup__trigger:hover {
  border-color: var(--pocket-primary);
}

.abn-lookup__trigger:disabled {
  opacity: 0.6;
  cursor: default;
}

.abn-lookup__status {
  font-size: 0.8125rem;
  color: var(--pocket-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.address-autocomplete__hint {
  font-size: 0.8125rem;
  color: var(--pocket-text-secondary);
  line-height: 1.5;
  margin: 8px 0 0;
}

/* The search-first fold. Two classes rather than the `hidden` attribute, because
 * the conditional controller owns hidden/disabled for the cover-kind gate on the
 * residential address and the two must not toggle the same property.
 *
 * The street field this enhancement lives inside keeps its search box — a sibling
 * of the label and input — so only those two fold; the rest of the group folds
 * away entirely until an address is chosen or manual entry is picked. */
.pk-field.is-address-searching > .pk-label,
.pk-field.is-address-searching > .pk-input-wrap,
.pk-field.is-address-searching > .pk-description {
  display: none;
}

.is-address-folded {
  display: none;
}

.address-autocomplete__manual {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pocket-blue-dark);
  background: none;
  border: none;
  padding: 8px 0 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.address-autocomplete__manual:hover {
  color: var(--pocket-primary);
}

.address-autocomplete__reset {
  font-family: var(--pocket-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--pocket-blue-dark);
  background: none;
  border: 1px solid var(--pocket-card-border);
  padding: 8px 14px;
  border-radius: var(--pk-radius);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-top: 12px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.address-autocomplete__reset:hover {
  border-color: var(--pocket-primary);
  color: var(--pocket-primary);
}

/* display:inline-flex above outweighs the UA `[hidden] { display: none }`, so the
   attribute needs restating at matching specificity or the button never hides. */
.address-autocomplete__reset[hidden] {
  display: none;
}

.address-autocomplete__icon {
  width: 15px;
  height: 15px;
}

/*
 * Google Places predictions dropdown. The Maps widget injects its own
 * stylesheet, which strict style-src (no 'unsafe_inline') blocks — so the
 * predictions would otherwise be unstyled. Its positioning is set inline via
 * element.style (CSSOM, which CSP does not govern) and still works, so we only
 * need to supply the look. Google's own "powered by Google" logo rides on the
 * blocked stylesheet too, so the attribution is carried in the field hint text.
 */
.pac-container {
  background: var(--pocket-pure-white);
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pk-radius);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  margin-top: 4px;
  overflow: hidden;
  font-family: var(--pocket-font-body);
  z-index: 1000;
}

.pac-item {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--pocket-text);
  cursor: pointer;
  border-top: 1px solid var(--pocket-card-border);
}

.pac-item:first-child {
  border-top: 0;
}

.pac-item:hover,
.pac-item-selected {
  background: var(--pocket-pale-blue);
}

.pac-item-query {
  font-weight: 600;
  color: var(--pocket-text-strong);
  margin-right: 4px;
}

/* Google's sprite icon rides on the blocked stylesheet; hide the empty box. */
.pac-icon {
  display: none;
}

/* ---- Percentage split (state revenue, work location) ---- */
.pk-split {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pk-split-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pk-split-label {
  flex: 1;
  font-size: 14px;
  color: var(--pocket-text);
  line-height: 1.4;
}

.pk-split-input-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 96px;
  flex-shrink: 0;
}

.pk-split-input {
  text-align: right;
  padding-right: 26px;
}

.pk-split-suffix {
  position: absolute;
  right: 12px;
  color: var(--pocket-text-secondary);
  font-size: 14px;
  pointer-events: none;
}

/* ---- Repeating table (directors, etc.) ---- */
/* Scrolls inside its own box on narrow screens so the page itself never gets a
 * horizontal scrollbar (asserted by the responsive spec). */
.pk-table-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.pk-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.pk-table-th {
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pocket-text-secondary);
  padding: 0 8px 6px 0;
  white-space: nowrap;
}

.pk-table-td {
  padding: 0 8px 8px 0;
  vertical-align: top;
}

.pk-table-td:last-child,
.pk-table-th:last-child {
  padding-right: 0;
}

/*
 * The wrapper carries the inset background and the focus ring; the input itself is
 * transparent. That's pocketbuilder's technique, and it means the ring can sit
 * outside the border without shifting layout.
 */
.pk-input-wrap {
  position: relative;
  display: block;
  width: 100%;
}

/* A date input is narrow (260px), so its wrapper — which paints the background and
   shadow — has to be narrow too, or the shadow runs the full column width past the
   input. */
.pk-input-wrap--date {
  max-width: 260px;
}

.pk-input-wrap::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--pk-radius) - 1px);
  background: var(--pocket-pure-white);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.pk-input-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--pk-radius);
  pointer-events: none;
  transition: box-shadow 120ms ease;
}

.pk-input-wrap:focus-within::after {
  /* A thin crisp edge plus a faint halo, rather than a bold 2px ring. */
  box-shadow: 0 0 0 1px var(--pocket-primary), 0 0 0 4px rgba(0, 119, 179, 0.14);
}

.pk-input-wrap.is-invalid::after {
  box-shadow: 0 0 0 2.5px var(--pk-error);
}

.pk-input,
.pk-select,
.pk-textarea {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  appearance: none;
  border-radius: var(--pk-radius);
  padding: calc(0.625rem - 1px) calc(0.875rem - 1px);
  font-size: 0.9375rem; /* 15px — under 16px iOS zooms, so this is the floor */
  font-family: inherit;
  line-height: 1.5rem;
  color: var(--pocket-text);
  background: transparent;
  border: 1px solid var(--pocket-card-border);
  outline: none;
  transition: border-color 120ms ease;
}

/* 16px on small screens specifically, to stop iOS Safari zooming on focus. */
@media (max-width: 768px) {
  .pk-input,
  .pk-select,
  .pk-textarea {
    font-size: 1rem;
  }
}

.pk-input::placeholder,
.pk-textarea::placeholder {
  color: var(--pocket-text-secondary);
}

.pk-input:hover:not(:focus),
.pk-select:hover:not(:focus),
.pk-textarea:hover:not(:focus) {
  border-color: var(--pocket-primary);
}

.pk-input.is-invalid,
.pk-select.is-invalid,
.pk-textarea.is-invalid {
  border-color: var(--pk-error);
}

.pk-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.6;
}

.pk-input--date {
  max-width: 260px;
  /* Pocketbuilder's .datepicker-input-btn reads as a chosen value, not an empty
     text box — the weight is what carries that. The border, halo and focus ring
     already come from .pk-input / .pk-input-wrap, so the two match without a
     second control or any JavaScript. */
  font-weight: 600;
}

/* The native calendar affordance is the correct trigger — it is keyboard-operable
   and works with JavaScript off — so it is tinted to the palette rather than
   replaced with a popup. WebKit/Blink expose the indicator; Firefox keeps its own
   and is unaffected. A larger clickable target than the browser default, since the
   whole field reads as a button. */
.pk-input--date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 4px;
  margin-left: 4px;
  border-radius: 4px;
  opacity: 0.65;
  transition: opacity 120ms ease, background-color 120ms ease;
}

.pk-input--date::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background-color: var(--pocket-tint);
}

.pk-select {
  /* Chevron drawn with gradients: no asset, and no data: URI in a stylesheet. */
  background-image:
    linear-gradient(45deg, transparent 50%, var(--pocket-text-secondary) 50%),
    linear-gradient(135deg, var(--pocket-text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
  background-color: var(--pocket-pure-white);
}

/* ── choices ─────────────────────────────────────────────────────────────── */

.pk-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.pk-choices--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.pk-choices--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.pk-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 11px 14px;
  background: var(--pocket-pure-white);
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pk-radius);
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.pk-choice:hover {
  border-color: var(--pocket-primary);
}

/* :has lets the row respond to its own input, so the target is the whole row
 * rather than the 20px control. */
.pk-choice:has(.pk-choice-input:checked) {
  border-color: var(--pocket-primary);
  background: var(--pocket-header-bg);
  box-shadow: 0 0 0 1px var(--pocket-primary);
}

.pk-choice:has(.pk-choice-input:focus-visible) {
  outline: 2px solid var(--pocket-primary);
  outline-offset: 2px;
}

.pk-choice-input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--pocket-primary);
  flex-shrink: 0;
}

.pk-choice-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--pocket-text);
  cursor: pointer;
  flex: 1;
}

.pk-choices--inline .pk-choice {
  min-width: 92px;
}

/* ── single checkbox (display: checkbox) ─────────────────────────────────── */

/* For the questions that read as an opt-out rather than a question — "I don't
 * have a website", "I'm an individual or I don't have an ABN or ACN". The label
 * sits beside the box and is part of the click target. */
.pk-checkbox-single {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pk-checkbox-input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--pocket-primary);
  flex-shrink: 0;
}

.pk-checkbox-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--pocket-text-secondary);
  cursor: pointer;
}

/* ── segmented choice (display: segmented) ───────────────────────────────── */

/* A short, familiar set — the eight states — as a row of buttons rather than a
 * stack of radios or a dropdown. One tap on a phone instead of three, and all
 * the options are visible at once.
 *
 * Still real radios underneath: the input is visually hidden rather than
 * removed, so it keeps its name, its value, its keyboard behaviour and its
 * announcement as a radio group. Only the paint changes. */
.pk-choices--segmented {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.pk-choices--segmented .pk-choice {
  padding: 0;
  border: 0;
  background: none;
  min-width: 0;
}

/* Not display:none, which would take it out of the tab order and the
 * accessibility tree along with the paint. */
.pk-choices--segmented .pk-choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pk-choices--segmented .pk-choice-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--pocket-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--pocket-text);
  background: var(--pocket-pure-white);
  border: 1.5px solid var(--pocket-card-border);
  border-radius: var(--pk-radius);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.pk-choices--segmented .pk-choice-label:hover {
  border-color: var(--pocket-primary);
}

.pk-choices--segmented .pk-choice-input:checked + .pk-choice-label {
  border-color: var(--pocket-primary);
  color: var(--pocket-primary);
  box-shadow: inset 0 0 0 1px var(--pocket-primary);
}

/* The focus ring has to move to the label, since the input it belongs to is
 * clipped to a pixel. */
.pk-choices--segmented .pk-choice-input:focus-visible + .pk-choice-label {
  outline: 2px solid var(--pocket-primary);
  outline-offset: 2px;
}

/* ── a value we already hold ─────────────────────────────────────────────── */

.pk-confirmed {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 16px;
  background: var(--pocket-header-bg);
  border: 1px solid var(--pocket-topbar-border);
  border-radius: var(--pk-radius);
}

.pk-confirmed-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pocket-text-secondary);
}

.pk-confirmed-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pocket-text);
}

.pk-confirmed-note {
  font-size: 0.75rem;
  color: var(--pocket-text-secondary);
  margin-left: auto;
}

.pk-statement {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--pocket-text);
}

/* ── signature ───────────────────────────────────────────────────────────── */

/* The declaration clauses the client agrees to. Numbered so a broker and a
 * client can refer to "clause 3" later, set on a tinted panel so it reads as the
 * fixed wording it is rather than more of the form to fill in. */
.pk-declaration {
  margin: 0 0 20px;
  padding: 16px 20px 16px 40px;
  background: var(--pocket-tint);
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pk-radius);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--pocket-text);
}

.pk-declaration-clause {
  margin: 0;
}

.pk-declaration-clause + .pk-declaration-clause {
  margin-top: 10px;
}

.pk-signature-name {
  max-width: 360px;
  margin-bottom: 16px;
}

.pk-signature-name > .pk-label {
  display: block;
  margin-bottom: 6px;
}

/* ── navigation row ──────────────────────────────────────────────────────── */

.quote-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--pocket-card-border);
}

.q-btn-continue {
  font-family: var(--pocket-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--pocket-pure-white);
  background: var(--pocket-primary);
  border: none;
  padding: 14px 36px;
  border-radius: var(--pk-radius);
  min-height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* The book-a-call button inside the confirmation contact card: full-width,
 * centred, and no link underline. */
.q-contact-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.q-btn-continue:hover {
  background: var(--pocket-blue-dark);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.q-btn-continue:active {
  transform: translateY(0);
}

.q-btn-back {
  font-family: var(--pocket-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--pocket-text-secondary);
  background: none;
  border: 2px solid var(--pocket-card-border);
  padding: 12px 26px;
  border-radius: var(--pk-radius);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.q-btn-back:hover {
  border-color: var(--pocket-primary);
  color: var(--pocket-primary);
  transform: translateY(-1.5px);
}

/* ── right column ────────────────────────────────────────────────────────── */

.quote-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.q-side-panel {
  background: var(--pocket-header-bg);
  border: 1px solid var(--pocket-topbar-border);
  border-radius: var(--pocket-card-radius);
}

.q-side-panel-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--pocket-topbar-border);
}

.q-side-panel-header-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pocket-text-secondary);
  margin: 0 0 4px;
}

.q-side-panel-header-title {
  font-size: 20px;
  font-weight: 700;
  /* Not --pocket-primary: on the pale panel that is 4.33:1, under the 4.5:1 axe
   * requires for text. pocketbuilder uses primary here and fails the same check. */
  color: var(--pocket-blue-dark);
  letter-spacing: -0.02em;
  font-family: var(--pocket-font-display);
  margin: 0;
}

.q-side-panel-body {
  padding: 4px 22px 18px;
}

.q-tip {
  padding: 14px 0;
  border-bottom: 1px solid var(--pocket-topbar-border);
}

.q-tip:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.q-tip-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pocket-text);
  margin: 0 0 4px;
}

.q-tip-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pk-green-light);
  border: 1px solid var(--pk-green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.q-tip-check svg {
  width: 9px;
  height: 9px;
  stroke: var(--pk-green);
  fill: none;
  stroke-width: 2.5;
}

.q-tip-body {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--pocket-text-secondary);
  margin: 0 0 0 28px;
}

/* ── entered details ─────────────────────────────────────────────────────── */

.q-detail-card {
  background: var(--pocket-pure-white);
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pocket-card-radius);
  overflow: hidden;
}

/* A small, quiet reassurance under the details card, on underwriting forms. */
.q-reassure-card {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--pocket-pale-blue);
  border-radius: var(--pocket-card-radius);
}

.q-reassure-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--pocket-blue-dark);
}

/* Confirmation-page intro and lead-magnet download button. */
.pk-confirm-intro {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pocket-text);
}

.pk-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 22px;
  font-family: var(--pocket-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--pocket-pure-white);
  background: var(--pocket-primary);
  border-radius: var(--pk-radius);
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.pk-download:hover {
  background: var(--pocket-blue-hover);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.pk-download-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ---- Payment card step ---- */
/* Stripe mounts its card iframe inside this; we style the box, Stripe styles the
 * field within its own frame. Stripe toggles the StripeElement-- classes. */
.pk-card-element {
  min-height: 44px;
  padding: 13px 14px;
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pk-radius);
  background: var(--pocket-pure-white);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.pk-card-element.StripeElement--focus {
  border-color: var(--pocket-primary);
  box-shadow: 0 0 0 1px var(--pocket-primary);
}

.pk-card-element.StripeElement--invalid {
  border-color: var(--pk-error);
}

.pk-pay-button {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.pk-pay-note {
  margin-top: 12px;
  text-align: center;
}

.pk-receipt {
  margin: 0 0 20px;
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pk-radius);
  overflow: hidden;
}

.pk-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--pocket-card-border);
  font-size: 0.9375rem;
}

.pk-receipt-row:first-child {
  border-top: 0;
}

.pk-receipt-row dt {
  color: var(--pocket-text-secondary);
  margin: 0;
}

.pk-receipt-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--pocket-text);
}

.q-detail-card-header {
  background: var(--pocket-header-bg);
  border-bottom: 1px solid var(--pocket-card-border);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.q-detail-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pocket-text-secondary);
  margin: 0;
}

.q-detail-card-edit {
  font-size: 12px;
  font-weight: 700;
  /* Sits on the pale card header — see the note on .q-side-panel-header-title. */
  color: var(--pocket-blue-dark);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Grouped by step, with a rule between groups rather than one per row — the flat
 * ruled table was unreadable once a quote reached a dozen pages. */
.q-detail-group {
  padding: 14px 22px;
  border-bottom: 1px solid var(--pocket-card-border);
}

.q-detail-group:last-child {
  border-bottom: none;
}

.q-detail-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.q-detail-group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pocket-primary);
}

/* Sentence-style: a muted label and the answer on one line, left-aligned and
 * wrapping, rather than two columns pushed to opposite edges. */
.q-detail-line {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.5;
}

.q-detail-line:last-child {
  margin-bottom: 0;
}

.q-detail-line-label {
  color: var(--pocket-text-secondary);
}

.q-detail-line-value {
  color: var(--pocket-text);
  font-weight: 700;
  /* break-word, not anywhere: `anywhere` split "Yes" across lines; this only
   * breaks a word that cannot fit alone, which is what a long email needs. */
  overflow-wrap: break-word;
}

.q-detail-empty {
  padding: 16px 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--pocket-text-secondary);
  margin: 0;
}

.form-footnote {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--pocket-text-secondary);
  margin: 20px 0 0;
}

/* Save and resume — a quiet affordance under the page, not competing with the
 * Continue button. */
.form-resume {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--pocket-card-border);
}

.form-resume-note {
  font-size: 0.8125rem;
  color: var(--pk-green);
  margin: 0 0 10px;
}

.form-resume-btn {
  /* A <button> uses the UA control font unless told otherwise, so an inline text
     link built from one renders in the wrong typeface next to the body copy. */
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pocket-blue-dark);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-resume-btn:hover {
  color: var(--pocket-primary);
}

/* ── review ──────────────────────────────────────────────────────────────── */

.review-block + .review-block {
  margin-top: 28px;
}

.review-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pocket-card-border);
}

.review-block-title {
  font-family: var(--pocket-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--pocket-primary);
  margin: 0;
}

.review-change {
  font-size: 13px;
  font-weight: 700;
  color: var(--pocket-primary);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.review-section + .review-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--pocket-card-border);
}

.review-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pocket-text-secondary);
  margin: 0 0 8px;
}

/* Sentence-style, shared with the summary card: a muted label then the answer on
 * one line, wrapping, rather than a two-column grid. */
.review-line {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
}

.review-line:last-child {
  margin-bottom: 0;
}

.review-line-label {
  color: var(--pocket-text-secondary);
}

.review-line-value {
  color: var(--pocket-text);
  font-weight: 700;
  overflow-wrap: break-word;
}

/* ── confirmation ────────────────────────────────────────────────────────── */

.pk-success-banner {
  /* A contained banner aligned to the canvas, not a full-bleed bar — the same
   * 1200px measure and gutters as .quote-two-col below it. */
  max-width: var(--pk-max);
  margin: 24px auto 0;
  background: var(--pk-green);
  padding: 18px 40px;
  border-radius: var(--pocket-card-radius);
}

.pk-success-banner-inner {
  max-width: var(--pk-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pk-success-banner-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pk-success-banner-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--pocket-pure-white);
  fill: none;
  stroke-width: 2.5;
}

.pk-success-banner-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--pocket-pure-white);
  margin: 0;
}

.pk-success-banner-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  margin: 1px 0 0;
}

.pk-hero {
  padding: 36px 40px 32px;
  background: var(--pocket-header-bg);
  border-bottom: 1px solid var(--pocket-card-border);
}

.pk-hero-product {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pocket-text-secondary);
  margin: 0 0 6px;
}

.pk-hero-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--pocket-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-family: var(--pocket-font-display);
  margin: 0;
}

.pk-hero-ref {
  font-size: 12px;
  color: var(--pocket-text-secondary);
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}

.pk-main-card {
  background: var(--pocket-pure-white);
  border: 1px solid var(--pocket-card-border);
  border-radius: var(--pocket-card-radius);
  overflow: hidden;
}

.pk-card-body {
  padding: 28px 40px 32px;
}

.pk-next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pk-step;
}

.pk-next-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pocket-card-border);
}

.pk-next-step:last-child {
  border-bottom: none;
}

.pk-next-step-index {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pocket-header-bg);
  border: 1px solid var(--pocket-topbar-border);
  color: var(--pocket-primary);
  font-family: var(--pocket-font-display);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pk-next-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--pocket-text);
  margin: 0 0 2px;
}

.pk-next-step-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--pocket-text-secondary);
  margin: 0;
}

/* ── 900px ───────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .quote-two-col {
    grid-template-columns: 1fr;
    padding: 28px 40px 44px;
  }

  .quote-two-col > :first-child {
    padding-right: 0;
  }

  /* The aside stops being a sidebar and becomes a footer to the form. */
  .quote-two-col > :last-child {
    padding-left: 0;
    position: static;
    margin-top: 32px;
  }

  .quote-progress-track {
    width: 160px;
  }

  .q-form-card-title {
    font-size: 24px;
  }
}

/* ── 768px ───────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .quote-two-col {
    padding: 24px 20px 40px;
  }

  .quote-progress-wrap {
    padding: 12px 20px;
  }

  .quote-progress-track {
    width: 90px;
  }

  .q-form-card-title {
    font-size: 22px;
  }

  .pk-choices--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-nav-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .quote-nav-row .q-btn-continue,
  .quote-nav-row .q-btn-back {
    width: 100%;
    justify-content: center;
  }

  .pk-hero,
  .pk-card-body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .pk-success-banner {
    margin: 16px 20px 0;
    padding: 14px 22px;
  }

  .pk-confirmed-note {
    margin-left: 0;
  }
}
