/* LicensEase website styles
   Colours live in the variables below: change them here to restyle the whole site. */

:root {
  --paper: #FFFFFF;
  --tint: #EAF3F1;
  --surface: #FFFFFF;
  --text: #23302F;
  --muted: #52615F;
  --heading: #0F3D3E;
  --link: #0F3D3E;
  --link-hover: #B23A22;
  --line: #CFDDDA;
  --line-strong: #6F8582;
  --primary: #0F3D3E;
  --primary-hover: #185859;
  --on-primary: #FFFFFF;
  --accent: #C8442A;
  --accent-hover: #A93A22;
  --on-accent: #FFFFFF;
  --accent-text: #B23A22;
  --invert-text: #B23A22;
  --dark: #0F3D3E;
  --dark-2: #0B2F30;
  --on-dark: #FFFFFF;
  --on-dark-muted: #CFE3DF;
  --accent-on-dark: #F08A6E;
  --focus: #1E6FD9;
  --error: #B4232A;
  --shadow: 0 1px 2px rgba(15, 61, 62, 0.06), 0 16px 40px rgba(15, 61, 62, 0.10);
  --font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0A1F20;
    --tint: #102A2B;
    --surface: #143334;
    --text: #DCE8E6;
    --muted: #A8BDB9;
    --heading: #F2F7F6;
    --link: #CFE8E2;
    --link-hover: #F5A48C;
    --line: #24484A;
    --line-strong: #6C8A87;
    --primary: #CFE8E2;
    --primary-hover: #E6F4F1;
    --on-primary: #0F3D3E;
    --accent: #F08A6E;
    --accent-hover: #F5A48C;
    --on-accent: #0A1F20;
    --accent-text: #F5A48C;
    --invert-text: #F5A48C;
    --dark: #0F3D3E;
    --dark-2: #071819;
    --focus: #7FB6FF;
    --error: #FF8A80;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0A1F20;
  --tint: #102A2B;
  --surface: #143334;
  --text: #DCE8E6;
  --muted: #A8BDB9;
  --heading: #F2F7F6;
  --link: #CFE8E2;
  --link-hover: #F5A48C;
  --line: #24484A;
  --line-strong: #6C8A87;
  --primary: #CFE8E2;
  --primary-hover: #E6F4F1;
  --on-primary: #0F3D3E;
  --accent: #F08A6E;
  --accent-hover: #F5A48C;
  --on-accent: #0A1F20;
  --accent-text: #F5A48C;
  --invert-text: #F5A48C;
  --dark-2: #071819;
  --focus: #7FB6FF;
  --error: #FF8A80;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 112%;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; border-radius: 8px; background: var(--primary); color: var(--on-primary); font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1220px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.section-foot { margin-top: 32px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 10px;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--outline { border-color: var(--heading); color: var(--heading); background: transparent; }
.btn--outline:hover { background: var(--tint); color: var(--heading); }
.btn--ghost-dark { border-color: rgba(255, 255, 255, 0.75); color: #FFFFFF; background: transparent; }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.btn--invert { background: var(--on-accent); color: var(--invert-text); }
.btn--invert:hover { background: var(--on-accent); color: var(--invert-text); text-decoration: underline; }
.btn--outline-accent { border-color: var(--on-accent); color: var(--on-accent); background: transparent; }
.btn--outline-accent:hover { color: var(--on-accent); text-decoration: underline; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Top bar */
.topbar { background: var(--dark-2); color: var(--on-dark-muted); font-size: 14.5px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 24px; padding-block: 4px; }
.topbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--on-dark); text-decoration: underline; }
.topbar svg { color: var(--accent-on-dark); }
@media (max-width: 760px) { .topbar-hide-sm { display: none; } }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: stretch; justify-content: space-between; gap: 12px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; align-self: center; min-height: 44px; color: var(--heading); text-decoration: none; flex: 0 0 auto; }
.logo:hover { color: var(--heading); }
.logo-mark { color: var(--accent-text); flex: 0 0 auto; }
.logo-word { font-family: var(--font-display); font-stretch: 118%; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; align-items: stretch; gap: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 3px; min-height: 44px; padding: 0 8px;
  border: 0; border-radius: 8px; background: none; white-space: nowrap;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--heading); text-decoration: none; cursor: pointer;
}
.nav-link:hover { background: var(--tint); color: var(--heading); }
.nav-link[aria-current="page"], .nav-link.is-current { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 8px 8px 0 0; }
.nav-link .chev { flex: 0 0 auto; transition: transform .2s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-cta { margin-left: 8px; align-self: center; white-space: nowrap; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; align-self: center; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--surface);
  font: inherit; font-weight: 700; color: var(--heading); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline; }

/* Licence dropdowns under each menu heading */
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 300px;
  padding: 8px 0; background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);
}
.dropdown--right { left: auto; right: 0; }
.dropdown.is-open { display: block; }
.dropdown-auth { padding: 6px 18px 10px; font-size: 13.5px; line-height: 1.4; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown ul { list-style: none; }
.dropdown li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 0 18px; color: var(--heading); font-weight: 600; font-size: 16px; text-decoration: none;
}
.dropdown li a svg { flex: 0 0 auto; color: var(--muted); opacity: 0; transition: opacity .15s ease; }
.dropdown li a:hover, .dropdown li a[aria-current="page"] { background: var(--tint); color: var(--accent-text); }
.dropdown li a:hover svg, .dropdown li a[aria-current="page"] svg { opacity: 1; color: var(--accent-text); }
.dropdown-all { margin-top: 6px; padding: 8px 18px 4px; border-top: 1px solid var(--line); }
.dropdown-all a { font-weight: 700; font-size: 15px; }

@media (hover: hover) and (min-width: 1240px) {
  .nav-item:hover .dropdown { display: block; }
  .nav-item:hover .nav-link .chev { transform: rotate(180deg); }
}

@media (max-width: 1239px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    max-height: calc(100vh - 72px); overflow-y: auto;
    padding: 8px clamp(20px, 4vw, 48px) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-link { justify-content: space-between; min-height: 52px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
  .nav-link[aria-current="page"], .nav-link.is-current { box-shadow: none; color: var(--accent-text); }
  .dropdown { position: static; min-width: 0; box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 4px 0 10px 12px; }
  .dropdown li a { padding: 0 6px; }
  .dropdown-auth { padding: 6px 6px 8px; }
  .dropdown-all { padding: 8px 6px 4px; }
  .header-cta { margin: 16px 0 0; }
}

/* Stamps: the site's signature element */
.stamp {
  --ring: var(--paper);
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid currentColor;
  box-shadow: inset 0 0 0 3px var(--ring), inset 0 0 0 4.5px currentColor;
  background: var(--ring); color: var(--accent-text);
  font-family: var(--font-display); font-stretch: 100%; font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  line-height: 1; text-decoration: none;
}
.stamp--sm { width: 48px; height: 48px; font-size: 10.5px; }
.stamp--long { font-size: 10.5px; letter-spacing: 0; }
.stamp--sm.stamp--long { font-size: 8.5px; }
.stamp--lg { width: 132px; height: 132px; font-size: 24px; border-width: 3px; box-shadow: inset 0 0 0 5px var(--ring), inset 0 0 0 7px currentColor; }
a.stamp { transition: transform .15s ease; }
a.stamp:hover { color: var(--accent-text); transform: rotate(-8deg) scale(1.06); }
.card .stamp, .finder-panel .stamp, .svc-group .stamp, .related-card .stamp { --ring: var(--surface); }
.page-hero .stamp { --ring: var(--tint); }

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark-muted); padding-block: clamp(48px, 7vw, 96px); }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero h1 { color: var(--on-dark); font-size: clamp(36px, 4.8vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }
.hero-points { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); }
.hero-points svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent-on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-form { flex: 0 1 460px; min-width: 0; position: relative; z-index: 1; }
.hero-form .field { flex-basis: 170px; }
.hero-form .field--full { flex-basis: 100%; }
.hero-stamp { position: absolute; right: -110px; top: -110px; width: 500px; height: 500px; color: var(--accent-on-dark); opacity: .16; pointer-events: none; transform: rotate(-12deg); }
.hero-stamp text { font-family: var(--font-display); font-weight: 800; }
@media (max-width: 900px) { .hero-stamp { width: 340px; height: 340px; right: -150px; top: -150px; opacity: .12; } }

/* Authority strip */
.stamps-strip { border-bottom: 1px solid var(--line); padding-block: 28px; }
.stamps-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.stamps-strip-label { flex: 0 1 220px; font-weight: 700; color: var(--heading); line-height: 1.35; }
.stamps-list { display: flex; flex-wrap: wrap; gap: 12px 14px; list-style: none; }

/* Approval finder */
.finder { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 40px; }
.finder-tabs { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.finder-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--heading); font: inherit; font-weight: 600; text-align: left; cursor: pointer;
}
.finder-tab:hover { border-color: var(--heading); }
.finder-tab svg { flex: 0 0 auto; visibility: hidden; }
.finder-tab[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.finder-tab[aria-pressed="true"] svg { visibility: visible; }
.finder-panel { flex: 2 1 480px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.finder-panel h3 { font-size: 22px; }
.finder-results { margin-top: 12px; }
.finder-result { display: flex; align-items: flex-start; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.finder-result-name { font-weight: 700; font-size: 18px; line-height: 1.35; }
.finder-result-name a { color: var(--heading); text-decoration: none; }
.finder-result-name a:hover { color: var(--accent-text); text-decoration: underline; }
.finder-why { margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.finder-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.finder-note a { font-weight: 700; }
@media (max-width: 720px) {
  .finder-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .finder-tab { min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; }
  .finder-tab svg { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .finder-results.is-updating .finder-result { animation: rise .28s ease-out both; }
  .finder-results.is-updating .finder-result:nth-child(2) { animation-delay: .05s; }
  .finder-results.is-updating .finder-result:nth-child(3) { animation-delay: .1s; }
  .finder-results.is-updating .finder-result:nth-child(4) { animation-delay: .15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Service groups */
.svc-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.svc-group { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 12px; }
.svc-group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.svc-group h3 { font-size: 20px; }
.svc-group-auth { margin-top: 2px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.svc-links { list-style: none; }
.svc-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px;
  border-top: 1px solid var(--line); color: var(--heading); text-decoration: none; font-weight: 600;
}
.svc-links a:hover { color: var(--accent-text); }
.svc-links svg { flex: 0 0 auto; color: var(--muted); }
.svc-links a:hover svg { color: var(--accent-text); }

/* Process timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px 32px; }
.timeline li { position: relative; padding-top: 68px; }
.timeline-num {
  position: absolute; top: 0; left: 0; width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: 19px; font-weight: 800;
}
.timeline h3 { font-size: 20px; }
.timeline p { margin-top: 8px; font-size: 16.5px; }
@media (min-width: 1100px) {
  .timeline li:not(:last-child)::before { content: ""; position: absolute; top: 25px; left: 66px; right: -16px; border-top: 2px dashed var(--line-strong); }
}

/* Industries */
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 0 32px; }
.industry { display: block; padding: 22px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.industry h3 { font-size: 19px; display: flex; justify-content: space-between; gap: 12px; }
.industry h3 svg { flex: 0 0 auto; color: var(--muted); margin-top: 2px; }
.industry p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.industry:hover h3, .industry:hover h3 svg { color: var(--accent-text); }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 36px 32px; }
.why-item { border-top: 2px solid var(--accent-on-dark); padding-top: 20px; }
.why-item h3 { font-size: 20px; }
.why-item p { margin-top: 8px; }

/* FAQ */
.faq-list { max-width: 860px; }
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--heading);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 auto; transition: transform .2s ease; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 20px; max-width: 68ch; }

/* Call-to-action band */
.cta-band { background: var(--accent); color: var(--on-accent); padding-block: clamp(44px, 6vw, 72px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { color: var(--on-accent); font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; max-width: 22ch; }
.cta-band p { margin-top: 10px; font-size: 18px; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--dark-2); color: var(--on-dark-muted); padding-block: clamp(48px, 6vw, 72px) 28px; font-size: 16px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.footer-brand { flex: 2 1 300px; min-width: 0; }
.footer-brand .logo, .footer-brand .logo:hover { color: #FFFFFF; }
.footer-brand .logo-mark { color: var(--accent-on-dark); }
.footer-brand p { margin-top: 14px; max-width: 38ch; }
.footer-col { flex: 1 1 190px; min-width: 0; }
.footer-col-title { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-flex; align-items: center; min-height: 38px; color: var(--on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; }
.footer-contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent-on-dark); }
.footer-contact a { min-height: 0; color: var(--on-dark-muted); }
.footer-contact a:hover { color: #FFFFFF; }
.site-footer :focus-visible { outline-color: #FFFFFF; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(207, 227, 223, 0.25);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 14.5px;
}
.footer-bottom p:last-child { max-width: 72ch; }

/* Inner page hero */
.page-hero { background: var(--tint); border-bottom: 1px solid var(--line); padding-block: clamp(28px, 4vw, 44px) clamp(40px, 6vw, 72px); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 15px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--heading); }
.page-hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; margin-top: clamp(20px, 3vw, 32px); }
.page-hero-copy { flex: 1 1 560px; min-width: 0; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.02em; max-width: 22ch; }
.authority-line { margin-top: 12px; font-weight: 700; color: var(--accent-text); }
.page-hero-lead { margin-top: 14px; font-size: clamp(17px, 1.4vw, 20px); max-width: 60ch; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero-stamp { flex: 0 0 auto; transform: rotate(-9deg); }
@media (max-width: 640px) { .page-hero-stamp { display: none; } }

/* Service page layout */
.svc-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 56px; }
.svc-main { flex: 999 1 560px; min-width: 0; }
.svc-aside { flex: 1 1 340px; min-width: 0; position: sticky; top: 96px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; margin-top: 52px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; max-width: 70ch; }
.prose ul.checklist, .prose ul.doclist { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.checklist li, .doclist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg, .doclist svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent-text); }
.steps-v { list-style: none; margin-top: 20px; }
.steps-v li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.steps-v li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: var(--line); }
.steps-v .num {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-text); background: var(--paper); font-family: var(--font-display); font-weight: 800;
}
.steps-v p { margin-top: 0; padding-top: 9px; }
.note { margin-top: 18px; padding: 14px 18px; border-radius: 10px; background: var(--tint); font-size: 16px; max-width: 70ch; }
.prose .faq-list { margin-top: 12px; }

/* Cards and forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); }
.card + .card { margin-top: 20px; }
.card--raised { box-shadow: var(--shadow); }
.form-title { font-size: 23px; font-weight: 800; }
.form-sub { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
.fields { display: flex; flex-wrap: wrap; gap: 16px 14px; margin-top: 20px; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field--full { flex-basis: 100%; }
.field label { font-size: 15px; font-weight: 600; color: var(--heading); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--heading); background: var(--surface);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 20px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--tint); color: var(--heading); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--error { border: 2px solid var(--error); }
.form-privacy { margin-top: 12px; font-size: 14px; color: var(--muted); }
.contact-mini h3 { font-size: 19px; }
.contact-mini ul { list-style: none; margin-top: 12px; display: grid; gap: 10px; }
.contact-mini li { display: flex; gap: 10px; align-items: flex-start; }
.contact-mini svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent-text); }
.contact-mini a { font-weight: 600; }

/* Related services and service cards */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.related-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  color: inherit; text-decoration: none; transition: border-color .15s ease;
}
.related-card:hover { border-color: var(--heading); color: inherit; }
.related-card h3 { font-size: 19px; }
.related-card p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.related-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--heading); }
.related-card:hover .more { color: var(--accent-text); }
.related-card-top { display: flex; align-items: center; gap: 14px; }

.services-index { display: grid; gap: clamp(48px, 6vw, 72px); }
.services-index-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.services-index-head h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.services-index-head p { margin-top: 4px; color: var(--muted); }

/* About and contact */
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; }
.split p + p { margin-top: 14px; }
.split p { max-width: 64ch; }
.who-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.who-list li { display: flex; gap: 12px; align-items: flex-start; }
.who-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent-text); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.contact-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.contact-card h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.contact-card h2 svg { color: var(--accent-text); }
.contact-card p, .contact-card ul { margin-top: 10px; }
.contact-card ul { list-style: none; display: grid; gap: 4px; }
.contact-card a { font-weight: 700; }
.map { margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--tint); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { font-size: 24px; font-weight: 800; margin-top: 40px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal-updated { color: var(--muted); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #128C4A; color: #FFFFFF; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.wa-float:hover { background: #0E7A40; color: #FFFFFF; }

/* Not found */
.notfound { text-align: left; max-width: 640px; }
.notfound h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; }
.notfound p { margin-top: 16px; font-size: 18px; }
.notfound .page-hero-actions { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
