
* { box-sizing:border-box; margin:0; padding:0; }
body {
  background:#1A1A2E;
  color:#fff;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.6;
  min-height:100vh;
}
.page { max-width:680px; margin:auto; padding:60px 24px; }
.logo {
  font-size:22px;
  font-weight:700;
  letter-spacing:-.03em;
  margin-bottom:45px;
}
.logo span { color:#A5B4FC; }
.test-label {
  display:inline-block;
  margin-left:10px;
  padding:3px 9px;
  border:1px solid #6366F1;
  border-radius:20px;
  color:#A5B4FC;
  font-size:10px;
  vertical-align:middle;
}
.step-indicator {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:40px;
}
.step-dot {
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid rgba(165,180,252,.3);
  color:rgba(165,180,252,.5);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  flex-shrink:0;
}
.step-dot.active {
  background:#4F46E5;
  color:white;
  border-color:#4F46E5;
}
.step-dot.done {
  background:rgba(79,70,229,.2);
  color:#A5B4FC;
}
.step-line {
  flex:1;
  height:1px;
  background:rgba(165,180,252,.2);
}
.step-label {
  color:#A5B4FC;
  text-transform:uppercase;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  margin-bottom:8px;
}
h1 {
  font-size:28px;
  line-height:1.25;
  margin-bottom:10px;
}
.step-sub {
  font-size:15px;
  color:rgba(255,255,255,.58);
  margin-bottom:30px;
}
.field { margin-bottom:20px; }
.field label {
  display:block;
  font-size:13px;
  color:rgba(255,255,255,.75);
  margin-bottom:6px;
}
.field input,
.field textarea,
.field select {
  width:100%;
  padding:12px 14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  color:#fff;
  font:inherit;
  font-size:15px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline:none;
  border-color:#6366F1;
}
.field textarea { min-height:90px; resize:vertical; }
.field select option { background:#1A1A2E; }
.field input[type="date"] { color-scheme:dark; }
.row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.radio-group { display:flex; flex-direction:column; gap:8px; }
.radio-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  cursor:pointer;
  font-size:15px;
}
.radio-item.selected {
  border-color:#4F46E5;
  background:rgba(79,70,229,.12);
}
.radio-item input { accent-color:#6366F1; }
.btn-row { display:flex; gap:12px; margin-top:32px; }
button {
  font:inherit;
  cursor:pointer;
  border-radius:8px;
  padding:14px 20px;
}
.btn-primary {
  flex:1;
  background:#4F46E5;
  color:white;
  border:none;
  font-size:15px;
  font-weight:600;
}
.btn-primary:hover { background:#4338CA; }
.btn-primary:disabled { opacity:.55; cursor:wait; }
.btn-secondary {
  background:transparent;
  color:rgba(255,255,255,.75);
  border:1px solid rgba(255,255,255,.2);
}
.contract-wrap {
  position:relative;
  border-radius:8px;
  overflow:hidden;
  margin:24px 0;
  background:white;
}
.contract-doc {
  padding:36px 40px;
  color:#1A1A2E;
  max-height:550px;
  overflow:hidden;
}
.doc-header {
  text-align:center;
  border-bottom:2px solid #1A1A2E;
  padding-bottom:16px;
  margin-bottom:24px;
}
.doc-title { font-weight:700; font-size:17px; }
.doc-sub { font-size:11px; color:#777; }
.clause-title {
  font-size:12px;
  text-transform:uppercase;
  font-weight:700;
  margin:20px 0 8px;
  border-bottom:1px solid #ddd;
  padding-bottom:5px;
}
.clause-body {
  font-size:13px;
  white-space:pre-line;
  line-height:1.8;
  margin-bottom:12px;
}
.parties-block {
  background:#f7f7f9;
  border-left:3px solid #4F46E5;
  padding:12px 16px;
  margin-bottom:10px;
  font-size:13px;
  white-space:pre-line;
}
.preview-placeholder {
  filter:blur(5px);
  user-select:none;
  pointer-events:none;
}
.fade-overlay {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:160px;
  background:linear-gradient(transparent,#fff);
}
.watermark {
  position:absolute;
  top:44%;
  left:50%;
  transform:translate(-50%,-50%) rotate(-30deg);
  color:rgba(79,70,229,.1);
  font-size:44px;
  font-weight:800;
  white-space:nowrap;
  pointer-events:none;
}
.unlock-box {
  padding:24px;
  border:1px solid rgba(79,70,229,.4);
  background:rgba(79,70,229,.1);
  border-radius:12px;
  text-align:center;
  margin:24px 0;
}
.unlock-box h3 { margin-bottom:8px; font-size:18px; }
.unlock-box p {
  color:rgba(255,255,255,.65);
  font-size:14px;
  margin-bottom:20px;
}
.btn-unlock {
  width:100%;
  background:#4F46E5;
  border:none;
  color:white;
  font-weight:700;
}
.btn-unlock:disabled { opacity:.6; cursor:wait; }
.disclaimer {
  font-size:12px;
  color:rgba(255,255,255,.45);
  text-align:center;
}
.status {
  padding:16px;
  background:rgba(79,70,229,.12);
  border:1px solid rgba(79,70,229,.3);
  border-radius:10px;
  margin:20px 0;
  font-size:14px;
  white-space:pre-wrap;
}
@media(max-width:500px) {
  .row { grid-template-columns:1fr; gap:0; }
  .contract-doc { padding:24px 20px; }
  .page { padding:35px 18px; }
  h1 { font-size:24px; }
  .watermark { font-size:30px; }
}
.scope,.notice,footer{font-size:13px;color:#c9cbd6;margin:16px 0 24px}
a{color:#b9c6ff}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}
.text-button{padding:0;background:none;border:0;color:#b9c6ff;text-decoration:underline;font-size:13px}
.check-row{display:flex;align-items:flex-start;gap:10px;margin:16px 0;text-align:left;font-size:13px}.check-row input{margin-top:5px;flex-shrink:0}
#consent-banner{position:fixed;bottom:16px;left:16px;right:16px;max-width:680px;margin:auto;padding:20px;background:#22223b;border:1px solid #a5b4fc;border-radius:12px;z-index:10;font-size:13px;box-shadow:0 0 0 100vmax #0006}
#consent-banner[hidden]{display:none}#consent-banner .btn-row{margin-top:12px;flex-wrap:wrap}
