.home-empty-state-shell {
  min-height: calc(100vh - var(--mud-appbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: transparent;
}

.home-empty-state-card {
  position: relative;
  width: min(760px, 100%);
  padding: 10px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
}

.home-empty-state-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B3444;
  background: linear-gradient(180deg, rgba(27, 52, 68, 0.10), rgba(42, 77, 101, 0.04));
}

.home-empty-state-icon .mud-icon-root {
  font-size: 2rem;
}

.home-empty-state-title {
  margin: 0;
  color: #1f2a37;
  font-weight: 700;
}

.home-empty-state-subtitle {
  margin: 0;
  color: #5b6776;
  font-size: 1.05rem;
  line-height: 1.7;
}

.verify-wrap {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eef4f8;
  padding: 24px;
}

.verify-card {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(27, 52, 68, 0.16);
}

.verify-head {
  background: linear-gradient(90deg, #1b3444 0%, #213a52 52%, #2a4d65 100%);
  padding: 22px 28px;
}

.verify-head img {
  width: 170px;
  height: auto;
  display: block;
}

.verify-content {
  padding: 30px 28px;
}

.verify-content h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
  color: #1b3444;
}

.verify-content p {
  margin: 0 0 14px;
  color: #5c6b79;
  font-size: 16px;
  line-height: 1.6;
}

.verify-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: #4c90b4;
}

.verify-btn:hover,
.verify-btn:focus {
  background: #3f81a4;
}

@media (max-width: 600px) {
  .home-empty-state-shell {
    padding: 20px;
  }

  .home-empty-state-card {
    padding: 8px 10px;
  }

  .home-empty-state-title {
    font-size: 1.55rem;
  }

  .home-empty-state-subtitle {
    font-size: 1rem;
  }
}

/* ===========================================================
   Landing page (public) — modern redesign (brand navy)
   =========================================================== */
.lp {
  --lp-brand: #1b3444;
  --lp-brand-2: #213a52;
  --lp-brand-3: #2a4d65;
  --lp-topbar: linear-gradient(90deg, #1b3444 0%, #213a52 52%, #2a4d65 100%);
  --lp-accent: #4c90b4;
  --lp-accent-2: #7ec7e6;
  --lp-ink: #16222e;
  --lp-soft: #5c6b79;
  --lp-line: rgba(27, 52, 68, 0.1);
  --lp-surface: #ffffff;
  --lp-font-heading: "Poppins", "Segoe UI", Roboto, sans-serif;

  color: var(--lp-ink);
  font-family: inherit;
  line-height: 1.55;
  margin: calc(-1 * var(--mud-appbar-height, 0px)) 0 0;
}

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

/* ---------- Navbar (matches system top bar) ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--lp-topbar);
  border-bottom: 1px solid color-mix(in srgb, #ffffff 22%, transparent);
  box-shadow: 0 8px 24px rgba(15, 30, 41, 0.18);
}

.lp-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lp-brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}

.lp-nav-links {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.lp-nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

.lp-nav-cta.mud-button-root {
  border-radius: 999px;
  padding: 6px 22px;
  text-transform: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.lp-nav-cta.mud-button-root:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ---------- Hero (dark navy, flows from navbar) ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 104px) 24px clamp(64px, 9vw, 112px);
  background: var(--lp-topbar);
  color: #eef4f8;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(760px 420px at 88% -6%, rgba(126, 199, 230, 0.28), transparent 60%),
    radial-gradient(680px 460px at -4% 20%, rgba(76, 144, 180, 0.26), transparent 60%);
}

.lp-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 40% 30%, #000 0%, transparent 72%);
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d7ecf5;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lp-hero-title {
  margin: 18px 0 0;
  font-family: var(--lp-font-heading);
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.lp-hero-title:focus,
.lp-hero-title:focus-visible {
  outline: none;
}

.lp-hero-title span {
  background: linear-gradient(90deg, var(--lp-accent-2), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero-subtitle {
  margin: 30px 0 0;
  max-width: 52ch;
  color: rgba(233, 242, 247, 0.82);
  font-size: 1.1rem;
}

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

.lp-btn-primary.mud-button-root {
  border-radius: 999px;
  padding: 10px 26px;
  text-transform: none;
  font-weight: 700;
  color: #12303f;
  background: linear-gradient(120deg, #ffffff 0%, #cfe8f3 130%);
  box-shadow: 0 16px 34px rgba(9, 22, 30, 0.32);
}

.lp-btn-primary.mud-button-root:hover {
  filter: brightness(1.03);
}

.lp-btn-ghost.mud-button-root {
  border-radius: 999px;
  padding: 10px 24px;
  text-transform: none;
  font-weight: 700;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.lp-btn-ghost.mud-button-root:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lp-hero-trust {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.lp-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(233, 242, 247, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
}

.lp-hero-trust .mud-icon-root {
  color: var(--lp-accent-2);
}

/* ---------- Hero screenshot mockup ---------- */
.lp-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-shot {
  width: min(560px, 100%);
  background: #0f2530;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(6, 16, 22, 0.55);
  animation: lp-rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lp-shot-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #16323f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-shot-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.lp-shot-bar span:first-child { background: #ff5f57; }
.lp-shot-bar span:nth-child(2) { background: #febc2e; }
.lp-shot-bar span:nth-child(3) { background: #28c840; }

.lp-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-shot-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--lp-brand);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 18px 40px rgba(6, 16, 22, 0.4);
  animation: lp-float 5s ease-in-out infinite;
}

.lp-shot-chip--done {
  left: -14px;
  top: 26%;
}

.lp-shot-chip--done .mud-icon-root {
  color: #28a745;
}

.lp-shot-chip--stat {
  right: -10px;
  bottom: 24px;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  animation-delay: 1.4s;
}

.lp-shot-chip-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--lp-brand);
  line-height: 1;
}

.lp-shot-chip-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lp-soft);
}

/* ---------- Login section (light) ---------- */
.lp-login-section {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(76, 144, 180, 0.12), transparent 60%),
    linear-gradient(180deg, #f4f8fb 0%, #eef4f8 100%);
  border-bottom: 1px solid var(--lp-line);
}

.lp-login-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) 24px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.lp-login-copy .lp-section-title {
  text-align: left;
}

.lp-login-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.lp-login-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-brand);
  font-weight: 600;
}

.lp-login-points .mud-icon-root {
  color: var(--lp-accent);
}

.lp-login-card {
  width: 100%;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 30px 70px rgba(18, 48, 63, 0.16);
  animation: lp-rise 620ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lp-login-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.lp-login-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-3));
}

.lp-login-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lp-brand);
}

.lp-login-head p {
  margin: 2px 0 0;
  color: var(--lp-soft);
  font-size: 0.9rem;
}

.lp-login-form {
  display: grid;
  gap: 14px;
}

.lp-login-submit.mud-button-root {
  margin-top: 4px;
  padding: 11px 26px;
  color: #fff;
  background: linear-gradient(120deg, var(--lp-brand) 0%, var(--lp-brand-3) 120%);
}

.lp-login-note {
  margin: 16px 0 0;
  color: var(--lp-soft);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- Sections ---------- */
.lp-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 24px;
}

.lp-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.lp-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--lp-accent);
  margin-bottom: 10px;
}

.lp-section-title {
  margin: 0;
  font-family: var(--lp-font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--lp-brand);
  letter-spacing: -0.01em;
}

.lp-section-lead {
  margin: 12px 0 0;
  color: var(--lp-soft);
  font-size: 1.05rem;
}

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

.lp-feature {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lp-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 144, 180, 0.45);
  box-shadow: 0 22px 44px rgba(18, 48, 63, 0.12);
}

.lp-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-3));
  margin-bottom: 16px;
}

.lp-feature h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--lp-brand);
}

.lp-feature p {
  margin: 0;
  color: var(--lp-soft);
  font-size: 0.95rem;
}

/* ---------- Stats band ---------- */
.lp-stats {
  background: var(--lp-topbar);
  position: relative;
  overflow: hidden;
}

.lp-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(126, 199, 230, 0.34), transparent 60%);
}

.lp-stats-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.lp-stat {
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.lp-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 199, 230, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.lp-stat-value {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #bfe6f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-stat-label {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.lp-footer {
  background: #0d222c;
  color: rgba(255, 255, 255, 0.82);
}

.lp-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.lp-footer-brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  opacity: 0.95;
}

.lp-footer-brand p {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.lp-footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.lp-footer-col p,
.lp-footer-col a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.lp-footer-col a:hover {
  color: var(--lp-accent-2);
}

.lp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Legal pages ---------- */
.legal-wrap {
  margin: 0;
  min-height: 100vh;
  background: #eef4f8;
  padding: clamp(24px, 4vw, 40px) 20px;
}

.legal-card {
  width: min(980px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(27, 52, 68, 0.12);
  box-shadow: 0 16px 36px rgba(18, 48, 63, 0.12);
  overflow: hidden;
}

.legal-head {
  background: linear-gradient(90deg, #1b3444 0%, #213a52 52%, #2a4d65 100%);
  color: #fff;
  padding: 24px 28px;
}

.legal-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
}

.legal-head p {
  margin: 10px 0 0;
  color: rgba(234, 243, 249, 0.92);
  line-height: 1.6;
}

.legal-body {
  padding: 26px 28px 30px;
  color: #1f2c38;
}

.legal-body section + section {
  margin-top: 20px;
}

.legal-body h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #1b3444;
}

.legal-body p {
  margin: 0;
  color: #5c6b79;
  line-height: 1.7;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  color: #5c6b79;
  line-height: 1.7;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(27, 52, 68, 0.12);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  font-size: 0.95rem;
}

.legal-table th {
  background: #f2f7fb;
  color: #1b3444;
  font-weight: 700;
}

.legal-actions {
  margin-top: 24px;
}

.legal-back-link {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 18px;
  background: #4c90b4;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.legal-back-link:hover,
.legal-back-link:focus {
  background: #3f81a4;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
  }

  .lp-hero-media {
    margin-top: 8px;
  }

  .lp-login-inner {
    grid-template-columns: 1fr;
  }

  .lp-login-card {
    max-width: 460px;
    justify-self: center;
  }

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

  .lp-stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .lp-nav-links {
    display: none;
  }

  .lp-shot-chip--done {
    left: 4px;
  }

  .lp-shot-chip--stat {
    right: 4px;
  }

  .lp-features,
  .lp-stats-inner {
    grid-template-columns: 1fr;
  }

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

  .legal-head,
  .legal-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}