@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0f1e3f;
  --ink-2: #213a56;
  --gold: #cdaa80;
  --gold-2: #997953;
  --sand: #f5f2eb;
  --paper: #ffffff;
  --muted: #5a6675;
  --line: rgba(15, 30, 63, 0.12);
  --shadow-sm: 0 12px 28px rgba(15, 30, 63, 0.12);
  --shadow-md: 0 26px 52px rgba(15, 30, 63, 0.16);
  --shadow-lg: 0 40px 100px rgba(15, 30, 63, 0.24);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(205, 170, 128, 0.25), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(33, 58, 86, 0.16), transparent 36%),
    linear-gradient(180deg, #f7f4ed 0%, #f2eee7 48%, #ebe6de 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.home-body {
  background:
    radial-gradient(circle at 14% 10%, rgba(205, 170, 128, 0.24), transparent 35%),
    radial-gradient(circle at 84% 16%, rgba(15, 30, 63, 0.2), transparent 34%),
    linear-gradient(180deg, #d4caa6 0%, #ccc19a 100%);
}

.bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(205, 170, 128, 0.2), transparent 40%),
    radial-gradient(circle at 82% 12%, rgba(33, 58, 86, 0.16), transparent 35%);
  z-index: 0;
}

.bg-orb {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.26;
  z-index: 0;
}

.orb-one {
  right: -180px;
  top: -170px;
  background: radial-gradient(circle, rgba(33, 58, 86, 0.35), transparent 68%);
}

.orb-two {
  left: -170px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(205, 170, 128, 0.34), transparent 72%);
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.main-content {
  padding: 20px 0 44px;
}

.home-main {
  width: 100%;
  padding: 0;
}

.site-header {
  padding-top: 24px;
}

.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 22px;
  border: 1px solid rgba(15, 30, 63, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: linear-gradient(140deg, var(--ink), var(--ink-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand-title {
  font-size: 14px;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: rgba(15, 30, 63, 0.78);
}

.site-nav a:hover {
  color: var(--ink);
}

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

.contact-pill {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid rgba(15, 30, 63, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.8);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #1a1a1a;
  background: linear-gradient(140deg, #dfc89b, #b59264);
  box-shadow: 0 14px 28px rgba(153, 121, 83, 0.28);
}

.btn.ghost {
  color: var(--ink);
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: rgba(255, 255, 255, 0.8);
}

.btn.disabled {
  pointer-events: none;
  color: rgba(15, 30, 63, 0.4);
  background: rgba(15, 30, 63, 0.08);
  border: 1px solid rgba(15, 30, 63, 0.08);
}

.inline-form {
  display: inline;
}

.site-footer {
  padding: 36px 0 18px;
}

.footer-grid {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.footer-text {
  font-size: 13px;
  color: var(--muted);
}

.intake-page {
  width: min(var(--max), calc(100vw - 48px));
  margin: 26px auto 40px;
  border-radius: 24px;
  background: rgba(252, 250, 245, 0.95);
  border: 1px solid rgba(15, 30, 63, 0.09);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.home-intake-page {
  margin-top: 22px;
}

.intake-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 24px;
  padding: 34px;
  color: #f5efe2;
  background:
    linear-gradient(108deg, rgba(10, 14, 22, 0.9) 0%, rgba(15, 30, 63, 0.82) 48%, rgba(33, 58, 86, 0.64) 100%),
    url("https://images.pexels.com/photos/5668789/pexels-photo-5668789.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: 88px;
}

.home-intake-hero {
  min-height: 590px;
  align-items: end;
}

.home-intake-nav {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.home-intake-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-intake-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.home-intake-brand-copy strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.home-intake-brand-copy span {
  display: block;
  font-size: 11px;
  color: rgba(245, 239, 226, 0.8);
}

.home-intake-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.home-intake-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(247, 241, 230, 0.88);
}

.home-intake-tools {
  justify-self: end;
}

.home-intake-tools .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.intake-hero-copy {
  max-width: 670px;
  padding-top: 106px;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(223, 200, 155, 0.95);
}

.intake-hero h1 {
  margin: 12px 0 16px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.5px;
  color: #fff;
}

.intake-hero p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 239, 227, 0.84);
}

.intake-hero-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intake-hero-tags span {
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.08);
}

.home-intake-actions {
  margin-top: 24px;
}

.intake-hero-panel {
  align-self: end;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 12, 22, 0.4);
  backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.intake-panel-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: rgba(223, 200, 155, 0.98);
}

.intake-steps {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: rgba(246, 239, 227, 0.92);
}

.intake-panel-price {
  margin-top: 18px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 38px;
  color: #fff;
}

.dashboard-stats {
  padding: 26px 34px 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-stat {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.dashboard-stat span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: var(--muted);
}

.dashboard-stat strong {
  display: block;
  margin-top: 7px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 39px;
  line-height: 1;
  color: var(--ink);
}

.dashboard-stat p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.dashboard-layout {
  padding: 14px 34px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: start;
}

.dashboard-main,
.dashboard-side {
  min-width: 0;
}

.home-dashboard-layout {
  align-items: start;
}

.dashboard-panel {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.dashboard-panel + .dashboard-panel {
  margin-top: 16px;
}

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

.panel-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-2);
}

.dashboard-panel-head h2 {
  margin: 8px 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
}

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

.card {
  border-radius: 16px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: linear-gradient(180deg, #fff 0%, #fcf9f4 100%);
  padding: 16px;
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 30, 63, 0.14);
}

.price-chip {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: rgba(205, 170, 128, 0.25);
  padding: 5px 10px;
}

.card-title {
  font-weight: 700;
  color: var(--ink);
}

.card-text {
  font-size: 13px;
  color: var(--muted);
}

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

.steps .step-grid {
  margin-top: 2px;
}

.step {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: #fdfaf5;
  padding: 14px;
}

.step-number {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 12px;
  color: var(--gold-2);
}

.step-title {
  margin-top: 6px;
  font-weight: 700;
}

.step-text {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.summary-card {
  border-radius: 18px;
  border: 1px solid rgba(15, 30, 63, 0.11);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.summary-card + .summary-card {
  margin-top: 14px;
}

.summary-card.subtle {
  background: linear-gradient(180deg, #f7f2e8 0%, #fdfbf7 100%);
}

.summary-card-top {
  display: grid;
  gap: 8px;
}

.summary-card-top strong {
  font-weight: 700;
}

.summary-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: var(--gold-2);
}

.summary-price {
  margin-top: 12px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
}

.summary-price-wrap {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.summary-price-wrap > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: var(--muted);
}

.summary-price-wrap .summary-price {
  margin-top: 0;
}

.summary-progress {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 30, 63, 0.1);
  background: rgba(15, 30, 63, 0.03);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.summary-progress span {
  font-size: 12px;
  color: var(--muted);
}

.summary-progress strong {
  font-size: 16px;
}

.summary-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.summary-list.compact {
  color: rgba(15, 30, 63, 0.82);
}

.sticky {
  position: static;
}

.quick-actions {
  display: grid;
  gap: 10px;
}

.quick-action-card {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: linear-gradient(180deg, #fff, #faf7f1);
  padding: 12px;
  display: grid;
  gap: 5px;
}

.quick-action-card strong {
  font-size: 14px;
}

.quick-action-card span {
  font-size: 12px;
  color: var(--muted);
}

.home-cta-panel {
  margin: 0 34px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background:
    linear-gradient(120deg, rgba(15, 30, 63, 0.94), rgba(33, 58, 86, 0.9)),
    url("https://images.pexels.com/photos/5668805/pexels-photo-5668805.jpeg?auto=compress&cs=tinysrgb&w=1400");
  background-size: cover;
  background-position: center;
  color: #f7f1e4;
}

.home-cta-panel h2 {
  margin: 8px 0 6px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.98;
}

.home-cta-panel p {
  margin: 0;
  max-width: 720px;
  color: rgba(247, 241, 228, 0.86);
}

.home-cta-panel .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.intake-layout {
  padding: 26px 34px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(295px, 1fr);
  gap: 20px;
  align-items: start;
}

.intake-sidebar {
  min-width: 0;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 86px;
  align-self: start;
  max-height: calc(100vh - 98px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.intake-sidebar::-webkit-scrollbar {
  width: 8px;
}

.intake-sidebar::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.18);
  border-radius: 999px;
}

.intake-sidebar::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.46);
  border-radius: 999px;
}

.form-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.intake-form-shell {
  display: grid;
  gap: 16px;
}

.form-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.form-shell-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: var(--gold-2);
}

.form-shell-head h2 {
  margin: 8px 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 0.98;
}

.form-shell-progress {
  min-width: 110px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 30, 63, 0.03);
  padding: 10px;
  text-align: right;
}

.form-shell-progress span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--muted);
}

.form-shell-progress strong {
  display: block;
  font-size: 20px;
  margin-top: 2px;
}

.form-section {
  border: 1px solid rgba(15, 30, 63, 0.1);
  border-radius: 14px;
  background: #fdfbf7;
  padding: 14px;
}

.form-section-highlight {
  background: linear-gradient(180deg, #f7f1e7 0%, #fbf8f3 100%);
}

.form-section-estimator {
  border-color: rgba(153, 121, 83, 0.34);
  background: linear-gradient(180deg, #fffefc 0%, #f6efe2 100%);
}

.form-section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.form-section-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--ink);
  border: 1px solid rgba(153, 121, 83, 0.35);
  background: rgba(205, 170, 128, 0.3);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.form-title {
  font-weight: 700;
}

.form-section p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.court-assistant {
  border: 1px solid rgba(153, 121, 83, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffefc 0%, #f7f1e7 100%);
  padding: 12px;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.court-assistant-head {
  display: grid;
  gap: 4px;
}

.court-assistant-head strong {
  font-size: 13px;
}

.court-assistant-head span {
  font-size: 12px;
  color: var(--muted);
}

.court-lookup-status {
  border-radius: 10px;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: rgba(15, 30, 63, 0.04);
  padding: 8px 10px;
  font-size: 12px;
  color: var(--ink-2);
}

.court-lookup-status.success {
  border-color: rgba(21, 128, 61, 0.35);
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
}

.court-lookup-status.warning {
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(251, 191, 36, 0.14);
  color: #92400e;
}

.court-lookup-status.danger {
  border-color: rgba(185, 28, 28, 0.34);
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

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

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

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

.estimator-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

.estimator-result {
  margin-top: 14px;
  border: 1px solid rgba(153, 121, 83, 0.34);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 9px;
}

.estimator-result .btn.primary {
  width: 100%;
}

.estimator-result > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.estimator-result span {
  color: var(--muted);
  font-size: 12px;
}

.estimator-result strong {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}

.estimator-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

#full-form-step {
  display: grid;
  gap: 16px;
}

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

.field span {
  font-size: 12px;
  color: var(--ink-2);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(15, 30, 63, 0.16);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 11px 12px;
  min-height: 46px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(153, 121, 83, 0.72);
  box-shadow: 0 0 0 3px rgba(205, 170, 128, 0.26);
}

textarea {
  resize: vertical;
}

.field.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 30, 63, 0.1);
  background: rgba(15, 30, 63, 0.03);
  padding: 12px;
}

.field.checkbox input {
  width: auto;
  margin-top: 2px;
}

.price-summary {
  border: 1px solid rgba(15, 30, 63, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.price-summary.premium {
  border-color: rgba(153, 121, 83, 0.28);
  background: linear-gradient(180deg, #fffefc 0%, #f8f2e8 100%);
}

.price-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.price-summary span {
  font-size: 12px;
  color: var(--muted);
}

.price-summary strong {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.card-note {
  font-size: 12px;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions .btn,
.modal-actions .btn {
  min-height: 46px;
  min-width: 210px;
}

.form-actions .btn {
  flex: 1 1 220px;
}

.form-actions .btn.ghost,
.form-actions .btn.primary {
  justify-content: center;
}

.form-error {
  margin-top: 2px;
  color: #b91c1c;
  font-size: 13px;
}

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

.hidden {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.62);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(960px, 96vw);
  max-height: calc(100vh - 42px);
  overflow: auto;
  border-radius: 26px;
  border: 1px solid rgba(15, 30, 63, 0.1);
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-2);
}

.modal-header h3 {
  margin: 8px 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 0.97;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.modal-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.preview-paper {
  border-radius: 12px;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: #fff;
  overflow: hidden;
}

.preview-paper-header {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 30, 63, 0.1);
  background: linear-gradient(180deg, #f7f1e7, #fbf8f2);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.preview-paper-body {
  padding: 18px;
  max-height: 54vh;
  overflow: auto;
  background:
    linear-gradient(transparent 23px, rgba(15, 30, 63, 0.05) 24px),
    linear-gradient(90deg, rgba(15, 30, 63, 0.04) 0, rgba(15, 30, 63, 0.04) 1px, transparent 1px);
  background-size: 100% 24px, 24px 100%;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 19px;
  line-height: 1.55;
  color: #1a2230;
}

.preview-paragraph {
  margin: 0 0 10px;
  text-indent: 2.2em;
}

.preview-paragraph.no-indent {
  text-indent: 0;
}

.preview-paragraph.align-center {
  text-align: center;
  text-indent: 0;
}

.preview-paragraph.preview-heading {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.preview-spacer {
  height: 12px;
}

.modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-modal-card {
  width: min(1120px, 98vw);
}

.payment-frame-wrap {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: #fff;
  overflow: hidden;
  min-height: 520px;
}

#payment-frame {
  width: 100%;
  height: min(72vh, 760px);
  border: 0;
  background: #fff;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 20px;
}

.auth-panel {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.auth-panel-brand {
  color: #f8f1e4;
  background:
    linear-gradient(120deg, rgba(10, 12, 19, 0.9), rgba(15, 30, 63, 0.88), rgba(33, 58, 86, 0.72)),
    url("https://images.pexels.com/photos/5668805/pexels-photo-5668805.jpeg?auto=compress&cs=tinysrgb&w=1400");
  background-size: cover;
  background-position: center;
}

.auth-panel-brand h1 {
  margin: 12px 0 12px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.95;
}

.auth-panel-brand p {
  margin: 0;
  color: rgba(248, 241, 228, 0.84);
}

.auth-points {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.auth-form {
  background: #fff;
}

.form-shell-head.compact h2 {
  font-size: clamp(28px, 3vw, 36px);
}

.dashboard-page {
  display: grid;
  gap: 16px;
}

.dashboard-hero {
  border-radius: 20px;
  border: 1px solid rgba(15, 30, 63, 0.1);
  background:
    linear-gradient(120deg, rgba(15, 30, 63, 0.93), rgba(33, 58, 86, 0.88)),
    url("https://images.pexels.com/photos/4427556/pexels-photo-4427556.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  color: #f7f1e4;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 16px;
}

.dashboard-hero-copy {
  min-width: 0;
}

.admin-dashboard .dashboard-layout {
  align-items: start;
}

.dashboard-hero h1 {
  margin: 10px 0 10px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.94;
}

.dashboard-hero p {
  margin: 0;
  color: rgba(247, 241, 228, 0.84);
}

.dashboard-hero-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 14, 22, 0.36);
  padding: 14px;
}

.filter-shell,
.price-form {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.field-search {
  grid-column: span 2;
}

.table-wrap.modern {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.12);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 30, 63, 0.08);
  vertical-align: top;
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  font-size: 11px;
  color: var(--ink-2);
  background: #f5efe3;
}

.admin-table tbody tr:hover {
  background: rgba(205, 170, 128, 0.14);
}

.badge {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  display: inline-flex;
}

.badge.soft {
  color: var(--ink-2);
  background: rgba(33, 58, 86, 0.12);
}

.badge.success {
  color: #0f5132;
  background: #d1f2df;
}

.badge.warning {
  color: #7a4e00;
  background: #ffe6bf;
}

.badge.danger {
  color: #842029;
  background: #f8d7da;
}

.table-code {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 12px;
  color: var(--ink-2);
  word-break: break-all;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-link {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
}

.button-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dashboard-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.section {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.section-header h2 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 40px;
  line-height: 1;
}

.section-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.success-card {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: #fcfaf6;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.success-title {
  font-weight: 700;
  font-size: 17px;
}

.success-text {
  color: var(--muted);
  font-size: 14px;
}

.admin-alert {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: #f8fafc;
  padding: 12px 14px;
  font-size: 13px;
}

.admin-alert.success {
  border-color: rgba(21, 128, 61, 0.35);
  background: rgba(22, 163, 74, 0.12);
  color: #14532d;
}

.admin-alert.danger {
  border-color: rgba(185, 28, 28, 0.32);
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.registry-meta {
  border-radius: 12px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: #fbfaf6;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.admin-anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-anchor-bar a {
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: rgba(255, 255, 255, 0.82);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.admin-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tab-btn {
  appearance: none;
  border: 1px solid rgba(15, 30, 63, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-2);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.admin-tab-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 30, 63, 0.24);
}

.admin-tab-btn.is-active {
  color: #fff;
  border-color: rgba(15, 30, 63, 0.4);
  background: linear-gradient(132deg, var(--ink), var(--ink-2));
}

.admin-tab-panels {
  display: grid;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.is-active {
  display: grid;
  gap: 16px;
}

.admin-overview-panel {
  padding-top: 18px;
}

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

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

.admin-kpi-card {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  padding: 12px;
  display: grid;
  gap: 4px;
}

.admin-kpi-card span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--muted);
}

.admin-kpi-card strong {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 32px;
  line-height: 0.92;
  color: var(--ink);
}

.admin-layout-xl {
  align-items: start;
}

.admin-config-side .dashboard-panel + .dashboard-panel {
  margin-top: 16px;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.admin-filter-grid .field-search {
  grid-column: span 2;
}

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

.table-hint {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.admin-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
}

.admin-switch input {
  width: 16px;
  height: 16px;
  margin: 0;
}

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

.insight-card {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.11);
  background: #fff;
  padding: 12px;
}

.insight-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-trend-list {
  display: grid;
  gap: 7px;
}

.admin-trend-item {
  display: grid;
  grid-template-columns: 96px 1fr 96px;
  align-items: center;
  gap: 10px;
}

.admin-trend-item .date,
.admin-trend-item .value {
  font-size: 11px;
  color: var(--ink-2);
}

.admin-trend-item .value {
  text-align: right;
}

.admin-trend-item .bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 30, 63, 0.12);
  overflow: hidden;
}

.admin-trend-item .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(140deg, #2b5d9c, #65a1e4);
}

.law-landing {
  width: min(1220px, calc(100vw - 36px));
  margin: 18px auto 36px;
  display: grid;
  gap: 22px;
}

.law-nav {
  border-radius: 20px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.law-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.law-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #f7f1e3;
  background: linear-gradient(140deg, #0f1e3f, #213a56);
}

.law-brand-copy {
  display: grid;
  line-height: 1.1;
}

.law-brand-copy strong {
  font-size: 14px;
}

.law-brand-copy small {
  font-size: 11px;
  color: var(--muted);
}

.law-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.law-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  color: rgba(15, 30, 63, 0.82);
}

.law-links a:hover {
  color: var(--ink);
}

.law-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 34px;
  color: #f8f1e4;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 24px;
  background:
    linear-gradient(115deg, rgba(6, 10, 17, 0.9), rgba(15, 30, 63, 0.82), rgba(33, 58, 86, 0.56)),
    url("https://images.pexels.com/photos/5668473/pexels-photo-5668473.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-size: cover;
  background-position: center;
}

.law-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(205, 170, 128, 0.22), transparent 44%),
    radial-gradient(circle at 86% 12%, rgba(15, 30, 63, 0.46), transparent 40%);
  pointer-events: none;
}

.law-hero-content,
.law-hero-panel {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.law-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #d6bd96;
}

.law-hero h1 {
  margin: 10px 0 12px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.92;
}

.law-lead {
  margin: 0;
  font-size: 15px;
  color: rgba(246, 240, 228, 0.88);
  max-width: 62ch;
}

.law-hero-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.law-hero-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.law-hero-tags span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  padding: 7px 11px;
}

.law-hero-panel {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(9, 15, 23, 0.52);
  padding: 16px;
  display: grid;
  gap: 12px;
  backdrop-filter: blur(2px);
}

.law-hero-panel h3 {
  margin: 0;
  font-size: 20px;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.law-hero-panel ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: rgba(247, 241, 229, 0.88);
}

.law-price-pill {
  border-radius: 999px;
  border: 1px solid rgba(205, 170, 128, 0.5);
  background: rgba(205, 170, 128, 0.2);
  color: #f3e4ca;
  font-size: 12px;
  padding: 8px 12px;
  display: inline-flex;
  width: fit-content;
}

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

.law-metrics article {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.law-metrics strong {
  display: block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 34px;
  line-height: 0.95;
  color: var(--ink);
}

.law-metrics span {
  font-size: 12px;
  color: var(--muted);
}

.law-section {
  border-radius: 24px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.law-section-head h2 {
  margin: 8px 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
}

.law-service-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.law-service-card,
.law-package-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background:
    linear-gradient(180deg, #fff 0%, #fbf7ef 100%);
  padding: 14px;
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.law-service-card:hover,
.law-package-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 30, 63, 0.12);
}

.law-service-price {
  border-radius: 999px;
  border: 1px solid rgba(153, 121, 83, 0.4);
  background: rgba(205, 170, 128, 0.18);
  color: #3f3223;
  font-size: 11px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  padding: 7px 10px;
  width: fit-content;
}

.law-service-card h3,
.law-package-card h3 {
  margin: 0;
  font-size: 18px;
}

.law-service-card p,
.law-package-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.law-section-process {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.law-process-media {
  border-radius: 18px;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(15, 30, 63, 0.14), rgba(15, 30, 63, 0.44)),
    url("https://images.pexels.com/photos/8112186/pexels-photo-8112186.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
}

.law-process-content h2 {
  margin: 8px 0 12px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
}

.law-steps {
  display: grid;
  gap: 10px;
}

.law-steps article {
  border-radius: 14px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: #fff;
  padding: 12px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
}

.law-steps article span {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 12px;
  color: var(--ink);
  border: 1px solid rgba(153, 121, 83, 0.42);
  background: rgba(205, 170, 128, 0.28);
}

.law-steps h4 {
  margin: 0;
  font-size: 15px;
}

.law-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.law-cta {
  border-radius: 24px;
  border: 1px solid rgba(15, 30, 63, 0.16);
  background:
    linear-gradient(128deg, rgba(10, 14, 23, 0.92), rgba(15, 30, 63, 0.88), rgba(33, 58, 86, 0.7)),
    url("https://images.pexels.com/photos/8112172/pexels-photo-8112172.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  color: #f7f1e4;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
}

.law-cta h2 {
  margin: 8px 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 0.95;
}

.law-cta p {
  margin: 0;
  color: rgba(246, 240, 228, 0.84);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fig-law {
  width: min(1180px, calc(100vw - 28px));
  margin: 14px auto 34px;
  display: grid;
  gap: 18px;
}

.fig-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px 22px 30px;
  background:
    linear-gradient(108deg, rgba(6, 10, 18, 0.92) 0%, rgba(15, 30, 63, 0.86) 48%, rgba(26, 44, 66, 0.74) 100%),
    url("https://images.pexels.com/photos/5668473/pexels-photo-5668473.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-size: cover;
  background-position: center;
  color: #f5efe2;
  min-height: 600px;
  display: grid;
  align-content: start;
}

.fig-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 24%, rgba(205, 170, 128, 0.2), transparent 42%),
    radial-gradient(circle at 86% 14%, rgba(15, 30, 63, 0.34), transparent 38%);
  pointer-events: none;
}

.fig-nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.fig-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fig-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.fig-brand-copy {
  display: grid;
  line-height: 1.1;
}

.fig-brand-copy strong {
  font-size: 14px;
}

.fig-brand-copy small {
  font-size: 11px;
  color: rgba(245, 238, 226, 0.72);
}

.fig-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fig-links a {
  font-size: 11px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: rgba(245, 238, 226, 0.78);
}

.fig-links a:hover {
  color: #fff;
}

.fig-tools {
  display: flex;
  justify-content: flex-end;
}

.fig-hero-content {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  max-width: 660px;
  animation: fadeUp 0.8s ease both;
}

.fig-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 11px;
  color: #ccb082;
}

.fig-hero-content h1 {
  margin: 12px 0 14px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.9;
}

.fig-hero-content p {
  margin: 0;
  color: rgba(246, 240, 228, 0.84);
  max-width: 60ch;
}

.fig-hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fig-section {
  border-radius: 22px;
  border: 1px solid rgba(15, 30, 63, 0.11);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.fig-experience {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.fig-experience-media {
  display: grid;
  gap: 10px;
}

.fig-experience-media span {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 34px;
  color: #7f6645;
}

.fig-experience-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  object-fit: cover;
  min-height: 280px;
}

.fig-experience-copy h2 {
  margin: 8px 0 10px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.95;
}

.fig-experience-copy p {
  margin: 0;
  color: var(--muted);
}

.fig-experience-copy ul {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  color: var(--ink-2);
}

.fig-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.fig-metrics article {
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 63, 0.14);
  background: #fff;
  padding: 14px 16px;
  text-align: center;
}

.fig-metrics strong {
  display: block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 34px;
  line-height: 0.92;
  color: var(--ink);
}

.fig-metrics span {
  font-size: 12px;
  color: var(--muted);
}

.fig-section-head h2 {
  margin: 8px 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
}

.fig-services-grid,
.fig-package-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fig-service-card,
.fig-package-card {
  border-radius: 15px;
  border: 1px solid rgba(15, 30, 63, 0.12);
  background: linear-gradient(180deg, #fff 0%, #faf5ec 100%);
  padding: 13px;
  display: grid;
  gap: 10px;
}

.fig-service-card h3,
.fig-package-card h3 {
  margin: 0;
  font-size: 17px;
}

.fig-service-card p,
.fig-package-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.fig-price {
  border-radius: 999px;
  border: 1px solid rgba(153, 121, 83, 0.44);
  background: rgba(205, 170, 128, 0.22);
  color: #3f3223;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 7px 10px;
  width: fit-content;
}

.fig-cta {
  border-radius: 24px;
  border: 1px solid rgba(15, 30, 63, 0.18);
  background:
    linear-gradient(118deg, rgba(10, 12, 18, 0.92), rgba(15, 30, 63, 0.84), rgba(33, 58, 86, 0.7)),
    url("https://images.pexels.com/photos/5669602/pexels-photo-5669602.jpeg?auto=compress&cs=tinysrgb&w=1700");
  background-size: cover;
  background-position: center;
  color: #f5efe2;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
}

.fig-cta h2 {
  margin: 8px 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 0.95;
}

.fig-cta p {
  margin: 0;
  color: rgba(246, 240, 228, 0.86);
}

@media (max-width: 1200px) {
  .site-header .container {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
  }

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

  .law-section-process {
    grid-template-columns: 1fr;
  }

  .law-process-media {
    min-height: 320px;
  }

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

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

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

@media (max-width: 1080px) {
  .bg-layer,
  .bg-orb {
    display: none !important;
  }

  .lt-public-page .lt-wrap {
    width: min(1280px, calc(100vw - 30px));
  }

  .intake-page {
    width: min(var(--max), calc(100vw - 30px));
    margin-top: 18px;
  }

  .intake-hero {
    grid-template-columns: 1fr;
    border-bottom-left-radius: 46px;
  }

  .home-intake-nav {
    position: static;
    margin-bottom: 8px;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-intake-links {
    justify-content: flex-start;
  }

  .intake-hero-copy {
    padding-top: 0;
  }

  .dashboard-stats,
  .dashboard-layout,
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .intake-sidebar {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .home-cta-panel {
    margin: 0 20px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-shell,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .field-search {
    grid-column: auto;
  }

  .law-nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .law-links {
    justify-content: flex-start;
  }

  .law-hero {
    grid-template-columns: 1fr;
  }

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

  .fig-nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .fig-links {
    justify-content: flex-start;
  }

  .fig-hero-content {
    margin-top: 30px;
  }

  .fig-experience {
    grid-template-columns: 1fr;
  }

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

  .admin-filter-grid .field-search {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .main-content {
    padding-top: 10px;
  }

  .app-light .main-content {
    padding: 14px 0 34px;
  }

  .app-light .status-page {
    width: min(940px, calc(100vw - 18px));
    margin: 14px auto 24px;
  }

  .contact-pill {
    display: none;
  }

  .intake-hero,
  .dashboard-stats,
  .dashboard-layout,
  .intake-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dashboard-stats {
    padding-top: 16px;
  }

  .dashboard-panel {
    padding: 14px;
  }

  .card-grid,
  .step-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .intake-hero h1,
  .dashboard-hero h1,
  .form-shell-head h2,
  .home-cta-panel h2 {
    line-height: 1.02;
  }

  .section-header h2 {
    font-size: 33px;
  }

  .modal {
    padding: 10px;
  }

  .modal-card {
    width: 100%;
    padding: 14px;
    border-radius: 18px;
  }

  .preview-paper-body {
    font-size: 17px;
    padding: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .law-landing {
    width: min(1220px, calc(100vw - 18px));
    margin-top: 10px;
  }

  .law-hero,
  .law-section,
  .law-cta {
    padding: 16px;
    border-radius: 18px;
  }

  .law-service-grid,
  .law-package-grid,
  .law-metrics {
    grid-template-columns: 1fr;
  }

  .law-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .fig-law {
    width: min(1180px, calc(100vw - 14px));
    margin-top: 10px;
  }

  .fig-hero,
  .fig-section,
  .fig-cta {
    border-radius: 18px;
    padding: 14px;
  }

  .fig-services-grid,
  .fig-package-grid,
  .fig-metrics {
    grid-template-columns: 1fr;
  }

  .fig-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-kpi-grid,
  .admin-kpi-grid.mini,
  .admin-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-tab-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .admin-tab-btn {
    white-space: nowrap;
  }

  .srcx-wrap.srcx-wrap-admin {
    width: calc(100vw - 10px);
  }

  .admin-anchor-bar {
    gap: 6px;
  }

  .admin-trend-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-trend-item .value {
    text-align: left;
  }
}

.srcx-page {
  width: 100%;
  color: #e2e8f0;
  background: #020617;
}

.srcx-wrap {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
}

.srcx-wrap.srcx-wrap-admin {
  width: min(1920px, calc(100vw - 12px));
}

.srcx-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.srcx-header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.srcx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.srcx-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #2563eb, #1d4ed8);
}

.srcx-brand-copy {
  display: grid;
  line-height: 1.05;
}

.srcx-brand-copy strong {
  font-size: 14px;
  color: #f8fafc;
}

.srcx-brand-copy small {
  font-size: 11px;
  color: #94a3b8;
}

.srcx-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.srcx-nav a {
  font-size: 12px;
  letter-spacing: 0.28px;
  color: #cbd5e1;
  text-transform: uppercase;
}

.srcx-nav a:hover {
  color: #60a5fa;
}

.srcx-header-action {
  display: flex;
  justify-content: flex-end;
}

.srcx-header-action .btn.ghost {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}

.srcx-hero {
  position: relative;
  overflow: hidden;
}

.srcx-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.82)),
    url("https://images.unsplash.com/photo-1768839719921-6a554fb3e847?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");
  background-size: cover;
  background-position: center;
}

.srcx-hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 64px;
  text-align: center;
}

.srcx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid rgba(96, 165, 250, 0.42);
  background: rgba(37, 99, 235, 0.14);
  color: #93c5fd;
}

.srcx-hero h1 {
  margin: 14px 0 10px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.9;
  color: #fff;
}

.srcx-hero h1 span {
  color: #60a5fa;
}

.srcx-hero-subtitle {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #93c5fd;
}

.srcx-hero-text {
  margin: 16px auto 0;
  max-width: 760px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.65;
}

.srcx-hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.srcx-hero-actions .btn.ghost {
  color: #fff;
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(2, 6, 23, 0.44);
}

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

.srcx-trust-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(2, 6, 23, 0.48);
  padding: 18px;
  text-align: left;
  backdrop-filter: blur(4px);
}

.srcx-trust-icon {
  font-size: 20px;
}

.srcx-trust-card h3 {
  margin: 10px 0 8px;
  font-size: 16px;
  color: #fff;
}

.srcx-trust-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.srcx-section {
  padding: 58px 0;
}

.srcx-section-head {
  text-align: center;
  margin-bottom: 30px;
}

.srcx-section-head p {
  margin: 0;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
}

.srcx-section-head h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.95;
}

.srcx-section-head span {
  color: #94a3b8;
}

.srcx-how {
  background: linear-gradient(180deg, #020617 0%, #0b1220 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

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

.srcx-step {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
  padding: 14px;
}

.srcx-step-no {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.46);
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
  font-size: 13px;
}

.srcx-step h3 {
  margin: 10px 0 6px;
  color: #f8fafc;
  font-size: 15px;
}

.srcx-step p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.srcx-how-meta {
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.srcx-how-meta div {
  text-align: center;
}

.srcx-how-meta strong {
  display: block;
  color: #93c5fd;
  font-size: 28px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1;
}

.srcx-how-meta span {
  font-size: 12px;
  color: #94a3b8;
}

.srcx-services {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

.srcx-service-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #1e293b, #0f172a);
  padding: 14px;
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.srcx-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.58);
  box-shadow: 0 20px 34px rgba(2, 6, 23, 0.5);
}

.srcx-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.38);
}

.srcx-service-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 16px;
}

.srcx-service-card p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.srcx-service-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.srcx-service-footer span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.srcx-service-footer strong {
  color: #60a5fa;
  font-size: 18px;
}

.srcx-link {
  font-size: 13px;
  color: #93c5fd;
  font-weight: 600;
}

.srcx-link:hover {
  color: #bfdbfe;
}

.srcx-link.disabled {
  color: #64748b;
}

.srcx-disclaimer {
  margin-top: 16px;
  border-radius: 14px;
  border-left: 4px solid rgba(96, 165, 250, 0.8);
  background: rgba(15, 23, 42, 0.78);
  padding: 13px;
}

.srcx-disclaimer p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
}

.srcx-packages {
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

.srcx-package-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.96));
  padding: 14px;
  display: grid;
  gap: 10px;
}

.srcx-package-card h3 {
  margin: 0;
  color: #f8fafc;
}

.srcx-package-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.srcx-package-card strong {
  color: #93c5fd;
  font-size: 20px;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.srcx-cta {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background:
    linear-gradient(120deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.82)),
    url("https://images.pexels.com/photos/5669602/pexels-photo-5669602.jpeg?auto=compress&cs=tinysrgb&w=1700");
  background-size: cover;
  background-position: center;
  padding: 44px 0;
}

.srcx-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}

.srcx-cta p {
  margin: 0;
  font-size: 11px;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.srcx-cta h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
}

.srcx-cta span {
  color: #cbd5e1;
}

.srcx-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.srcx-cta .btn.ghost {
  color: #fff;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.38);
}

.srcx-footer {
  background: linear-gradient(180deg, #020617 0%, #02040c 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 34px;
}

.srcx-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.srcx-footer h4 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 15px;
}

.srcx-footer p {
  margin: 0 0 6px;
  color: #94a3b8;
  font-size: 13px;
}

.srcx-footer-bottom {
  margin-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 14px 0 20px;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 1180px) {
  .srcx-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .srcx-header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 10px 0;
  }

  .srcx-nav {
    justify-content: flex-start;
  }

  .srcx-how-meta {
    grid-template-columns: 1fr;
  }

  .srcx-package-grid {
    grid-template-columns: 1fr;
  }

  .srcx-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .srcx-wrap {
    width: min(1200px, calc(100vw - 18px));
  }

  .srcx-hero-inner {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .srcx-service-grid,
  .srcx-step-grid,
  .srcx-trust-grid {
    grid-template-columns: 1fr;
  }

  .srcx-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* unified light theme for all non-home pages */
.app-light {
  background:
    linear-gradient(112deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.9), rgba(226, 232, 240, 0.9)),
    url("https://images.unsplash.com/photo-1768839719921-6a554fb3e847?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #0f172a;
}

.app-light .main-content {
  padding: 28px 0 56px;
}

.app-light .main-content > * {
  position: relative;
  z-index: 1;
}

.app-light .srcx-internal-page {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(8px);
}

.app-light .srcx-internal-page::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6, #93c5fd);
  opacity: 0.9;
  pointer-events: none;
}

.app-light .srcx-internal-page > * {
  position: relative;
  z-index: 1;
}

.app-light .srcx-internal-auth {
  padding: 2px;
}

.app-light .srcx-internal-page,
.app-light .srcx-internal-auth .auth-panel,
.app-light .status-card {
  animation: srcxRise 0.48s ease both;
}

.app-light .bg-layer {
  background:
    radial-gradient(circle at 16% 22%, rgba(59, 130, 246, 0.08), transparent 40%),
    radial-gradient(circle at 82% 12%, rgba(15, 23, 42, 0.06), transparent 35%);
}

.app-light .orb-one {
  background: radial-gradient(circle, rgba(30, 64, 175, 0.2), transparent 68%);
}

.app-light .orb-two {
  background: radial-gradient(circle, rgba(148, 163, 184, 0.24), transparent 72%);
}

.app-light .srcx-header-internal {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.app-light .auth-panel {
  border-radius: 22px;
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.app-light .site-header .container {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.app-light .brand-mark {
  background: linear-gradient(140deg, #1d4ed8, #2563eb);
}

.app-light .brand-title {
  color: #0f172a;
}

.app-light .brand-subtitle {
  color: #64748b;
}

.app-light .site-nav a {
  color: #334155;
}

.app-light .site-nav a:hover {
  color: #1d4ed8;
}

.app-light .contact-pill {
  color: #475569;
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(248, 250, 252, 0.95);
}

.app-light .btn.primary {
  color: #fff;
  background: linear-gradient(140deg, #1d4ed8, #2563eb);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.app-light .btn.ghost {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.app-light .intake-page {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
}

.app-light .intake-hero,
.app-light .dashboard-hero,
.app-light .auth-panel-brand {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.app-light .intake-hero::after,
.app-light .dashboard-hero::after,
.app-light .auth-panel-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(147, 197, 253, 0.18), transparent 44%),
    radial-gradient(circle at 84% 10%, rgba(15, 23, 42, 0.32), transparent 38%);
  pointer-events: none;
  z-index: -1;
}

.app-light .intake-hero {
  color: #e2e8f0;
  background:
    linear-gradient(108deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.82) 48%, rgba(51, 65, 85, 0.62) 100%),
    url("https://images.unsplash.com/photo-1768839719921-6a554fb3e847?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");
  background-size: cover;
  background-position: center;
}

.app-light .section-kicker,
.app-light .panel-kicker,
.app-light .form-shell-kicker,
.app-light .modal-kicker,
.app-light .summary-label {
  color: #2563eb;
}

.app-light .intake-hero-tags span {
  border-color: rgba(148, 163, 184, 0.36);
  background: rgba(15, 23, 42, 0.3);
  color: #e2e8f0;
}

.app-light .intake-hero-panel {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.32);
}

.app-light .intake-layout,
.app-light .dashboard-layout {
  gap: 24px;
}

.app-light .intake-panel-price {
  color: #bfdbfe;
}

.app-light .form-card,
.app-light .dashboard-panel,
.app-light .section {
  border-radius: 22px;
  border-color: rgba(15, 23, 42, 0.11);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.app-light .form-shell-head h2,
.app-light .section-header h2,
.app-light .dashboard-panel-head h2 {
  color: #0f172a;
}

.app-light .form-shell-head,
.app-light .dashboard-panel-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.app-light .form-section {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.app-light .form-section-highlight {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.app-light .form-section-step {
  border-color: rgba(37, 99, 235, 0.36);
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.app-light .form-section p,
.app-light .card-note,
.app-light .section-header p,
.app-light .dashboard-hero p,
.app-light .dashboard-stat p {
  color: #64748b;
}

.app-light .field span,
.app-light .price-summary span {
  color: #334155;
}

.app-light input,
.app-light select,
.app-light textarea {
  border-color: rgba(15, 23, 42, 0.16);
  background: #fff;
  color: #0f172a;
}

.app-light input:focus,
.app-light select:focus,
.app-light textarea:focus {
  border-color: rgba(37, 99, 235, 0.72);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.app-light .price-summary.premium {
  border-color: rgba(37, 99, 235, 0.26);
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.app-light .summary-card {
  border-radius: 20px;
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.app-light .summary-card.subtle {
  background: #f8fafc;
}

.app-light .summary-list,
.app-light .summary-progress span {
  color: #64748b;
}

.app-light .modal-backdrop {
  background: rgba(15, 23, 42, 0.5);
}

.app-light .modal-card {
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
}

.app-light .preview-paper {
  border-color: rgba(15, 23, 42, 0.16);
}

.app-light .preview-paper-header {
  background: linear-gradient(180deg, #eff6ff, #f8fafc);
}

.app-light .preview-paper-body {
  color: #0f172a;
  background:
    linear-gradient(transparent 23px, rgba(15, 23, 42, 0.04) 24px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 0, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}

.app-light .auth-panel-brand {
  color: #e2e8f0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.84), rgba(51, 65, 85, 0.65)),
    url("https://images.unsplash.com/photo-1768839719921-6a554fb3e847?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");
  background-size: cover;
  background-position: center;
}

.app-light .auth-panel-brand p {
  color: rgba(226, 232, 240, 0.84);
}

.app-light .dashboard-hero {
  color: #e2e8f0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.84)),
    url("https://images.unsplash.com/photo-1768839719921-6a554fb3e847?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");
  background-size: cover;
  background-position: center;
}

.app-light .dashboard-hero-card {
  border-radius: 18px;
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.32);
}

.app-light .dashboard-stats .dashboard-stat {
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
}

.app-light .dashboard-stat span {
  color: #64748b;
}

.app-light .dashboard-stat strong {
  color: #0f172a;
}

.app-light .table-wrap.modern {
  border-radius: 18px;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.app-light .admin-table {
  background: #fff;
}

.app-light .admin-table th {
  color: #334155;
  background: #eff6ff;
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

.app-light .admin-table td {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.app-light .admin-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.08);
}

.app-light .badge.soft {
  color: #1e3a8a;
  background: rgba(37, 99, 235, 0.14);
}

.app-light .table-link {
  color: #1d4ed8;
}

.app-light .quick-action-card {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-light .quick-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.44);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.app-light .admin-anchor-bar a {
  border-color: rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
}

.app-light .admin-tab-btn {
  border-color: rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
}

.app-light .admin-tab-btn.is-active {
  color: #fff;
  border-color: rgba(30, 64, 175, 0.6);
  background: linear-gradient(132deg, #1e3a8a, #2563eb);
}

.app-light .admin-kpi-card,
.app-light .insight-card {
  border-color: rgba(15, 23, 42, 0.12);
}

.app-light .admin-kpi-card strong,
.app-light .insight-card h3 {
  color: #0f172a;
}

.app-light .table-hint,
.app-light .admin-kpi-card span,
.app-light .admin-trend-item .date,
.app-light .admin-trend-item .value,
.app-light .insight-card p {
  color: #64748b;
}

.app-light .admin-trend-item .bar {
  background: rgba(15, 23, 42, 0.12);
}

.app-light .admin-switch {
  color: #334155;
}

.app-light .success-card {
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
}

.app-light .success-title {
  color: #0f172a;
}

.app-light .success-text {
  color: #64748b;
}

.app-light .site-footer .footer-grid {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.12);
}

.app-light .footer-title {
  color: #1e3a8a;
}

.app-light .footer-text {
  color: #64748b;
}

.app-light .srcx-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.app-light .status-page {
  width: min(940px, calc(100vw - 48px));
  margin: 28px auto 40px;
  display: grid;
  gap: 14px;
}

.app-light .status-page-head h2 {
  margin: 8px 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 0.95;
  color: #0f172a;
}

.app-light .status-page-head p {
  margin: 10px 0 0;
  color: #64748b;
}

.app-light .status-card {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.app-light .status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes srcxRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-light .srcx-internal-page,
  .app-light .srcx-internal-auth .auth-panel,
  .app-light .status-card {
    animation: none;
  }
}

/* srcx light theme override */
.srcx-page {
  color: #0f172a;
  background: transparent;
}

.srcx-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

.srcx-brand-copy strong {
  color: #0f172a;
}

.srcx-brand-copy small {
  color: #64748b;
}

.srcx-nav a {
  color: #334155;
}

.srcx-nav a:hover {
  color: #2563eb;
}

.srcx-header-action .btn.ghost {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(15, 23, 42, 0.16);
  color: #0f172a;
}

.srcx-hero-bg {
  background:
    linear-gradient(120deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.92), rgba(226, 232, 240, 0.9)),
    url("https://images.unsplash.com/photo-1768839719921-6a554fb3e847?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");
  background-size: cover;
  background-position: center;
}

.srcx-badge {
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.srcx-hero h1 {
  color: #0f172a;
}

.srcx-hero h1 span {
  color: #1d4ed8;
}

.srcx-hero-subtitle {
  color: #1d4ed8;
}

.srcx-hero-text {
  color: #334155;
}

.srcx-hero-actions .btn.ghost {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.8);
}

.srcx-trust-card {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.srcx-trust-card h3 {
  color: #0f172a;
}

.srcx-trust-card p {
  color: #475569;
}

.srcx-how {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top-color: rgba(15, 23, 42, 0.08);
}

.srcx-section-head h2 {
  color: #0f172a;
}

.srcx-section-head span {
  color: #64748b;
}

.srcx-step {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.srcx-step-no {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.srcx-step h3 {
  color: #0f172a;
}

.srcx-step p {
  color: #64748b;
}

.srcx-how-meta {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(120deg, #ffffff, #f8fafc);
}

.srcx-how-meta strong {
  color: #1d4ed8;
}

.srcx-how-meta span {
  color: #64748b;
}

.srcx-services {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top-color: rgba(15, 23, 42, 0.08);
}

.srcx-service-card {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.srcx-service-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
}

.srcx-service-card h3 {
  color: #0f172a;
}

.srcx-service-card p {
  color: #64748b;
}

.srcx-service-icon {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.26);
}

.srcx-service-footer {
  border-top-color: rgba(15, 23, 42, 0.12);
}

.srcx-service-footer span {
  color: #64748b;
}

.srcx-service-footer strong {
  color: #1d4ed8;
}

.srcx-link {
  color: #1d4ed8;
}

.srcx-link:hover {
  color: #1e40af;
}

.srcx-link.disabled {
  color: #94a3b8;
}

.srcx-disclaimer {
  border-left-color: rgba(37, 99, 235, 0.8);
  background: #eff6ff;
}

.srcx-disclaimer p {
  color: #334155;
}

.srcx-packages {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top-color: rgba(15, 23, 42, 0.08);
}

.srcx-package-card {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.srcx-package-card h3 {
  color: #0f172a;
}

.srcx-package-card p {
  color: #64748b;
}

.srcx-package-card strong {
  color: #1d4ed8;
}

.srcx-cta {
  border-top-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.93), rgba(241, 245, 249, 0.9)),
    url("https://images.pexels.com/photos/5669602/pexels-photo-5669602.jpeg?auto=compress&cs=tinysrgb&w=1700");
  background-size: cover;
  background-position: center;
}

.srcx-cta p {
  color: #1d4ed8;
}

.srcx-cta h2 {
  color: #0f172a;
}

.srcx-cta span {
  color: #475569;
}

.srcx-cta .btn.ghost {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.srcx-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top-color: rgba(15, 23, 42, 0.1);
}

.srcx-footer h4 {
  color: #0f172a;
}

.srcx-footer p {
  color: #64748b;
}

.srcx-footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.1);
  color: #64748b;
}

/* Home redesign (Light premium) */
.home-body {
  background: #f8fafc;
  color: #475569;
}

.home-body .home-main {
  padding: 0;
}

.lt-page {
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  isolation: isolate;
}

.lt-wrap {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
}

.lt-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.lt-orb-one {
  width: min(50vw, 760px);
  height: min(50vw, 760px);
  left: -12vw;
  top: -14vh;
  background: rgba(129, 140, 248, 0.32);
}

.lt-orb-two {
  width: min(44vw, 620px);
  height: min(44vw, 620px);
  right: -10vw;
  bottom: -12vh;
  background: rgba(103, 232, 249, 0.24);
}

.lt-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 45;
  padding: 24px 0;
  transition: padding 0.28s ease;
}

.lt-nav.is-scrolled {
  padding: 14px 0;
}

.lt-public-page .lt-nav {
  padding: 14px 0;
}

.lt-nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-radius: 20px;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.lt-nav.is-scrolled .lt-nav-shell {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.lt-public-page .lt-main-content {
  padding-top: 112px;
}

.lt-public-page .lt-wrap {
  width: min(1560px, calc(100vw - 24px));
}

.lt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lt-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.24);
}

.lt-brand-copy {
  display: grid;
  line-height: 1.02;
}

.lt-brand-copy strong {
  font-size: 18px;
  color: #0f172a;
  letter-spacing: 0.2px;
}

.lt-brand-copy small {
  font-size: 10px;
  color: #4f46e5;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.lt-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lt-nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  transition: color 0.2s ease;
}

.lt-nav-links a:hover {
  color: #4f46e5;
}

.lt-nav-admin {
  display: none;
}

.lt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.lt-btn:hover {
  transform: translateY(-1px);
}

.lt-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lt-btn.disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lt-btn-dark {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.24);
}

.lt-btn-dark:hover {
  background: #111827;
}

.lt-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.28);
}

.lt-btn-primary:hover {
  box-shadow: 0 20px 38px rgba(79, 70, 229, 0.34);
}

.lt-btn-success {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #10b981);
  box-shadow: 0 18px 34px rgba(16, 185, 129, 0.28);
}

.lt-btn-wide {
  width: 100%;
}

.lt-hero {
  position: relative;
  z-index: 2;
  padding-top: 168px;
  padding-bottom: 96px;
  min-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 42px;
  align-items: center;
}

.lt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e0e7ff;
  color: #4338ca;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(129, 140, 248, 0.16);
}

.lt-pill-icon {
  color: #6366f1;
}

.lt-hero-copy h1 {
  margin: 22px 0 24px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #0f172a;
  font-size: clamp(42px, 6.5vw, 82px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lt-hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #4f46e5, #06b6d4, #10b981);
  background-clip: text;
  -webkit-background-clip: text;
}

.lt-hero-copy p {
  margin: 0;
  max-width: 660px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
  color: #475569;
}

.lt-hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.lt-users {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lt-user-stack {
  display: flex;
}

.lt-user-stack span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #f8fafc;
  background: #fff;
  margin-left: -8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.lt-user-stack span:first-child {
  margin-left: 0;
}

.lt-users p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.lt-users strong {
  color: #0f172a;
}

.lt-hero-visual {
  position: relative;
}

.lt-visual-glow {
  position: absolute;
  inset: -24px;
  border-radius: 46px;
  transform: rotate(5deg);
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.3), rgba(34, 211, 238, 0.24));
  filter: blur(12px);
}

.lt-visual-card {
  position: relative;
  z-index: 2;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  padding: 30px;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.14);
}

.lt-visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lt-visual-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 11px;
  font-weight: 800;
}

.lt-visual-head em {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.16);
}

.lt-visual-head strong {
  color: #4f46e5;
}

.lt-visual-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.lt-visual-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 14px;
}

.lt-visual-list span {
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
}

.lt-visual-list b {
  display: inline-flex;
  border-radius: 10px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid transparent;
}

.lt-visual-list b.ok {
  color: #065f46;
  border-color: #bbf7d0;
  background: #ecfdf5;
}

.lt-visual-list b.warn {
  color: #92400e;
  border-color: #fde68a;
  background: #fffbeb;
}

.lt-visual-list b.info {
  color: #0e7490;
  border-color: #bae6fd;
  background: #ecfeff;
}

.lt-visual-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.lt-advantages {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.lt-advantages article {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  padding: 20px;
}

.lt-advantages h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
}

.lt-advantages p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.lt-services {
  position: relative;
  z-index: 2;
  padding: 86px 0 52px;
}

.lt-services-head h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
}

.lt-services-head p {
  margin: 0;
  color: #64748b;
  font-size: 19px;
  font-weight: 600;
}

.lt-services-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lt-service-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: #fff;
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.22);
  padding: 30px;
  min-height: 306px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.lt-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 26px 44px rgba(99, 102, 241, 0.16);
}

.lt-service-unavailable {
  opacity: 0.74;
  cursor: not-allowed;
}

.lt-service-unavailable:hover {
  transform: none;
}

.lt-service-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(238, 242, 255, 0), rgba(224, 231, 255, 0));
  transition: background 0.3s ease;
}

.lt-service-card:hover .lt-service-glow {
  background: linear-gradient(145deg, rgba(238, 242, 255, 0.8), rgba(207, 250, 254, 0.6));
}

.lt-service-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lt-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lt-service-icon span {
  font-size: 24px;
  line-height: 1;
}

.lt-service-icon-indigo span { color: #4f46e5; }
.lt-service-icon-rose span { color: #e11d48; }
.lt-service-icon-emerald span { color: #10b981; }
.lt-service-icon-cyan span { color: #06b6d4; }
.lt-service-icon-amber span { color: #f59e0b; }
.lt-service-icon-fuchsia span { color: #c026d3; }

.lt-service-card h3 {
  margin: 18px 0 10px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.15;
}

.lt-service-card p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.lt-service-meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lt-service-meta strong {
  font-size: 14px;
  color: #334155;
  font-weight: 800;
}

.lt-service-meta span {
  color: #4f46e5;
  font-size: 14px;
  font-weight: 800;
}

.lt-service-card-wide {
  grid-column: span 2;
}

.lt-packages {
  position: relative;
  z-index: 2;
  padding: 14px 0 36px;
}

.lt-packages-head h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.lt-packages-head p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
  font-weight: 600;
}

.lt-packages-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lt-package-card {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  padding: 22px;
  display: grid;
  gap: 12px;
  min-height: 260px;
}

.lt-package-disabled {
  border-style: dashed;
  opacity: 0.92;
}

.lt-package-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
}

.lt-package-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.lt-package-card strong {
  display: block;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
}

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

.lt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
}

.lt-modal-card {
  position: relative;
  z-index: 1;
  width: min(860px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
}

.lt-modal-head {
  padding: 22px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.72);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lt-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lt-modal-title-wrap h3 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.25;
}

.lt-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lt-close-btn:hover {
  background: #f1f5f9;
}

.lt-modal-body {
  padding: 28px;
  overflow-y: auto;
}

.lt-step h4 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 32px;
}

.lt-step > p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  font-weight: 600;
}

.lt-fields {
  display: grid;
  gap: 18px;
}

.lt-field {
  position: relative;
}

.lt-field input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
  color: #0f172a;
  font-size: 17px;
  font-weight: 600;
  padding: 18px 0 10px;
}

.lt-field input:focus {
  box-shadow: none;
  border-color: #4f46e5;
}

.lt-field label {
  position: absolute;
  left: 0;
  top: 18px;
  color: #94a3b8;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.2s ease;
  pointer-events: none;
}

.lt-field input:not(:placeholder-shown) + label,
.lt-field input:focus + label {
  top: -1px;
  font-size: 12px;
  font-weight: 800;
  color: #4f46e5;
}

.lt-required {
  color: #e11d48;
}

.lt-shield {
  margin-top: 22px;
  border-radius: 18px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  padding: 14px;
  display: flex;
  gap: 10px;
}

.lt-shield p {
  margin: 0;
  color: #3730a3;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.lt-form-actions {
  margin-top: 16px;
}

.lt-loading {
  width: 92px;
  height: 92px;
  margin: 14px auto 24px;
  position: relative;
}

.lt-loading-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-top-color: #4f46e5;
  animation: ltSpin 1s linear infinite;
}

.lt-loading-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
}

@keyframes ltSpin {
  to {
    transform: rotate(360deg);
  }
}

.lt-step.hidden {
  display: none;
}

.lt-success-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #16a34a;
  font-size: 46px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.lt-success-list {
  margin: 18px 0 16px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 16px;
}

.lt-success-list h5 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 16px;
}

.lt-success-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.lt-success-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}

.lt-success-list li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #16a34a;
  background: #dcfce7;
  font-size: 13px;
}

.lt-edit-link {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lt-edit-link:hover {
  color: #4f46e5;
}

.lt-footer {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  padding-top: 58px;
  padding-bottom: 26px;
}

.lt-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.lt-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lt-footer-brand > span {
  font-size: 28px;
  color: #4f46e5;
}

.lt-footer-brand h4 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
}

.lt-footer-brand p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.lt-footer-contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.lt-footer-contact a {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.lt-footer-contact a:hover {
  color: #4f46e5;
}

.lt-footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lt-footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.lt-footer-bottom div {
  display: flex;
  gap: 14px;
}

.lt-footer-bottom a {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.lt-footer-bottom a:hover {
  color: #4f46e5;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.45);
  border-radius: 18px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(148, 163, 184, 0.72);
}

@media (max-width: 1140px) {
  .lt-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .lt-hero-copy {
    text-align: center;
  }

  .lt-hero-copy p {
    margin: 0 auto;
  }

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

  .lt-hero-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .lt-advantages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .lt-nav-links a:not(.lt-btn-dark) {
    display: none;
  }

  .lt-nav-admin {
    display: none !important;
  }

  .lt-nav-links .lt-btn-dark {
    display: inline-flex;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

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

  .lt-packages-grid {
    grid-template-columns: 1fr;
  }

  .lt-service-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .lt-wrap {
    width: min(1280px, calc(100vw - 18px));
  }

  .lt-nav {
    padding: 12px 0;
  }

  .lt-public-page .lt-main-content {
    padding-top: 92px;
  }

  .lt-nav-shell {
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
  }

  .lt-nav-links {
    margin-left: auto;
  }

  .lt-nav-links a:not(.lt-btn-dark) {
    display: none !important;
  }

  .lt-nav-links .lt-btn-dark {
    display: inline-flex;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: max-content;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1;
  }

  .lt-brand-copy strong {
    font-size: 15px;
  }

  .lt-btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  .lt-hero {
    padding-top: 128px;
    padding-bottom: 46px;
  }

  .lt-hero-copy h1 {
    margin: 16px 0 14px;
  }

  .lt-hero-copy p,
  .lt-services-head p {
    font-size: 15px;
  }

  .lt-services {
    padding-top: 40px;
  }

  .lt-services-grid {
    grid-template-columns: 1fr;
  }

  .lt-service-card {
    min-height: auto;
    padding: 22px;
  }

  .lt-service-card h3 {
    font-size: 24px;
  }

  .lt-modal {
    padding: 10px;
  }

  .lt-modal-card {
    border-radius: 24px;
    max-height: 95vh;
  }

  .lt-modal-head,
  .lt-modal-body {
    padding: 16px;
  }

  .lt-modal-title-wrap h3 {
    font-size: 18px;
  }

  .lt-step h4 {
    font-size: 24px;
  }

  .lt-footer {
    margin-top: 42px;
    padding-top: 34px;
  }

  .lt-footer-top,
  .lt-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Form redesign (matching new home style) */
.app-light .ltf-page {
  width: 100%;
  margin: 14px auto 30px;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.app-light .ltf-hero {
  padding: 40px;
  gap: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background:
    linear-gradient(112deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.84) 48%, rgba(51, 65, 85, 0.64) 100%),
    url("https://images.unsplash.com/photo-1768839719921-6a554fb3e847?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");
  background-size: cover;
  background-position: center;
}

.app-light .ltf-hero-copy h1 {
  margin: 10px 0 10px;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.02;
}

.app-light .ltf-hero-copy p {
  color: rgba(226, 232, 240, 0.9);
  font-size: 16px;
  font-weight: 600;
}

.app-light .ltf-hero-panel {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(15, 23, 42, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.app-light .ltf-layout {
  padding: 28px 20px 34px;
  gap: 20px;
  grid-template-columns: minmax(0, 2.15fr) minmax(360px, 1fr);
  align-items: stretch;
  min-height: clamp(700px, calc(100vh - 190px), 1080px);
}

.app-light .ltf-shell {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  padding: 24px;
  height: 100%;
}

.app-light .ltf-shell-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.32);
}

.app-light .ltf-shell-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.02;
}

.app-light .ltf-section {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #fff;
  padding: 16px;
}

.app-light .ltf-section.form-section-highlight {
  background: linear-gradient(180deg, #eef2ff, #fff);
}

.app-light .ltf-section .form-title {
  color: #0f172a;
  font-size: 17px;
}

.app-light .ltf-section p {
  color: #64748b;
  font-size: 13px;
}

.app-light .ltf-page .field span {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.app-light .ltf-page input,
.app-light .ltf-page select,
.app-light .ltf-page textarea {
  border-radius: 14px;
  border-color: rgba(148, 163, 184, 0.44);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.app-light .ltf-page input:focus,
.app-light .ltf-page select:focus,
.app-light .ltf-page textarea:focus {
  border-color: rgba(79, 70, 229, 0.75);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
}

.app-light .ltf-page .form-actions .btn.primary {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.24);
}

.app-light .ltf-sidebar {
  gap: 16px;
  min-width: 360px;
  height: 100%;
}

.app-light .ltf-summary-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.app-light .ltf-modal .modal-card {
  width: min(1020px, 96vw);
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 64px rgba(15, 23, 42, 0.24);
}

.app-light .ltf-modal .modal-header h3 {
  font-size: clamp(34px, 4.4vw, 48px);
}

.app-light .ltf-modal .preview-paper {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.app-light .ltf-auth {
  width: min(1280px, calc(100vw - 48px));
  margin: 18px auto 40px;
  gap: 24px;
}

.app-light .ltf-auth .auth-panel {
  border-radius: 28px;
}

.app-light .ltf-auth .auth-form {
  padding: 24px;
}

@media (max-width: 1080px) {
  .app-light .ltf-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-light .ltf-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-light .ltf-page {
    width: min(1280px, calc(100vw - 18px));
    margin: 10px auto 22px;
    border-radius: 22px;
  }

  .app-light .ltf-hero {
    padding: 18px;
  }

  .app-light .ltf-layout {
    padding: 14px;
    gap: 14px;
  }

  .app-light .ltf-shell {
    border-radius: 18px;
    padding: 14px;
  }

  .app-light .ltf-modal .modal-card {
    border-radius: 20px;
    width: min(1020px, 98vw);
  }

  .app-light .ltf-auth {
    width: min(1280px, calc(100vw - 18px));
    margin: 10px auto 24px;
  }

  .app-light .ltf-sidebar {
    min-width: 0;
  }
}

/* Mobile hardening for form/admin/public-flow */
@media (max-width: 1080px) {
  .srcx-wrap.srcx-wrap-admin {
    width: calc(100vw - 14px);
  }

  .intake-sidebar,
  .app-light .ltf-sidebar {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .srcx-header-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .srcx-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 3px;
  }

  .srcx-header-action {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .srcx-header-action .btn {
    flex: 1 1 auto;
  }

  .form-shell-head {
    flex-direction: column;
    align-items: stretch;
  }

  .form-shell-progress {
    width: 100%;
    min-width: 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .form-shell-progress strong {
    margin-top: 0;
    font-size: 18px;
  }

  .intake-hero .btn,
  .form-actions .btn,
  .modal-actions .btn {
    width: 100%;
  }

  .summary-price {
    font-size: 31px;
  }

  .estimator-result strong {
    font-size: 24px;
  }

  .estimator-result > div {
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .preview-paper-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-frame-wrap {
    min-height: 360px;
  }

  #payment-frame {
    height: 60vh;
  }

  .admin-tab-nav {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .admin-tab-btn {
    scroll-snap-align: start;
  }

  .table-wrap.modern {
    margin: 0 -6px;
    border-radius: 12px;
  }
}

@media (max-width: 520px) {
  .intake-hero {
    padding: 14px;
  }

  .intake-hero-tags span {
    width: 100%;
    text-align: center;
  }

  .intake-panel-price {
    font-size: 32px;
  }

  .field span {
    line-height: 1.35;
  }

  .modal-card {
    padding: 12px;
  }

  .modal-header h3 {
    font-size: 28px;
  }

  .preview-paper-body {
    max-height: 48vh;
    font-size: 16px;
  }

  .dashboard-hero,
  .dashboard-panel {
    padding: 12px;
  }

  .admin-table {
    min-width: 640px;
  }
}
