
    :root {
      color-scheme: dark;
      --bg: #050711;
      --text: #f7f8ff;
      --muted: #929bb3;
      --blue: #557fff;
      --violet: #a25af3;
      --cyan: #5ae5ed;
      --line: rgba(255,255,255,.1);
    }

    * { box-sizing: border-box; }
    html, body { min-height: 100%; }

    body {
      margin: 0;
      min-height: 100vh;
      overflow-x: hidden;
      color: var(--text);
      font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      background:
        radial-gradient(ellipse at 14% 18%, rgba(40,100,255,.24), transparent 35%),
        radial-gradient(ellipse at 86% 82%, rgba(165,62,255,.22), transparent 36%),
        linear-gradient(145deg, #080d1c 0%, #050710 48%, #0a0614 100%);
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .3;
      background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
      background-size: 58px 58px;
      mask-image: radial-gradient(circle at 50% 50%, #000, transparent 84%);
    }

    .page {
      position: relative;
      min-height: 100vh;
      display: grid;
      grid-template-columns: minmax(460px, 1fr) minmax(430px, .82fr);
      overflow: hidden;
      isolation: isolate;
    }

    .aurora,
    .aurora::before,
    .aurora::after {
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
      content: "";
    }

    .aurora {
      width: 700px;
      height: 700px;
      right: -180px;
      top: 50%;
      translate: 0 -50%;
      border: 1px solid rgba(121,116,255,.13);
      box-shadow: 0 0 0 95px rgba(119,95,255,.022), 0 0 0 190px rgba(89,118,255,.016);
      z-index: -1;
    }

    .aurora::before {
      width: 350px;
      height: 350px;
      right: 130px;
      bottom: 55px;
      background: rgba(139,61,255,.2);
      filter: blur(100px);
    }

    .aurora::after {
      width: 260px;
      height: 260px;
      left: 30px;
      top: 100px;
      background: rgba(52,187,255,.12);
      filter: blur(90px);
    }

    .content {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 42px clamp(42px, 7vw, 110px);
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      width: fit-content;
      color: white;
      text-decoration: none;
    }

    .logo-mark { width: 49px; height: 49px; display: grid; place-items: center; }
    .logo-mark svg { width: 48px; height: 48px; filter: drop-shadow(0 8px 18px rgba(93,91,255,.25)); }
    .logo-type { display: flex; flex-direction: column; gap: 6px; }
    .logo-type strong { font-size: 20px; line-height: 1; letter-spacing: .09em; }
    .logo-type small { color: #91a0c8; font-size: 7px; font-weight: 800; line-height: 1; letter-spacing: .52em; }

    .hero { max-width: 680px; margin: 7vh 0 auto; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin: 0 0 25px;
      color: #afbbf7;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 1px;
      background: linear-gradient(90deg, #5c85ff, #9c62f5);
      box-shadow: 0 0 12px #6d7eff;
    }

    h1 {
      max-width: 680px;
      margin: 0;
      font-size: clamp(54px, 5.4vw, 86px);
      line-height: .97;
      letter-spacing: -.067em;
      font-weight: 790;
    }

    h1 span {
      color: transparent;
      background: linear-gradient(95deg, #96aaff 0%, #c48cff 48%, #65e5ee 100%);
      background-clip: text;
      -webkit-background-clip: text;
    }

    .lead {
      max-width: 575px;
      margin: 27px 0 0;
      color: #9ca5ba;
      font-size: 18px;
      line-height: 1.68;
    }

    .device-link {
      display: flex;
      align-items: center;
      gap: 14px;
      width: fit-content;
      margin-top: 35px;
      padding: 13px 16px 13px 13px;
      border: 1px solid rgba(255,255,255,.085);
      border-radius: 18px;
      background: rgba(255,255,255,.035);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    }

    .device-icon {
      width: 39px;
      height: 39px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      color: #9d9cff;
      background: rgba(111,102,255,.12);
      border: 1px solid rgba(128,118,255,.18);
    }

    .device-icon svg { width: 20px; height: 20px; }
    .device-copy { display: flex; flex-direction: column; gap: 3px; }
    .device-copy strong { font-size: 13px; }
    .device-copy span { color: #707a91; font-size: 11px; }
    .online { width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: #55e5a9; box-shadow: 0 0 13px #55e5a9; }

    .foot { color: #555e72; font-size: 12px; }

    .device-stage {
      position: relative;
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 28px 40px;
      perspective: 1600px;
    }

    .device-stage::before {
      content: "";
      position: absolute;
      width: 520px;
      height: 780px;
      border-radius: 50%;
      background: radial-gradient(ellipse, rgba(93,91,255,.17), rgba(150,59,255,.06) 42%, transparent 72%);
      filter: blur(12px);
      animation: pulse 7s ease-in-out infinite alternate;
    }

    .phone-wrap {
      position: relative;
      width: 440px;
      height: 840px;
      transform: rotateY(-6deg) rotateX(1.2deg);
      transform-style: preserve-3d;
      animation: arrive .8s cubic-bezier(.2,.8,.2,1) both;
    }

    .phone-shadow {
      position: absolute;
      width: 310px;
      height: 70px;
      left: 50%;
      bottom: -37px;
      translate: -50% 0;
      border-radius: 50%;
      background: rgba(0,0,0,.58);
      filter: blur(26px);
      transform: rotateX(76deg);
    }

    .side-button {
      position: absolute;
      z-index: 0;
      width: 5px;
      background: linear-gradient(#676c7d, #252936 30%, #4c5060 80%, #20232e);
      box-shadow: inset 1px 0 rgba(255,255,255,.15);
    }

    .side-button.silent { left: -4px; top: 125px; height: 34px; border-radius: 4px 0 0 4px; }
    .side-button.volume-up { left: -5px; top: 177px; height: 68px; border-radius: 4px 0 0 4px; }
    .side-button.volume-down { left: -5px; top: 258px; height: 68px; border-radius: 4px 0 0 4px; }
    .side-button.power { right: -5px; top: 204px; height: 102px; border-radius: 0 4px 4px 0; }

    .phone {
      position: absolute;
      inset: 0;
      z-index: 1;
      padding: 9px;
      border-radius: 66px;
      background: linear-gradient(145deg, #777d90 0%, #242936 14%, #0c0f17 46%, #4d5261 82%, #a4a8b3 100%);
      box-shadow:
        -22px 38px 80px rgba(0,0,0,.6),
        18px 22px 80px rgba(86,54,221,.2),
        inset 0 0 0 1px rgba(255,255,255,.34),
        inset 2px 0 2px rgba(255,255,255,.18);
    }

    .screen {
      position: relative;
      height: 100%;
      overflow: hidden;
      border-radius: 57px;
      border: 1px solid rgba(255,255,255,.075);
      background:
        radial-gradient(circle at 85% 7%, rgba(93,218,235,.11), transparent 27%),
        radial-gradient(circle at 17% 89%, rgba(156,75,255,.17), transparent 34%),
        linear-gradient(155deg, #11192b 0%, #080c17 55%, #0f0a1b 100%);
    }

    .screen::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: .28;
      background-image: radial-gradient(rgba(255,255,255,.12) .6px, transparent .6px);
      background-size: 16px 16px;
      mask-image: linear-gradient(#000, transparent 74%);
    }

    .status-bar {
      position: relative;
      z-index: 4;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      font-size: 12px;
      font-weight: 750;
    }

    .island {
      position: absolute;
      z-index: 5;
      top: 11px;
      left: 50%;
      translate: -50% 0;
      width: 118px;
      height: 34px;
      border-radius: 999px;
      background: #020307;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
    }

    .island::after {
      content: "";
      position: absolute;
      width: 7px;
      height: 7px;
      right: 14px;
      top: 13px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #1d4068, #07101e 65%);
    }

    .signal { display: inline-flex; align-items: center; gap: 6px; }
    .signal svg { width: 15px; height: 15px; }

    .phone-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      height: calc(100% - 48px);
      padding: 25px 30px 18px;
    }

    .phone-logo { margin-bottom: 26px; }
    .phone-logo .logo-mark { width: 42px; height: 42px; }
    .phone-logo .logo-mark svg { width: 41px; height: 41px; }
    .phone-logo .logo-type strong { font-size: 17px; }
    .phone-logo .logo-type small { font-size: 5.5px; }

    .phone-kicker {
      margin: 0 0 8px;
      color: #929fff;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    h2 {
      margin: 0;
      font-size: 37px;
      line-height: 1.04;
      letter-spacing: -.05em;
      white-space: nowrap;
    }

    .phone-subtitle { margin: 10px 0 23px; color: #8992a8; font-size: 13px; line-height: 1.5; }
    .field { margin-bottom: 15px; }
    .field-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
    label { color: #d8dcec; font-size: 11.5px; font-weight: 700; }
    .forgot { color: #8e9fff; font-size: 10.5px; text-decoration: none; }
    .input-wrap { position: relative; }

    input {
      width: 100%;
      height: 57px;
      padding: 0 47px;
      border: 1px solid rgba(255,255,255,.105);
      border-radius: 17px;
      outline: none;
      color: white;
      background: rgba(3,6,13,.72);
      font: inherit;
      font-size: 13.5px;
      transition: border-color .2s, box-shadow .2s;
    }

    input::placeholder { color: #4c566b; }
    input:focus { border-color: rgba(128,118,255,.65); box-shadow: 0 0 0 4px rgba(114,95,255,.1); }

    .field-icon {
      position: absolute;
      left: 17px;
      top: 50%;
      translate: 0 -50%;
      width: 18px;
      height: 18px;
      color: #647087;
      pointer-events: none;
    }

    .show-pass {
      position: absolute;
      right: 10px;
      top: 50%;
      translate: 0 -50%;
      width: 37px;
      height: 37px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 10px;
      color: #707b91;
      background: transparent;
      cursor: pointer;
    }

    .show-pass:hover { background: rgba(255,255,255,.05); color: white; }
    .show-pass svg { width: 18px; height: 18px; }

    .form-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 3px 0 19px; }
    .remember { display: flex; align-items: center; gap: 8px; color: #a8afc1; font-size: 11px; cursor: pointer; }
    .remember input { appearance: none; width: 17px; height: 17px; padding: 0; border-radius: 5px; }
    .remember input:checked { border-color: #8178ff; background: linear-gradient(135deg,#5d84ff,#a35df0); box-shadow: inset 0 0 0 3px #12172a; }
    .secure { display: flex; align-items: center; gap: 6px; color: #687288; font-size: 10px; }
    .secure::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4bdca2; box-shadow: 0 0 10px #4bdca2; }

    .message { display: none; margin: 0 0 10px; padding: 9px 11px; border-radius: 11px; font-size: 10px; line-height: 1.4; }
    .message.show { display: block; }
    .message.error { color: #ffc2cd; border: 1px solid rgba(255,93,124,.2); background: rgba(255,77,112,.08); }
    .message.success { color: #b8f7d9; border: 1px solid rgba(85,230,172,.2); background: rgba(85,230,172,.07); }

    .submit {
      position: relative;
      width: 100%;
      height: 59px;
      border: 0;
      border-radius: 18px;
      overflow: hidden;
      color: white;
      background: linear-gradient(105deg,#527cf7,#7969f3 50%,#a45bed);
      box-shadow: 0 16px 32px rgba(82,65,220,.29), inset 0 1px rgba(255,255,255,.25);
      font: inherit;
      font-size: 13.5px;
      font-weight: 760;
      cursor: pointer;
      transition: transform .2s, filter .2s;
    }

    .submit:hover { transform: translateY(-2px); filter: brightness(1.08); }
    .submit span { display: inline-flex; align-items: center; gap: 8px; }

    .register {
      display: block;
      margin-top: 19px;
      color: #858fa5;
      text-align: center;
      text-decoration: none;
      font-size: 11px;
    }

    .register strong { color: #aa86ff; font-weight: 700; }
    .phone-home { width: 115px; height: 4px; margin: auto auto 0; border-radius: 999px; background: rgba(255,255,255,.55); }

    .float-badge {
      position: absolute;
      z-index: 4;
      right: -34px;
      top: 118px;
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 11px 14px;
      border: 1px solid rgba(255,255,255,.11);
      border-radius: 16px;
      color: #c8cee1;
      background: rgba(16,22,39,.75);
      box-shadow: 0 18px 50px rgba(0,0,0,.38);
      backdrop-filter: blur(16px);
      font-size: 11px;
      animation: float 4s ease-in-out infinite;
    }

    .float-badge svg { width: 17px; height: 17px; color: #78a0ff; }

    @keyframes arrive { from { opacity: 0; transform: translateY(22px) rotateY(-11deg) scale(.98); } to { opacity: 1; transform: rotateY(-6deg) rotateX(1.2deg); } }
    @keyframes float { 50% { translate: 0 -9px; } }
    @keyframes pulse { to { scale: 1.08; opacity: .8; } }

    @media (max-height: 870px) and (min-width: 981px) {
      .phone-wrap { scale: .91; }
      .hero { margin-top: 3vh; }
    }

    @media (max-width: 1100px) {
      .page { grid-template-columns: minmax(420px,1fr) minmax(390px,.85fr); }
      .content { padding-inline: 52px; }
      .phone-wrap { scale: .88; }
      .device-stage { padding-inline: 12px; }
    }

    @media (max-width: 900px) {
      body { overflow: auto; }
      .page { display: block; padding: 20px; }
      .content { display: none; }
      .device-stage { min-height: calc(100svh - 40px); padding: 0; }
      .device-stage::before { width: 90vw; height: 90vh; }
      .phone-wrap { transform: none; scale: min(.92, calc((100vw - 38px) / 440)); }
      .phone { box-shadow: 0 35px 90px rgba(0,0,0,.58), 0 0 90px rgba(94,65,225,.18), inset 0 0 0 1px rgba(255,255,255,.34); }
      .float-badge { right: -18px; }
    }

    @media (max-width: 430px) {
      .page { padding: 8px; }
      .device-stage { min-height: calc(100svh - 16px); }
      .phone-wrap { scale: calc((100vw - 26px) / 440); }
      .float-badge { display: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    }
  
[hidden]{display:none!important} .phone-content{overflow-y:auto;scrollbar-width:thin} .phone-home{flex-shrink:0;margin-top:auto;min-height:4px} .register{margin-bottom:18px} .message{overflow-wrap:anywhere;font-size:12px} button:disabled{opacity:.6;cursor:wait} :focus-visible{outline:2px solid #aa86ff;outline-offset:3px} h2{white-space:normal} .registration .phone-logo{margin-bottom:14px} .registration .phone-subtitle{margin-bottom:14px} .registration .field{margin-bottom:10px} .registration input:not([type=checkbox]){height:48px} .registration .phone-kicker{display:none} .registration h2{font-size:31px} .password-hint{color:#8992a8;font-size:11px;line-height:1.4;margin:0 0 12px} .back-home{display:block;text-align:center;color:#929bb3;font-size:11px;margin-bottom:16px}
@media(max-width:900px){.phone-wrap{width:min(440px,calc(100vw - 32px));height:840px;scale:1;transform:none;animation:none}.phone-content{padding-inline:24px}.float-badge{right:0}.device-stage{padding:16px 0}.phone{border-radius:54px}.screen{border-radius:45px}}
@media(max-width:360px){.phone-content{padding-inline:16px}h2{font-size:30px}.secure{display:none}}
@media(max-width:360px){.island{width:96px}.signal{gap:4px}.status-bar{padding-inline:18px}.signal svg{width:13px}}
