.theme-legal-footer-inner,
.platform-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.theme-legal-footer-top,
.platform-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.theme-legal-footer-brand,
.platform-footer-brand {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.theme-legal-footer-brand strong,
.platform-footer-brand strong {
  color: inherit;
  font: 900 clamp(1.02rem, 0.45vw + 0.94rem, 1.18rem)/1.2 Inter, Arial, sans-serif;
}

.theme-legal-footer-brand p,
.theme-legal-footer-note,
.platform-footer-brand p,
.platform-footer-note {
  max-width: 76ch;
  margin: 0;
  color: inherit;
  opacity: 0.74;
  font-size: clamp(0.93rem, 0.22vw + 0.9rem, 1rem);
  line-height: 1.58;
}

.theme-legal-footer-credit,
.platform-footer-credit {
  margin: 0;
  color: inherit;
  font: 800 0.92rem/1.45 Inter, Arial, sans-serif;
  opacity: 0.82;
  text-align: center;
  justify-self: center;
  width: 100%;
}

.theme-legal-footer-credit a,
.platform-footer-credit a {
  color: inherit;
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 3px;
}

.theme-legal-footer-credit a:hover,
.platform-footer-credit a:hover {
  opacity: 1;
}

.theme-legal-footer-brand span {
  display: inline-block;
  margin-left: 10px;
}

.theme-legal-footer-links,
.platform-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  min-width: min(100%, 320px);
  font: 850 0.9rem/1.2 Inter, Arial, sans-serif;
}

.theme-legal-footer-links a,
.theme-legal-footer-links button,
.platform-footer-links a,
.platform-footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  opacity: 0.88;
  padding: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.theme-legal-footer-links a:hover,
.theme-legal-footer-links button:hover,
.platform-footer-links a:hover,
.platform-footer-links button:hover {
  opacity: 1;
}

.theme-legal-page {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.theme-legal-page-heading {
  max-width: 820px;
  margin-bottom: clamp(28px, 5vw, 46px);
}

.theme-legal-page-heading h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 1.04;
}

.theme-legal-page-heading p {
  max-width: 74ch;
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
}

.theme-legal-page-body {
  display: grid;
  gap: 18px;
}

.theme-legal-page-body section {
  border: 1px solid rgba(143, 156, 172, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(20px, 4vw, 34px);
}

.theme-legal-page-body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.28rem, 1.6vw, 1.72rem);
  line-height: 1.14;
}

.theme-legal-page-body p {
  max-width: 82ch;
}

.theme-legal-page-body p:last-child {
  margin-bottom: 0;
}

.platform-legal-page .legal-section-list {
  display: grid;
  gap: 18px;
}

.platform-legal-page .legal-section-list section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.06);
}

.platform-legal-page .legal-section-list h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

[class$="-article-shell"] h1 {
  font-size: clamp(1.7rem, 3.35vw, 3.08rem) !important;
}

[class$="-article-shell"] nav[class$="-toc"] {
  display: none !important;
}

[class$="-article-shell"] section {
  border-top: 0 !important;
}

.theme-article-body {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.theme-article-body p {
  font-size: clamp(1.05rem, 0.35vw + 1rem, 1.18rem);
  line-height: 1.7;
}

.theme-attorney-roster,
.theme-attorney-detail {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 70px) 0;
}

.theme-attorney-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.theme-attorney-card,
.theme-attorney-detail-card {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 58px rgba(12, 20, 32, 0.12);
}

.theme-attorney-card {
  display: flex;
  flex-direction: column;
}

.theme-attorney-card > div {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
}

.theme-attorney-card-image {
  display: block;
  overflow: hidden;
  min-height: 340px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(135deg, #22324a, #8a6b38);
}

.theme-attorney-card-image img,
.theme-attorney-card-monogram,
.theme-attorney-detail-photo img,
.theme-attorney-detail-monogram {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 340px;
  object-fit: cover;
}

.theme-attorney-card-monogram,
.theme-attorney-detail-monogram {
  display: grid;
  place-items: center;
  color: #ffffff;
  font: 900 4rem/1 Inter, Arial, sans-serif;
}

.theme-attorney-card h3,
.theme-attorney-card h3 a,
.theme-attorney-detail h1 {
  color: #17202a;
  text-decoration: none;
}

.theme-attorney-card-title,
.theme-attorney-detail-title {
  color: #7a5424;
  font: 900 0.9rem/1.35 Inter, Arial, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.theme-attorney-all {
  margin-top: 24px;
}

.theme-attorney-detail-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.theme-attorney-detail-photo {
  margin: 0;
  background: linear-gradient(135deg, #22324a, #8a6b38);
}

.theme-attorney-detail-body {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 5vw, 56px);
}

.theme-attorney-detail-body dl {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}

.theme-attorney-detail-body dl > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(23, 32, 42, 0.12);
  padding: 12px 0;
}

.theme-attorney-detail-body dt {
  font-weight: 900;
}

.theme-attorney-detail-body dd {
  margin: 0;
}

.theme-attorney-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.lgos-cookie-banner[hidden] {
  display: none !important;
}

.lgos-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  border-top: 1px solid rgba(23, 32, 42, 0.16);
  background: rgba(255, 255, 255, 0.98);
  color: #17202a;
  padding: 8px max(16px, calc((100vw - 1180px) / 2));
  box-shadow: 0 -10px 30px rgba(12, 20, 32, 0.14);
  font-family: Inter, Arial, sans-serif;
}

.lgos-cookie-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  min-width: 0;
}

.lgos-cookie-copy strong {
  color: #17202a;
  flex: 0 0 auto;
  font-size: 0.92rem;
  line-height: 1.2;
}

.lgos-cookie-copy span {
  flex: 1 1 360px;
  color: #4a5664;
  font-size: 0.86rem;
  line-height: 1.26;
}

.lgos-cookie-copy a {
  flex: 0 0 auto;
  color: #244c7a;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.lgos-cookie-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
}

.lgos-cookie-button {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 13px;
  font: 900 0.84rem/1 Inter, Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.lgos-cookie-secondary {
  border: 1px solid #c9d3df;
  background: white;
  color: #17202a;
}

.lgos-cookie-primary {
  border: 1px solid #26756f;
  background: #26756f;
  color: white;
}

.lgos-intake-widget {
  position: fixed;
  right: 22px;
  bottom: 74px;
  z-index: 28;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lgos-intake-launch,
.lgos-intake-submit,
.lgos-intake-booking {
  border: 0;
  border-radius: 999px;
  background: #26756f;
  color: white;
  box-shadow: 0 18px 40px rgba(23, 32, 42, 0.2);
  cursor: pointer;
  text-decoration: none;
}

.lgos-intake-launch {
  min-height: 62px;
  display: grid;
  gap: 3px;
  justify-items: start;
  padding: 12px 20px;
  text-align: left;
}

.lgos-intake-launch span {
  color: rgba(255,255,255,0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lgos-intake-launch strong {
  color: white;
  font-size: 1rem;
  line-height: 1.1;
}

.lgos-intake-panel {
  width: min(420px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 110px));
  overflow: auto;
  border: 1px solid rgba(23, 32, 42, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.26);
}

.lgos-intake-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #e2e8ee;
  background: linear-gradient(135deg, #f4fbfa 0%, #ffffff 100%);
}

.lgos-intake-panel-head p {
  margin: 0 0 5px;
  color: #26756f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lgos-intake-panel-head h2 {
  margin: 0;
  color: #17202a;
  font-size: 1.2rem;
  line-height: 1.15;
}

.lgos-intake-close {
  width: 36px;
  height: 36px;
  border: 1px solid #d6e0e8;
  border-radius: 999px;
  background: white;
  color: #17202a;
  font-weight: 900;
  cursor: pointer;
}

.lgos-intake-notice {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8ee;
  background: #fff8e8;
  color: #5d4b28;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 750;
}

.lgos-intake-messages {
  display: grid;
  gap: 10px;
  padding: 14px 18px 0;
}

.lgos-intake-message {
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lgos-intake-message.assistant {
  background: #eef6f5;
  color: #1d4f4b;
}

.lgos-intake-message.visitor {
  justify-self: end;
  max-width: 85%;
  background: #17202a;
  color: white;
}

.lgos-intake-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 18px 18px;
}

.lgos-intake-form label {
  display: grid;
  gap: 6px;
  color: #243241;
  font-size: 0.86rem;
  font-weight: 850;
}

.lgos-intake-form input:not([type="checkbox"]),
.lgos-intake-form select,
.lgos-intake-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd6df;
  border-radius: 10px;
  background: white;
  color: #17202a;
  font: inherit;
  font-weight: 550;
  padding: 10px 12px;
}

.lgos-intake-form textarea {
  resize: vertical;
  line-height: 1.42;
}

.lgos-intake-wide,
.lgos-intake-consent,
.lgos-intake-submit,
.lgos-intake-booking {
  grid-column: 1 / -1;
}

.lgos-intake-consent {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  font-size: 0.84rem !important;
  line-height: 1.38;
}

.lgos-intake-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #26756f;
}

.lgos-intake-submit,
.lgos-intake-booking {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font: 900 0.94rem/1 Inter, Arial, sans-serif;
}

.lgos-intake-booking {
  border: 1px solid #cbd6df;
  background: white;
  color: #17202a;
  box-shadow: none;
}

@media (max-width: 760px) {
  .theme-legal-footer-top,
  .platform-footer-top {
    grid-template-columns: 1fr;
  }

  .lgos-cookie-banner {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 12px;
  }

  .lgos-cookie-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 2px 8px;
    align-items: center;
  }

  .lgos-cookie-copy strong {
    margin: 0;
    font-size: 0.88rem;
  }

  .lgos-cookie-copy span {
    grid-column: 1 / -1;
    display: -webkit-box;
    font-size: 0.8rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .lgos-cookie-copy a {
    margin: 0;
    font-size: 0.78rem;
  }

  .theme-legal-footer-top,
  .platform-footer-top {
    display: grid;
  }

  .theme-legal-footer-links,
  .platform-footer-links,
  .lgos-cookie-actions {
    justify-content: flex-start;
  }

  .theme-attorney-roster,
  .theme-attorney-detail {
    width: min(1120px, calc(100% - 28px));
  }

  .theme-attorney-detail-card,
  .theme-attorney-detail-body dl > div {
    grid-template-columns: 1fr;
  }

  .lgos-cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .lgos-cookie-button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .lgos-intake-widget {
    right: 12px;
    bottom: 86px;
    left: 12px;
  }

  .lgos-intake-launch {
    width: 100%;
  }

  .lgos-intake-panel {
    width: 100%;
    max-height: calc(100vh - 120px);
  }

  .lgos-intake-form {
    grid-template-columns: 1fr;
  }
}
