:root {
  color-scheme: light;
  --ink: #14221f;
  --muted: #526762;
  --line: #d8e1de;
  --surface: #ffffff;
  --canvas: #f3f7f5;
  --brand: #136f5b;
  --brand-strong: #0b5142;
  --danger: #a4262c;
  --focus: #ffbf47;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.55; }
a { color: var(--brand-strong); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: .2rem solid var(--focus); outline-offset: .15rem;
}
.skip-link { position: absolute; left: -999rem; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--surface); padding: .6rem; }
.shell { width: min(76rem, calc(100% - 2rem)); margin: 0 auto; }
.site-header { background: #0f3e35; color: #fff; }
.site-header .shell { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; padding: .85rem 0; }
.brand { color: #fff; font-size: 1.1rem; font-weight: 750; text-decoration: none; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; list-style: none; }
nav a[aria-current="page"] { font-weight: 750; text-decoration-thickness: .16em; }
main { padding: 1.5rem 0 3rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; padding: 1.25rem; margin-bottom: 1rem; box-shadow: 0 .2rem .8rem rgb(20 34 31 / 5%); }
.narrow { width: min(31rem, calc(100% - 2rem)); margin: 6vh auto; }
.auth-wide { width: min(42rem, calc(100% - 2rem)); margin: 4vh auto; }
.auth-footer { margin: 1rem 0 0; text-align: center; color: var(--muted); }
.role-tabs { display: flex; gap: .5rem; margin: 1rem 0; }
.role-tabs a { flex: 1; border: 1px solid var(--line); border-radius: .3rem; padding: .6rem; text-align: center; text-decoration: none; }
.role-tabs a[aria-current="page"] { border-color: var(--brand); background: #e8f5f0; font-weight: 750; }
.sms-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
.legal-confirmations { display: grid; gap: .7rem; border: 1px solid var(--line); border-radius: .35rem; padding: 1rem; }
.legal-confirmations legend { padding: 0 .35rem; font-weight: 750; }
.checkbox-line { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .6rem; font-weight: 500; }
.checkbox-line input { width: auto; margin-top: .35rem; }
.legal-shell { width: min(54rem, calc(100% - 2rem)); margin: 3vh auto; }
.legal-document-content { overflow-wrap: anywhere; white-space: pre-wrap; font: inherit; line-height: 1.75; }
h1, h2, h3 { line-height: 1.2; }
h1 { margin-top: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); }
h2 { margin-top: 0; font-size: 1.25rem; }
.muted { color: var(--muted); }
.notice, .error { border-left: .35rem solid var(--brand); padding: .75rem 1rem; background: #edf7f3; }
.error { border-color: var(--danger); background: #fff1f1; color: #741b20; }
form { display: grid; gap: .85rem; }
.inline-form { display: inline-flex; align-items: center; gap: .5rem; }
label { font-weight: 700; }
input, textarea, select, button { font: inherit; }
input, textarea, select { width: 100%; border: 1px solid #82938e; border-radius: .3rem; padding: .62rem .7rem; background: #fff; color: var(--ink); }
textarea { min-height: 7rem; resize: vertical; }
button, .button { border: 0; border-radius: .3rem; padding: .62rem .9rem; background: var(--brand); color: #fff; font-weight: 720; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: var(--brand-strong); }
button.secondary { background: #e5eeeb; color: var(--ink); }
.field-hint { margin: -.55rem 0 0; color: var(--muted); font-size: .9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.metric { font-size: 1.7rem; font-weight: 780; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-weight: 750; padding-bottom: .6rem; }
th, td { border-bottom: 1px solid var(--line); padding: .7rem .55rem; text-align: left; vertical-align: top; }
th { color: #324a44; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.pagination { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.tag { display: inline-block; border-radius: 99rem; padding: .12rem .55rem; background: #e5eeeb; font-size: .85rem; }
dl { display: grid; grid-template-columns: minmax(8rem, .35fr) 1fr; gap: .45rem 1rem; }
dt { font-weight: 720; color: #324a44; }
dd { margin: 0; overflow-wrap: anywhere; }
.empty { padding: 1rem 0; color: var(--muted); }

@media (max-width: 42rem) {
  .site-header .shell { align-items: flex-start; flex-direction: column; }
  .inline-form { display: grid; width: 100%; }
  dl { grid-template-columns: 1fr; gap: .1rem; }
  dd { margin-bottom: .6rem; }
}

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

/* Authenticated CRM workspace. This shell preserves the recognizable Django
   information architecture while keeping the Go renderer and zero-JavaScript
   security boundary. */
.crm-app {
  --crm-navy: #004d6a;
  --crm-navy-deep: #063d53;
  --crm-teal: #24a5a1;
  --crm-mint: #69c3bb;
  --crm-lime: #bcd43b;
  --crm-sun: #f5e087;
  --crm-canvas: #f4f8f7;
  --crm-panel: #fff;
  --crm-line: #d7e6e3;
  --crm-copy: #17313a;
  --crm-muted: #657a80;
  min-width: 20rem;
  background: var(--crm-canvas);
  color: var(--crm-copy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.crm-layout { min-height: 100vh; }
.crm-sidebar { display: flex; flex-direction: column; padding: 1.15rem; background: linear-gradient(165deg, var(--crm-navy-deep), var(--crm-navy)); color: #fff; }
.crm-brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.crm-brand-mark { position: relative; display: inline-block; width: 2.6rem; height: 2.6rem; flex: 0 0 2.6rem; border-radius: .75rem; background: #fff; box-shadow: 0 .45rem 1.3rem rgb(0 0 0 / 16%); }
.crm-brand-mark i { position: absolute; border-radius: 999rem; }
.crm-brand-mark i:first-child { inset: .42rem 1.05rem 1.05rem .42rem; background: var(--crm-navy); }
.crm-brand-mark i:nth-child(2) { inset: 1.08rem .42rem .42rem 1.08rem; background: var(--crm-lime); }
.crm-brand-mark i:last-child { width: .52rem; height: .52rem; top: .42rem; right: .42rem; background: var(--crm-teal); }
.crm-brand-copy { display: grid; line-height: 1.15; }
.crm-brand-copy strong { font-size: 1.03rem; letter-spacing: .01em; }
.crm-brand-copy small { margin-top: .27rem; color: rgb(255 255 255 / 68%); font-size: .7rem; }
.crm-navigation { margin-top: 1.25rem; }
.crm-navigation ul { display: grid; gap: .32rem; margin: 0; padding: 0; list-style: none; }
.crm-navigation a { display: flex; min-height: 2.75rem; align-items: center; border-radius: .55rem; padding: .68rem .8rem; color: rgb(255 255 255 / 82%); font-size: .9rem; font-weight: 650; text-decoration: none; }
.crm-navigation a:hover { background: rgb(255 255 255 / 9%); color: #fff; }
.crm-navigation a[aria-current="page"] { background: rgb(255 255 255 / 15%); color: #fff; box-shadow: inset .22rem 0 0 var(--crm-lime); }
.crm-sidebar-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 14%); padding-top: 1rem; }
.crm-workspace-badge { min-width: 0; color: rgb(255 255 255 / 75%); font-size: .78rem; overflow-wrap: anywhere; }
.crm-sidebar-foot form { display: block; margin: 0; }
.crm-logout { min-height: 2.5rem; border: 1px solid rgb(255 255 255 / 28%); background: transparent; color: #fff; font-size: .8rem; }
.crm-logout:hover { background: rgb(255 255 255 / 11%); }
.crm-main { min-width: 0; }
.crm-topbar { display: flex; flex-direction: column; gap: .85rem; border-bottom: 1px solid var(--crm-line); padding: 1rem; background: #fff; }
.crm-topbar-copy { display: grid; line-height: 1.2; }
.crm-topbar-copy span { color: var(--crm-muted); font-size: .72rem; }
.crm-topbar-copy strong { margin-top: .25rem; color: var(--crm-navy); font-size: .92rem; }
.crm-workspace-switcher { display: grid; grid-template-columns: 1fr; gap: .45rem; margin: 0; }
.crm-workspace-switcher label { color: var(--crm-muted); font-size: .76rem; }
.crm-workspace-switcher select, .crm-workspace-switcher button { min-height: 2.7rem; }
.crm-content { width: min(100%, 87rem); padding: 1.1rem; }
.crm-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.crm-page-head h1 { margin: .3rem 0 0; color: var(--crm-navy); font-size: clamp(1.55rem, 4vw, 2rem); letter-spacing: -.015em; }
.crm-eyebrow { margin: 0; color: var(--crm-teal); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.crm-app .panel { border-color: var(--crm-line); border-radius: .72rem; box-shadow: 0 .6rem 1.8rem rgb(0 77 106 / 6%); }
.crm-app .panel h2, .crm-app caption { color: var(--crm-navy); }
.crm-app th { background: #edf8f6; color: var(--crm-navy); }
.crm-app tbody tr:hover { background: #f9fcfb; }
.crm-app button, .crm-app .button { min-height: 2.75rem; border-radius: .52rem; background: var(--crm-teal); }
.crm-app button:hover, .crm-app .button:hover { background: #1c8d8a; }
.crm-app button.secondary { border: 1px solid var(--crm-line); background: #edf7f5; color: var(--crm-navy); }
.crm-app input, .crm-app textarea, .crm-app select { min-height: 2.75rem; border-color: #8aa09b; border-radius: .48rem; }
.crm-app .notice, .crm-app .error { border-radius: .4rem; }
.crm-app .metric { color: var(--crm-navy); font-size: 1.95rem; }
.crm-app code { border-radius: .25rem; padding: .12rem .3rem; background: #edf5f3; color: var(--crm-navy); overflow-wrap: anywhere; }
.crm-action-card { display: grid; align-content: space-between; min-height: 8.5rem; }
.crm-action-card p { margin: .75rem 0 0; }
.crm-section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.1rem; }
.crm-section-head h2, .crm-section-head p { margin-bottom: 0; }
.crm-section-head p { margin-top: .35rem; color: var(--crm-muted); font-size: .88rem; }
.crm-detail-grid { margin: 0; }
.crm-compact-list { display: grid; gap: .45rem; margin: 0; padding-left: 1.2rem; }
.crm-approval-card { display: grid; gap: 1rem; }
.crm-review-actions { align-items: start; }
.crm-review-actions form { height: 100%; }
.crm-checkbox { display: flex; align-items: center; gap: .55rem; margin-block: .5rem; }
.crm-checkbox input { width: auto; }
.crm-preview-grid { display: grid; gap: 1rem; }
.crm-preview-grid figure { margin: 0; }
.crm-preview-grid img { display: block; width: 100%; height: auto; margin-top: .75rem; border-radius: .45rem; }
.crm-app button.danger { background: var(--danger); }
.crm-app button.danger:hover { background: #7d1e23; }
.crm-customer-summary { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.crm-filter-form, .crm-form-grid { display: grid; gap: .8rem; }
.crm-filter-form > div, .crm-form-grid > div { display: grid; gap: .35rem; }
.crm-record-grid { display: grid; gap: 1rem; }
.crm-lifestyle-card .crm-section-head { margin-bottom: .8rem; }
.crm-subnav { margin-bottom: 1rem; overflow-x: auto; }
.crm-subnav ul { display: flex; width: max-content; min-width: 100%; gap: .45rem; margin: 0; padding: .2rem 0; list-style: none; }
.crm-subnav a { display: inline-flex; min-height: 2.55rem; align-items: center; border: 1px solid var(--crm-line); border-radius: 999rem; padding: .48rem .9rem; background: #fff; color: var(--crm-navy); font-size: .84rem; font-weight: 700; text-decoration: none; }
.crm-subnav a[aria-current="page"] { border-color: var(--crm-teal); background: #e8f7f4; box-shadow: inset 0 0 0 1px var(--crm-teal); }

@media (min-width: 42rem) {
  .crm-topbar { flex-direction: row; align-items: end; justify-content: space-between; padding: .9rem 1.5rem; }
  .crm-workspace-switcher { grid-template-columns: auto minmax(12rem, 18rem) auto; align-items: end; }
  .crm-workspace-switcher label { grid-column: 1 / -1; }
  .crm-content { padding: 1.6rem; }
  .crm-section-head { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .crm-filter-form { grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1fr) auto auto; align-items: end; }
  .crm-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 58rem) {
  .crm-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); }
  .crm-sidebar { position: sticky; top: 0; height: 100vh; padding: 1.4rem 1.1rem; overflow-y: auto; }
  .crm-navigation { margin-top: 2rem; }
  .crm-sidebar-foot { display: grid; margin-top: auto; }
  .crm-content { padding: 2rem; }
}

@media (min-width: 78rem) {
  .crm-layout { grid-template-columns: 16.5rem minmax(0, 1fr); }
  .crm-sidebar { padding: 1.55rem 1.25rem; }
  .crm-content { padding: 2.25rem 2.5rem; }
}

@media (max-width: 36rem) {
  .crm-sidebar-foot { align-items: stretch; flex-direction: column; }
  .crm-logout { width: 100%; }
  .crm-app .table-wrap { margin-right: -1.1rem; margin-left: -1.1rem; border-right: 0; border-left: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .crm-app *, .crm-app *::before, .crm-app *::after { transition-duration: .01ms !important; }
}

/* Public landing page. The landing-* namespace keeps the branded site from
   changing the denser CRM workspace styles above. */
.landing-page {
  --landing-navy: #004d6a;
  --landing-navy-dark: #063f56;
  --landing-teal: #24a5a1;
  --landing-mint: #69c3bb;
  --landing-lime: #bcd43b;
  --landing-sun: #f5e087;
  --landing-canvas: #f8fbf7;
  --landing-muted: #5f6f78;
  min-width: 20rem;
  background: var(--landing-canvas);
  color: #10232f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

.landing-page main { padding: 0; }
.landing-page a { color: inherit; text-decoration: none; }
.landing-shell { width: min(73.75rem, calc(100% - 2rem)); margin: 0 auto; }
.landing-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.landing-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(105 195 187 / 28%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(1.1rem);
}

.landing-nav { display: flex; min-height: 4rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.landing-brand { display: inline-flex; min-width: 0; align-items: center; gap: .75rem; }
.landing-brand-mark { position: relative; display: inline-block; width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; }
.landing-brand-mark span { position: absolute; border-radius: 999rem; background: var(--landing-teal); }
.landing-brand-mark span:first-child { inset: .18rem .82rem .82rem .18rem; background: var(--landing-navy); }
.landing-brand-mark span:nth-child(2) { inset: .9rem .18rem .18rem .9rem; background: var(--landing-lime); }
.landing-brand-mark span:last-child { width: .68rem; height: .68rem; top: .18rem; right: .18rem; background: var(--landing-sun); }
.landing-brand-copy { display: grid; line-height: 1.2; }
.landing-brand-copy strong { color: var(--landing-navy); font-size: .95rem; }
.landing-brand-copy small { margin-top: .18rem; color: var(--landing-teal); font-size: .68rem; white-space: nowrap; }
.landing-nav-links { display: flex; align-items: center; gap: 1.5rem; color: #54656f; font-size: .875rem; font-weight: 650; }
.landing-nav-links a { position: relative; padding: 1.35rem 0; }
.landing-nav-links a::after { position: absolute; right: 0; bottom: 1rem; left: 0; height: .12rem; background: var(--landing-teal); content: ""; transform: scaleX(0); transition: transform .18s ease; }
.landing-nav-links a:hover, .landing-nav-links a:focus-visible { color: var(--landing-navy); }
.landing-nav-links a:hover::after, .landing-nav-links a:focus-visible::after { transform: scaleX(1); }
.landing-login { display: inline-flex; min-height: 2.4rem; align-items: center; justify-content: center; border-radius: .5rem; padding: 0 .9rem; background: var(--landing-navy); color: #fff !important; font-size: .875rem; font-weight: 750; white-space: nowrap; }
.landing-login:hover { background: var(--landing-navy-dark); }
.landing-auth-actions { display: flex; align-items: center; gap: .5rem; }
.landing-register { display: inline-flex; min-height: 2.4rem; align-items: center; justify-content: center; border: 1px solid var(--landing-navy); border-radius: .5rem; padding: 0 .9rem; color: var(--landing-navy) !important; font-size: .875rem; font-weight: 750; white-space: nowrap; }
.landing-register:hover { background: #edf8f6; }

.landing-hero { position: relative; overflow: hidden; }
.landing-hero-backdrop { position: absolute; inset: 0; background: radial-gradient(circle at 15% 22%, rgb(245 224 135 / 54%), transparent 29%), radial-gradient(circle at 82% 12%, rgb(105 195 187 / 28%), transparent 33%); pointer-events: none; }
.landing-hero-grid { position: relative; display: grid; min-height: calc(100vh - 4rem); grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: 3.5rem; padding: 4.5rem 0 4rem; }
.landing-hero-copy { max-width: 40.625rem; }
.landing-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0; border: 1px solid rgb(105 195 187 / 45%); border-radius: 999rem; padding: .38rem .75rem; background: rgb(255 255 255 / 82%); color: var(--landing-navy); box-shadow: 0 .5rem 1.5rem rgb(0 77 106 / 8%); font-size: .75rem; font-weight: 750; white-space: nowrap; }
.landing-eyebrow span { width: .44rem; height: .44rem; border-radius: 999rem; background: var(--landing-lime); }
.landing-hero h1 { margin: 1.35rem 0 0; color: var(--landing-navy); font-size: clamp(2.5rem, 5.2vw, 3.625rem); font-weight: 820; letter-spacing: -.035em; line-height: 1.12; }
.landing-hero h1 span { display: block; margin-top: .5rem; color: var(--landing-teal); font-size: clamp(2.125rem, 4.8vw, 3.375rem); white-space: nowrap; }
.landing-hero-lead { max-width: 38.75rem; margin: 1.5rem 0 0; color: #52656f; font-size: 1.125rem; line-height: 1.9; }
.landing-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.landing-button { display: inline-flex; min-height: 2.875rem; align-items: center; justify-content: center; border-radius: .5rem; padding: 0 1.25rem; font-size: .875rem; font-weight: 750; white-space: nowrap; }
.landing-button-primary { background: var(--landing-teal); color: #fff !important; }
.landing-button-primary:hover { background: #1c8f8d; }
.landing-button-secondary { border: 1px solid var(--landing-mint); background: rgb(255 255 255 / 78%); color: var(--landing-navy) !important; }
.landing-button-secondary:hover { background: #fff; }
.landing-metrics { display: grid; max-width: 40rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 2.5rem 0 0; }
.landing-metrics div { border-left: .25rem solid var(--landing-teal); padding: .875rem 1rem; background: rgb(255 255 255 / 78%); box-shadow: 0 .5rem 1.5rem rgb(0 77 106 / 8%); }
.landing-metrics div:nth-child(2) { border-left-color: var(--landing-lime); }
.landing-metrics div:nth-child(3) { border-left-color: var(--landing-sun); }
.landing-metrics dt { color: var(--landing-navy); font-size: 1.625rem; font-weight: 820; line-height: 1.1; }
.landing-metrics dd { margin: .38rem 0 0; color: #6b7a83; font-size: .8rem; }

.landing-hero-visual { position: relative; margin: 0; border: .5rem solid #fff; border-radius: 1.5rem; padding: 1.6rem; background: linear-gradient(155deg, #edf9f6, #fff 52%, #fdf8df); box-shadow: 0 1.5rem 4.4rem rgb(0 77 106 / 14%); }
.landing-visual-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.landing-visual-heading > div { display: grid; }
.landing-visual-heading span { color: #718087; font-size: .75rem; }
.landing-visual-heading strong { margin-top: .2rem; color: var(--landing-navy); font-size: 1.2rem; }
.landing-live { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999rem; padding: .32rem .58rem; background: #fff; box-shadow: 0 .35rem 1rem rgb(0 77 106 / 8%); }
.landing-live i { width: .4rem; height: .4rem; border-radius: 999rem; background: var(--landing-lime); }
.landing-status-list { display: grid; gap: .65rem; margin-top: 1.45rem; }
.landing-status-list article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; border: 1px solid rgb(105 195 187 / 24%); border-radius: .75rem; padding: .8rem; background: rgb(255 255 255 / 86%); }
.landing-status-list article > div { display: grid; }
.landing-status-list small, .landing-status-list article > span:last-child { color: #718087; font-size: .72rem; }
.landing-status-list strong { margin-top: .15rem; color: var(--landing-navy); font-size: .9rem; }
.landing-status-icon { display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: .6rem; color: #fff; font-size: .78rem; font-weight: 800; }
.landing-status-teal { background: var(--landing-teal); }
.landing-status-lime { background: var(--landing-lime); color: var(--landing-navy); }
.landing-status-sun { background: var(--landing-sun); color: var(--landing-navy); }
.landing-trend-card { margin-top: .75rem; border-radius: .9rem; padding: 1rem; background: var(--landing-navy); color: #fff; }
.landing-trend-card > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.landing-trend-card span { color: rgb(255 255 255 / 68%); font-size: .75rem; }
.landing-trend-card strong { color: var(--landing-sun); font-size: .85rem; }
.landing-trend-bars { display: flex; height: 4.2rem; align-items: end; gap: .45rem; margin-top: .85rem; }
.landing-trend-bars span { width: 100%; min-height: 1rem; border-radius: .25rem .25rem 0 0; background: var(--landing-mint); }
.landing-trend-bars span:nth-child(1) { height: 42%; }.landing-trend-bars span:nth-child(2) { height: 57%; }.landing-trend-bars span:nth-child(3) { height: 51%; }.landing-trend-bars span:nth-child(4) { height: 70%; }.landing-trend-bars span:nth-child(5) { height: 66%; }.landing-trend-bars span:nth-child(6) { height: 82%; }.landing-trend-bars span:nth-child(7) { height: 92%; background: var(--landing-lime); }

.landing-section { padding: 5rem 0; }
.landing-section-white { background: #fff; }
.landing-section-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end; gap: 3rem; margin-bottom: 2.75rem; }
.landing-kicker { margin: 0; color: var(--landing-teal); font-size: .8rem; font-weight: 820; }
.landing-kicker-light { color: var(--landing-sun); }
.landing-section h2, .landing-records h2 { margin: .75rem 0 0; color: var(--landing-navy); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 820; line-height: 1.28; }
.landing-section-heading > p, .landing-records-grid > div > p:last-child, .landing-contact-grid > div > p:last-child { margin: 0; color: var(--landing-muted); font-size: 1rem; line-height: 1.85; }
.landing-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.landing-feature-grid article { border: 1px solid rgb(105 195 187 / 32%); padding: 1.75rem; background: #f0fbfa; }
.landing-feature-grid article:nth-child(2) { border-color: rgb(188 212 59 / 45%); background: #fbfde9; }
.landing-feature-grid article:nth-child(3) { border-color: rgb(245 224 135 / 70%); background: #fff9db; }
.landing-feature-grid article > span { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: .5rem; background: var(--landing-teal); color: #fff; font-size: 1.1rem; font-weight: 820; }
.landing-feature-grid article:nth-child(2) > span { background: var(--landing-lime); color: var(--landing-navy); }
.landing-feature-grid article:nth-child(3) > span { background: var(--landing-sun); color: var(--landing-navy); }
.landing-feature-grid h3, .landing-service-grid h3 { margin: 1.35rem 0 0; color: var(--landing-navy); font-size: 1.25rem; }
.landing-feature-grid p, .landing-service-grid p { margin: .75rem 0 0; color: var(--landing-muted); font-size: .875rem; line-height: 1.8; }

.landing-records { background: linear-gradient(135deg, var(--landing-navy), #0d6e7d 54%, var(--landing-teal)); color: #fff; }
.landing-records-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 3.5rem; }
.landing-records h2 { color: #fff; }
.landing-records-grid > div > p:last-child { margin-top: 1.25rem; color: rgb(255 255 255 / 78%); }
.landing-record-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.landing-record-list article { padding: 1.4rem; background: rgb(255 255 255 / 12%); backdrop-filter: blur(.6rem); }
.landing-record-list article:last-child { background: var(--landing-sun); }
.landing-record-list span { display: block; color: rgb(255 255 255 / 62%); font-size: .75rem; }
.landing-record-list strong { display: block; margin-top: .32rem; color: #fff; font-size: 1.08rem; }
.landing-record-list article:last-child span { color: rgb(0 77 106 / 68%); }
.landing-record-list article:last-child strong { color: var(--landing-navy); }

.landing-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.landing-service-grid article { border: 1px solid rgb(105 195 187 / 32%); padding: 1.75rem; background: #fff; }
.landing-service-grid article > span { display: block; width: 3rem; height: .38rem; background: var(--landing-teal); }
.landing-service-grid article:nth-child(4n+2) > span { background: var(--landing-lime); }
.landing-service-grid article:nth-child(4n+3) > span { background: var(--landing-sun); }
.landing-service-grid article:nth-child(4n+4) > span { background: var(--landing-navy); }
.landing-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }
.landing-contact-grid > div > p:last-child { margin-top: 1.25rem; }
.landing-contact-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin: 0; border: 1px solid rgb(105 195 187 / 35%); padding: 1.75rem; background: #f0fbfa; font-style: normal; }
.landing-contact-panel span { display: block; color: #6f7f87; font-size: .75rem; }
.landing-contact-panel strong, .landing-contact-panel a { display: block; margin-top: .35rem; color: var(--landing-navy); font-size: .95rem; font-weight: 780; overflow-wrap: anywhere; }

.landing-footer { border-top: 1px solid rgb(105 195 187 / 24%); background: var(--landing-navy); color: #fff; }
.landing-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.75rem; padding: 2.65rem 0 1.9rem; }
.landing-footer-grid > div { display: grid; align-content: start; }
.landing-footer-grid strong { font-size: .95rem; }
.landing-footer-grid p, .landing-footer-grid a { margin: .5rem 0 0; color: rgb(255 255 255 / 72%); font-size: .875rem; line-height: 1.7; }
.landing-footer-grid a:hover { color: var(--landing-sun); }
.landing-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgb(255 255 255 / 15%); padding: 1.25rem 0 1.75rem; color: rgb(255 255 255 / 58%); font-size: .875rem; }
.landing-footer-bottom a:hover { color: #fff; }

@media (max-width: 66.25rem) {
  .landing-nav-links { display: none; }
}

@media (max-width: 52rem) {
  .landing-shell { width: min(100% - 1.5rem, 73.75rem); }
  .landing-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 2.15rem; padding: 3rem 0 3.25rem; }
  .landing-hero h1 { font-size: 2.38rem; }
  .landing-hero h1 span { font-size: 2.1rem; }
  .landing-hero-lead { font-size: 1rem; line-height: 1.8; }
  .landing-section { padding: 3.65rem 0; }
  .landing-section-heading, .landing-records-grid, .landing-contact-grid, .landing-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .landing-section-heading { margin-bottom: 1.9rem; }
  .landing-footer-grid { gap: 1.5rem; }
}

@media (max-width: 35rem) {
  .landing-brand-copy small { display: none; }
  .landing-login, .landing-register { min-height: 2.15rem; padding: 0 .6rem; font-size: .78rem; }
  .landing-hero-actions, .landing-button { width: 100%; }
  .landing-metrics, .landing-feature-grid, .landing-record-list, .landing-contact-panel { grid-template-columns: 1fr; }
  .landing-hero h1 { font-size: 2.12rem; }
  .landing-hero h1 span { font-size: 1.86rem; white-space: normal; }
  .landing-hero-visual { padding: 1rem; }
  .landing-status-list article { grid-template-columns: auto minmax(0, 1fr); }
  .landing-status-list article > span:last-child { display: none; }
  .landing-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-nav-links a::after { transition: none; }
}
