:root {
  --ink: #171412;
  --muted: #5f5851;
  --line: #e8e0d6;
  --paper: #fffdf8;
  --soft: #f7f1e8;
  --jade: #00a676;
  --teal: #0e7c86;
  --gold: #f8b133;
  --coral: #ff6b4a;
  --cream: #fff8ea;
  --shadow: 0 18px 60px rgba(28, 24, 18, .12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.admin-body {
  background: #f8f4ec;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid rgba(232, 224, 214, .85);
  backdrop-filter: blur(16px);
}

.site-header .shell {
  width: min(1540px, calc(100% - 32px));
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand img {
  width: 210px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-link,
.nav-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 0 9px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus,
.nav-trigger:hover,
.nav-trigger:focus,
.has-mega:hover .nav-trigger,
.has-mega.open .nav-trigger {
  color: var(--ink);
}

.nav-item {
  position: relative;
}

.has-mega:hover::after,
.has-mega:focus-within::after,
.has-mega.open::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -14px;
  right: -14px;
  height: 16px;
  z-index: 55;
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.has-mega:hover .chevron,
.has-mega:focus-within .chevron,
.has-mega.open .chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 60;
  display: grid;
  gap: 18px;
  width: min(760px, calc(100vw - 32px));
  border: 1px solid #dfe9ef;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(28, 45, 70, .12);
  padding: 22px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.mega-menu.cols-2 {
  width: min(560px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-menu.cols-3 {
  width: min(760px, calc(100vw - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu.cols-4 {
  width: min(980px, calc(100vw - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nav-item:nth-child(1) .mega-menu {
  left: 0;
  transform: translateY(8px);
}

.nav-item:nth-child(1):hover .mega-menu,
.nav-item:nth-child(1):focus-within .mega-menu,
.nav-item:nth-child(1).open .mega-menu {
  transform: translateY(0);
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-item:nth-child(n+6) .mega-menu {
  left: auto;
  right: 0;
  transform: translateY(8px);
}

.nav-item:nth-child(n+6):hover .mega-menu,
.nav-item:nth-child(n+6):focus-within .mega-menu,
.nav-item:nth-child(n+6).open .mega-menu {
  transform: translateY(0);
}

.mega-column {
  display: grid;
  gap: 2px;
  align-content: start;
}

.mega-column a {
  display: block;
  border-radius: 6px;
  color: #53657a;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.35;
}

.mega-column a:hover,
.mega-column a:focus {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-menu {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.account-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 230px;
  height: 16px;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  z-index: 70;
  width: 230px;
  border: 1px solid rgba(0, 166, 118, .28);
  background: #111723;
  color: #dff7ed;
  box-shadow: 0 22px 42px rgba(17, 23, 35, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown,
.account-menu.open .account-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.account-dropdown strong,
.account-dropdown a {
  display: block;
  padding: 13px 16px;
}

.account-dropdown strong {
  color: #fff;
  border-bottom: 1px solid rgba(0, 166, 118, .3);
}

.account-dropdown a {
  border-bottom: 1px solid rgba(0, 166, 118, .22);
}

.account-dropdown a:hover {
  background: rgba(255, 255, 255, .06);
}

.menu-toggle {
  display: none;
}

.button,
.icon-button,
.text-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.icon-button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(23, 20, 18, .18);
}

.button.primary:hover {
  background: #2c2520;
}

.button.accent {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 24px rgba(248, 177, 51, .24);
}

.button.ghost,
.text-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.button.full {
  width: 100%;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

.icon-button {
  width: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.icon-button.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(248, 177, 51, .24), transparent 32%),
    linear-gradient(135deg, #fffaf0 0%, #f3fbf5 48%, #fffdf8 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: 52px;
  align-items: center;
  padding: 44px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2e6c58;
  background: rgba(0, 166, 118, .12);
  border: 1px solid rgba(0, 166, 118, .24);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.trust-item {
  min-height: 92px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  border-radius: 8px;
  padding: 16px;
}

.trust-item strong {
  display: block;
  font-size: 22px;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-visual {
  border: 1px solid rgba(23, 20, 18, .1);
  border-radius: 8px;
  background: #171412;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(23, 20, 18, .1);
  box-shadow: var(--shadow);
}

.image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
}

.section-image img {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.dashboard-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
}

.window-dots i:nth-child(2) {
  background: var(--jade);
}

.window-dots i:nth-child(3) {
  background: var(--coral);
}

.dashboard-body {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 16px;
  padding: 18px;
  min-height: 380px;
}

.hero .workflow-step:nth-child(4) {
  display: none;
}

.workflow-list,
.signal-board {
  display: grid;
  gap: 12px;
}

.workflow-step,
.signal-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  padding: 14px;
}

.workflow-step strong,
.signal-card strong {
  display: block;
  font-size: 14px;
}

.workflow-step span,
.signal-card span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  margin-top: 4px;
}

.progress {
  height: 8px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--jade), var(--gold));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 98px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 16px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 58px;
  margin-top: 10px;
}

.mini-chart i {
  flex: 1;
  min-width: 8px;
  border-radius: 6px 6px 0 0;
  background: var(--jade);
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(14, 124, 134, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 124, 134, .035) 1px, transparent 1px),
    radial-gradient(circle at 78% 16%, rgba(0, 166, 118, .16), transparent 34%),
    radial-gradient(circle at 18% 84%, rgba(248, 177, 51, .18), transparent 30%),
    #fffdf8;
  background-size: auto, 96px 96px, auto, auto, auto;
}

.home-hero-inner {
  min-height: 610px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 72px 0 86px;
}

.home-hero h1 {
  max-width: 920px;
  margin: 20px 0 18px;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.home-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions.centered {
  justify-content: center;
}

.home-service-search {
  width: min(720px, 100%);
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.home-service-search label,
.home-kicker {
  color: #0d5b63;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.home-service-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 52px rgba(23, 20, 18, .08);
  padding: 8px;
}

.home-service-search input {
  min-height: 46px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 12px;
  outline: 0;
}

.home-service-rail {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}

.home-service-rail-inner {
  display: grid;
  grid-template-columns: minmax(190px, .82fr) repeat(5, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(20, 25, 34, .1);
  border-radius: 8px;
  background: #121922;
  box-shadow: 0 22px 62px rgba(18, 25, 34, .16);
  padding: 10px;
}

.home-service-rail-label {
  min-height: 112px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  padding: 18px;
}

.home-service-rail-label span {
  color: #8cf0ce;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.home-service-rail-label strong {
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.home-service-rail a {
  min-height: 112px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #fffdf8;
  padding: 18px;
}

.home-service-rail a:last-child {
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.home-service-rail img {
  width: 42px;
  height: 42px;
  grid-row: span 2;
}

.home-service-rail a strong {
  align-self: end;
}

.home-service-rail a span {
  color: var(--muted);
  font-size: 13px;
}

.home-proof {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff8ee;
  padding: 58px 0 70px;
}

.home-proof-inner {
  display: grid;
  grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: stretch;
}

.home-proof-copy {
  align-self: center;
  border-left: 6px solid var(--teal);
  padding: 12px 0 12px 24px;
}

.home-proof-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
}

.home-proof-copy p {
  margin: 0;
  color: var(--muted);
}

.home-proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-proof-card {
  min-height: 144px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(126, 102, 70, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(46, 34, 22, .08);
  padding: 20px;
}

.home-proof-card:nth-child(even) {
  transform: translateY(18px);
}

.home-proof-card::before {
  content: "";
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.home-proof-card strong {
  display: block;
  margin-top: 26px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.home-proof-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-audience {
  background: #fff;
  padding: 76px 0;
}

.home-audience-inner {
  display: grid;
  grid-template-columns: minmax(280px, .84fr) minmax(0, 1.16fr);
  gap: 38px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}

.home-audience h2 {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
}

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.industry-strip span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(20, 25, 34, .1);
  border-left: 4px solid var(--jade);
  border-radius: 8px;
  background: #f6fbfa;
  color: #2f2a25;
  padding: 0 18px 0 16px;
  font-weight: 850;
}

.industry-strip span:nth-child(even) {
  border-left-color: var(--gold);
  background: #fffdf8;
}

.home-referral-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f6fbfa;
}

.home-referral-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
}

.home-referral-inner h2 {
  max-width: 760px;
  margin: 12px 0;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.05;
}

.home-referral-inner p {
  max-width: 760px;
  color: var(--muted);
  margin: 0;
}

.home-referral-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(14, 124, 134, .2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(20, 24, 30, .08);
  padding: 22px;
}

.home-referral-card span,
.home-referral-card small {
  color: var(--muted);
  font-weight: 820;
}

.home-referral-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.home-platform {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbfb 0%, #fffdf8 100%);
}

.home-platform-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 58px;
  align-items: center;
}

.home-platform-visual {
  position: relative;
  min-height: 440px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #121922;
  box-shadow: 0 26px 70px rgba(18, 25, 34, .2);
  overflow: hidden;
  color: #fff;
  padding: 24px;
}

.ops-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding-bottom: 20px;
}

.ops-board-head span,
.ops-board-footer span {
  display: block;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.ops-board-head strong {
  display: block;
  margin-top: 7px;
  font-size: 25px;
}

.ops-board-head img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #fff;
  padding: 7px;
}

.ops-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.ops-stage-card {
  min-height: 154px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .045);
  padding: 18px;
}

.ops-stage-card:nth-child(2n) {
  border-right: 0;
}

.ops-stage-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ops-stage-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 166, 118, .16);
  color: #8cf0ce;
  font-size: 12px;
  font-weight: 900;
}

.ops-stage-card strong {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-size: 18px;
}

.ops-stage-card h3 {
  margin: 8px 0 9px;
  color: #f8d28a;
  font-size: 16px;
  line-height: 1.25;
}

.ops-stage-card p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.48;
}

.ops-board-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ops-board-footer div {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  padding: 14px;
}

.ops-board-footer strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 17px;
}

.centered-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.centered-head p {
  max-width: 720px;
}

.home-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-solution-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(23, 20, 18, .05);
  padding: 26px;
}

.home-solution-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
}

.home-solution-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.home-solution-card p {
  margin: 0 0 28px;
  color: var(--muted);
}

.home-solution-card span {
  align-self: end;
  color: var(--teal);
  font-weight: 900;
}

.home-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-story-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: #121922;
  box-shadow: var(--shadow);
  padding: 28px;
}

.home-story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 25, 34, .05) 0%, rgba(18, 25, 34, .18) 42%, rgba(18, 25, 34, .9) 100%);
  z-index: 1;
}

.home-story-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.home-story-icon {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(18, 25, 34, .18);
}

.home-story-icon img {
  width: 34px;
  height: 34px;
}

.home-story-card > span:not(.home-story-icon),
.home-story-card h3 {
  position: relative;
  z-index: 2;
}

.home-story-card > span:not(.home-story-icon) {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-story-card h3 {
  margin: 10px 0 0;
  font-size: 23px;
  line-height: 1.18;
}

.home-faq-wrap {
  display: grid;
  justify-items: center;
}

.home-faq {
  width: min(920px, 100%);
}

.home-cta-card {
  min-height: 360px;
  display: grid;
  justify-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 15%, rgba(248, 177, 51, .16), transparent 30%),
    radial-gradient(circle at 82% 70%, rgba(14, 124, 134, .12), transparent 34%),
    #fff;
  box-shadow: 0 24px 70px rgba(23, 20, 18, .08);
  text-align: center;
  padding: 42px;
}

.home-cta-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.06;
}

.home-cta-card p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 82px 0;
}

.section.tight {
  padding: 56px 0;
}

.section.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.content-block h2,
.admin-panel h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p,
.content-block p {
  margin: 0;
  max-width: 610px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.package-card,
.blog-card,
.detail-block,
.contact-panel,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 20, 18, .05);
}

.service-card {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.service-card h3,
.package-card h3,
.blog-card h3,
.detail-block h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.service-card p,
.package-card p,
.blog-card p,
.detail-block p {
  margin: 0;
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 800;
}

.service-card.mini {
  min-height: 160px;
}

.detail-block.compact h3 {
  font-size: 18px;
}

.local-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.local-link-grid a {
  min-height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  padding: 12px 14px;
  font-weight: 800;
}

.local-link-grid a:hover,
.local-link-grid a:focus {
  border-color: rgba(14, 124, 134, .42);
  box-shadow: 0 10px 24px rgba(14, 124, 134, .08);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb span:last-child {
  color: #3f3a35;
}

.local-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: 30px;
}

.local-proof-strip div {
  min-height: 88px;
  border: 1px solid rgba(14, 124, 134, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  padding: 15px;
}

.local-proof-strip strong,
.process-step span {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.local-proof-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step,
.local-copy-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 20, 18, .05);
}

.process-step {
  min-height: 238px;
  padding: 20px;
}

.process-step span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(248, 177, 51, .2);
  color: #7a4c00;
  margin-bottom: 18px;
}

.process-step h3,
.local-copy-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.22;
}

.process-step p,
.local-copy-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.local-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.local-copy-card {
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 16px 20px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(14, 124, 134, .1);
  color: var(--teal);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 20px 20px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.package-card {
  padding: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.blog-card h3 a:hover,
.blog-card h3 a:focus,
.text-link:hover,
.text-link:focus {
  color: var(--teal);
}

.careers-hero .section-actions {
  margin-top: 26px;
}

.career-feature-grid,
.career-role-grid,
.office-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.office-location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.career-feature-card,
.career-role-card,
.office-location-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 20, 18, .05);
}

.career-feature-card {
  min-height: 220px;
  padding: 24px;
}

.career-feature-card > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e9f7f1;
  color: var(--teal);
  font-weight: 900;
  margin-bottom: 16px;
}

.career-feature-card h2,
.career-role-card h3,
.office-location-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.career-feature-card p,
.career-role-card p,
.office-location-card p {
  color: var(--muted);
  margin: 0;
}

.career-role-card,
.office-location-card {
  padding: 22px;
}

.career-role-card > span,
.office-location-card > span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(248, 177, 51, .16);
  color: #7a4c00;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 14px;
}

.career-role-card small,
.office-location-card small {
  display: block;
  color: var(--teal);
  font-weight: 850;
  margin-top: 16px;
}

.career-office-layout {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  color: var(--teal);
  font-weight: 850;
  margin-top: auto;
  padding-top: 20px;
}

.learn-hero,
.article-hero {
  background: linear-gradient(135deg, #fffaf0 0%, #eef8ff 100%);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.article-content {
  max-width: 780px;
}

.article-content p {
  color: #3f3a35;
  font-size: 18px;
  margin: 0 0 20px;
}

.article-content h2 {
  margin: 34px 0 14px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-share a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 124, 134, .22);
  border-radius: 6px;
  background: #fff;
  color: #0e5f67;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 880;
}

.article-cover {
  margin: 0 0 28px;
}

.article-cover img,
.article-media-grid img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.article-cover img {
  max-height: 430px;
}

.article-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 26px;
}

.article-media-grid img {
  aspect-ratio: 16 / 10;
}

.article-attachment-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 26px;
}

.article-attachment-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #0e5f67;
  padding: 12px 14px;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.article-checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list section,
.article-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.faq-list h3,
.article-side h2 {
  margin: 0 0 8px;
  line-height: 1.18;
  letter-spacing: 0;
}

.faq-list p,
.article-side p {
  color: var(--muted);
  margin: 0;
}

.article-side {
  position: sticky;
  top: 96px;
  box-shadow: 0 8px 24px rgba(23, 20, 18, .05);
}

.article-side .button {
  margin-top: 18px;
}

.package-kicker {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(14, 124, 134, .1);
  color: var(--teal);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 12px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0;
}

.price strong {
  font-size: 34px;
  line-height: 1;
}

.price span {
  color: var(--muted);
}

.fee-compare {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(0, 166, 118, .2);
  border-radius: 8px;
  background: #f0fbf6;
  color: #2e6c58;
  padding: 10px 12px;
  margin: -4px 0 18px;
  font-size: 13px;
  font-weight: 750;
}

.fee-compare span {
  color: #59766b;
}

.offer-strip {
  border-radius: 8px;
  background: #fff7e7;
  color: #7a4b13;
  padding: 9px 11px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: #3f3a35;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .47em;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--jade);
  box-shadow: inset 0 0 0 4px #dff5ed;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.content-block {
  display: grid;
  gap: 18px;
}

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

.detail-block {
  padding: 22px;
}

.icon-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.icon-card img,
.service-hero-icon {
  width: 58px;
  height: 58px;
  display: block;
}

.icon-card img {
  margin-bottom: 2px;
}

.service-hero-icon {
  margin: 0 0 18px;
}

.service-white-hero .service-hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.contact-panel {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.check-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #3f3a35;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--jade);
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 800;
  color: #3f3a35;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 134, .14);
}

.form-status {
  min-height: 24px;
  color: #2e6c58;
  font-weight: 700;
  margin-top: 12px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.contact-list a {
  color: var(--teal);
  font-weight: 800;
  word-break: break-word;
}

.page-hero {
  background: linear-gradient(135deg, #fffaf0 0%, #eef9f4 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 58px;
}

.text-page {
  max-width: 900px;
}

.text-page h2 {
  margin: 34px 0 10px;
}

.text-page p,
.text-page li {
  color: var(--muted);
}

.site-footer {
  background:
    radial-gradient(circle at 14% 16%, rgba(248, 177, 51, .1), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(14, 124, 134, .14), transparent 28%),
    #171412;
  color: #fff;
  padding: 54px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr) minmax(320px, .84fr);
  gap: 22px;
  align-items: start;
}

.footer-brand-panel,
.footer-nav-panel,
.footer-subscribe-panel {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}

.footer-brand-panel {
  padding: 28px;
}

.footer-nav-panel,
.footer-subscribe-panel {
  padding: 26px 24px;
}

.footer-brand {
  display: inline-grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.footer-mark-wrap {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.footer-mark-wrap img {
  width: 38px;
  height: 38px;
  display: block;
}

.footer-brand-copy {
  display: grid;
  gap: 4px;
}

.footer-brand-copy strong {
  color: #fff;
  font-size: 31px;
  line-height: 1;
}

.footer-brand-copy small {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-brand-panel > p,
.footer-subscribe-panel > p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.footer-contact-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .8);
  padding: 14px;
}

.footer-contact-card[data-phone-link],
.footer-contact-card[data-email-link] {
  grid-column: 1 / -1;
  min-height: 68px;
}

.footer-contact-card:hover,
.footer-contact-card:focus {
  border-color: rgba(248, 177, 51, .38);
  background: rgba(255, 255, 255, .05);
}

.footer-contact-card strong,
.footer-links a,
.footer-subscribe-panel h3,
.footer-bottom-links a {
  color: #fff;
}

.footer-contact-card span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.footer-contact-card small {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-contact-card small[data-phone-text] {
  white-space: nowrap;
}

.footer-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(248, 177, 51, .1);
  color: #ffd185;
}

.footer-icon svg {
  width: 22px;
  height: 22px;
}

.footer-nav-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.footer-nav-group {
  display: grid;
  gap: 14px;
}

.footer-kicker {
  color: #9bcfd4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: rgba(255, 255, 255, .82);
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--jade));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .03);
}

.footer-links a:hover,
.footer-bottom-links a:hover,
.social-links a:hover {
  color: #ffd185;
}

.footer-subscribe-panel {
  display: grid;
  gap: 14px;
}

.footer-subscribe-panel h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.footer-subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 6px;
}

.footer-subscribe-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.footer-subscribe-form input::placeholder {
  color: rgba(255, 255, 255, .46);
}

.footer-subscribe-form input:focus {
  border-color: rgba(248, 177, 51, .42);
  box-shadow: 0 0 0 4px rgba(248, 177, 51, .08);
}

.footer-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.footer-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 760;
}

.footer-trust-row i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--jade));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.social-links a {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .8);
  font-weight: 900;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, .8);
}

.is-hidden,
[hidden] {
  display: none !important;
}

.admin-wrap {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 60px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-top img {
  width: 230px;
}

.admin-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-panel > :not(.admin-sidebar) {
  grid-column: 2;
}

.admin-sidebar {
  position: sticky;
  top: 18px;
  grid-column: 1;
  grid-row: 1 / span 40;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(28, 24, 18, .08);
  padding: 12px;
}

.admin-sidebar nav {
  display: grid;
  gap: 4px;
}

.admin-sidebar a {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: #4b5565;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 820;
}

.admin-sidebar a:hover,
.admin-sidebar a:focus {
  background: #141923;
  color: #fff;
}

.admin-card {
  padding: 22px;
}

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

.admin-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7e7;
  color: #7a4b13;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.admin-status-pill.ok {
  background: #e9f7f1;
  color: #2e6c58;
}

.admin-status-pill.warn {
  background: #fff7e7;
  color: #7a4b13;
}

.admin-card textarea.mono {
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.admin-card textarea.mono.tall {
  min-height: 420px;
}

.admin-note {
  color: var(--muted);
  margin: 8px 0 0;
}

.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.logo-preview img {
  max-height: 76px;
}

.leads-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.lead-row,
.lead-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  padding: 14px;
}

.lead-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .4fr);
  gap: 18px;
  align-items: start;
}

.lead-row strong {
  display: block;
  margin-bottom: 4px;
}

.lead-row p {
  margin: 0;
  color: var(--muted);
}

.lead-message {
  margin-top: 8px !important;
  max-width: 720px;
}

.lead-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.button.small {
  min-height: 34px;
  border-radius: 6px;
  padding: 0 11px;
  font-size: 12px;
}

.lead-empty {
  color: var(--muted);
}

.crm-card {
  overflow: hidden;
}

.crm-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.crm-head h2 {
  margin: 0 0 6px;
}

.crm-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.crm-metrics div {
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 14px;
}

.crm-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.crm-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.stats-kpi-grid article,
.stat-panel {
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 16px;
}

.stats-kpi-grid span,
.stats-kpi-grid small {
  display: block;
  color: var(--muted);
}

.stats-kpi-grid span {
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.stats-kpi-grid strong {
  display: block;
  margin: 6px 0;
  font-size: 24px;
}

.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-panel.wide {
  grid-column: span 2;
}

.stat-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.stat-panel-head h3 {
  margin: 0;
}

.stat-panel-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.pie-chart {
  width: min(220px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 12px solid #fff;
  box-shadow: inset 0 0 0 1px #e5e8ee, 0 10px 26px rgba(20, 24, 30, .08);
  margin: 0 auto 16px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #4b5565;
  font-size: 13px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.candle-chart {
  min-height: 230px;
  display: grid;
  grid-template-columns: repeat(7, minmax(24px, 1fr));
  align-items: end;
  gap: 12px;
  border-radius: 8px;
  background: linear-gradient(to top, #eef3f7 1px, transparent 1px) 0 0 / 100% 25%;
  padding: 18px 10px 34px;
}

.candle-item {
  position: relative;
  height: 170px;
  display: flex;
  justify-content: center;
}

.candle-item .wick,
.candle-item .body {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.candle-item .wick {
  width: 2px;
  background: #6d7482;
}

.candle-item .body {
  width: 18px;
  min-height: 8px;
  background: #0e7c86;
}

.candle-item .body.down {
  background: #ff6b4a;
}

.candle-item small {
  position: absolute;
  bottom: -28px;
  color: var(--muted);
  font-size: 11px;
}

.wave-chart {
  width: 100%;
  min-height: 180px;
  border-radius: 8px;
  background: linear-gradient(to top, #eef3f7 1px, transparent 1px) 0 0 / 100% 25%;
}

.wave-chart circle {
  fill: #00a676;
  stroke: #fff;
  stroke-width: 3;
}

.service-bars {
  display: grid;
  gap: 10px;
}

.service-bars div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
}

.service-bars i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #0e7c86, #f8b133);
}

.crm-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 320px;
  gap: 14px;
}

.crm-departments,
.crm-side-panel,
.crm-pipeline {
  min-width: 0;
}

.crm-departments {
  display: grid;
  align-content: start;
  gap: 6px;
}

.crm-departments button {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 780;
}

.crm-departments button.active,
.crm-departments button:hover {
  border-color: #141923;
  background: #141923;
  color: #fff;
}

.crm-departments button span {
  color: inherit;
  opacity: .72;
}

.crm-toolbar,
.crm-create-form,
.crm-task-form,
.crm-staff-form {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.crm-create-form {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 18px 0;
}

.crm-toolbar {
  grid-template-columns: minmax(0, 1fr) 150px 150px;
}

.crm-task-form {
  grid-template-columns: minmax(180px, 1.2fr) 150px 150px 150px 120px auto;
}

.crm-staff-form {
  grid-template-columns: minmax(160px, 1fr) minmax(200px, 1fr) 150px 150px minmax(180px, 1fr) auto;
}

.client-admin-toolbar,
.billing-form,
.coupon-form {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.client-admin-toolbar {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.billing-form {
  grid-template-columns: minmax(180px, 1.2fr) minmax(190px, 1fr) minmax(160px, 1fr) 120px 140px 140px 140px minmax(160px, 1fr) auto;
}

.coupon-form {
  grid-template-columns: minmax(140px, 1fr) 120px 110px minmax(170px, 1fr) 140px 120px 120px auto;
}

.crm-toolbar input,
.crm-toolbar select,
.crm-create-form input,
.crm-create-form select,
.crm-task-form input,
.crm-task-form select,
.crm-staff-form input,
.crm-staff-form select,
.client-admin-toolbar input,
.client-admin-toolbar select,
.billing-form input,
.billing-form select,
.coupon-form input,
.coupon-form select,
.crm-lead-editor input,
.crm-lead-editor select,
.crm-note-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
  outline: none;
}

.crm-lead-list {
  max-height: 680px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.crm-lead-card {
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.crm-lead-card.active,
.crm-lead-card:hover {
  border-color: #9fd8ce;
  box-shadow: 0 10px 24px rgba(20, 24, 30, .08);
  transform: translateY(-1px);
}

.crm-lead-card strong,
.crm-lead-card small {
  display: block;
}

.crm-lead-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.crm-lead-card small {
  margin-top: 8px;
  color: #5d6675;
}

.crm-lead-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.crm-lead-tags span,
.crm-task-row > span,
.crm-staff-row > span,
.billing-row > span,
.coupon-row > span {
  border-radius: 999px;
  background: #eef3f7;
  color: #3f4857;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.crm-lead-tags .priority-high {
  background: #fff3df;
  color: #915f0b;
}

.crm-lead-tags .priority-urgent {
  background: #ffe9e4;
  color: #b64028;
}

.crm-side-panel {
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 16px;
}

.crm-side-panel h3 {
  margin: 0 0 12px;
}

.crm-selected {
  display: grid;
  gap: 12px;
}

.crm-lead-editor,
.crm-note-form {
  display: grid;
  gap: 10px;
}

.crm-lead-editor {
  margin-bottom: 12px;
}

.crm-lead-editor label {
  display: grid;
  gap: 6px;
  color: #3f3a35;
  font-size: 12px;
  font-weight: 820;
}

.crm-lead-editor small {
  color: var(--muted);
}

.crm-note-form {
  margin-top: 14px;
}

.crm-note-form textarea {
  min-height: 94px;
}

.crm-note-list {
  display: grid;
  gap: 8px;
}

.crm-note-list p {
  margin: 0;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  color: #485365;
  padding: 10px;
}

.crm-note-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.crm-task-list,
.crm-staff-list,
.client-admin-list,
.referral-list,
.billing-list,
.coupon-list,
.crm-activity-list {
  display: grid;
  gap: 10px;
}

.crm-task-row,
.crm-staff-row,
.client-admin-row,
.referral-row,
.billing-row,
.coupon-row,
.crm-activity-row {
  display: grid;
  gap: 12px;
  align-items: center;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fff;
  padding: 13px;
}

.crm-task-row {
  grid-template-columns: minmax(0, 1fr) 110px auto;
}

.crm-staff-row {
  grid-template-columns: minmax(0, 1fr) 160px 150px 90px auto;
}

.client-admin-row {
  grid-template-columns: minmax(0, 1fr) 150px auto;
}

.referral-row {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.billing-row {
  grid-template-columns: minmax(0, 1fr) 130px 120px 140px;
}

.coupon-row {
  grid-template-columns: minmax(0, 1fr) 110px auto;
}

.crm-activity-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.crm-task-row strong,
.crm-staff-row strong,
.client-admin-row strong,
.referral-row strong,
.billing-row strong,
.coupon-row strong,
.crm-activity-row strong {
  display: block;
}

.crm-task-row p,
.crm-staff-row p,
.client-admin-row p,
.referral-row p,
.billing-row p,
.coupon-row p,
.crm-activity-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.client-admin-row small,
.referral-row small,
.billing-row small,
.coupon-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.client-admin-row select,
.referral-row select {
  min-height: 38px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #fff;
  padding: 7px 10px;
}

.crm-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.crm-record-grid article {
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 16px;
}

.crm-record-grid h3 {
  margin: 0 0 10px;
}

.crm-record-grid p {
  display: grid;
  gap: 2px;
  margin: 0;
  border-top: 1px solid #e8ebf0;
  padding: 10px 0;
}

.crm-record-grid p:first-of-type {
  border-top: 0;
}

.crm-record-grid span {
  color: var(--muted);
}

.admin-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 28px;
  align-items: stretch;
}

.admin-auth-copy,
.admin-auth-card,
.admin-modal-card {
  border: 1px solid #e5e8ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 24, 30, .08);
}

.admin-auth-copy {
  padding: 34px;
  background:
    radial-gradient(circle at top left, rgba(249, 196, 77, .12), transparent 42%),
    radial-gradient(circle at right, rgba(58, 140, 123, .12), transparent 45%),
    #fff;
}

.admin-auth-copy h1 {
  margin: 14px 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
}

.admin-auth-copy p {
  color: var(--muted);
  font-size: 18px;
}

.admin-auth-card {
  padding: 24px;
}

.admin-auth-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf7;
  padding: 6px;
  margin-bottom: 20px;
}

.admin-auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.admin-auth-tabs button.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 20px rgba(20, 24, 30, .14);
}

.admin-actions.stacked {
  display: grid;
  justify-content: stretch;
}

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

.admin-note.compact {
  margin-top: 14px;
}

.admin-command-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .54fr);
  gap: 18px;
  align-items: start;
}

.admin-command-aside {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-summary-grid article {
  border: 1px solid #e5e8ee;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbfcfd);
  padding: 16px;
}

.admin-summary-grid span,
.admin-summary-grid small {
  display: block;
  color: var(--muted);
}

.admin-summary-grid span {
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-summary-grid strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 28px;
}

.department-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.department-feature-grid article {
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 14px;
}

.department-feature-grid span,
.department-feature-grid small {
  display: block;
  color: var(--muted);
}

.department-feature-grid span {
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.department-feature-grid strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 28px;
}

.department-feature-list {
  display: grid;
  gap: 8px;
}

.department-module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.department-module-links a {
  border: 1px solid #d7e8e5;
  border-radius: 6px;
  background: #fff;
  color: #0e5f67;
  padding: 7px 9px;
  font-weight: 820;
  text-decoration: none;
}

.department-module-links a:hover,
.department-module-links a:focus {
  border-color: #0e9f8b;
  color: #064f46;
}

.department-feature-list small {
  border-radius: 6px;
  background: #eef8f6;
  color: #0e5f67;
  padding: 7px 8px;
  font-weight: 780;
}

.blog-admin-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
}

.blog-admin-list,
.blog-admin-editor,
.security-audit-panel,
.admin-modal-card {
  padding: 18px;
}

.blog-admin-list,
.blog-admin-editor {
  border: 1px solid #e5e8ee;
  border-radius: 10px;
  background: #fbfcfd;
}

.blog-post-row {
  width: 100%;
  display: grid;
  gap: 4px;
  text-align: left;
  border: 1px solid #dde3eb;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}

.blog-post-row strong,
.blog-post-row span,
.blog-post-row small {
  display: block;
}

.blog-post-row span,
.blog-post-row small {
  color: var(--muted);
}

.blog-post-row.active,
.blog-post-row:hover {
  border-color: #9fd8ce;
  box-shadow: 0 12px 24px rgba(20, 24, 30, .08);
}

.blog-editor-form textarea {
  min-height: 140px;
}

.share-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-options.full {
  grid-column: 1 / -1;
}

.share-options label {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  font-weight: 780;
}

.admin-raw-json {
  margin-top: 18px;
  border-top: 1px solid #e5e8ee;
  padding-top: 16px;
}

.admin-raw-json summary {
  cursor: pointer;
  font-weight: 820;
}

.security-audit-panel {
  margin-top: 20px;
  border: 1px solid #e5e8ee;
  border-radius: 10px;
  background: #fbfcfd;
}

.security-audit-list {
  display: grid;
  gap: 10px;
}

.security-audit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
}

.security-audit-row strong {
  display: block;
}

.security-audit-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.crm-staff-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.crm-staff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 19, .54);
}

.admin-modal-card {
  position: relative;
  width: min(520px, 100%);
  z-index: 1;
}

.form-status.error {
  color: #b64028;
}

.portal-auth,
.client-app {
  background: #f7f7f8;
}

.portal-auth {
  min-height: calc(100vh - 76px);
  padding: 68px 16px;
}

.portal-auth-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}

.portal-auth-card h1,
.client-hero h1 {
  margin: 18px 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.portal-auth-card p,
.client-hero p {
  color: var(--muted);
  font-size: 18px;
}

.portal-auth-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.portal-auth-points span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-weight: 760;
}

.portal-form-card,
.client-summary-card,
.client-panel {
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 24, 30, .06);
}

.portal-form-card {
  padding: 24px;
}

.portal-form-card h1 {
  margin: 0 0 8px;
}

.portal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 18px;
}

.portal-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.portal-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.portal-auth-form {
  display: grid;
  gap: 14px;
}

.portal-single {
  min-height: 640px;
  display: grid;
  place-items: start center;
  padding: 64px 0;
}

.portal-single .portal-form-card {
  width: min(520px, 100%);
}

.client-app {
  min-height: calc(100vh - 76px);
  padding-bottom: 70px;
}

.client-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: end;
  padding: 56px 0 34px;
}

.client-summary-card {
  padding: 22px;
}

.client-summary-card span {
  color: var(--muted);
}

.client-summary-card strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 24px;
}

.client-summary-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.client-summary-card a {
  color: var(--teal);
  font-weight: 800;
}

.business-details-page {
  place-items: start center;
}

.business-form-card {
  width: min(920px, 100%);
}

.business-form-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
}

.business-form-head h1 {
  margin: 16px 0 8px;
}

.business-stage-options {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.business-stage-options legend {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 4px;
}

.business-details-form textarea {
  min-height: 94px;
}

.client-grid-section {
  padding: 10px 0 34px;
}

.client-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.client-option-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(17,20,26,.82)),
    var(--card-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: 0 14px 34px rgba(20, 24, 30, .1);
  transition: transform .18s ease, box-shadow .18s ease;
}

.client-option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(20, 24, 30, .16);
}

.client-option-card span {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
}

.client-option-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.client-option-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .82);
}

.client-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.client-panel {
  padding: 22px;
}

.client-panel h2 {
  margin: 0 0 8px;
}

.business-intake-page {
  min-height: calc(100vh - 76px);
  padding: 0;
}

.business-intake-backdrop {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 42px 16px;
  background:
    linear-gradient(rgba(20, 24, 30, .52), rgba(20, 24, 30, .52)),
    radial-gradient(circle at 30% 30%, rgba(14, 124, 134, .16), transparent 34%),
    #eef1f4;
}

.business-intake-modal {
  width: min(440px, 100%);
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 28px 70px rgba(15, 20, 28, .22);
}

.business-intake-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  text-align: center;
}

.business-intake-head div {
  flex: 1;
}

.business-intake-head h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.business-intake-head p,
.business-stage-copy,
.secure-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.business-intake-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.business-stage-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 22px 0 14px;
  border-radius: 8px;
  background: #f1f3f6;
  padding: 4px;
}

.business-stage-tab {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #697386;
  cursor: pointer;
  font-weight: 850;
}

.business-stage-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.business-stage-tab.active,
.business-stage-tab:has(input:checked) {
  background: #141923;
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 20, 28, .16);
}

.business-stage-copy {
  margin: 0 0 18px;
}

.business-stage-copy strong {
  color: #ff6b2f;
}

.business-intake-modal .field {
  margin-bottom: 14px;
}

.business-intake-extra {
  border-top: 1px solid #edf0f4;
  margin-top: 4px;
  padding-top: 14px;
}

.business-intake-extra textarea {
  min-height: 86px;
}

.secure-note {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
}

.client-ledger-app {
  padding-bottom: 0;
  background: #f4f5f7;
}

.client-ledger-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

.client-ledger-sidebar {
  border-right: 1px solid #e4e7ec;
  background: #fff;
  padding: 16px 10px;
}

.client-ledger-brand {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 12px;
  color: var(--ink);
}

.client-ledger-brand span,
.client-service-list span,
.client-business-select > span {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f7f1;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.client-ledger-sidebar nav {
  display: grid;
  gap: 4px;
}

.client-ledger-sidebar a {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  color: #1c1f25;
  padding: 8px 10px;
  font-weight: 720;
}

.client-ledger-sidebar a span {
  width: 22px;
  color: #4b5563;
  font-size: 12px;
  text-align: center;
}

.client-ledger-sidebar a.active,
.client-ledger-sidebar a:hover {
  background: #f0f2f5;
}

.client-ledger-main {
  min-width: 0;
  padding: 18px;
}

.client-ledger-topbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.client-ledger-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-ledger-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-ledger-tabs a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #20242b;
  padding: 0 14px;
  font-weight: 760;
}

.client-ledger-tabs a.active {
  border-color: #dfe3ea;
  background: #fff;
  box-shadow: 0 4px 12px rgba(20, 24, 30, .04);
}

.client-business-select {
  min-width: 250px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}

.client-business-select strong,
.client-business-select small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-business-select small {
  color: var(--muted);
}

.client-business-select a {
  color: #0f6fed;
  font-weight: 850;
}

.client-logout-icon {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  background: #141923;
  color: #fff;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.client-logout-icon svg {
  width: 18px;
  height: 18px;
}

.client-logout-icon:hover,
.client-logout-icon:focus {
  background: #0f766e;
  color: #fff;
}

.client-status {
  margin: 0 0 12px;
}

.client-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 16px;
}

.client-workspace-panel,
.client-service-desk {
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 24, 30, .04);
}

.client-workspace-panel {
  padding: 18px 20px;
}

.client-workspace-panel-large {
  min-height: 326px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-title-row h1,
.panel-title-row h2,
.client-workspace-panel h2 {
  margin: 0;
  font-size: 18px;
}

.client-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.client-filter-row input {
  min-height: 32px;
  width: 150px;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  padding: 7px 10px;
}

.client-filter-row button {
  min-height: 30px;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  background: #fff;
  color: #596579;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 760;
}

.client-filter-row button.active {
  border-color: #141923;
  background: #141923;
  color: #fff;
}

.client-filter-row.tight button {
  padding: 0 9px;
}

.client-table-head {
  display: grid;
  grid-template-columns: 1fr 1fr 120px;
  gap: 12px;
  border-top: 1px solid #e8ebf0;
  border-bottom: 1px solid #e8ebf0;
  background: #fbfcfd;
  color: #596579;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 760;
}

.client-table-head span {
  padding: 0 12px;
}

.client-table-head.invoice-head {
  grid-template-columns: .8fr 1fr 1.4fr .8fr .8fr;
}

.client-empty-state {
  min-height: 222px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  color: var(--muted);
}

.client-empty-state.compact {
  min-height: 210px;
}

.client-empty-state > span {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 50%;
  background:
    linear-gradient(#9aa1ad, #9aa1ad) center / 22px 28px no-repeat,
    #f5f6f8;
  margin-bottom: 14px;
  opacity: .75;
}

.client-empty-state strong {
  color: #05070a;
}

.client-empty-state p {
  margin: 6px 0 0;
}

.client-service-desk {
  margin-top: 16px;
  padding: 18px 20px;
}

.client-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.client-service-list a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  color: var(--ink);
  padding: 13px;
}

.client-service-list a:hover {
  border-color: #9fd8ce;
  box-shadow: 0 8px 18px rgba(20, 24, 30, .06);
}

.client-service-list strong,
.client-service-list small {
  display: block;
}

.client-service-list small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.client-referral-strip {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 8px;
  background: #141923;
  color: #fff;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(20, 24, 30, .08);
}

.client-referral-strip span,
.client-referral-strip small {
  display: block;
  color: rgba(255, 255, 255, .72);
}

.client-referral-strip strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
}

.client-referral-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(20, 24, 30, .04);
}

.client-referral-hero h1 {
  margin: 8px 0 8px;
  font-size: 32px;
}

.client-referral-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.client-referral-code-card {
  display: grid;
  align-content: center;
  gap: 6px;
  border-radius: 8px;
  background: #ecf7f4;
  color: #115e59;
  padding: 18px;
}

.client-referral-code-card span,
.client-referral-code-card small {
  color: #4b635f;
  font-weight: 760;
}

.client-referral-code-card strong {
  font-size: 26px;
}

.client-referral-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.client-referral-form .full,
.client-referral-form button {
  grid-column: 1 / -1;
}

.client-referral-form textarea {
  min-height: 104px;
  resize: vertical;
}

.client-referral-share-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.client-referral-share-card label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.client-referral-share-card input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  background: #f9fafb;
  padding: 9px 10px;
  color: #20242b;
}

.client-referral-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.client-referral-stats div {
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  padding: 12px;
}

.client-referral-stats span,
.client-referral-history .panel-title-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.client-referral-stats strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
}

.client-referral-history {
  margin-top: 16px;
}

.client-referral-table {
  display: grid;
}

.client-referral-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr .8fr .8fr .7fr;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #edf0f4;
  padding: 12px 0;
}

.client-referral-row.head {
  border-top: 0;
  color: #596579;
  font-size: 13px;
  font-weight: 820;
}

.client-referral-row strong,
.client-referral-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.client-eligibility-form {
  display: grid;
  gap: 12px;
}

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

.client-workspace-panel p {
  color: var(--muted);
}

.client-empty-line {
  margin-top: 16px;
  border: 1px dashed #dce2ea;
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
  padding: 14px;
}

.client-billing-stack {
  display: grid;
  gap: 16px;
}

.client-wallet-card span {
  color: var(--muted);
}

.client-wallet-card strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.client-wallet-card small {
  color: var(--muted);
  font-size: 14px;
}

.client-trademark-hero {
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  background: #fff;
  padding: 58px 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(20, 24, 30, .04);
}

.client-trademark-hero h1 {
  margin: 0 0 10px;
  color: #1c2430;
  font-size: 26px;
  font-weight: 620;
  text-transform: uppercase;
}

.client-trademark-hero p {
  margin: 0;
  color: var(--muted);
}

.client-trademark-search {
  width: min(600px, 100%);
  margin: 18px auto 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.client-trademark-search input,
.client-brand-add-form input,
.client-brand-add-form select,
.client-filter-row select {
  min-height: 38px;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  outline: none;
}

.client-register-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.client-register-actions a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  padding: 0 12px;
  font-weight: 760;
  box-shadow: 0 4px 10px rgba(20, 24, 30, .04);
}

.client-search-note {
  margin-top: 14px !important;
  font-size: 13px;
}

.client-trademark-panel {
  margin-top: 16px;
  min-height: 548px;
}

.client-trademark-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.client-brand-add-form {
  display: grid;
  grid-template-columns: minmax(180px, 250px) 120px 80px auto;
  gap: 10px;
}

.client-trademark-table {
  border: 1px solid #e8ebf0;
  border-radius: 8px;
  overflow: hidden;
}

.client-trademark-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) .7fr .55fr .7fr .7fr;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  border-top: 1px solid #e8ebf0;
  padding: 10px 14px;
}

.client-trademark-row:first-child {
  border-top: 0;
}

.client-trademark-row.head {
  min-height: 42px;
  background: #fbfcfd;
  color: #596579;
  font-size: 13px;
  font-weight: 820;
}

.status-pill {
  width: max-content;
  border-radius: 999px;
  background: #ecf7f4;
  color: #0f766e;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 850;
}

.trademark-empty {
  min-height: 430px;
}

.trademark-empty > span {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 45%, #2b9df4 45% 55%, transparent 55%) 58% 32% / 70px 70px no-repeat,
    radial-gradient(circle at 62% 28%, #2b9df4 0 11px, transparent 12px),
    linear-gradient(#9aa1ad, #9aa1ad) center 70% / 86px 2px no-repeat,
    linear-gradient(#dfe5ec, #dfe5ec) center 78% / 110px 2px no-repeat,
    #fff;
  box-shadow: none;
  opacity: 1;
}

.service-landing {
  background: #fff;
  overflow: hidden;
}

.service-white-hero {
  position: relative;
  padding: 70px 0 30px;
  text-align: center;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 107, 74, .22), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(14, 124, 134, .2), transparent 34%),
    #fff;
}

.service-white-hero h1 {
  margin: 0 0 16px;
  color: #130c3a;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.08;
}

.service-white-hero p {
  width: min(720px, 100%);
  margin: 0 auto;
  color: #5f6d84;
}

.service-price-pill {
  min-height: 54px;
  width: min(560px, 100%);
  margin: 24px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid #2674ff;
  border-radius: 8px;
  background: #fff;
  color: #10163a;
  padding: 10px 18px;
}

.service-price-pill span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f6;
  font-size: 12px;
  font-weight: 900;
}

.service-price-pill em {
  color: #2674ff;
  font-style: normal;
  text-decoration: underline;
}

.service-apply-wrap {
  padding: 30px 16px 72px;
  background:
    linear-gradient(90deg, rgba(255, 107, 74, .22), transparent 22%, transparent 78%, rgba(14, 124, 134, .18)),
    #fff;
}

.service-apply-card {
  width: min(1104px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px;
  align-items: center;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 74px rgba(20, 24, 30, .1);
  padding: 56px 72px 82px;
  position: relative;
}

.service-apply-copy h2 {
  margin: 0 0 16px;
  color: #241a54;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 520;
  line-height: 1.15;
}

.service-apply-copy p {
  color: #66748c;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #58677d;
}

.feature-list span {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #6c63ff, #ec52d6);
  box-shadow: 0 8px 18px rgba(108, 99, 255, .22);
}

.service-lead-form {
  display: grid;
  gap: 12px;
}

.service-submit {
  justify-self: end;
  min-width: 126px;
  background: linear-gradient(135deg, #674df5, #e755d6) !important;
}

.service-proof-row {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(20, 24, 30, .06);
  overflow: hidden;
}

.service-proof-row div {
  padding: 15px 18px;
  border-right: 1px solid #edf0f4;
}

.service-proof-row div:last-child {
  border-right: 0;
}

.service-proof-row strong,
.service-proof-row span {
  display: block;
}

.service-proof-row span {
  color: #8090a8;
  font-size: 13px;
}

.whatsapp-widget {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 90;
  width: min(350px, calc(100vw - 32px));
}

.whatsapp-fab {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.whatsapp-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(37, 211, 102, .38);
  border-radius: 0 0 12px 12px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 22px 44px rgba(20, 24, 30, .16);
}

.whatsapp-panel strong {
  font-size: 20px;
}

.whatsapp-panel > span {
  color: var(--muted);
  margin-top: -8px;
}

.push-dialog {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 95;
  width: min(440px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(14, 124, 134, .22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(20, 24, 30, .18);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease;
}

.push-dialog.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.push-dialog-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e9f7f1;
  color: var(--teal);
}

.push-dialog-icon span {
  width: 23px;
  height: 27px;
  border: 2px solid currentColor;
  border-radius: 14px 14px 8px 8px;
  position: relative;
}

.push-dialog-icon span::before,
.push-dialog-icon span::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.push-dialog-icon span::before {
  top: -6px;
  width: 8px;
  height: 6px;
  border-radius: 6px 6px 0 0;
}

.push-dialog-icon span::after {
  bottom: -7px;
  width: 10px;
  height: 4px;
  border-radius: 0 0 999px 999px;
}

.push-dialog-copy strong,
.push-dialog-copy p {
  display: block;
}

.push-dialog-copy strong {
  font-size: 18px;
  line-height: 1.2;
}

.push-dialog-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.push-dialog-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 1240px) {
  .brand {
    min-width: 174px;
  }

  .brand img {
    width: 184px;
  }

  .nav-link,
  .nav-trigger {
    padding: 0 6px;
  }

  .nav-actions .button.ghost {
    display: none;
  }

  .client-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-service-rail-inner,
  .home-proof-metrics,
  .home-platform-grid,
  .home-solution-grid,
  .home-story-grid,
  .career-feature-grid,
  .career-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-inner,
  .home-audience-inner {
    grid-template-columns: 1fr;
  }

  .home-referral-inner {
    grid-template-columns: 1fr;
  }

  .home-platform-grid {
    gap: 34px;
  }

  .home-platform-visual {
    min-height: 520px;
  }

  .career-office-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 44px;
  }

  .service-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-proof-strip,
  .process-steps,
  .local-copy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 18px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 0 8px;
  }

  .mega-menu,
  .mega-menu.cols-2,
  .mega-menu.cols-3,
  .mega-menu.cols-4 {
    position: static;
    width: 100%;
    max-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 0 8px;
    padding: 0 0 0 14px;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: max-height .2s ease, visibility .2s ease;
  }

  .has-mega:hover::after,
  .has-mega:focus-within::after,
  .has-mega.open::after {
    content: none;
  }

  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu {
    transform: none;
  }

  .nav-item.open .mega-menu,
  .nav-item:nth-child(1).open .mega-menu {
    max-height: 760px;
    margin-top: 4px;
    margin-bottom: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mega-column {
    gap: 0;
  }

  .mega-column a {
    padding: 8px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .icon-button.menu-toggle {
    display: inline-flex;
  }

  .account-dropdown {
    right: auto;
    left: 0;
  }

  .portal-auth-card,
  .client-hero,
  .service-apply-card,
  .article-layout,
  .client-panels,
  .admin-auth-shell,
  .auth-recovery-grid,
  .blog-admin-layout,
  .admin-panel,
  .admin-command-bar,
  .business-stage-options,
  .crm-layout,
  .crm-create-form,
  .crm-task-form,
  .crm-staff-form,
  .client-admin-toolbar,
  .billing-form,
  .coupon-form {
    grid-template-columns: 1fr;
  }

  .crm-metrics,
  .admin-summary-grid,
  .crm-record-grid,
  .department-feature-grid,
  .stats-kpi-grid,
  .stats-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-panel > :not(.admin-sidebar),
  .admin-sidebar,
  .stat-panel.wide {
    grid-column: 1;
  }

  .admin-sidebar {
    position: static;
    grid-row: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-side {
    position: static;
  }

  .client-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-apply-card {
    padding: 34px 28px 190px;
    gap: 30px;
  }

  .service-proof-row {
    left: 28px;
    right: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-hero-inner {
    min-height: 560px;
    padding: 48px 0 82px;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-service-search div,
  .home-service-rail-inner,
  .home-proof-inner,
  .home-proof-metrics,
  .home-audience-inner,
  .home-referral-inner,
  .home-platform-grid,
  .ops-board-grid,
  .ops-board-footer,
  .home-solution-grid,
  .home-story-grid,
  .footer-contact-grid,
  .footer-nav-panel,
  .footer-subscribe-form {
    grid-template-columns: 1fr;
  }

  .home-service-rail {
    margin-top: -34px;
  }

  .home-service-rail a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-service-rail a:last-child {
    border-bottom: 0;
  }

  .home-proof {
    padding: 46px 0 52px;
  }

  .home-proof-card:nth-child(even) {
    transform: none;
  }

  .home-audience {
    padding: 54px 0;
  }

  .home-platform-visual {
    min-height: auto;
    padding: 22px;
  }

  .ops-stage-card,
  .ops-stage-card:nth-child(2n) {
    border-right: 0;
  }

  .ops-stage-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .ops-stage-card:last-child {
    border-bottom: 0;
  }

  .home-story-card {
    min-height: 330px;
  }

  .home-cta-card {
    padding: 28px 18px;
  }

  .shell,
  .admin-wrap {
    width: min(100% - 24px, 1160px);
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 176px;
  }

  .nav-actions .button {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-grid {
    padding: 34px 0 28px;
    gap: 22px;
  }

  .hero .dashboard-visual,
  .hero .trust-row {
    display: none;
  }

  .image-panel img {
    min-height: 220px;
  }

  .trust-row,
  .service-grid,
  .package-grid,
  .blog-grid,
  .article-media-grid,
  .article-layout,
  .detail-grid,
  .local-link-grid,
  .local-proof-strip,
  .process-steps,
  .local-copy-grid,
  .form-grid,
  .admin-auth-shell,
  .auth-recovery-grid,
  .blog-admin-layout,
  .admin-grid,
  .admin-grid.three,
  .lead-row,
  .metric-grid,
  .admin-summary-grid,
  .crm-metrics,
  .crm-toolbar,
  .crm-create-form,
  .crm-task-form,
  .crm-staff-form,
  .client-admin-toolbar,
  .billing-form,
  .coupon-form,
  .crm-task-row,
  .crm-staff-row,
  .client-admin-row,
  .referral-row,
  .billing-row,
  .coupon-row,
  .crm-activity-row,
  .security-audit-row,
  .crm-record-grid,
  .department-feature-grid,
  .stats-kpi-grid,
  .stats-dashboard {
    grid-template-columns: 1fr;
  }

  .stat-panel.wide {
    grid-column: 1;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .crm-head {
    display: grid;
  }

  .admin-command-aside,
  .crm-staff-actions {
    justify-content: start;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: grid;
    gap: 12px;
  }

  .dashboard-body {
    padding: 12px;
  }

  .page-hero {
    padding: 52px 0 42px;
  }

  .portal-auth {
    padding: 38px 12px;
  }

  .portal-auth-card h1,
  .client-hero h1 {
    font-size: 40px;
  }

  .portal-form-card,
  .client-panel {
    padding: 18px;
  }

  .business-form-head {
    display: grid;
  }

  .client-hero {
    padding: 38px 0 24px;
  }

  .client-option-grid {
    grid-template-columns: 1fr;
  }

  .client-option-card {
    min-height: 210px;
  }

  .service-white-hero {
    padding: 44px 0 24px;
  }

  .service-price-pill {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-apply-wrap {
    padding: 20px 12px 60px;
  }

  .service-apply-card {
    border-radius: 18px;
    padding: 26px 18px 310px;
  }

  .service-proof-row {
    grid-template-columns: 1fr;
  }

  .service-proof-row div {
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }

  .whatsapp-widget {
    right: 12px;
    bottom: 12px;
  }

  .push-dialog {
    left: 12px;
    bottom: 12px;
  }
}

@media (max-width: 1080px) {
  .client-ledger-shell {
    grid-template-columns: 1fr;
  }

  .client-ledger-sidebar {
    position: sticky;
    top: 76px;
    z-index: 8;
    border-right: 0;
    border-bottom: 1px solid #e4e7ec;
  }

  .client-ledger-brand {
    display: none;
  }

  .client-ledger-sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .client-ledger-sidebar a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .client-workspace-grid {
    grid-template-columns: 1fr;
  }

  .client-ledger-actions {
    width: 100%;
    justify-content: space-between;
  }

  .client-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-trademark-toolbar {
    display: grid;
  }

  .client-brand-add-form {
    grid-template-columns: minmax(0, 1fr) 120px 80px auto;
  }
}

@media (max-width: 760px) {
  .business-intake-backdrop {
    min-height: calc(100vh - 68px);
    padding: 16px 12px;
  }

  .business-intake-modal {
    padding: 18px;
  }

  .business-stage-switch,
  .client-management-grid,
  .client-service-list,
  .career-feature-grid,
  .career-role-grid,
  .office-location-grid {
    grid-template-columns: 1fr;
  }

  .client-ledger-main {
    padding: 12px;
  }

  .client-ledger-topbar {
    display: grid;
  }

  .client-ledger-actions,
  .client-referral-strip,
  .client-referral-hero,
  .client-referral-form,
  .client-referral-stats,
  .client-referral-row {
    grid-template-columns: 1fr;
  }

  .client-ledger-actions,
  .client-referral-strip {
    display: grid;
  }

  .client-ledger-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-ledger-tabs a {
    justify-content: center;
  }

  .client-business-select {
    min-width: 0;
    width: 100%;
  }

  .client-logout-icon {
    justify-content: center;
  }

  .panel-title-row {
    display: grid;
  }

  .client-filter-row input {
    width: 100%;
  }

  .client-filter-row,
  .client-filter-row button {
    width: 100%;
  }

  .client-table-head,
  .client-table-head.invoice-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .client-trademark-search,
  .client-brand-add-form,
  .client-trademark-row {
    grid-template-columns: 1fr;
  }

  .client-register-actions {
    display: grid;
  }

  .client-workspace-panel {
    padding: 16px;
  }
}
