:root {
  color-scheme: dark;
  --ink: #080b0f;
  --surface: #10151b;
  --surface-raised: #171e26;
  --line: #2a343e;
  --text: #f2f5f7;
  --muted: #9eaab4;
  --accent: #ff8a32;
  --accent-bright: #ffad62;
  --success: #5fe09a;
  --focus: #8bd8ff;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--ink);
}

a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--focus);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 56%;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 28px 42px;
}

.beta-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 245, 247, .72);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.beta-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(95, 224, 154, .7);
}

main {
  display: grid;
  min-height: calc(100vh - 58px);
  grid-template-columns: minmax(0, 56%) minmax(420px, 44%);
  background-color: #1b232a;
  background-image: url("/assets/login-picture.jpg?v=24ed606d");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-shade {
  border-right: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(180deg, rgba(5, 8, 11, .16) 0%, rgba(5, 8, 11, .31) 42%, rgba(5, 8, 11, .94) 100%),
    linear-gradient(90deg, rgba(5, 8, 11, .61) 0%, rgba(5, 8, 11, .08) 76%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  max-width: 760px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px 9% 9vh;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-bright);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .2em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.2vw, 5.4rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: .96;
  text-wrap: balance;
}

h1 span {
  color: var(--accent-bright);
}

.panel-download {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #ff9b4f;
  border-radius: 8px;
  padding: 13px 17px;
  color: #170c04;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.panel-download:hover {
  background: var(--accent-bright);
}

.panel-download span {
  font-size: 1.2rem;
}

.start-panel {
  align-self: start;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, .1);
  padding: 9vh clamp(28px, 5vw, 72px) 72px;
  background: rgba(8, 11, 15, .78);
  backdrop-filter: blur(5px);
}

.start-heading h2 {
  margin-bottom: 36px;
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  letter-spacing: -.04em;
}

.steps {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  padding-top: 2px;
  color: var(--accent-bright);
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.steps h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.58;
}

.panel-download {
  width: 100%;
}

.beta-note {
  margin-top: 26px;
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 17px;
}

.beta-note h3 {
  margin-bottom: 7px;
  font-size: .83rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.beta-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}

footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 0 42px;
  color: #64707a;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

footer a:hover {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .topbar {
    position: relative;
    width: 100%;
    padding: 22px 28px;
    background: #0b0f13;
  }

  main {
    display: block;
    background-image: url("/assets/login-picture-mobile.jpg?v=4dc93a32");
    background-attachment: scroll;
    background-position: center top;
  }

  .hero {
    position: relative;
    min-height: 610px;
  }

  .hero-content {
    min-height: 610px;
    padding: 100px 8% 64px;
  }

  .start-panel {
    min-height: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 0;
    padding-top: 68px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 18px 20px;
  }

  .beta-state {
    font-size: .66rem;
  }

  .hero,
  .hero-content {
    min-height: 570px;
  }

  .hero-content {
    padding: 74px 22px 42px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .start-panel {
    padding: 54px 20px 58px;
  }

  footer {
    display: grid;
    justify-content: start;
    padding: 18px 20px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
