/* Jerin Kurian & Associates — design tokens follow the cajerinkurian.com design system. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal; font-display: swap; font-weight: 400 800;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Plus Jakarta Sans Variable";
  font-style: normal; font-display: swap; font-weight: 400 800;
  src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
}

:root {
  --color-primary: #145886;
  --color-primary-dark: #0d3d5e;
  --color-primary-light: #e6eff6;
  --color-accent: #55b848;
  --color-accent-dark: #3d8a35;
  --color-orange: #f37920;
  --color-orange-light: #fff0e5;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;
  --color-bg: #fff;
  --color-bg-muted: #f7f9fc;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;

  --font-body: "Inter Variable", "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Plus Jakarta Sans Variable", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --header-h: 84px;
  --header-h-shrunk: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--color-text); background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; letter-spacing: -0.02em; color: var(--color-text); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3, .h3 { font-size: 1.125rem; font-weight: 700; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 820px; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--color-primary); color: #fff; padding: .5rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-size: .9375rem; font-weight: 600; line-height: 1.25; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary); background: #fff; }
.btn-outline:hover { background: var(--color-primary-light); }
.btn-white { background: #fff; color: var(--color-primary-dark); }
.btn-white:hover { background: var(--color-primary-light); }
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: .9rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.more {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .875rem; font-weight: 600; color: var(--color-primary);
}
.more:hover { color: var(--color-primary-dark); gap: .5rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s;
}
.site-header.is-shrunk { box-shadow: var(--shadow-sm); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); transition: height .3s; }
.site-header.is-shrunk .header-inner { height: var(--header-h-shrunk); }

.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.site-header .brand { gap: .85rem; }
.site-header .brand-logo {
  display: grid; place-items: center; flex-shrink: 0; box-sizing: border-box; width: 60px; height: 60px; padding: 8px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 50%; box-shadow: var(--shadow-sm);
  transition: width .3s, height .3s, padding .3s;
}
.site-header .brand-logo img { width: 100%; height: auto; }
@media (min-width: 640px) {
  .site-header .brand-logo {
    width: 64px; height: 64px; padding: 9px; border: 1px solid var(--color-border);
    box-shadow: 0 4px 14px rgba(3, 18, 32, .1), 0 0 0 1px rgba(3, 18, 32, .04);
  }
  .site-header .brand-name { font-size: 1.18rem; }
  .site-header .brand-sub { font-size: .8rem; }
  .site-header.is-shrunk .brand-logo { width: 52px; height: 52px; padding: 7px; }
}
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--color-primary-dark); line-height: 1.2; }
.brand-sub { font-size: .75rem; font-weight: 600; color: var(--color-accent-dark); line-height: 1.2; }
.brand:hover .brand-name { color: var(--color-primary); }

.main-nav { display: none; align-items: center; gap: .25rem; }
.nav-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
  height: 38px; padding: 0 .68rem; border-radius: 8px; box-sizing: border-box;
  font-size: .88rem; font-weight: 500; color: var(--color-text-muted); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-current] { color: var(--color-primary); background: var(--color-primary-light); }
.header-cta { display: none; white-space: nowrap; height: 38px; box-sizing: border-box; align-items: center; flex-shrink: 0; }

/* the panel is positioned against .header-inner so it stays inside the page width */
.nav-item { position: static; }
.chevron { transition: transform .2s; }
.has-mega:hover .chevron, .has-mega:focus-within .chevron, .has-mega.is-open .chevron { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% - 8px); left: 50%; transform: translate(-50%, 6px);
  width: min(920px, 100%); padding: 1.5rem 1.75rem 1.25rem;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
/* bridge the gap between the link and the panel so hover is not lost */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 10px); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1.75rem; }
.mega-title {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-heading); font-weight: 700; font-size: .9rem; color: var(--color-primary-dark);
  padding-bottom: .5rem; margin-bottom: .4rem; border-bottom: 1px solid var(--color-border);
}
.mega-title .icon { color: var(--color-primary); }
.mega-title:hover { color: var(--color-primary); }
.mega-col li a { display: block; padding: .2rem 0; font-size: .85rem; color: var(--color-text-muted); }
.mega-col li a:hover { color: var(--color-primary); }
.mega-all {
  display: flex; align-items: center; gap: .35rem; margin-top: 1.1rem; padding-top: .9rem;
  border-top: 1px solid var(--color-border); font-size: .875rem; font-weight: 600; color: var(--color-primary);
}

.menu-btn { display: inline-flex; padding: .5rem; border-radius: 8px; color: var(--color-text); }
.menu-btn:hover { background: var(--color-primary-light); }
.menu-btn .icon { width: 24px; height: 24px; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .header-inner { gap: 1rem; }
}
/* nav links plus the WhatsApp button fit comfortably at 1024px to 1240px */
@media (min-width: 1024px) and (max-width: 1240px) {
  .header-inner { gap: .4rem; }
  .main-nav { gap: 0; }
  .nav-link { height: 34px; padding: 0 .38rem; font-size: .81rem; }
  .header-cta { height: 34px; padding: 0 .7rem; font-size: .78rem; }
  .site-header .brand { gap: .55rem; }
  .site-header .brand-logo { width: 48px; height: 48px; padding: 5px; }
  .site-header .brand-name { font-size: 1.02rem; }
  .site-header .brand-sub { font-size: .7rem; }
}
@media (max-width: 420px) {
  .brand-name { font-size: .95rem; }
  .site-header .brand-logo { width: 48px; height: 48px; padding: 6px; }
}

/* ---------- mobile drawer ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; transition: opacity .3s; }
.mobile-menu.is-open .mobile-backdrop { opacity: 1; }
.mobile-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  display: flex; flex-direction: column; gap: 1.5rem; padding: 1rem 1.25rem 1.5rem;
  background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto;
  transform: translateX(100%); transition: transform .3s;
}
.mobile-menu.is-open .mobile-drawer { transform: translateX(0); }
.mobile-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav > a, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem .25rem; border-bottom: 1px solid var(--color-border);
  font-weight: 600; color: var(--color-text); cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] .chevron { transform: rotate(180deg); }
.mobile-nav details ul { padding: .25rem 0 .5rem .75rem; border-bottom: 1px solid var(--color-border); }
.mobile-nav details a { display: block; padding: .5rem .25rem; font-size: .925rem; color: var(--color-text-muted); }
.mobile-nav a:hover { color: var(--color-primary); }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding: 4rem 0; }
.section--muted { background: var(--color-bg-muted); }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { margin-top: .75rem; color: var(--color-text-muted); }
.eyebrow {
  display: inline-block; margin-bottom: .75rem; padding: .3rem .75rem; border-radius: 999px;
  background: var(--color-primary-light); color: var(--color-primary);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow--orange { background: var(--color-orange-light); color: var(--color-orange); }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .925rem; color: var(--color-text-muted); }
.card-link { display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-link p { flex: 1; margin-bottom: 1rem; }
.card-link:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-link:hover h3 { color: var(--color-primary); }

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 10px;
  background: var(--color-primary-light); color: var(--color-primary);
}
.icon-tile .icon { width: 22px; height: 22px; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.split { display: grid; gap: 2.5rem; align-items: center; }
.split--top { align-items: start; }
.split h2 { margin-bottom: 1rem; }
.split p + p { margin-top: 1rem; }
.split p { color: var(--color-text-muted); }
.split .more { margin-top: 1.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.display { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }

.center-cta { text-align: center; margin-top: 3.5rem; }
.center-cta h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.stack { display: flex; flex-direction: column; gap: 1.5rem; }
.stack-sm { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }

/* ---------- home hero ---------- */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(135deg, #fff 0%, var(--color-bg-muted) 50%, var(--color-primary-light) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 5rem 0 6rem; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin: 1.25rem 0; }
.text-gradient {
  background: linear-gradient(90deg, var(--color-primary), #2d7fc1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.075rem; color: var(--color-text-muted); max-width: 640px; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem;
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .8rem; font-weight: 600; color: var(--color-primary-dark);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 3px rgba(85, 184, 72, .2); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; font-size: .85rem; color: var(--color-text-muted); }
.trust li { display: inline-flex; align-items: center; gap: .35rem; }
.trust .icon { color: var(--color-accent); }

/* ---------- inner page hero ---------- */
.page-hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(135deg, #fff 0%, var(--color-bg-muted) 50%, var(--color-primary-light) 100%);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero--center { text-align: center; padding: 5rem 0; }
.page-hero--center .lead { margin: 0 auto; }
.page-hero--center .actions { justify-content: center; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
.page-hero-photo { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 6px solid #fff; }
@media (min-width: 900px) {
  .page-hero { padding: 3.5rem 0 4rem; }
  .page-hero-grid { grid-template-columns: 1fr auto; gap: 3rem; }
  .page-hero-photo { width: 420px; aspect-ratio: 4 / 3; justify-self: end; }
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  margin-bottom: 1.25rem; font-size: .825rem; color: var(--color-text-muted);
}
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb [aria-current] { color: var(--color-text); font-weight: 600; }
.breadcrumb .icon { opacity: .5; }

/* ---------- services ---------- */
.service-row { display: grid; gap: 1.5rem; padding: 1.5rem; }
.service-row-photo .photo { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.service-row h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.service-row h2 a:hover { color: var(--color-primary); }
.service-row .more { margin-top: 1rem; }
@media (min-width: 768px) { .service-row { grid-template-columns: 320px 1fr; padding: 2rem; } .service-row-photo .photo { aspect-ratio: 4 / 3; } }

.checks { display: grid; gap: .45rem; margin-top: 1rem; }
.checks li { display: flex; align-items: flex-start; gap: .55rem; font-size: .925rem; color: var(--color-text-muted); }
.checks .icon { color: var(--color-accent); margin-top: .3rem; }
.checks a:hover { color: var(--color-primary); }
@media (min-width: 640px) { .checks--cols { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.checks--lg li { font-size: 1rem; color: var(--color-text); padding: .65rem 0; border-bottom: 1px solid var(--color-border); }
.checks--lg .icon { margin-top: .2rem; }
.checks--lg { gap: 0; margin-top: 0; }

.process { display: grid; gap: 1rem; counter-reset: none; }
.process li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.25rem;
}
.process h3 { font-size: 1rem; margin-bottom: .2rem; }
.process p { font-size: .925rem; color: var(--color-text-muted); }
.step-num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-family: var(--font-heading); font-weight: 700;
}
@media (min-width: 768px) { .section .narrow .process { grid-template-columns: 1fr 1fr; } }

.detail-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 1fr 340px; gap: 3.5rem; } .detail-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--color-text-muted); }
.prose p + p { margin-top: 1rem; }
.prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a.btn { text-decoration: none; }
.prose a.btn-whatsapp { color: #fff; }
.detail-side { display: flex; flex-direction: column; gap: 1.25rem; }
.side-links { margin: .5rem 0 1rem; }
.side-links a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .6rem 0; border-bottom: 1px solid var(--color-border); font-size: .925rem; color: var(--color-text);
}
.side-links a:hover { color: var(--color-primary); }
.side-links .icon { color: var(--color-text-muted); }

.cta-box {
  margin-top: 2.5rem; padding: 2rem; text-align: center; border-radius: var(--radius-lg);
  background: var(--color-primary-light); border: 1px solid #cfe0ee;
}
.prose .cta-box h2 { margin: 0 0 .5rem; }
.cta-box p { margin-bottom: 1.25rem; }

.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-weight: 600; color: var(--color-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--color-text-muted); }
.faq[open] summary .chevron { transform: rotate(180deg); }
.faq[open] summary { color: var(--color-primary); }
.faq p { padding: 0 1.25rem 1.2rem; color: var(--color-text-muted); font-size: .95rem; }

/* ---------- about ---------- */
.founder { display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem; }
.founder h2 { margin-bottom: .1rem; }
.founder p { font-size: 1rem; }
.founder-role { font-weight: 600; color: var(--color-accent-dark) !important; margin-bottom: .75rem; }
.founder-photo { flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
@media (min-width: 640px) {
  .founder { flex-direction: row; align-items: flex-start; }
  .founder-photo { width: 220px; aspect-ratio: 4 / 5; }
}

/* ---------- contact & map ---------- */
.contact-list { display: flex; flex-direction: column; gap: .9rem; margin: 1.25rem 0 0; }
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; color: var(--color-text-muted); }
.contact-list .icon { color: var(--color-primary); margin-top: .15rem; }
.contact-list a { color: var(--color-primary); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--lg li div { display: flex; flex-direction: column; }
.contact-list--lg strong { color: var(--color-text); font-size: .9rem; }
.note { margin-top: 1.5rem; padding: .85rem 1rem; border-radius: var(--radius); background: #ecfbf1; color: #166534 !important; font-size: .9rem; }

.map {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  background: linear-gradient(135deg, var(--color-bg-muted), var(--color-primary-light));
}
.map--tall { aspect-ratio: 4 / 3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  color: var(--color-text-muted);
}
.map-placeholder > .icon { width: 40px; height: 40px; color: var(--color-primary); }
.map-title { font-weight: 600; color: var(--color-text); }
.map-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .75rem; }
.map-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 500; color: var(--color-primary); }
.map-link:hover { text-decoration: underline; }
.split--top .h3 { margin-bottom: 1rem; }

/* ---------- legal ---------- */
.prose h2 + p { margin-top: 0; }

/* ---------- WhatsApp band, footer, float ---------- */
.wa-band { background: var(--color-primary-dark); color: #fff; padding: 3.5rem 0; }
.wa-band-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.wa-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.85rem); }

.site-footer { background: #0b2e47; color: rgba(255, 255, 255, .72); padding: 3.5rem 0 0; font-size: .9rem; }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; gap: 3rem; } }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a:hover { color: #fff; }
.brand--light { margin-bottom: 1rem; }
.brand--light img { background: #fff; border-radius: 6px; padding: 3px; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: var(--color-accent); }
.footer-note { margin-top: .75rem; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-contact .icon { margin-top: .2rem; color: var(--color-accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: .8rem; color: rgba(255, 255, 255, .5); }

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-whatsapp); color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { transform: scale(1.08); background: var(--color-whatsapp-dark); }
.wa-float .icon { width: 30px; height: 30px; }

/* ===================================================================
   Data-rich category & service pages
   Each page sets --accent to its category colour.
   =================================================================== */
:root { --accent: var(--color-primary); }

.page-hero--rich {
  position: relative; overflow: hidden; padding-bottom: 2.5rem;
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--accent) 16%, transparent) 0, transparent 45%),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent) 0, transparent 40%),
    linear-gradient(180deg, #fff, var(--color-bg-muted));
}
.page-hero--rich::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 25%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.page-hero--rich > .container { position: relative; }
.page-hero--rich .page-hero-photo { box-shadow: var(--shadow-lg); }
.cat-chip {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .9rem; padding: .3rem .75rem;
  border-radius: 999px; font-size: .78rem; font-weight: 600;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, #fff);
}
.cat-chip:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2.25rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.stat {
  display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(4px);
  border: 1px solid var(--color-border); border-top: 3px solid var(--accent); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat-value { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; color: var(--accent); line-height: 1.15; }
.stat-label { font-size: .85rem; font-weight: 600; color: var(--color-text); }
.stat-note { font-size: .75rem; color: var(--color-text-muted); line-height: 1.4; }

/* article column + sticky sidebar */
.article { min-width: 0; }
.article-section { padding: 2.25rem 0; border-bottom: 1px solid var(--color-border); scroll-margin-top: calc(var(--header-h) + 16px); }
.article-section:first-of-type { padding-top: 0; }
.article-section > h2 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.article-section > h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--accent); }
.article-section > p, .article-section p { color: var(--color-text-muted); }
.article-section > p + p { margin-top: .9rem; }
.for-whom { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, #fff); border-left: 4px solid var(--accent); }
.for-whom strong { color: var(--color-text); }
.inline-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: currentColor; }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.toc { padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; }
.toc-title { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .6rem; }
.toc ol { counter-reset: toc; }
.toc li a {
  display: flex; gap: .55rem; padding: .35rem .5rem; border-radius: 8px;
  font-size: .875rem; color: var(--color-text-muted); counter-increment: toc;
}
.toc li a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.toc li a:hover, .toc li a.is-active { background: color-mix(in srgb, var(--accent) 9%, #fff); color: var(--color-text); }
@media (max-width: 1023px) { .toc { display: none; } }
.side-card h3 a:hover { color: var(--accent); }
.side-links a[aria-current] { color: var(--accent); font-weight: 600; }

/* tables */
.table-card { margin: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.table-card + .table-card { margin-top: 1.25rem; }
.table-card figcaption { padding: 1rem 1.25rem .25rem; }
.table-card figcaption:empty { display: none; }
.table-card figcaption h3 { font-size: 1rem; }
.table-card figcaption p { font-size: .9rem; margin-top: .25rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: -2px; }
.table-card table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.table-card th, .table-card td { padding: .7rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--color-border); }
.table-card thead th {
  border-top: 0; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff);
}
.table-card tbody th { font-weight: 600; color: var(--color-text); }
.table-card td { color: var(--color-text-muted); }
.table-card tbody tr:nth-child(even) { background: #fbfcfe; }
.table-card tbody tr:hover { background: color-mix(in srgb, var(--accent) 4%, #fff); }
.table-note { padding: .75rem 1.25rem 1rem; font-size: .8rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); }
.table-card--warn thead th { color: #b45309; background: #fff7ed; }

/* timeline of due dates */
.timeline { position: relative; display: flex; flex-direction: column; gap: .75rem; }
.timeline li {
  display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 1rem; align-items: start;
  padding: .85rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff;
}
.tl-when {
  justify-self: start; padding: .3rem .65rem; border-radius: 8px; font-size: .8rem; font-weight: 700; line-height: 1.3;
  color: #fff; background: var(--accent); font-variant-numeric: tabular-nums;
}
.timeline strong { display: block; color: var(--color-text); font-size: .95rem; }
.timeline div > span { display: block; font-size: .85rem; color: var(--color-text-muted); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: .5rem; } }

/* documents */
.doc-list { display: grid; gap: .6rem; }
@media (min-width: 640px) { .doc-list { grid-template-columns: 1fr 1fr; } }
.doc-list li {
  display: flex; gap: .65rem; align-items: flex-start; padding: .75rem .9rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--color-border)); border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 4%, #fff); font-size: .925rem; color: var(--color-text);
}
.doc-list .icon { color: var(--accent); margin-top: .15rem; }

.checks--lg .icon, .checks .icon { color: var(--color-accent); }
.step-time { margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; font-family: var(--font-body); font-size: .72rem; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); vertical-align: middle; }
.article .step-num { background: var(--accent); }
.article .process li { background: #fff; }

/* glossary */
.glossary { display: grid; gap: .75rem; }
@media (min-width: 640px) { .glossary { grid-template-columns: 1fr 1fr; } }
.glossary div { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--color-bg-muted); border: 1px solid var(--color-border); }
.glossary dt { font-family: var(--font-heading); font-weight: 700; color: var(--color-text); margin-bottom: .25rem; }
.glossary dd { font-size: .9rem; color: var(--color-text-muted); }

/* which-service guide */
.guide { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.guide-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem;
  padding: .9rem 1.25rem; background: #fff; transition: background-color .2s;
}
.guide-row + .guide-row { border-top: 1px solid var(--color-border); }
.guide-row span { color: var(--color-text-muted); font-size: .925rem; }
.guide-row strong { display: inline-flex; align-items: center; gap: .35rem; color: var(--accent); font-size: .925rem; }
.guide-row:hover { background: color-mix(in srgb, var(--accent) 6%, #fff); }

/* related & sources */
.related-card { border-top: 3px solid var(--accent); }
.related-cat { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.related-card .more { color: var(--accent); }
.sources { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--color-bg-muted); border: 1px solid var(--color-border); }
.sources ul { display: grid; gap: .35rem; margin: .5rem 0 1rem; padding-left: 1.1rem; list-style: disc; }
.sources a { color: var(--color-primary); font-size: .875rem; text-decoration: underline; text-underline-offset: 2px; }
.meta-line { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--color-text); }
.disclaimer { margin-top: .4rem; font-size: .78rem; color: var(--color-text-muted); }
.cta-box { margin-top: 2.5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, #fff), #fff); border-color: color-mix(in srgb, var(--accent) 25%, #fff); }
.cta-box h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.cta-box .actions { justify-content: center; margin-top: 1.25rem; }

/* ---------- home: category cards ---------- */
.cat-card { display: flex; flex-direction: column; border-top: 3px solid var(--accent); transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-card-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .75rem; }
.cat-card-head .icon-tile { margin: 0; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.cat-card-head h3 { margin: 0; }
.cat-card-head:hover h3 { color: var(--accent); }
.cat-count { display: block; font-size: .75rem; font-weight: 600; color: var(--accent); }
.cat-card > p { margin-bottom: .9rem; }
.cat-links { display: flex; flex-wrap: wrap; gap: .35rem .4rem; margin-bottom: 1.1rem; flex: 1; align-content: flex-start; }
.cat-links a {
  display: inline-block; padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; color: var(--color-text-muted);
  background: var(--color-bg-muted); border: 1px solid var(--color-border); transition: color .2s, border-color .2s, background-color .2s;
}
.cat-links a:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, #fff); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.cat-card .more { color: var(--accent); }
.cat-links-more { display: none; }
.cat-links-more a { color: var(--accent); font-weight: 600; background: #fff; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chip {
  padding: .45rem .95rem; border-radius: 999px; font-size: .875rem; font-weight: 500; background: #fff;
  border: 1px solid var(--color-border); color: var(--color-text); box-shadow: var(--shadow-sm); transition: all .2s;
}
.chip:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

/* ---------- deadlines ---------- */
.timeline--deadlines li { grid-template-columns: 68px 1fr; align-items: center; }
.timeline--deadlines .tl-when { display: flex; flex-direction: column; align-items: center; justify-self: stretch; padding: .45rem .3rem; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.timeline .tl-when .tl-day { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; line-height: 1.1; letter-spacing: 0; }
.timeline--deadlines .more { margin-top: .25rem; font-size: .8rem; color: var(--accent); }
.timeline--deadlines li.is-past { opacity: .45; }
.timeline--deadlines li.is-next { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.timeline--deadlines li.is-next strong::after { content: "Next"; margin-left: .5rem; padding: .05rem .45rem; border-radius: 999px; font-size: .68rem; color: #fff; background: var(--color-orange); vertical-align: middle; }
@media (max-width: 520px) { .timeline--deadlines li { grid-template-columns: 60px 1fr; } }
.calendar { display: flex; flex-direction: column; gap: 2rem; }
.month-block h3 { font-size: 1.05rem; margin-bottom: .75rem; color: var(--color-primary-dark); }
.section .narrow > .table-card + .table-card { margin-top: 1.5rem; }

.table-wrap.is-scrollable { mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.table-wrap.is-scrollable.at-end { mask-image: none; -webkit-mask-image: none; }
.scroll-hint { display: flex; align-items: center; gap: .3rem; padding: .5rem 1.25rem; font-size: .75rem; font-weight: 600; color: var(--accent); border-top: 1px solid var(--color-border); }

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

/* ---------- newsletters ---------- */
.chips--left { justify-content: flex-start; margin-bottom: 2rem; }
.chip[aria-current] { color: #fff; background: var(--accent); border-color: var(--accent); }
.chip-count { display: inline-block; min-width: 1.4em; margin-left: .2rem; padding: 0 .35rem; border-radius: 999px; font-size: .75rem; font-weight: 600; text-align: center; background: color-mix(in srgb, currentColor 12%, transparent); }
.news-card { border-top: 3px solid var(--accent); }
.news-card h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: .5rem; }

/* ---------- home: Google reviews (content/reviews.py) ---------- */
.review-card { display: flex; flex-direction: column; gap: .85rem; margin: 0; }
.review-stars { display: flex; gap: .15rem; color: #cbd5e1; }
.review-stars .is-on { color: var(--color-orange); fill: currentColor; }
.review-card blockquote { flex: 1; margin: 0; }
.review-card blockquote p { font-size: .95rem; line-height: 1.65; color: var(--color-text); }
.review-card figcaption {
  display: flex; flex-direction: column; gap: .1rem;
  padding-top: .85rem; border-top: 1px solid var(--color-border); font-size: .9rem;
}
.review-card figcaption span { font-size: .8rem; color: var(--color-text-muted); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; margin-bottom: .75rem; font-size: .8rem; color: var(--color-text-muted); }
.news-topic { padding: .15rem .6rem; border-radius: 999px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.topic-card .icon-tile { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.empty-note { padding: 2rem; text-align: center; color: var(--color-text-muted); background: var(--color-bg-muted); border: 1px dashed var(--color-border); border-radius: var(--radius); }
.center-actions { display: flex; justify-content: center; margin-top: 2rem; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; margin-top: 1.25rem; font-size: .9rem; color: var(--color-text-muted); }
.byline span { display: inline-flex; align-items: center; gap: .35rem; }
.byline span:not(:last-child)::after { content: "·"; margin-left: .35rem; }
.key-points { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, #fff); border-left: 4px solid var(--accent); }
.key-points h2 { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; color: var(--accent); }
.key-points ul { display: grid; gap: .5rem; }
.key-points li { position: relative; padding-left: 1.1rem; }
.key-points li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.bullets { display: grid; gap: .45rem; margin-top: 1rem; }
.bullets li { position: relative; padding-left: 1.1rem; color: var(--color-text-muted); }
.bullets li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.article-section .table-card { margin-top: 1.25rem; }
.news-list { display: grid; }
.news-list li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .25rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--color-border); }
.news-list li:last-child { border-bottom: 0; }
.news-list time { font-size: .85rem; color: var(--color-text-muted); padding-top: .1rem; }
.news-list a { font-weight: 600; color: var(--color-text); }
.news-list a:hover { color: var(--accent); }
@media (max-width: 560px) { .news-list li { grid-template-columns: 1fr; } }

/* ---------- photos ---------- */
.photo { display: block; overflow: hidden; background: var(--color-bg-muted); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rounded-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.card-photo { display: block; margin: -1.5rem -1.5rem 1.25rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.card-photo .photo { aspect-ratio: 16 / 9; }
.card-photo img { transition: transform .5s ease; }
.card-link:hover .card-photo img, .cat-card:hover .card-photo img { transform: scale(1.04); }
.news-card, .related-card, .cat-card { border-top: 0; }
.news-card .card-photo, .related-card .card-photo, .cat-card .card-photo, .card-link .card-photo { border-bottom: 3px solid var(--accent); }
.h1--article { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
@media (prefers-reduced-motion: reduce) { .card-photo img { transition: none; } }

/* ---------- home hero (dark) ---------- */
.hero--dark {
  position: relative; isolation: isolate; color: #fff; padding-bottom: 7rem;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(45, 127, 193, .45), transparent 70%),
    radial-gradient(ellipse 45% 60% at 5% 100%, rgba(85, 184, 72, .22), transparent 70%),
    linear-gradient(160deg, #0b2f49 0%, #0d3d5e 45%, #145886 100%);
}
/* full-bleed desk photos behind the copy, under a blue tint; they cross-fade and slowly zoom (motion block below) */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 58, .78) 0%, rgba(11, 47, 73, .88) 100%);
}
.hero-slide { position: absolute; inset: 0; background: none; }
.hero-slide + .hero-slide { opacity: 0; }
@media (min-width: 1024px) {
  .hero-bg::after { background: radial-gradient(ellipse 70% 80% at 50% 45%, rgba(8, 36, 58, .9) 0%, rgba(11, 47, 73, .78) 60%, rgba(20, 88, 134, .6) 100%); }
}
/* the copy is centred over the photos */
.hero--dark .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero--dark .hero-copy { max-width: 48rem; }
.hero--dark .actions, .hero--dark .trust { justify-content: center; }
.hero--dark h1 { color: #fff; }
.hero--dark .text-gradient { background: none; color: #8fdc7f; -webkit-text-fill-color: currentColor; }
.hero--dark .lead { color: rgba(226, 236, 245, .85); }
.hero--dark .badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #e6f0f8; box-shadow: none; backdrop-filter: blur(6px); }
.hero--dark .trust { color: rgba(226, 236, 245, .9); }
.hero--dark .trust .icon { color: #7fd36f; }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
@media (min-width: 1024px) { .hero--dark { padding: 5.5rem 0 9rem; } }


/* quick-start cards overlapping the hero's bottom edge */
.quick-start { position: relative; z-index: 2; margin-top: -4.5rem; }
.quick-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .quick-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .quick-start { margin-top: -5.5rem; } .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }
.quick-card {
  display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.2rem; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--color-border); box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  border-bottom: 3px solid var(--accent); transition: transform .2s, box-shadow .2s;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(15, 23, 42, .16); }
.quick-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, #fff); }
.quick-icon .icon { width: 24px; height: 24px; }
.quick-text { flex: 1; min-width: 0; font-size: .82rem; line-height: 1.35; color: var(--color-text-muted); }
.quick-text strong { display: block; font-family: var(--font-heading); font-size: .98rem; color: var(--color-text); margin-bottom: .1rem; }
.quick-arrow { color: var(--accent); flex: none; transition: transform .2s; }
.quick-card:hover .quick-arrow { transform: translateX(3px); }
.quick-start + .section { padding-top: 4rem; }

/* ---------- home deadlines: one row of calendar tiles ---------- */
.band-head { display: grid; gap: 1.25rem; align-items: end; margin-bottom: 2rem; }
.band-head h2 { margin-bottom: .5rem; }
.band-head p { color: var(--color-text-muted); max-width: 620px; }
.band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .band-head { grid-template-columns: 1fr auto; } .band-actions { justify-content: flex-end; } }
.deadline-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; margin: 0 -.25rem; }
.deadline-strip li { scroll-snap-align: start; }
.deadline-strip li[hidden] { display: none; }
@media (min-width: 1024px) { .deadline-strip { overflow: visible; grid-auto-columns: 1fr; } }
.dl-tile {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.dl-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dl-month { padding: .45rem 1.1rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); }
.dl-day { padding: .7rem 1.1rem 0; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--color-text); }
.dl-in { align-self: flex-start; margin: .55rem 1.1rem 0; padding: .12rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.dl-in:empty { display: none; }
.dl-in.is-soon { color: #fff; background: var(--color-orange); }
.dl-what { flex: 1; padding: .7rem 1.1rem 0; font-size: .92rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dl-page { display: inline-flex; align-items: center; gap: .25rem; padding: .8rem 1.1rem 1rem; font-size: .8rem; font-weight: 600; color: var(--accent); }
@media (max-width: 639px) {
  .quick-start { margin-top: -3.5rem; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .quick-card { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1rem; }
  .quick-text > span, .quick-arrow { display: none; }
  .quick-text strong { font-size: .92rem; margin: 0; }
}

/* ---------- HTML sitemap ---------- */
.sitemap > h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--color-border); }
.sitemap > h2:first-child { margin-top: 0; }
.sitemap ul { display: grid; gap: .65rem; }
.sitemap li a { font-weight: 600; color: var(--color-primary); }
.sitemap li a:hover { text-decoration: underline; }
.sitemap li span { display: block; font-size: .9rem; color: var(--color-text-muted); }
.sitemap-group { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--accent); }
.sitemap-group h3 { margin-bottom: .25rem; }
.sitemap-group h3 a { color: var(--color-text); }
.sitemap-group > p { font-size: .9rem; color: var(--color-text-muted); margin-bottom: .75rem; }

.hero--dark h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero--dark h1 .text-gradient { display: block; }
.hero--dark .lead { max-width: 44ch; margin-inline: auto; }
.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; }

/* ---------- focus on dark backgrounds ---------- */
.hero--dark :focus-visible, .journey :focus-visible, .wa-band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* ---------- print: due dates and service pages are often printed ---------- */
@media print {
  .site-header, .mobile-menu, .wa-float, .wa-band, .detail-side, .cta-box, .map, .actions, .hero-bg, .quick-start, .skip-link { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero--dark { background: none; color: #000; padding: 1rem 0; }
  .hero--dark h1, .hero--dark .lead, .hero--dark .trust { color: #000; }
  .journey { background: none; }
  .journey h2, .journey h3, .journey p { color: #000 !important; }
  .jump, .journey-head .btn { display: none !important; }
  .section { padding: 1rem 0; }
  .card, .table-card, .dl-tile { box-shadow: none; break-inside: avoid; }
  .table-wrap { overflow: visible; mask-image: none; -webkit-mask-image: none; }
  .article a.inline-link::after { content: " (" attr(href) ")"; font-size: .8em; font-weight: 400; }
  details.faq > *:not(summary) { display: block; }
  .photo, .card-photo { display: none; }
}

/* ---------- tax calculators (/tax-calculators/) ---------- */
.page-hero--calc { padding: 1.5rem 0 1.75rem; }
.page-hero--calc h1 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); max-width: 30ch; }
.page-hero--calc .lead { max-width: 70ch; font-size: 1rem; }
.page-hero--calc .breadcrumb { margin-bottom: .75rem; }
@media (min-width: 900px) { .page-hero--calc { padding: 2.75rem 0 3rem; } }
.section--calc { padding: 2rem 0 0; }
@media (min-width: 768px) { .section--calc { padding-top: 2.5rem; } }

.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 1fr) 400px; gap: 1.75rem; } .calc-result { position: sticky; top: calc(var(--header-h) + 16px); } }
.calc-form, .calc-result {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 1.25rem;
}
@media (min-width: 640px) { .calc-form, .calc-result { padding: 1.5rem; } }
.calc-form { border-top: 4px solid var(--accent); }
.calc-fields { display: grid; gap: 1rem; }
@media (min-width: 640px) { .calc-fields { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; } }
.calc-fields > fieldset, .calc-fields > details, .calc-fields > .field--check { grid-column: 1 / -1; }
.calc-fields [hidden] { display: none; }

.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; border: 0; }
.field > label, .field > legend { font-size: .875rem; font-weight: 600; color: var(--color-text); padding: 0; }
.field-help { font-size: .775rem; line-height: 1.45; color: var(--color-text-muted); }
.field input[type="text"], .field input[type="number"], .field input[type="date"], .field select {
  width: 100%; min-height: 44px; padding: .55rem .75rem; font: inherit; font-size: 1rem; color: var(--color-text);
  background: #fff; border: 1px solid #cbd5e1; border-radius: var(--radius);
}
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.input-money { position: relative; display: block; }
.input-money > span { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }
.field .input-money input { padding-left: 1.75rem; font-variant-numeric: tabular-nums; }

.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .925rem; }
.choices .choice { padding: .5rem .85rem; min-height: 44px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; }
.choices .choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); color: var(--color-text); font-weight: 600; }
.choice input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.field--check { gap: .2rem; }
.field--check .field-help { padding-left: 1.6rem; }

.calc-group, .calc-more { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem; min-width: 0; }
.calc-group > legend { padding: 0 .35rem; font-weight: 700; font-size: .875rem; }
.calc-more { padding: 0; background: var(--color-bg-muted); }
.calc-more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; cursor: pointer;
  list-style: none; font-weight: 600; font-size: .925rem;
}
.calc-more > summary::-webkit-details-marker { display: none; }
.calc-more[open] > summary .chevron { transform: rotate(180deg); }
.calc-more > .calc-fields { padding: 0 1rem 1rem; }
.calc-more-note { padding: 0 1rem .75rem; font-size: .8rem; color: var(--color-text-muted); }
.calc-group .calc-more-note { padding: 0 0 .75rem; }

.calc-result-title { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.calc-summary { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; line-height: 1.4; color: var(--color-text); }
.calc-detail:not(:empty) { margin-top: 1rem; }
.calc-table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: .5rem .25rem; text-align: left; border-top: 1px solid var(--color-border); vertical-align: top; }
.calc-table td { text-align: right; color: var(--color-text); }
.calc-table thead th { border-top: 0; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-muted); text-align: right; }
.calc-table thead th:first-child { text-align: left; }
.calc-table tbody th { font-weight: 500; color: var(--color-text-muted); }
.calc-table .total th, .calc-table .total td { font-weight: 700; color: var(--color-text); }
.calc-flag { margin-top: .75rem; padding: .6rem .8rem; font-size: .825rem; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, #fff); color: var(--color-text); }
.calc-note { margin: 1rem 0; font-size: .775rem; color: var(--color-text-muted); }

.calc-steps { counter-reset: step; display: grid; gap: .6rem; margin-top: 1rem; }
.calc-steps li { counter-increment: step; position: relative; padding-left: 2.25rem; color: var(--color-text-muted); }
.calc-steps li::before {
  content: counter(step); position: absolute; left: 0; top: .05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: #fff; background: var(--accent);
}
.example-card { margin-top: 1rem; }
.example-card table { min-width: 0; }
.example-card td { text-align: right; white-space: nowrap; color: var(--color-text); font-variant-numeric: tabular-nums; }
.example-card tr.total th, .example-card tr.total td { font-weight: 700; color: var(--color-text); }
.example-card + p { margin-top: 1rem; }
.calc-card .icon-tile { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.calc-card .more { color: var(--accent); }
/* print keeps the inputs, so the printed result shows the year, city or dates it was worked out for */
@media print { .calc-result .btn, .calc-more > summary .chevron { display: none; } .calc-result { position: static; box-shadow: none; } .calc { display: block; } .calc-form { margin-bottom: 1rem; } }

/* ===================================================================
   Phones and scroll motion (October 2026)
   Most visitors are on phones: long card grids become swipeable rails, long articles get a sticky jump bar,
   and hover lifts don't stick after a tap. Scroll motion uses CSS scroll-driven animations only, so it needs no
   JavaScript, is off for reduced-motion users and in print, and browsers without support show the static page.
   Animations change `translate`, `scale` and `opacity`, never `transform`, so they don't fight the hover lifts.
   =================================================================== */

/* ---------- swipeable rails (.grid.rail): a row of cards below 640px, a normal grid above ---------- */
@media (max-width: 639px) {
  .rail {
    grid-auto-flow: column; grid-auto-columns: 84%; gap: .9rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -1.25rem; padding: .25rem 1.25rem 1rem; scroll-padding-inline: 1.25rem;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  /* category cards list their first four services and a "+N more" link (CAT_LINKS_ON_PHONES in build.py) */
  .cat-links li:nth-child(n + 5):not(.cat-links-more) { display: none; }
  .cat-links-more { display: list-item; }
}

/* ---------- home hero on phones: less padding, full-width buttons ---------- */
@media (max-width: 639px) {
  .hero--dark { padding-top: 2.25rem; padding-bottom: 6rem; }
  .hero-grid { gap: 2rem; }
  .hero--dark h1 { margin: 1rem 0 .85rem; }
  .hero--dark .lead { font-size: 1rem; }
  .hero .actions { flex-direction: column; margin-top: 1.5rem; }
  .hero .actions .btn { width: 100%; }
  .hero--dark .trust { display: none; }
}

/* ---------- sticky "jump to section" bar on long pages (the sidebar's list is used from 1024px) ---------- */
.jump { display: none; }
@media (max-width: 1023px) {
  .jump {
    display: block; position: sticky; top: var(--header-h-shrunk); z-index: 30;
    margin: -1.5rem -1.25rem 1.75rem; padding: .55rem 1.25rem;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
  }
  .jump ol { position: relative; display: flex; gap: .4rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .jump ol::-webkit-scrollbar { display: none; }
  .jump a {
    display: block; padding: .45rem .85rem; border-radius: 999px; white-space: nowrap;
    font-size: .8rem; font-weight: 600; color: var(--color-text-muted);
    background: var(--color-bg-muted); border: 1px solid var(--color-border); transition: color .2s, background-color .2s;
  }
  .jump a.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }
  .article-section { scroll-margin-top: 56px; } /* clears the bar; the header is covered by scroll-padding-top */
}
@media (min-width: 640px) and (max-width: 1023px) { .jump { margin-inline: -1.5rem; padding-inline: 1.5rem; } }

/* ---------- touch screens: no sticky hover after a tap; a small press instead ---------- */
@media (hover: none) {
  .btn:hover, .card-link:hover, .cat-card:hover, .quick-card:hover, .dl-tile:hover, .chip:hover,
  .card-link:hover .card-photo img, .cat-card:hover .card-photo img, .quick-card:hover .quick-arrow { transform: none; }
  .chip:not([aria-current]):hover { color: var(--color-text); background: #fff; border-color: var(--color-border); }
  .card-link, .quick-card, .dl-tile, .chip, .btn { -webkit-tap-highlight-color: transparent; }
  .card-link:active, .quick-card:active, .dl-tile:active, .chip:active, .btn:active { scale: .98; }
}

/* ---------- home: "How it works" ---------- */
.journey {
  color: #fff;
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(45, 127, 193, .35), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(85, 184, 72, .14), transparent 70%),
    linear-gradient(160deg, #0b2f49 0%, var(--color-primary-dark) 100%);
}
.journey h2, .journey h3 { color: #fff; }
.journey-grid { display: grid; gap: 2.5rem; }
.journey-head p { margin: .75rem 0 1.5rem; max-width: 440px; color: rgba(226, 236, 245, .85); }
.journey-steps { --gap: 2rem; display: grid; gap: var(--gap); }
.journey-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; }
.journey-step h3 { font-size: 1.15rem; margin: .6rem 0 .35rem; }
.journey-step p { color: rgba(226, 236, 245, .85); font-size: .95rem; }
.journey-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: #fff; background: var(--color-accent-dark); border: 1px solid var(--color-accent);
}
.journey-num .icon { width: 22px; height: 22px; }
/* the line from each step's circle down to the next one; the ::after fill grows with scroll where supported */
.journey-step:not(:last-child)::before, .journey-step:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 48px; width: 2px; height: calc(100% - 48px + var(--gap));
  background: rgba(255, 255, 255, .16);
}
.journey-step:not(:last-child)::after { display: none; background: linear-gradient(var(--color-accent), #8fdc7f); transform-origin: top; }
@media (min-width: 900px) {
  .journey-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .journey-head { position: sticky; top: calc(var(--header-h) + 3rem); }
  .journey-steps { --gap: 3.25rem; padding-top: .5rem; }
  .journey-step { grid-template-columns: 56px 1fr; gap: 1.5rem; }
  .journey-num { width: 56px; height: 56px; }
  .journey-step:not(:last-child)::before, .journey-step:not(:last-child)::after { left: 27px; top: 56px; height: calc(100% - 56px + var(--gap)); }
  .journey-step h3 { font-size: 1.3rem; margin-top: .75rem; }
  .journey-step p { font-size: 1rem; max-width: 52ch; }
}

/* ---------- time-based entrance of the home hero (the heading, lead and photo are left alone for LCP) ---------- */
@keyframes fade-up { from { opacity: 0; translate: 0 14px; } }
@keyframes pop-in { from { opacity: 0; scale: .9; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(85, 184, 72, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(85, 184, 72, 0); } }
@media screen and (prefers-reduced-motion: no-preference) {
  .hero-copy .badge, .hero-copy .actions, .hero-copy .trust { animation: fade-up .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy .actions { animation-delay: .15s; }
  .hero-copy .trust { animation-delay: .3s; }
  /* background: the first photo shows at once; the next two fade in over it in turn, then all fade back (21s loop) */
  @keyframes slide-2 { 0%, 28.5% { opacity: 0; } 35.7%, 69.5% { opacity: 1; } 70%, 100% { opacity: 0; } }
  @keyframes slide-3 { 0%, 61.9% { opacity: 0; } 69%, 92.8% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes ken-burns { from { scale: 1; translate: 0 0; } to { scale: 1.12; translate: -2% -1.5%; } }
  .hero-slide:nth-child(2) { animation: slide-2 21s linear infinite; }
  .hero-slide:nth-child(3) { animation: slide-3 21s linear infinite; }
  .hero-slide img { animation: ken-burns 14s ease-in-out infinite alternate; }
  .hero-slide:nth-child(2) img { animation-delay: -5s; }
  .hero-slide:nth-child(3) img { animation-delay: -9s; }
  .hero--dark .dot { animation: pulse 2.4s ease-out 1s infinite; }
}

/* ---------- scroll-driven motion ---------- */
@supports (animation-timeline: view()) {
  /* reading progress: a thin line under the header that fills as you scroll the page */
  @keyframes progress { from { scale: 0 1; } }
  .site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    animation: progress linear both; animation-timeline: scroll(root);
  }

  @media screen and (prefers-reduced-motion: no-preference) {
    /* blocks rise into place as they enter; columns of a grid follow each other slightly */
    @keyframes rise { from { opacity: 0; translate: 0 32px; } }
    .section-head, .band-head, .card, .dl-tile, .quick-card, .split > *, .journey-head {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 180px;
    }
    .grid > :nth-child(3n + 2), .quick-grid > :nth-child(4n + 2) { animation-range: entry 40px entry 220px; }
    .grid > :nth-child(3n), .quick-grid > :nth-child(4n + 3) { animation-range: entry 80px entry 260px; }
    .quick-grid > :nth-child(4n) { animation-range: entry 120px entry 300px; }

    /* home hero: the copy sinks and fades as it leaves, and the background photos lag behind (parallax) */
    @keyframes copy-out { to { opacity: 0; translate: 0 22%; } }
    @keyframes bg-drift { to { translate: 0 30%; } }
    .hero-copy { animation: copy-out linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .hero-bg { animation: bg-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }

    /* how it works: each step lights up as it reaches the middle of the screen, and the line to the next one fills */
    @keyframes step-dim { from { opacity: .4; } }
    @keyframes num-on { from { color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); } }
    @keyframes line-fill { from { scale: 1 0; } }
    .journey-step { view-timeline: --step block; view-timeline-inset: 45% 45%; }
    .journey-step > div { animation: step-dim linear both; animation-timeline: --step; animation-range: cover 0% cover 25%; }
    .journey-num { animation: num-on linear both; animation-timeline: --step; animation-range: cover 0% cover 10%; }
    .journey-step:not(:last-child)::after { display: block; animation: line-fill linear both; animation-timeline: --step; animation-range: cover 0% cover 100%; }
  }
}

/* ---------- portals directory in knowledge base ---------- */
.portal-grid { display: grid; gap: 1.25rem; margin-top: 1rem; }
@media (min-width: 640px) { .portal-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.portal-card { display: flex; flex-direction: column; padding: 1.25rem; }
.portal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .25rem; }
.portal-head h3 { font-size: 1.05rem; margin-bottom: 0; }
.badge--portal { font-family: monospace; font-size: .75rem; background: var(--color-primary-light); color: var(--color-primary); padding: .2rem .5rem; border-radius: 4px; white-space: nowrap; }
.portal-authority { font-size: .8rem; font-weight: 600; color: var(--color-text-muted); margin-bottom: .5rem; }
.portal-services { font-size: .875rem; color: var(--color-text-muted); flex: 1; margin-bottom: 1rem; line-height: 1.5; }
.portal-action { margin-top: auto; }
