@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-300.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #161718;
  --card: #212223;
  --layer: #2a2b2d;
  --line: #3d3e3f;
  --text: #fff;
  --muted: #afb0b3;
  --quiet: #a2a3a5;
  --blue: #3368ff;
  --link: #97b1ff;
  --danger: #ff9393;
  --pad: clamp(1.2rem, 5.4vw, 6.5rem);
  --shell: 91rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
}
h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.13;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.65rem, 5.5vw, 5.05rem);
  letter-spacing: -0.06em;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  letter-spacing: -0.055em;
}
h3 {
  font-size: clamp(1.12rem, 1.55vw, 1.45rem);
  letter-spacing: -0.032em;
}
a {
  color: var(--link);
  text-underline-offset: 0.22em;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex='-1']:focus-visible {
  outline: 3px solid #a4baff;
  outline-offset: 4px;
}
::selection {
  background: #3255a0;
  color: white;
}
.wrap {
  max-width: var(--shell);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.skip {
  position: fixed;
  z-index: 10;
  left: 1rem;
  top: -10rem;
  background: #fff;
  color: #141518;
  padding: 12px 16px;
  border-radius: 12px;
}
.skip:focus {
  top: 1rem;
}
.header {
  position: relative;
  z-index: 5;
  background: #161718;
  border-bottom: 1px solid #303133;
}
.header-in {
  display: flex;
  align-items: center;
  height: 76px;
  gap: clamp(1.3rem, 3vw, 3rem);
}
.home {
  text-decoration: none;
  color: white;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.wordmark {
  font-size: 1.32rem;
  letter-spacing: 0.29em;
  font-weight: 600;
  line-height: 1;
}
.header nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.35vw, 2.3rem);
  margin-left: auto;
}
.header nav a,
footer nav a {
  color: #c5c6c8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}
.header nav a:hover,
.header nav a[aria-current],
footer a:hover {
  color: white;
}
.nav-reg,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  min-height: 50px;
  border-radius: 100px;
  padding: 0.8rem 1.4rem;
  font-size: 0.875rem;
  color: white;
  border: 1px solid transparent;
}
.nav-reg {
  border-color: #55575a;
  min-height: 48px;
  padding-inline: 1.35rem;
}
.nav-reg:hover,
.secondary:hover,
.menu-toggle:hover {
  background: #343537;
}
.primary {
  background: var(--blue);
}
.primary:hover {
  background: #2857e3;
}
.secondary {
  background: #232426;
  border-color: #434549;
  color: white;
}
.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  place-items: center;
}
.cross,
.expanded .bars {
  display: none;
}
.expanded .cross {
  display: block;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #17191b;
}
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 61%;
  overflow: hidden;
}
.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-art img {
  object-fit: cover;
  object-position: 50% 53%;
}
.hero-art {
  mask-image: linear-gradient(90deg, transparent 0%, #000 21%);
}
.hero-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 14, 17, 0.7), transparent 19%);
  pointer-events: none;
}
.hero-inner {
  min-height: clamp(475px, 38.5vw, 590px);
  display: flex;
  align-items: center;
  position: relative;
}
.hero-copy {
  width: 53%;
  padding-block: clamp(3rem, 5vw, 5.5rem);
}
.overline,
.step-count {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}
.overline {
  color: #cbced3;
  margin-bottom: 1.55rem;
}
.hero h1 {
  font-size: clamp(3.05rem, 5.35vw, 5.55rem);
  font-weight: 500;
  line-height: 1.045;
  letter-spacing: -0.073em;
  text-wrap: initial;
}
.hero h1 span {
  color: #aeb1b6;
}
.hero-desc {
  color: #c3c5c9;
  max-width: 31rem;
  font-size: clamp(1rem, 1.22vw, 1.13rem);
  line-height: 1.62;
  margin-top: 1.55rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}
.section {
  padding-block: clamp(3.5rem, 5.5vw, 6rem);
}
.step-count {
  color: var(--quiet);
  margin-bottom: 1rem;
}
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2.1rem;
}
.panel {
  background: var(--card);
  border: 1px solid #363739;
  border-radius: 22px;
}
.start-grid p,
.faq-list p,
.panel p,
.install p,
.help-topics li,
.legal p,
.legal li,
.register-intro > p {
  color: var(--muted);
}
.start-grid p {
  line-height: 1.62;
}
.start-grid {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}
.start-grid li {
  counter-increment: steps;
  padding: 0.9rem 1.45rem 0.9rem 0;
  border-top: 1px solid #505154;
}
.start-grid li::before {
  content: counter(steps);
  display: block;
  color: #8daaff;
  margin-bottom: 1.3rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}
.start-grid p,
.help-topics ul,
.install p {
  margin-top: 0.65rem;
}
.start-grid a {
  display: inline-block;
  margin-top: 0.6rem;
}
.faq-band {
  background: #1d1e20;
  border-block: 1px solid #333537;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.2rem;
  padding-block: clamp(3rem, 5vw, 5rem);
}
.faq-list details {
  border-bottom: 1px solid #414245;
}
.faq-list details:first-child {
  border-top: 1px solid #414245;
}
summary {
  cursor: pointer;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  line-height: 1.5;
  font-weight: 500;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #c4c5c6;
}
.faq-list details[open] .icon {
  transform: rotate(45deg);
}
.faq-list p {
  padding: 0 1.6rem 1.15rem 0;
}
.signup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3rem, 5vw, 6rem);
}
footer {
  border-top: 1px solid var(--line);
  background: #191a1b;
}
.footer-main,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-main {
  padding: 2.3rem 0 1.8rem;
}
.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.footer-meta {
  border-top: 1px solid #363739;
  padding: 1.3rem 0 2rem;
  color: #a6a7ab;
  font-size: 0.78rem;
  align-items: flex-start;
}
.footer-meta div {
  text-align: right;
}
.footer-meta a {
  color: inherit;
}
.crumb {
  display: flex;
  gap: 0.65rem;
  color: #a9aaad;
  font-size: 0.875rem;
  margin-bottom: clamp(1.7rem, 3.2vw, 3rem);
}
.crumb a {
  color: inherit;
  text-decoration: none;
}
.crumb a:hover {
  text-decoration: underline;
}
.inner-page {
  padding-block: 1.65rem clamp(4rem, 8vw, 7rem);
}
.inner-page h1 {
  font-size: clamp(2.55rem, 4.6vw, 4.5rem);
  margin-bottom: 1.15rem;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 47rem;
}
.panel {
  padding: clamp(1.4rem, 3vw, 2.7rem);
}
.panel h2,
.install h2,
.help-topics h2,
.legal h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 0.85rem;
}
.panel p {
  margin: 0.65rem 0;
}
.panel .btn {
  margin-top: 0.8rem;
}
.panel.single {
  max-width: 43rem;
  margin-top: 2rem;
}
.platform-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.1rem;
}
.release-status {
  display: inline-block;
  color: #c2c9d8;
  border: 1px solid #464b54;
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
  margin-top: 0.6rem;
}
.install {
  margin-top: 2rem;
  max-width: 43rem;
}
.install .btn {
  margin-top: 1.25rem;
}
.help-topics {
  padding: 1.7rem;
}
.help-topics li,
.legal li {
  margin: 0.5rem 0;
}
.help-topics ul,
.legal ul {
  padding-left: 1.3rem;
}
.legal {
  max-width: 50rem;
}
.legal h1 {
  overflow-wrap: anywhere;
}
.legal h2 {
  margin: 2rem 0 0.75rem;
}
.legal p,
.legal ul {
  margin-block: 0.8rem;
}
.legal .muted.small {
  font-size: 0.875rem;
  color: var(--muted);
}
.not-found {
  padding-block: clamp(5rem, 12vw, 12rem);
}
.register-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: start;
  column-gap: clamp(2rem, 6.5vw, 8rem);
}
.register-intro > p {
  max-width: 25rem;
}
.steps {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.steps li span {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid #55575c;
  border-radius: 50%;
  font-size: 0.8rem;
}
.steps li[aria-current] {
  color: white;
}
.steps li[aria-current] span {
  background: var(--blue);
  border-color: var(--blue);
}
.steps .complete span {
  border-color: #7892c2;
}
.wizard {
  max-width: 41rem;
  width: 100%;
  justify-self: end;
}
.wizard .step-count {
  color: var(--link);
  margin: 0 0 0.8rem;
}
.wizard h2:focus {
  outline: none;
}
.wizard h2 {
  margin-top: 0;
}
.field {
  margin-top: 1.05rem;
}
.field label {
  display: block;
  font-size: 0.94rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.field small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.4rem;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.field input {
  width: 100%;
  background: var(--layer);
  color: #fff;
  border: 1px solid #5c5e61;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  min-height: 50px;
  line-height: 1.45;
  outline-offset: 2px;
}
.input-wrap:has(.reveal) input {
  padding-right: 6.3rem;
}
.reveal {
  position: absolute;
  right: 0.4rem;
  min-height: 40px;
  padding: 0.25rem 0.65rem;
  color: #c3d1ff;
  background: none;
  border: 0;
  font-size: 0.8rem;
  font-weight: 500;
}
.field input[aria-invalid='true'] {
  border-color: var(--danger);
}
.panel .hint,
.time {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}
.panel .error {
  color: var(--danger);
  font-size: 0.875rem;
  margin: 0.35rem 0;
}
.error:empty,
.hint:empty {
  display: none;
}
.form-error:not(:empty) {
  padding: 0.5rem 0;
}
.agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.2rem 0 0.6rem;
  font-size: 0.875rem;
  color: #c4c5c7;
}
.agreement input {
  width: 19px;
  height: 19px;
  margin: 0.17rem 0 0;
  accent-color: var(--blue);
  flex: none;
}
.wizard .submit {
  width: 100%;
}
.btn:disabled {
  background: #3a3d43;
  color: #b8bbc2;
}
.text-button {
  background: none;
  color: var(--link);
  border: 0;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  font-size: 0.875rem;
}
.switch {
  margin-top: 1.1rem;
  min-height: 40px;
}
.qr {
  margin: 1.25rem 0;
}
.qr canvas {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  image-rendering: pixelated;
}
.secret-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 0.45rem 0 0.8rem;
}
.secret-row code {
  font-size: 1rem;
  color: #fff;
  overflow-wrap: anywhere;
}
.panel .time {
  margin-top: 1rem;
  color: #d5d7dd;
  font-variant-numeric: tabular-nums;
}
.deep {
  display: none;
}
.stack {
  display: grid;
  gap: 0.4rem;
}
@media (min-width: 1550px) {
  .hero-art {
    width: calc(50% + 140px);
  }
}
@media (max-width: 1000px) {
  .header-in {
    gap: 1.25rem;
  }
  .header nav {
    gap: 1.2rem;
  }
  .hero-inner {
    min-height: 460px;
  }
  .hero-copy {
    width: 54%;
  }
  .hero-desc {
    max-width: 25rem;
  }
  .hero .btn {
    padding-inline: 1rem;
  }
  .hero-art {
    width: 57%;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 5.5vw, 4rem);
  }
}
@media (max-width: 900px) {
  .header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #202123;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad);
    margin: 0;
  }
  .header nav a {
    padding: 11px 0;
  }
  .header.expanded nav {
    display: grid;
    gap: 0;
  }
  .nav-reg {
    margin-left: auto;
  }
  .menu-toggle {
    display: grid;
  }
  .register-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 1.55rem;
  }
}
@media (max-width: 700px) {
  :root {
    --pad: clamp(1.15rem, 5vw, 2rem);
  }
  .header-in {
    height: 64px;
    gap: 0.6rem;
  }
  .wordmark {
    font-size: 1.08rem;
  }
  .nav-reg {
    min-height: 44px;
    font-size: 0.8rem;
    padding: 0.55rem 0.95rem;
  }
  .hero {
    display: flex;
    flex-direction: column;
    background: #17191b;
  }
  .hero-inner {
    display: contents;
  }
  .hero-copy {
    width: 100%;
    order: -1;
    padding: 2.55rem var(--pad) 0.85rem;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 10.6vw, 3.8rem);
    letter-spacing: -0.068em;
    line-height: 1.05;
  }
  .overline {
    margin-bottom: 1.05rem;
    font-size: 0.72rem;
  }
  .hero-desc {
    margin-top: 1.05rem;
    max-width: 32rem;
  }
  .actions {
    margin-top: 1.35rem;
  }
  .hero-art {
    z-index: 0;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1.95;
    mask-image: linear-gradient(180deg, transparent, #000 21%);
  }
  .hero-art img {
    object-position: 50% 58%;
  }
  .hero .actions .btn {
    font-size: 0.82rem;
    min-height: 48px;
    padding: 0.65rem 0.95rem;
  }
  .hero .actions {
    gap: 0.55rem;
  }
  .section {
    padding-block: 3.25rem;
  }
  .start-grid {
    margin-top: 1.45rem;
    gap: 0.65rem;
  }
  .platform-grid,
  .support-grid,
  .faq-layout,
  .register-layout {
    grid-template-columns: 1fr;
  }
  .start-grid {
    grid-template-columns: 1fr;
  }
  .start-grid li {
    position: relative;
    padding: 1.1rem 0 1.1rem 2.8rem;
  }
  .start-grid li::before {
    position: absolute;
    left: 0;
    top: 1.12rem;
  }
  .faq-layout {
    gap: 1.35rem;
  }
  .faq-layout h2 br {
    display: none;
  }
  .faq-layout h2 br:after {
    content: ' ';
  }
  .signup {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.15rem;
  }
  .footer-main,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-main {
    padding: 1.5rem 0;
  }
  .footer-main nav {
    gap: 0.65rem 1.1rem;
  }
  .footer-meta div {
    text-align: left;
  }
  .steps {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.1rem;
  }
  .steps li {
    font-size: 0;
    gap: 0;
  }
  .steps li[aria-current] {
    gap: 0.5rem;
    font-size: 0.84rem;
  }
  .register-layout {
    row-gap: 1.3rem;
  }
  .register-intro h1 {
    margin-bottom: 0.6rem;
  }
  .wizard {
    max-width: none;
  }
  .inner-page {
    padding-top: 1rem;
  }
  .deep {
    display: inline-flex;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  .help-topics {
    padding: 0.75rem 0;
  }
  .platform-grid,
  .support-grid {
    margin-top: 1.4rem;
  }
  .legal h1 {
    font-size: 2.35rem;
  }
}
@media (max-width: 490px) {
  .hero .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero .actions .btn {
    width: 100%;
  }
  .hero-art {
    aspect-ratio: 1.95;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

.panel .mock-note,
.register-intro .mock-note {
  color: #c9cbd0;
  font-size: 0.875rem;
  margin-top: 0.8rem;
}

/* Home: plain rows instead of icon cards */
.split {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.2rem;
  border-top: 1px solid #2c2d2f;
}
.split h2 {
  margin: 0;
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rows li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #36373a;
}
.rows li:first-child {
  padding-top: 0.35rem;
}
.rows h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}
.rows p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.rows small {
  display: block;
  margin-top: 0.2rem;
  color: #8a8c90;
  font-size: 0.85rem;
}
#start h2 {
  margin-bottom: 0;
}
.start-grid {
  margin-top: 2rem;
}
.start-grid li::before {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.register-intro > p + p {
  margin-top: 0.75rem;
}
@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .split h2 br {
    display: none;
  }
  .rows li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}
