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

:root {
  --bg: #f4f7fb;
  --card: rgba(255,255,255,.88);
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #4f46e5;
  --primary-2: #7c3aed;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body { min-height: 100vh; }

a { color: inherit; }

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.loading-screen,
.content-screen {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 50% 42%, rgba(99,102,241,.10), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
}

.loading-screen {
  display: grid;
  place-items: center;
  padding: 32px;
}

.loading-wrap {
  width: min(520px, 92vw);
  text-align: center;
  position: relative;
  z-index: 2;
}

.security-orb {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(238,242,255,.95));
  box-shadow: 0 18px 50px rgba(79,70,229,.14), inset 0 0 0 1px rgba(99,102,241,.10);
  animation: float 3.2s ease-in-out infinite;
}

.security-orb svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--primary);
}

.center { text-align: center; }

h1, h2 { margin: 0; letter-spacing: -.035em; }

h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  text-align: center;
}

.loading-copy,
.lead {
  color: var(--muted);
  line-height: 1.65;
}

.loading-copy {
  margin: 12px 0 24px;
  font-size: 15px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #dfe5ed;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #818cf8, var(--primary-2));
  box-shadow: 0 0 18px rgba(79,70,229,.28);
  transition: width .18s ease;
}

.progress-text {
  margin-top: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.mini-trust {
  margin-top: 26px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 12px;
}

.mini-trust span { display: inline-flex; align-items: center; gap: 7px; }

.mini-trust i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.10);
}

.content-screen {
  padding: 70px 20px 0;
  display: flex;
  flex-direction: column;
}

.card {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
  margin: auto;
  padding: 28px 34px 30px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 28px;
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 28px;
}

.brand-row strong,
.footer-brand strong {
  display: block;
  font-size: 14px;
}

.brand-row span,
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #4f46e5, #7c3aed);
  box-shadow: 0 8px 22px rgba(79,70,229,.24);
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 14px;
}

.success-icon {
  width: 82px;
  height: 82px;
  margin: 2px auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success-soft);
  box-shadow: 0 0 0 10px rgba(220,252,231,.45);
}

.success-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--success);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead {
  max-width: 470px;
  margin: 14px auto 26px;
  text-align: center;
  font-size: 15px;
}

.main-cta {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(135deg, #4f46e5, #6d5dfc 55%, #7c3aed);
  box-shadow: 0 16px 30px rgba(79,70,229,.24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.main-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(79,70,229,.30);
  filter: brightness(1.03);
}

.main-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-line {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
  color: #64748b;
  font-size: 11px;
}

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

.trust-line svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #64748b;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-nav {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.legal-nav a {
  text-decoration: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.legal-nav a:hover { color: var(--primary); }

.company-footer {
  width: 100%;
  margin-top: 70px;
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.68);
  border-top: 1px solid rgba(226,232,240,.95);
  backdrop-filter: blur(14px);
}

.footer-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 22px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 24px;
}

.footer-label {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-grid p,
.footer-bottom {
  color: #64748b;
  font-size: 11px;
  line-height: 1.7;
}

.footer-grid p { margin: 0; }

.footer-grid a {
  color: #475569;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ambient {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .16;
  pointer-events: none;
}

.ambient-one {
  background: #6366f1;
  top: -140px;
  left: -120px;
}

.ambient-two {
  background: #8b5cf6;
  bottom: -180px;
  right: -120px;
}

.hidden { display: none !important; }

.fade-out { animation: fadeOut .45s ease forwards; }
.fade-in { animation: fadeIn .55s ease both; }

.legal-page {
  min-height: 100vh;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 20% 5%, rgba(99,102,241,.08), transparent 28%),
    #f7f9fc;
}

.legal-shell {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.back-link {
  text-decoration: none;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 20px 60px rgba(15,23,42,.07);
}

.legal-card h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 12px;
}

.legal-card h2 {
  text-align: left;
  font-size: 19px;
  margin: 28px 0 8px;
  letter-spacing: -.02em;
}

.legal-card p,
.legal-card li {
  color: #556274;
  line-height: 1.75;
  font-size: 14px;
}

.legal-card ul { padding-left: 20px; }

.legal-meta {
  color: #94a3b8 !important;
  font-size: 12px !important;
  margin-bottom: 24px;
}

@keyframes fadeOut {
  to { opacity: 0; transform: scale(.99); }
}

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

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

@media (max-width: 720px) {
  .content-screen { padding-top: 28px; }
  .card { padding: 22px 18px 24px; border-radius: 22px; }
  .brand-row { margin-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom { flex-direction: column; }
  .legal-card { padding: 24px 20px; }
  .legal-header { align-items: flex-start; flex-direction: column; }
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px 20px;
  margin:22px 0;
  padding:18px 0;
  border-top:1px solid rgba(255,255,255,.15);
  border-bottom:1px solid rgba(255,255,255,.15);
}
.footer-links a{
  color:inherit;
  text-decoration:none;
  font-weight:600;
}
.footer-links a:hover{text-decoration:underline}
.company-footer a{color:inherit}
