/* Identidade visual VS Car: carvão, dourado metálico e branco. */
:root {
  --brand-black: #0b0d10;
  --brand-charcoal: #17191d;
  --brand-gold: #c89b3c;
  --brand-gold-light: #f2c14e;
  --brand-white: #ffffff;
}

.public-shell .public-nav {
  border-top-color: var(--brand-gold);
}

.premium-hero {
  background: linear-gradient(118deg, var(--brand-black) 0%, #13161b 52%, #2a2418 100%);
}

.premium-hero:after {
  background: radial-gradient(circle at 73% 34%, rgba(200, 155, 60, .2), transparent 26%), linear-gradient(90deg, rgba(8, 10, 12, .28), transparent 60%);
}

.hero-orb-one,
.hero-orb-two {
  background: var(--brand-gold) !important;
}

.premium-hero h1:after {
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-light));
}

.hero-actions .btn-light {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  border-color: var(--brand-gold);
  color: var(--brand-black);
}

.hero-actions .btn-light:hover {
  background: #f7d276;
  border-color: #f7d276;
  color: var(--brand-black);
}

.premium-hero .hero-link,
.consult-link {
  color: var(--brand-gold-light);
}

.preview-icon {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  color: var(--brand-black);
}

.preview-numbers {
  color: var(--brand-black);
}

.preview-numbers span {
  background: #f9f0d9;
  color: #73551e;
}

.public-shell .btn-primary,
.premium-submit {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  border-color: var(--brand-gold);
  color: var(--brand-black);
}

.public-shell .btn-primary:hover,
.premium-submit:hover {
  background: #e0ad44;
  border-color: #e0ad44;
  color: var(--brand-black);
}

.public-shell .text-primary,
.process-item > span {
  color: var(--brand-gold) !important;
}

/* Portal administrativo premium. */
body:has(.admin-login) {
  background: var(--brand-black);
}

body:has(.admin-login) .public-nav {
  background: rgba(11, 13, 16, .96);
  border-top-color: var(--brand-gold);
  border-bottom-color: rgba(200, 155, 60, .2);
}

body:has(.admin-login) .public-nav .navbar-brand {
  color: #fff;
}

body:has(.admin-login) .public-nav .btn-outline-primary {
  color: #f1d388;
  border-color: rgba(242, 193, 78, .7);
}

body:has(.admin-login) .public-nav .btn-outline-primary:hover {
  background: rgba(242, 193, 78, .12);
  color: #fff;
}

body:has(.admin-login) footer {
  display: none;
}

.admin-login {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, #3a3020 0, transparent 35%), linear-gradient(135deg, #090b0e 0%, #121519 54%, #211b12 100%);
  padding: 4rem 1rem;
}

.admin-login::before,
.admin-login::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(200, 155, 60, .16);
  border-radius: 50%;
}

.admin-login::before {
  width: 560px;
  height: 560px;
  top: -310px;
  right: -180px;
}

.admin-login::after {
  width: 440px;
  height: 440px;
  bottom: -290px;
  left: -180px;
}

.login-card {
  position: relative;
  width: min(100%, 430px);
  padding: 2.6rem;
  border: 1px solid rgba(242, 193, 78, .28);
  border-radius: 18px;
  background: rgba(19, 22, 26, .94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
  color: #fff;
}

.login-kicker {
  color: #d6ad55;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-align: center;
}

.login-emblem {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 1.3rem auto 1rem;
  border: 1px solid rgba(242, 193, 78, .7);
  border-radius: 50%;
  color: var(--brand-gold-light);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.08em;
  box-shadow: 0 0 0 7px rgba(200, 155, 60, .06), 0 10px 28px rgba(0, 0, 0, .3);
}

.login-card h1 {
  color: #fff;
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -.045em;
  margin-bottom: .55rem;
}

.login-card p {
  color: #9fa9b7;
  font-size: .84rem;
}

.login-card .form-label {
  color: #d9dee6;
  font-size: .78rem;
  font-weight: 650;
}

.login-card .form-control {
  color: #fff;
  background: #0c0f13;
  border: 1px solid #343a42;
  border-radius: 8px;
}

.login-card .form-control:focus {
  color: #fff;
  background: #0c0f13;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, .16);
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 3.25rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: .7rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9da6b3;
  transform: translateY(-50%);
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.is-visible {
  color: var(--brand-gold-light);
  background: rgba(242, 193, 78, .1);
  outline: none;
}

.eye-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.btn-login {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  border: 0;
  border-radius: 8px;
  color: var(--brand-black);
  font-size: .88rem;
  font-weight: 800;
}

.btn-login:hover {
  background: #f5d271;
  color: var(--brand-black);
}

.btn-login span {
  margin-left: .5rem;
  font-size: 1.05rem;
}

.login-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.7rem;
  min-height: 42px;
  border: 1px solid rgba(242, 193, 78, .28);
  border-radius: 8px;
  color: #d8c38f;
  font-size: .8rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.login-card .login-back-button {
  width: 100%;
  background: rgba(255, 255, 255, .025);
}

.login-back:hover {
  border-color: rgba(242, 193, 78, .65);
  background: rgba(242, 193, 78, .08);
  color: #f2c14e;
}

.login-back span {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .admin-login {
    min-height: calc(100vh - 63px);
    padding: 2rem 1rem;
  }

  .login-card {
    padding: 2rem 1.35rem;
  }
}

.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
  color: var(--brand-gold);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: -.08em;
  vertical-align: middle;
}

.public-shell .public-nav .brand-symbol {
  margin-right: .45rem;
}

.premium-hero {
  padding-top: clamp(4.5rem, 8vw, 6.4rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.2rem);
}

.hero-copy-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-copy-centered h1 {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy-centered h1:after {
  margin-left: auto;
  margin-right: auto;
}

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

.premium-hero.has-hero-image {
  background-image: linear-gradient(90deg, rgba(8, 10, 12, .9) 0%, rgba(8, 10, 12, .7) 43%, rgba(8, 10, 12, .3) 100%), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.premium-hero.has-hero-image::after {
  display: none;
}

.front-rules {
  padding: 5rem 0;
  background: #fff;
}

.front-section-heading {
  max-width: 680px;
  margin: 0 auto 2.3rem;
  text-align: center;
}

.front-section-heading h2 {
  margin: .7rem 0 .65rem;
  color: #18202c;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 720;
  letter-spacing: -.055em;
}

.front-section-heading p {
  margin: 0;
  color: #778397;
  font-size: .9rem;
}

.front-rule-card {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 51, .045);
}

.rule-number {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--brand-gold);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.front-rule-card h3 {
  margin-bottom: .55rem;
  color: #1c2636;
  font-size: 1.02rem;
  font-weight: 720;
}

.front-rule-card p {
  margin: 0;
  color: #7b8798;
  font-size: .8rem;
  line-height: 1.7;
}

.front-how {
  padding: 0 0 5rem;
  background: #f7f8fb;
}

.front-how-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 2rem 2.4rem;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #fff;
}

.front-how-card h2 {
  margin: .55rem 0 0;
  color: #1b2432;
  font-size: 1.45rem;
  font-weight: 720;
  letter-spacing: -.04em;
}

.front-how-card p {
  max-width: 520px;
  margin: 0;
  color: #788496;
  font-size: .84rem;
  line-height: 1.7;
}

.content-rule-box {
  height: 100%;
  padding: 1rem;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  background: #fafbfc;
}

.content-rule-box > span {
  display: block;
  margin-bottom: 1rem;
  color: #b18737;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .14em;
}

@media (max-width: 767px) {
  .front-rules {
    padding: 3.5rem 0;
  }

  .front-how-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}

/* Painel administrativo premium. */
.admin-shell {
  background: #f4f5f7;
  color: #18202c;
}

.admin-topbar {
  min-height: 72px;
  background: #0b0d10;
  border-bottom: 1px solid rgba(200, 155, 60, .25);
  box-shadow: 0 4px 22px rgba(7, 10, 14, .18);
}

.admin-topbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  font-size: 1rem;
}

.admin-topbar .brand-symbol {
  color: var(--brand-gold-light);
  border-color: var(--brand-gold);
}

.admin-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.admin-brand-copy strong {
  font-size: .95rem;
  font-weight: 750;
}

.admin-brand-copy small {
  margin-top: .25rem;
  color: #8993a2;
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-user-area {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.admin-user-name {
  color: #c7ced8;
  font-size: .8rem;
}

.admin-role-pill {
  padding: .35rem .55rem;
  border: 1px solid rgba(242, 193, 78, .45);
  border-radius: 20px;
  color: #f2c14e;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.admin-logout {
  padding: .45rem .75rem;
  border: 1px solid #353b44;
  border-radius: 7px;
  color: #c7ced8;
  font-size: .76rem;
  text-decoration: none;
  transition: .2s ease;
}

.admin-logout:hover {
  border-color: var(--brand-gold);
  color: #f2c14e;
}

.admin-logout span {
  margin-left: .3rem;
  color: var(--brand-gold-light);
}

.admin-layout {
  min-height: calc(100vh - 72px);
}

.admin-sidebar {
  width: 258px;
  padding: 1.6rem .9rem;
  background: #111319;
  border-right: 1px solid #2b2e35;
}

.sidebar-section {
  padding: .35rem .75rem .7rem;
  color: #6f7988;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.sidebar-dev-label {
  color: #d4a942;
}

.sidebar-divider {
  height: 1px;
  margin: 1.15rem .35rem;
  background: #2d3139;
}

.admin-sidebar .admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 43px;
  margin: .18rem 0;
  padding: .65rem .75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #b8c0cc;
  font-size: .79rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.admin-sidebar .admin-nav-link:hover {
  background: #1d2027;
  border-color: #30353d;
  color: #fff;
  transform: translateX(2px);
}

.admin-sidebar .admin-nav-link.active {
  background: linear-gradient(90deg, rgba(200, 155, 60, .16), rgba(200, 155, 60, .035));
  border-color: rgba(200, 155, 60, .32);
  color: #f4d277;
  box-shadow: inset 3px 0 0 var(--brand-gold);
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  color: #8893a2;
  font-size: .82rem;
}

.admin-nav-link.active .nav-icon,
.admin-nav-link:hover .nav-icon {
  color: var(--brand-gold-light);
}

.admin-sidebar .external-link {
  color: #8f9aaa;
}

.admin-content {
  background: #f4f5f7;
}

.admin-content .container-fluid {
  max-width: 1480px;
}

.admin-content .eyebrow {
  color: #a67b25 !important;
}

.admin-content h1,
.admin-content h2,
.admin-content h3 {
  letter-spacing: -.035em;
}

@media (max-width: 767px) {
  .admin-topbar {
    min-height: 62px;
  }

  .admin-layout {
    min-height: calc(100vh - 62px);
  }

  .admin-sidebar {
    width: 68px;
    padding: 1rem .3rem;
  }

  .sidebar-section,
  .sidebar-divider,
  .admin-sidebar .admin-nav-link span:not(.nav-icon) {
    display: none;
  }

  .admin-sidebar .admin-nav-link {
    justify-content: center;
    min-height: 44px;
    padding: .55rem .25rem;
  }

  .nav-icon {
    width: auto;
    font-size: 1rem;
  }
}

.admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.admin-page-header h1 {
  margin: .45rem 0 .25rem;
  color: #172033;
  font-size: 2rem;
  font-weight: 720;
  letter-spacing: -.055em;
}

.admin-page-header p {
  margin: 0;
  color: #7c8798;
  font-size: .84rem;
}

.admin-outline-button {
  border: 1px solid #d5dbe4;
  border-radius: 8px;
  color: #4c596d;
  font-size: .78rem;
  font-weight: 700;
}

.admin-outline-button:hover {
  border-color: var(--brand-gold);
  color: #805f1f;
  background: #fffaf0;
}

.admin-outline-button span {
  margin-left: .45rem;
  color: var(--brand-gold);
}

.admin-overview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(200, 155, 60, .22);
  border-radius: 12px;
  background: linear-gradient(105deg, #17191e, #242018);
  box-shadow: 0 10px 26px rgba(23, 32, 51, .08);
  color: #fff;
}

.overview-kicker {
  display: block;
  margin-bottom: .25rem;
  color: #b8a274;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.admin-overview-banner strong {
  display: inline-block;
  color: #f2c14e;
  font-size: 1.05rem;
  letter-spacing: .04em;
}

.admin-overview-banner p {
  display: inline-block;
  margin: 0 0 0 .8rem;
  color: #aeb6c2;
  font-size: .75rem;
}

.overview-action {
  flex: none;
  color: #f1d388;
  font-size: .77rem;
  font-weight: 700;
  text-decoration: none;
}

.overview-action span {
  margin-left: .4rem;
  font-size: 1rem;
}

.admin-stat-card {
  min-height: 176px;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, .04);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.stat-icon,
.quick-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(200, 155, 60, .4);
  border-radius: 9px;
  background: #fffaf0;
  color: #a77d27;
  font-size: .85rem;
}

.stat-trend {
  color: #9ba5b4;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.stat-label,
.admin-stat-card small {
  display: block;
  color: #778397;
  font-size: .76rem;
}

.admin-stat-card strong {
  display: block;
  margin: .15rem 0 .25rem;
  color: #18202c;
  font-size: 2rem;
  font-weight: 720;
  letter-spacing: -.05em;
}

.admin-section-heading {
  margin: 2rem 0 .85rem;
}

.admin-section-heading h2,
.table-card-header h2 {
  margin: .35rem 0 0;
  color: #1a2230;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -.035em;
}

.admin-quick-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 78px;
  padding: .9rem 1rem;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  background: #fff;
  color: #1a2230;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(23, 32, 51, .035);
  transition: .2s ease;
}

.admin-quick-card:hover {
  border-color: rgba(200, 155, 60, .55);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 32, 51, .08);
}

.admin-quick-card > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .2rem;
}

.admin-quick-card strong {
  font-size: .8rem;
}

.admin-quick-card small {
  color: #8792a2;
  font-size: .68rem;
}

.admin-quick-card > b {
  color: var(--brand-gold);
  font-size: 1rem;
}

.admin-table-card {
  overflow: hidden;
  border: 1px solid #e7eaf0 !important;
  border-radius: 12px !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, .04);
}

.table-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.3rem 1.4rem 1.1rem;
  border-bottom: 1px solid #edf0f4;
}

.table-card-header > a {
  color: #9a7224;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
}

.table-card-header > a span {
  margin-left: .25rem;
}

.admin-table-card table th {
  padding: .8rem 1.4rem;
  color: #8a95a4;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table-card table td {
  padding: .85rem 1.4rem;
  color: #657187;
  font-size: .78rem;
}

.participant-cell {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.participant-cell > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f7ecd0;
  color: #8d6822;
  font-size: .68rem;
  font-weight: 800;
}

.participant-cell a {
  color: #253046;
  font-weight: 700;
  text-decoration: none;
}

.table-action {
  color: #a27828;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.empty-state {
  padding: 2rem !important;
  color: #929cab !important;
  text-align: center;
}

@media (max-width: 767px) {
  .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-overview-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-overview-banner p {
    display: block;
    margin: .45rem 0 0;
  }

  .table-card-header {
    align-items: flex-start;
    gap: .8rem;
    flex-direction: column;
  }
}

.settings-panel {
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e9ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(23, 32, 51, .035);
}

.settings-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #edf0f4;
}

.settings-panel-heading h2 {
  margin: .35rem 0 0;
  color: #1a2230;
  font-size: 1.15rem;
  font-weight: 720;
  letter-spacing: -.035em;
}

.settings-panel-number {
  color: #c7a354;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.settings-panel .form-label {
  color: #4a586c;
  font-size: .75rem;
  font-weight: 700;
}

.settings-panel .form-control,
.settings-panel .form-select {
  border-color: #dfe5ed;
  border-radius: 8px;
  font-size: .82rem;
}

.settings-panel small {
  display: block;
  margin-top: .4rem;
  color: #8994a4;
  font-size: .68rem;
}

.settings-description {
  max-width: 700px;
  margin: .55rem 0 0;
  color: #7f8b9b;
  font-size: .77rem;
  line-height: 1.55;
}

.settings-switch-list {
  display: grid;
  gap: .7rem;
}

.settings-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  background: #fafbfc;
}

.settings-switch strong {
  display: block;
  color: #273348;
  font-size: .8rem;
}

.settings-switch p {
  margin: .3rem 0 0;
  color: #8792a2;
  font-size: .72rem;
}

.settings-switch .form-check-input {
  width: 2.55rem;
  height: 1.35rem;
  margin: 0;
  cursor: pointer;
}

.settings-switch .form-check-input:checked {
  background-color: var(--brand-gold);
  border-color: var(--brand-gold);
}

.legal-editor {
  min-height: 300px;
  font-size: .78rem !important;
  line-height: 1.6;
}

.settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0 2rem;
  color: #8b95a4;
  font-size: .73rem;
}

.current-document {
  margin-top: .7rem;
  color: #7d8999;
  font-size: .74rem;
}

.current-document a {
  color: #9a7224;
  font-weight: 700;
  text-decoration: none;
}

.legal-page {
  min-height: calc(100vh - 74px);
  padding: 4rem 0 5rem;
  background: #f5f6f8;
}

.legal-shell {
  max-width: 900px;
  margin: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 51, .06);
}

.legal-heading {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #edf0f4;
}

.legal-heading h1 {
  margin: .7rem 0 .35rem;
  color: #18202c;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 720;
  letter-spacing: -.055em;
}

.legal-heading p {
  margin: 0;
  color: #7d8999;
  font-size: .82rem;
}

.legal-pdf {
  padding: 1.25rem 0 0;
}

.legal-pdf .btn {
  border-radius: 7px;
  font-size: .78rem;
}

.legal-content {
  padding: 2rem 0;
  color: #4d596b;
  font-size: .9rem;
  line-height: 1.85;
  white-space: normal;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #edf0f4;
  color: #8a95a4;
  font-size: .75rem;
}

.legal-footer a {
  color: #9a7224;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  .settings-panel {
    padding: 1.1rem;
  }

  .settings-actions,
  .legal-footer {
    align-items: stretch;
    flex-direction: column;
  }
}
