:root {
  --ink: #102033;
  --muted: #66758a;
  --line: #dce5ee;
  --blue: #1267e8;
  --blue-dark: #0b46a1;
  --cyan: #58d7e8;
  --paper: #ffffff;
  --wash: #eef6fb;
  --success: #0b8f63;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--wash);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 12% 10%, #d9f5fa 0, transparent 30%), linear-gradient(135deg, #f8fbfd 0%, #e9f4fa 100%); }
button, input { font: inherit; }
.hidden { display: none !important; }
.topbar { height: 76px; padding: 0 clamp(24px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; font: 800 22px "Manrope", sans-serif; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; border-radius: 10px; background: linear-gradient(145deg, var(--blue), #24b7d5); }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 600; }
.shell { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 132px); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(48px, 8vw, 112px); padding: 44px 0 72px; }
.story { max-width: 650px; }
.eyebrow, .step-label { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h1 { font: 800 clamp(42px, 5vw, 68px)/1.02 "Manrope", sans-serif; letter-spacing: -.045em; margin: 22px 0; }
h1 em { color: var(--blue); font-style: normal; }
.story > p { color: var(--muted); max-width: 590px; font-size: 18px; line-height: 1.65; }
.proof { display: flex; gap: 28px; margin-top: 42px; }
.proof div { padding-left: 15px; border-left: 2px solid var(--cyan); }
.proof strong, .proof span { display: block; }
.proof strong { font-size: 15px; }
.proof span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.access-card { min-height: 540px; padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.9); box-shadow: 0 28px 70px rgba(34, 75, 112, .15); backdrop-filter: blur(18px); }
.view { animation: enter .3s ease both; }
.centered { min-height: 440px; display: grid; place-items: center; align-content: center; color: var(--muted); }
.spinner { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
h2 { font: 800 30px/1.15 "Manrope", sans-serif; letter-spacing: -.025em; margin: 10px 0; }
.subtitle { color: var(--muted); line-height: 1.5; margin: 0 0 26px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #eef3f7; border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.tab { border: 0; border-radius: 9px; padding: 10px; color: var(--muted); background: transparent; font-weight: 700; cursor: pointer; }
.tab.active { color: var(--ink); background: white; box-shadow: 0 2px 7px rgba(20,48,76,.09); }
form { display: grid; gap: 16px; }
label { color: #34465a; font-size: 13px; font-weight: 700; }
input { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--ink); background: white; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,103,232,.1); }
.primary { width: 100%; border: 0; border-radius: 12px; padding: 14px 18px; color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); font-weight: 800; cursor: pointer; box-shadow: 0 9px 22px rgba(18,103,232,.22); }
.primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.primary:disabled { opacity: .6; cursor: wait; transform: none; }
.primary.ml { background: linear-gradient(135deg, #ffe600, #f2c800); color: #243449; box-shadow: 0 9px 22px rgba(190,156,0,.2); }
.error { color: #b4233b; font-size: 13px; background: #fff0f3; border-radius: 9px; padding: 10px; }
details { border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 700; }
details label { display: block; margin-top: 13px; }
.company-chip, .connection-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin: 22px 0; }
.company-chip span { color: var(--muted); font-size: 13px; }
.security-list { padding: 0; margin: 24px 0; list-style: none; display: grid; gap: 11px; color: var(--muted); font-size: 14px; }
.security-list li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 10px; }
.success-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: white; background: var(--success); font-size: 24px; margin-bottom: 20px; }
.step-label.success { color: var(--success); }
.connection-status { justify-content: flex-start; gap: 12px; background: #f1fbf7; border-color: #c8eadc; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(11,143,99,.12); }
.connection-status strong, .connection-status small { display: block; }
.connection-status small { color: var(--muted); margin-top: 3px; }
.notice { padding: 12px; border-radius: 10px; color: #075b43; background: #eaf9f3; text-align: center; font-size: 13px; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; padding-top: 18px; }
  .story { text-align: center; margin: auto; }
  .story > p { margin-inline: auto; }
  .proof { justify-content: center; flex-wrap: wrap; }
  .access-card { width: min(520px, 100%); margin: auto; }
}
@media (max-width: 520px) {
  .topbar { height: 62px; padding: 0 18px; }
  .shell { width: min(100% - 24px, 1180px); gap: 28px; padding-bottom: 35px; }
  h1 { font-size: 36px; }
  .story > p { font-size: 15px; }
  .proof { display: none; }
  .access-card { min-height: 510px; border-radius: 20px; padding: 26px 20px; }
}
