:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #657084;
  --line: #dbe3ef;
  --brand: #2563eb;
  --brand2: #7c3aed;
  --danger: #dc2626;
  --ok: #047857;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 28rem),
    radial-gradient(circle at top right, rgba(124, 58, 237, .12), transparent 26rem),
    var(--bg);
}

.uem-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.uem-hero {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 24px;
  align-items: end;
  margin: 14px 0 24px;
}

.uem-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .92;
  letter-spacing: -.06em;
}

.uem-lead {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.uem-trust-card,
.uem-card {
  border: 1px solid rgba(219, 227, 239, .9);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.uem-trust-card {
  padding: 24px;
}

.uem-trust-card strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.uem-trust-card span,
.uem-small {
  color: var(--muted);
}

.uem-card {
  padding: clamp(18px, 4vw, 34px);
  margin: 22px 0;
}

.uem-step-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.uem-step-no {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

h2 {
  margin: 0 0 5px;
  font-size: 28px;
  letter-spacing: -.035em;
}

h3 { margin-top: 0; }

.uem-step-head p {
  margin: 0;
  color: var(--muted);
}

.uem-label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

textarea,
input[type="url"],
input[type="text"],
input[type="password"],
input:not([type]) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

textarea:focus,
input:focus {
  border-color: rgba(37, 99, 235, .8);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.uem-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.uem-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.uem-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 18px 32px rgba(37, 99, 235, .22);
}

.uem-btn-soft {
  color: var(--ink);
  background: #eef3ff;
}

.uem-btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.uem-msg {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.uem-msg.is-ok { color: var(--ok); }
.uem-msg.is-bad { color: var(--danger); }

.uem-hidden { display: none !important; }

.uem-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.uem-stats > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.uem-stats strong {
  display: block;
  font-size: 27px;
  letter-spacing: -.04em;
}

.uem-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.uem-current-url {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: #0f172a;
  color: #dbeafe;
  overflow: auto;
}

.uem-current-url span {
  display: block;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.uem-current-url code {
  white-space: nowrap;
  color: #fff;
}

.uem-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.uem-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.uem-tab.is-active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.uem-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.uem-grid-3 label {
  font-weight: 800;
}

.uem-grid-3 input {
  margin-top: 8px;
}

.uem-progress-wrap {
  margin-top: 22px;
}

.uem-progress-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 8px;
}

.uem-progress {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ecf8;
}



.uem-progress-note {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.uem-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  transition: width .35s ease;
}

.uem-compare {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.uem-ad {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1px dashed #b8c5d8;
  border-radius: 24px;
  color: #8490a3;
  background: rgba(255,255,255,.5);
  margin: 20px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

@media (max-width: 760px) {
  .uem-hero,
  .uem-stats,
  .uem-grid-3 {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 44px; }
  .uem-actions { flex-direction: column; }
  .uem-btn { width: 100%; }
}

