:root {
  --page: #f4f8ff;
  --panel: rgba(255, 255, 255, 0.83);
  --panel-solid: #ffffff;
  --ink: #0c1b4d;
  --muted: #5a6b9b;
  --blue: #2876ff;
  --blue-dark: #1554d9;
  --cyan: #28c8ff;
  --line: rgba(37, 101, 210, 0.18);
  --shadow: 0 24px 80px rgba(40, 118, 255, 0.14);
  --soft-shadow: 0 14px 40px rgba(16, 42, 106, 0.10);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  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 72% 15%, rgba(40, 200, 255, 0.25), transparent 30%),
    radial-gradient(circle at 20% 85%, rgba(40, 118, 255, 0.15), transparent 35%),
    linear-gradient(135deg, #eef6ff 0%, #ffffff 45%, #eff6ff 100%);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell {
  width: min(1840px, calc(100vw - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  display: grid;
  grid-template-columns: 304px 1fr;
  gap: 42px;
}

.sidebar,
.topbar,
.stepper,
.card,
.trust-strip,
.quantum-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.sidebar {
  min-height: calc(100vh - 32px);
  border-radius: var(--radius-xl);
  padding: 34px 18px 20px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding-bottom: 28px;
}

.brand__mark {
  width: 88px;
  height: auto;
}

.brand__name {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.12em;
  line-height: 0.9;
  font-size: 34px;
  font-weight: 700;
  color: #164298;
}

.brand__tagline {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.2em;
  color: #7180ad;
  font-size: 11px;
  font-weight: 800;
}

.nav-list {
  display: grid;
  gap: 9px;
  margin-top: 4px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  color: #4e5f96;
  font-weight: 700;
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}

.nav-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 11px;
  bottom: 11px;
  width: 4px;
  border-radius: 999px;
  background: transparent;
}

.nav-item:hover {
  transform: translateX(4px);
  background: rgba(40, 118, 255, 0.07);
  color: var(--blue-dark);
}

.nav-item--active {
  color: var(--blue-dark);
  background: linear-gradient(90deg, rgba(40,118,255,0.16), rgba(255,255,255,0.74));
}

.nav-item--active::before {
  background: var(--blue);
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
}

.nav-icon svg {
  width: 23px;
  height: 23px;
}

.quantum-card {
  margin-top: auto;
  border-radius: 24px;
  padding: 22px;
  text-align: left;
  color: #415382;
}

.quantum-card__title {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}

.quantum-card__title span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: #34d97b;
  box-shadow: 0 0 14px #34d97b;
}

.quantum-card p {
  margin: 4px 0 8px;
  font-size: 13px;
}

.quantum-card img {
  display: block;
  width: 170px;
  margin: 0 auto 8px;
}

.quantum-card strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
}

.quantum-card small {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  font-size: 11px;
  color: #8190bc;
}

.dashboard {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 25px;
}

.topbar {
  min-height: 112px;
  border-radius: 0 0 26px 26px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.security-pill {
  display: flex;
  align-items: center;
  gap: 16px;
}

.security-pill strong,
.security-pill span {
  display: block;
}

.security-pill strong {
  font-size: 15px;
  margin-bottom: 4px;
}

.security-pill span {
  color: var(--muted);
  font-weight: 600;
}

.shield {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 36px rgba(40,118,255,0.28);
}

.shield svg {
  width: 29px;
  height: 29px;
}

.user-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.round-button,
.user-chip,
.primary-button {
  border: 0;
  cursor: pointer;
  transition:
    transform .24s var(--ease),
    box-shadow .24s var(--ease),
    background .24s var(--ease),
    border-color .24s var(--ease);
}

.round-button {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #45588d;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.round-button svg {
  width: 28px;
  height: 28px;
}

.notification-dot {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(40,118,255,.12);
}

.round-button:hover,
.user-chip:hover,
.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(40, 118, 255, 0.24);
}

.user-chip {
  min-width: 254px;
  display: grid;
  grid-template-columns: 62px 1fr 22px;
  align-items: center;
  gap: 13px;
  padding: 10px 18px 10px 10px;
  border-radius: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  text-align: left;
}

.user-chip img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

.user-chip strong,
.user-chip small {
  display: block;
}

.user-chip small {
  color: var(--blue);
  margin-top: 2px;
  font-weight: 700;
}

.user-chip svg {
  width: 20px;
  height: 20px;
  color: #7482ac;
}

.hero {
  position: relative;
  min-height: 460px;
  padding: 76px 34px 0;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(244,248,255,0.95) 0%, rgba(244,248,255,0.84) 34%, rgba(188,226,255,0.56) 100%),
    radial-gradient(circle at 62% 28%, rgba(255,255,255,0.95), transparent 18%),
    linear-gradient(180deg, rgba(117,197,255,0.34), rgba(255,255,255,0.18));
}

.hero__copy {
  position: relative;
  z-index: 4;
  max-width: 520px;
}

.hero h1 {
  margin: 0;
  color: #071747;
  font-size: clamp(44px, 4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero__copy p {
  margin: 30px 0 28px;
  color: #4f6192;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
}

.promise-chip {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(40,118,255,.10);
  color: #143f99;
  font-weight: 800;
}

.promise-chip svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.skyline {
  position: absolute;
  right: -38px;
  bottom: 0;
  width: min(49vw, 760px);
  max-width: none;
  opacity: .76;
  z-index: -1;
}

.assistant-cloud {
  position: absolute;
  right: 352px;
  bottom: 5px;
  width: min(35vw, 540px);
  filter: drop-shadow(0 34px 46px rgba(40,118,255,0.20));
  animation: floaty 6s var(--ease) infinite alternate;
  z-index: 3;
}

.speech-bubble {
  position: absolute;
  right: 84px;
  top: 170px;
  width: 278px;
  padding: 28px 30px;
  z-index: 5;
  border-radius: 30px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}

.speech-bubble::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 52px;
  width: 44px;
  height: 44px;
  background: inherit;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.speech-bubble strong {
  display: block;
  font-size: 20px;
  margin-bottom: 15px;
}

.speech-bubble p {
  margin: 0;
  color: #263e7e;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.stepper {
  position: relative;
  z-index: 10;
  margin-top: -22px;
  min-height: 126px;
  border-radius: 28px;
  padding: 22px 34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 10px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 48px;
  height: 2px;
  transform: translateY(-50%);
  background-image: linear-gradient(to right, rgba(83, 103, 151, .28) 45%, transparent 45%);
  background-size: 10px 2px;
}

.step__number {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #576891;
  background: #edf3ff;
  border: 2px solid rgba(64, 99, 175, .17);
  font-size: 25px;
  font-weight: 800;
}

.step--active .step__number {
  color: #fff;
  background: linear-gradient(135deg, #1c6eff, #16d7ff);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(40, 118, 255, .18), 0 16px 32px rgba(40,118,255,.28);
}

.step strong,
.step small {
  display: block;
  white-space: nowrap;
}

.step strong {
  font-size: 14px;
}

.step small {
  margin-top: 4px;
  color: #6576a6;
  font-weight: 700;
}

.step--active strong,
.step--active small {
  color: var(--blue);
}

.cards-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(330px, 1.28fr) minmax(300px, 1.36fr);
  gap: 28px;
}

.card {
  border-radius: var(--radius-xl);
  padding: 31px 34px;
}

.card h2 {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.card h2 svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.reason {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  margin: 24px 0;
}

.reason__icon,
.choice__icon,
.trust-strip span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #edf5ff, #ffffff);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(40,118,255,.11);
}

.reason__icon {
  width: 58px;
  height: 58px;
}

.reason__icon svg {
  width: 30px;
  height: 30px;
}

.reason strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.reason p {
  margin: 0;
  color: #65739c;
  font-weight: 650;
  line-height: 1.45;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 850;
  transition: transform .22s var(--ease), color .22s var(--ease);
}

.text-link:hover {
  transform: translateX(4px);
  color: var(--blue-dark);
}

.signup-card {
  background:
    radial-gradient(circle at 70% 20%, rgba(40,200,255,.13), transparent 25%),
    rgba(255, 255, 255, .72);
}

.field {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  margin-bottom: 18px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: #6774a2;
  font-weight: 750;
}

.field span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field svg {
  width: 20px;
  height: 20px;
}

.field input {
  width: 100%;
  min-width: 0;
  color: #243a7a;
  border: 0;
  background: transparent;
  outline: 0;
  font-weight: 800;
}

.primary-button {
  width: 100%;
  min-height: 64px;
  margin-top: 4px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #256dff 0%, #16d8ff 100%);
  font-weight: 900;
  font-size: 17px;
  border: 2px solid rgba(255,255,255,.85);
}

.primary-button span {
  display: inline-block;
  margin-left: 18px;
  transition: transform .22s var(--ease);
}

.primary-button:hover span {
  transform: translateX(6px);
}

.signin {
  margin: 20px 0 0;
  text-align: center;
  color: #7480aa;
  font-weight: 750;
}

.signin a {
  color: var(--blue);
  font-weight: 900;
}

.choice-card {
  display: grid;
  align-content: start;
}

.choice {
  display: grid;
  grid-template-columns: 58px 1fr 26px;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  margin-bottom: 14px;
  padding: 16px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  cursor: pointer;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}

.choice:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.9);
  border-color: rgba(40,118,255,.35);
  box-shadow: 0 14px 30px rgba(40,118,255,.13);
}

.choice--selected {
  background: rgba(255,255,255,.9);
  border-color: rgba(40,118,255,.32);
}

.choice__icon {
  width: 54px;
  height: 54px;
}

.choice__icon svg {
  width: 27px;
  height: 27px;
}

.choice__icon.infinity {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
}

.choice strong,
.choice small {
  display: block;
}

.choice strong {
  font-size: 15px;
  margin-bottom: 4px;
}

.choice small {
  color: #6576a3;
  line-height: 1.4;
  font-weight: 700;
}

.choice input {
  accent-color: var(--blue);
  width: 22px;
  height: 22px;
}

.note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0 0;
  color: #5570b5;
  font-weight: 750;
}

.note svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.trust-strip {
  min-height: 112px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.trust-strip article {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px 32px;
  border-right: 1px solid rgba(37,101,210,.12);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip span {
  width: 52px;
  height: 52px;
}

.trust-strip svg {
  width: 29px;
  height: 29px;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  font-size: 14px;
}

.trust-strip small {
  margin-top: 6px;
  color: #64759f;
  font-weight: 700;
}

body::before {
  content: "";
  position: fixed;
  inset: auto auto -200px -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(39, 116, 255, .10);
  filter: blur(32px);
  z-index: -5;
}

@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-13px); }
}

@media (max-width: 1320px) {
  .site-shell {
    grid-template-columns: 260px 1fr;
    gap: 24px;
  }

  .assistant-cloud {
    right: 285px;
    width: 430px;
  }

  .speech-bubble {
    right: 36px;
  }

  .stepper {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 960px) {
  .site-shell {
    width: min(100% - 20px, 720px);
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  .nav-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .quantum-card {
    display: none;
  }

  .topbar {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .security-pill {
    justify-content: center;
  }

  .user-tools {
    justify-content: center;
  }

  .hero {
    min-height: 720px;
    padding-top: 42px;
  }

  .assistant-cloud {
    left: 50%;
    right: auto;
    bottom: 20px;
    width: min(92vw, 460px);
    transform: translateX(-50%);
    animation: none;
  }

  .skyline {
    width: 700px;
  }

  .speech-bubble {
    top: auto;
    right: 24px;
    bottom: 370px;
    width: min(310px, calc(100% - 48px));
  }

  .stepper {
    margin-top: 0;
  }

  .field {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 18px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(37,101,210,.12);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 540px) {
  .site-shell {
    width: min(100% - 12px, 420px);
    margin: 6px auto;
  }

  .nav-list {
    grid-template-columns: 1fr;
  }

  .user-tools {
    flex-direction: column;
  }

  .user-chip {
    min-width: 0;
    width: 100%;
  }

  .hero__copy p {
    font-size: 17px;
  }

  .promise-chip {
    align-items: flex-start;
    border-radius: 20px;
  }

  .stepper {
    padding: 18px;
  }

  .card {
    padding: 25px 22px;
  }
}
