/* Policy24 / eplanning.nz marketing site
   Colours: Policy24 green, deep green and ochre. */

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #1E6B5C;      /* Policy24 green: links, buttons */
  --navy: #12352F;      /* deep ground for dark bands */
  --amber: #9A6410;     /* ochre accent (name kept from Track24 so shared rules work) */
  --teal-lt: #A7DCC8;   /* light green on dark grounds */
  --slate: #1E2B33;
  --slate-2: #4A5A64;
  --mist: #F3F6F8;
  --rule: #D6DEE4;
  --ok: #1F7A45;
  --no: #B42318;
  --info: #8A5A00;
  --white: #FFFFFF;

  --measure: 68ch;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  font-feature-settings: "kern", "liga";
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #F2B705; outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: var(--step-4); letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }
p, ul, ol, dl { margin: 0 0 1em; }
p, li { max-width: var(--measure); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--slate-2); max-width: 60ch; }

.skip { position: absolute; left: -9999px; top: 0; background: #F2B705; color: var(--slate); padding: 12px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy); color: var(--white); }
.band--navy a:not(.btn) { color: var(--white); }

/* ---------- Wordmark ---------- */
.wordmark { font-weight: 800; letter-spacing: -0.03em; font-size: 1.55rem; line-height: 1; text-decoration: none; color: var(--navy); white-space: nowrap; }
.wordmark span { color: var(--amber); }
.site-footer .wordmark span, .on-dark .wordmark span { color: #E6AA50; }
.wordmark img { height: 34px; width: auto; display: block; }
.wordmark:hover { text-decoration: none; }
.on-dark .wordmark, .site-footer .wordmark { color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a:not(.btn) { display: block; padding: 10px 12px; color: var(--slate); text-decoration: none; font-weight: 550; font-size: 0.975rem; border-radius: var(--radius); }
.nav a:not(.btn):hover { color: var(--blue); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
.nav .btn { margin-left: 12px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px 14px; font: inherit; font-weight: 650; color: var(--slate); cursor: pointer; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--amber); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn--amber { background: var(--blue); color: var(--white); }
.btn--amber:hover { background: var(--navy); }
.on-dark .btn--amber, .band--navy .btn--amber, .cta-band .btn--amber { background: var(--white); color: var(--blue); }
.on-dark .btn--amber:hover, .cta-band .btn--amber:hover { background: #E6ECF7; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--line { border-color: var(--blue); color: var(--blue); }
.btn--line:hover { background: var(--blue); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero: the project's track ---------- */
.hero { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 62%); color: var(--white); padding: clamp(56px, 9vw, 112px) 0 0; overflow: hidden; }
.hero h1 { max-width: 17ch; margin-bottom: 0.4em; }
.hero .lede { color: #DCE8F0; max-width: 56ch; }
.track { position: relative; margin-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.track ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.track ol::before { /* the line itself */
  content: ""; position: absolute; left: -100vw; right: calc(20% - 13px); top: 11px; height: 4px; background: var(--amber);
  transform-origin: left; animation: lay-track 1.1s cubic-bezier(.2,.7,.2,1) 0.15s both;
}
.track li { position: relative; padding: 40px 20px 0 0; max-width: none; }
.track li::before { /* station */
  content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); border: 4px solid var(--amber); box-sizing: border-box;
  animation: station-in 0.35s ease-out both;
}
.track li:nth-child(1)::before { animation-delay: 0.25s; }
.track li:nth-child(2)::before { animation-delay: 0.45s; }
.track li:nth-child(3)::before { animation-delay: 0.65s; }
.track li:nth-child(4)::before { animation-delay: 0.85s; }
.track li:nth-child(5)::before { animation-delay: 1.05s; background: var(--amber); }
.track .stage { display: block; font-weight: 750; font-size: var(--step-1); margin-bottom: 6px; color: var(--white); }
.track .stage small { display: block; font-size: 0.8rem; font-weight: 600; color: var(--teal-lt); letter-spacing: 0.01em; margin-bottom: 2px; }
.track p { font-size: 0.95rem; line-height: 1.5; color: #CFDFEA; margin: 0; max-width: 24ch; }
@keyframes lay-track { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes station-in { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 820px) {
  .track ol { grid-template-columns: 1fr; }
  .track ol::before { left: 11px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; transform-origin: top; animation-name: lay-track-v; }
  .track li { padding: 0 0 28px 48px; }
  .track li:last-child { padding-bottom: 0; }
  .track p { max-width: 40ch; }
}
@keyframes lay-track-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Inner page heads reuse the hero ground without the track */
.page-head { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 70%); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: min(38%, 420px); background: var(--teal-lt); }
.page-head h1 { font-size: var(--step-4); max-width: 20ch; }
.page-head .lede { color: #DCE8F0; }
.crumbs { font-size: var(--step--1); margin-bottom: 18px; color: #CFDFEA; }
.crumbs a { color: #CFDFEA; }

/* ---------- Section heads ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--slate-2); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Benefits: ruled list, not cards ---------- */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 56px; }
.benefits li { border-top: 2px solid var(--slate); padding: 22px 0 34px; max-width: none; }
.benefits li:first-child { border-top-color: var(--amber); }
.benefits h3 { font-size: var(--step-1); margin-bottom: 8px; }
.benefits p { color: var(--slate-2); margin: 0; }

/* ---------- Split (text + figure) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.band--navy .ticks li::before { border-color: var(--teal-lt); }

/* Screenshot placeholder */
.shot { margin: 0; }
.shot__frame { aspect-ratio: 16 / 10; border: 2px dashed #9FB3C3; border-radius: 6px; background: repeating-linear-gradient(135deg, #F7FAFC 0 14px, #EEF3F7 14px 28px); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--slate-2); font-weight: 600; font-size: 0.95rem; }
.shot__frame strong { display: block; color: var(--blue); margin-bottom: 4px; }
.shot figcaption { font-size: var(--step--1); color: var(--slate-2); margin-top: 10px; }
.band--navy .shot__frame { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); color: #DCE8F0; }
.band--navy .shot__frame strong { color: var(--amber); }

.shot img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 1px 2px rgba(7,59,89,.06), 0 8px 24px rgba(7,59,89,.08); background: var(--white); }

/* Forecast illustration */
.forecast-fig { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 20px 20px 14px; }
.forecast-fig figcaption { font-size: var(--step--1); color: var(--slate-2); margin-top: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 10px 0 0; font-size: var(--step--1); color: var(--slate-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid; }

/* ---------- Feature index on home ---------- */
.feature-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 40px; }
.feature-index h3 { font-size: 1.05rem; padding-top: 14px; border-top: 1px solid var(--rule); }
.feature-index ul { list-style: none; padding: 0; margin: 0; color: var(--slate-2); font-size: 0.975rem; }
.feature-index li { padding: 3px 0; }

/* ---------- NZ strip ---------- */
.nz-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 40px; margin: 0; }
.nz-facts dt { font-weight: 750; font-size: var(--step-1); color: var(--white); margin-bottom: 6px; }
.nz-facts dd { margin: 0; color: #CFDFEA; font-size: 0.975rem; }
.nz-facts div { border-left: 3px solid var(--teal-lt); padding-left: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--slate-2); }

/* ---------- Closing CTA ---------- */
.cta-band { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--teal-lt); }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: #DCE8F0; font-size: var(--step-1); max-width: 54ch; }

/* ---------- Features page ---------- */
.stage-nav { position: sticky; top: 72px; z-index: 40; background: var(--white); border-bottom: 1px solid var(--rule); }
.stage-nav ol { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.stage-nav a { display: block; white-space: nowrap; padding: 14px 14px; color: var(--slate); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-bottom: 3px solid transparent; }
.stage-nav a:hover { color: var(--blue); border-bottom-color: var(--rule); }
.stage-nav a.is-here { color: var(--blue); border-bottom-color: var(--amber); }

.feature-section { padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--rule); }
.feature-section--alt { background: var(--mist); }
.feature-section header { display: grid; grid-template-columns: auto 1fr; gap: 0 20px; align-items: start; margin-bottom: 32px; max-width: 70ch; }
.stage-num { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--amber); display: grid; place-items: center; font-weight: 800; color: var(--blue); font-size: 1.2rem; background: var(--white); }
.stage-num--plain { border-color: var(--blue); }
.feature-section header p { color: var(--slate-2); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 48px; }
.feature-list h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-list p { color: var(--slate-2); margin: 0; font-size: 0.99rem; }
.feature-list > div { padding-left: 18px; border-left: 2px solid var(--rule); }

/* ---------- Audience page ---------- */
.audience { display: grid; grid-template-columns: minmax(220px, 0.8fr) 2fr; gap: clamp(24px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
.audience:first-of-type { border-top: 0; }
.audience h2 { font-size: var(--step-2); }
.audience .role { color: var(--slate-2); font-size: 0.975rem; }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Prose pages (guides) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; font-size: var(--step-2); }
.prose h3 { margin-top: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0 1.6em; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.prose th { background: var(--mist); font-weight: 700; }
.prose .note { border-left: 4px solid var(--amber); background: #EEF6F8; padding: 14px 18px; margin: 1.2em 0; }
.meta-line { font-size: var(--step--1); color: #CFDFEA; margin-top: 12px; }

/* ---------- Placeholder blocks ---------- */
.owner-supply { border: 2px dashed #C99700; background: #FFF8E6; padding: 18px 20px; border-radius: 6px; color: var(--slate); }
.owner-supply strong { color: #7A5300; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 650; margin-bottom: 6px; }
.req { color: #9A3412; font-weight: 600; font-size: 0.9rem; }
.hint { display: block; font-weight: 400; color: var(--slate-2); font-size: 0.9rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--slate); padding: 12px 14px; border: 1.5px solid #8A9AA8; border-radius: var(--radius); background: var(--white); }
input:focus, select:focus, textarea:focus { outline: 3px solid #F2B705; outline-offset: 1px; border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }
input, select { min-height: 52px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.is-ok { display: block; background: #E7F5EC; border-left: 4px solid #1F7A45; }
.form-status.is-error { display: block; background: #FDECEC; border-left: 4px solid #B42318; }
.contact-aside { background: var(--mist); padding: 28px; border-radius: 6px; border-top: 4px solid var(--amber); }
.contact-aside ol { padding-left: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: #C9D3DC; padding: 56px 0 36px; font-size: 0.95rem; }
.site-footer a { color: #E6EDF2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { font-size: 0.95rem; color: var(--white); margin-bottom: 12px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-base { border-top: 1px solid #3A4754; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .stage-nav, .cta-band, .site-footer, .nav-toggle { display: none; }
  .hero, .page-head { background: none; color: var(--slate); }
}

/* ---------- WordPress / Elementor integration ----------
   The site's sections live inside Elementor widgets; these rules stop
   Elementor and the theme from restyling them. */
body.p24 { margin: 0; }
.p24 .elementor-widget-text-editor,
.p24 .elementor-widget-html { color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; }
.p24 .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.p24 .elementor-widget-text-editor .lede, .p24 .elementor-widget-text-editor p.lede { margin-bottom: 0; }
.p24 .e-con.t24-row { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; padding: 0; }
.p24 .e-con.t24-row > .elementor-widget { width: 100%; }
.p24 .elementor-sticky--active .site-header { box-shadow: 0 1px 0 var(--rule); }
.p24 .site-header { position: relative; }
.p24 .stage-nav { position: relative; top: auto; }
.p24 h1, .p24 h2, .p24 h3 { font-family: inherit; color: inherit; }
.p24 a:where(:not(.btn)) { color: var(--blue); }
.p24 .on-dark a:where(:not(.btn)), .p24 .band--navy a:where(:not(.btn)) { color: var(--white); }
.p24 .site-footer a { color: #E6EDF2; }
.p24 .track a.stage { color: var(--white); }
.p24 .nav a:not(.btn), .p24 .stage-nav a { color: var(--slate); }
.p24 .stage-nav a.is-here { color: var(--blue); }
.p24 .nav a[aria-current="page"] { color: var(--blue); }
.p24 .site-footer .wordmark { color: var(--white); }

/* WPForms on the demo page (WPForms' own CSS is switched off) */
.p24 .wpforms-container { margin: 0; }
.p24 .wpforms-field-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.p24 .wpforms-field { padding: 0 !important; }
.p24 .wpforms-field-textarea, .p24 .wpforms-field.t24-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .p24 .wpforms-field-container { grid-template-columns: 1fr; } }
.p24 .wpforms-field-label { display: block; font-weight: 650; margin-bottom: 6px; }
.p24 .wpforms-required-label { color: #9A3412; }
.p24 .wpforms-field-description { color: var(--slate-2); font-size: 0.9rem; margin-top: 4px; }
.p24 .wpforms-error { color: #B42318; font-size: 0.9rem; margin-top: 4px; display: block; }
.p24 .wpforms-submit-container { margin-top: 24px; }
.p24 .wpforms-submit { display: inline-flex; padding: 13px 22px; border-radius: var(--radius); font: inherit; font-weight: 700; background: var(--blue); color: var(--white); border: 0; cursor: pointer; }
.p24 .wpforms-submit:hover { background: var(--navy); }
.p24 .wpforms-confirmation-container-full { background: #E7F5EC; border-left: 4px solid #1F7A45; padding: 14px 16px; }
.p24 .wpforms-field-hp { display: none !important; }

/* =========================================================
   Assess24 components
   ========================================================= */

/* Light hero with the assessment panel */
.a-hero { background: linear-gradient(180deg, var(--mist) 0%, #E8EEF5 100%); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.a-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.a-hero h1 { color: var(--navy); max-width: 15ch; }
.a-hero .lede { color: var(--slate-2); }
.a-hero .actions .btn--ghost { border-color: var(--blue); color: var(--blue); }
.a-hero .actions .btn--ghost:hover { background: var(--blue); color: var(--white); }
@media (max-width: 920px) { .a-hero .wrap { grid-template-columns: 1fr; } }

.panel { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 2px 4px rgba(31,47,92,.06), 0 18px 40px rgba(31,47,92,.12); overflow: hidden; font-size: 0.93rem; }
.panel__head { padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.panel__head strong { display: block; color: var(--navy); font-size: 1rem; }
.panel__head span { color: var(--slate-2); font-size: 0.85rem; }
.panel__rules { list-style: none; margin: 0; padding: 0; }
.panel__rules li { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 11px 20px; border-bottom: 1px solid #EDF1F4; max-width: none; }
.rule-id { font-weight: 700; color: var(--blue); font-size: 0.82rem; letter-spacing: 0.01em; }
.rule-name { color: var(--slate); }
.chip { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.chip--ok { color: var(--ok); background: #E9F5EE; border-color: #B9DFC8; }
.chip--no { color: var(--no); background: #FDECEC; border-color: #F3C1BC; }
.chip--na { color: var(--slate-2); background: #F1F4F6; border-color: #DCE3E8; }
.chip--info { color: var(--info); background: #FFF6E0; border-color: #F0D9A0; }
.panel__foot { padding: 12px 20px; background: var(--mist); color: var(--slate-2); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }
.panel__foot b { color: var(--slate); }
.panel-caption { font-size: var(--step--1); color: var(--slate-2); padding: 10px 20px 14px; border-top: 1px solid var(--rule); }
.panel__rules .chip { animation: chip-in .35s ease-out both; }
.panel__rules li:nth-child(1) .chip { animation-delay: .3s; }
.panel__rules li:nth-child(2) .chip { animation-delay: .55s; }
.panel__rules li:nth-child(3) .chip { animation-delay: .8s; }
.panel__rules li:nth-child(4) .chip { animation-delay: 1.05s; }
.panel__rules li:nth-child(5) .chip { animation-delay: 1.3s; }
.panel__rules li:nth-child(6) .chip { animation-delay: 1.55s; }
@keyframes chip-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .panel__rules li { grid-template-columns: 1fr auto; } .rule-id { grid-column: 1 / -1; } }

/* One rulebook: Policy24 -> Lara -> Assess24 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 13px; right: calc(33.333% - 13px); top: 11px; height: 4px; background: var(--amber); }
.flow li { position: relative; padding: 42px 28px 0 0; max-width: none; }
.flow li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 4px solid var(--amber); box-sizing: border-box; }
.flow li:last-child::before { background: var(--amber); }
.flow .when { display: block; font-size: 0.85rem; font-weight: 700; color: var(--amber); margin-bottom: 4px; }
.flow h3 { margin-bottom: 6px; }
.flow p { color: var(--slate-2); margin: 0; max-width: 34ch; }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; }
  .flow::before { left: 11px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .flow li { padding: 0 0 28px 48px; }
}

/* Numbered workflow (a real sequence) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 0 24px; padding: 28px 0; border-top: 1px solid var(--rule); max-width: none; }
.steps > li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: var(--white); background: var(--blue); }
.steps h3 { margin-bottom: 6px; }
.steps p, .steps ul { color: var(--slate-2); }
.steps ul { padding-left: 20px; margin-bottom: 0; }
.loop-note { border-left: 4px solid var(--amber); background: #EEF6F8; padding: 14px 18px; margin-top: 8px; border-radius: 0 6px 6px 0; }

/* Trust list on dark */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.trust h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.trust p { color: #D3DEEE; margin: 0; font-size: 0.97rem; }
.trust > div { border-left: 3px solid var(--teal-lt); padding-left: 16px; }

/* Lara chat example */
.chat { background: var(--navy); color: var(--white); border-radius: 10px; padding: 24px; max-width: 560px; }
.chat p { max-width: none; }
.chat .q { margin-left: auto; background: rgba(255,255,255,.12); border-radius: 12px 12px 2px 12px; padding: 10px 14px; width: fit-content; max-width: 85%; }
.chat .a { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px 12px 12px 2px; padding: 12px 14px; max-width: 92%; }
.chat .a b { color: var(--teal-lt); }
.chat .meta { font-size: 0.85rem; color: #C9D6EA; }
.chat ul { list-style: none; padding: 0; margin: 8px 0 0; }
.chat li::before { content: "✓ "; color: #8FD3A8; }
.chat li.warn::before { content: "! "; color: #F2C14E; font-weight: 800; }

.p24 .a-hero h1 { color: var(--navy); }
.p24 .on-dark a.btn--amber, .p24 .cta-band a.btn--amber { color: var(--blue); }
.p24 a.btn--amber { color: var(--white); }
.p24 .a-hero a.btn--ghost { color: var(--blue); }
.p24 .a-hero a.btn--ghost:hover { color: var(--white); }
.p24 .wordmark { color: var(--navy); }

/* Drawn product illustrations (stand in for screenshots) */
.mock { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 4px rgba(31,47,92,.06), 0 18px 40px rgba(31,47,92,.10); font-size: 0.9rem; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); color: #DCE5F3; }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.mock__bar b { margin-left: 8px; font-weight: 600; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { padding: 16px; }
.mock__two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.mock__col--ai { background: var(--mist); border-radius: 8px; padding: 12px; }
.mock__label { font-weight: 700; font-size: 0.78rem; color: var(--slate-2); margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mock__text { margin: 0 0 10px; color: var(--slate); line-height: 1.5; max-width: none; }
.mock__select { margin: 0 0 8px; border: 1px solid #B9C6D0; border-radius: 6px; padding: 6px 10px; display: flex; justify-content: space-between; color: var(--slate); max-width: none; }
.mock__select span { color: var(--slate-2); }
.mock figcaption { padding: 10px 16px 14px; border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--slate-2); }
.mock__builder { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 16px; }
.mock__side { background: var(--mist); border-radius: 8px; padding: 12px; }
.mock__side ul { list-style: none; margin: 0; padding: 0; }
.mock__side li { padding: 6px 8px; border-radius: 6px; margin-bottom: 4px; background: var(--white); border: 1px solid var(--rule); max-width: none; }
.mock__side li.drag { border-color: var(--amber); box-shadow: 0 4px 10px rgba(46,116,135,.25); transform: translateX(6px) rotate(-1deg); }
.mock__parts { margin: 0; padding: 0 0 0 22px; }
.mock__parts li { padding: 7px 0; border-bottom: 1px solid #EDF1F4; color: var(--slate); max-width: none; }
.mock__parts li.open { font-weight: 700; color: var(--navy); }
.mock__parts li span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--slate-2); background: #FFF6CC; width: fit-content; padding: 1px 6px; border-radius: 3px; margin-top: 4px; }
@media (max-width: 560px) { .mock__two, .mock__builder { grid-template-columns: 1fr; } }

/* Client logos */
.band--tight { padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.clients-title { font-size: 1rem; font-weight: 700; color: var(--slate-2); letter-spacing: 0; text-align: center; margin: 0 auto 18px; max-width: none; }
.clients { width: 100%; max-width: 980px; height: auto; margin: 0 auto; opacity: .85; }
.ticks li { break-inside: avoid; }

/* New-feature tag, timer illustration */
.new-tag { display: inline-block; vertical-align: middle; font-size: 0.72rem; font-weight: 800; color: var(--white); background: var(--amber); padding: 2px 8px; border-radius: 999px; margin-left: 6px; letter-spacing: 0.02em; }
.new-tag--lead { margin: 0 0 10px; }
.timer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; margin-bottom: 14px; background: #F7FAFB; }
.timer__dot { width: 10px; height: 10px; border-radius: 50%; background: #1F7A45; box-shadow: 0 0 0 4px #DDF1E5; }
.timer__clock { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); }
.timer__btn { background: var(--blue); color: var(--white); border-radius: 6px; padding: 4px 12px; font-weight: 700; font-size: 0.85rem; }
.mock__table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.mock__table th, .mock__table td { text-align: left; padding: 7px 6px; border-bottom: 1px solid #EDF1F4; }
.mock__table th { color: var(--slate-2); font-weight: 700; font-size: 0.78rem; }
.mock__total { margin: 12px 0 0; color: var(--slate-2); font-size: 0.88rem; max-width: none; }
.mock__total b { color: var(--slate); }

/* ---- Policy24 / ePlanning additions ---- */
.proof { font-size: var(--step-2); line-height: 1.35; max-width: 46ch; margin: 0; color: var(--navy); }
.cycle { margin: 0; }
.cycle svg { display: block; width: 100%; height: auto; max-width: 520px; margin: 0 auto; font-family: inherit; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-bottom: 32px; }
.two-up h3 { font-size: var(--step-2); margin-bottom: 14px; padding-top: 18px; border-top: 3px solid var(--blue); }
.two-up > div:last-child h3 { border-top-color: var(--amber); }
@media (max-width: 760px) { .two-up { grid-template-columns: 1fr; } }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { border: 1px solid var(--rule); border-radius: 8px; padding: 28px; background: var(--white); display: flex; flex-direction: column; }
.card h3 { font-size: var(--step-2); margin: 0 0 4px; }
.card .kicker { color: var(--slate-2); margin: 0 0 12px; font-size: var(--step--1); }
.card p { margin: 0 0 18px; }
.card a { margin-top: auto; font-weight: 600; }
.card--lead { border-top: 4px solid var(--blue); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.note { color: var(--slate-2); font-size: var(--step--1); max-width: 70ch; margin-top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.benefits h3 a { color: inherit; }
