:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: #f2f4f2;
  background: #080a09;
  --bg: #080a09;
  --panel: #0c0f0e;
  --panel-2: #111412;
  --line: #262b28;
  --line-soft: #191d1b;
  --text: #f2f4f2;
  --muted: #858b87;
  --quiet: #555b57;
  --accent: #e9ede9;
  --danger: #c86b6b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% -10%, #1f2521 0, transparent 32rem),
    linear-gradient(180deg, #0b0e0c 0, var(--bg) 42rem);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0, transparent 75%);
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.site-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  border-inline: 1px solid #151917;
  background: #080a09cc;
}

.site-nav {
  position: relative;
  z-index: 10;
  min-height: 82px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #080a09e8;
  backdrop-filter: blur(18px);
}

.wordmark {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.wordmark > span:last-child {
  display: grid;
  line-height: .83;
}

.wordmark strong,
.wordmark b {
  font-size: 15px;
  letter-spacing: .14em;
}

.wordmark b {
  color: #757b77;
  font-weight: 500;
}

.mark {
  position: relative;
  width: 38px;
  height: 30px;
  display: block;
}

.mark i {
  position: absolute;
  top: 8px;
  width: 17px;
  height: 17px;
  border: 1px solid #8d948f;
  background: #111512;
  transform: rotate(45deg);
}

.mark i:nth-child(1) {
  left: 0;
}

.mark i:nth-child(2) {
  left: 11px;
  top: 1px;
  border-color: #f4f6f4;
  background: #e9ece9;
}

.mark i:nth-child(3) {
  left: 22px;
}

.site-nav nav {
  display: flex;
  gap: clamp(22px, 3vw, 48px);
}

.site-nav nav a,
.nav-account {
  color: #858b87;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s, border-color .18s, background .18s;
}

.site-nav nav a:hover,
.site-nav nav a:focus-visible {
  color: #fff;
}

.nav-account {
  justify-self: end;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #343a36;
  background: #0c0f0d;
}

.nav-account:hover,
.nav-account:focus-visible {
  color: #fff;
  border-color: #6b736d;
}

.landing {
  padding: 0 clamp(22px, 4vw, 64px) 80px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  align-items: center;
  gap: clamp(50px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: #737a75;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow > i {
  width: 6px;
  height: 6px;
  margin-right: 9px;
  display: inline-block;
  background: #dce1dc;
  transform: rotate(45deg);
}

.hero h1,
.auth-visual h1,
.login-copy h1 {
  margin: 25px 0 28px;
  max-width: 690px;
  font-size: clamp(49px, 5.4vw, 86px);
  line-height: .91;
  letter-spacing: -.062em;
}

.hero h1 em,
.auth-visual h1 em,
.login-copy h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px #777e79;
}

.hero-copy > p,
.auth-visual > p,
.login-copy > p {
  max-width: 590px;
  color: #929894;
  font-size: 14px;
  line-height: 1.85;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #353b37;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #aeb4b0;
  background: #0d100f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s, background .18s, border-color .18s, color .18s;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  border-color: #707872;
  transform: translateY(-1px);
}

.button:disabled {
  opacity: .48;
  cursor: wait;
  transform: none;
}

.button-primary {
  min-width: 230px;
  color: #080a09;
  border-color: #f2f4f2;
  background: #f2f4f2;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #080a09;
  border-color: #fff;
  background: #fff;
}

.button-primary span {
  display: grid;
  gap: 4px;
}

.button-primary small {
  color: #666c68;
  font-size: 7px;
  letter-spacing: .16em;
}

.button-primary > i {
  width: 7px;
  height: 7px;
  background: #080a09;
  transform: rotate(45deg);
}

.button-ghost {
  background: #0b0e0c99;
}

.button-danger {
  color: #e7b2b2;
  border-color: #603d3d;
  background: #211414;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 26px;
  color: #555b57;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: .1em;
}

.launcher-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1.38;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #303631;
  background: #070908;
  box-shadow: 0 35px 90px #000b;
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.launcher-frame::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, #ffffff0a, transparent 32%);
}

.frame-title {
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #777d79;
  border-bottom: 1px solid #202421;
  font-size: 7px;
  letter-spacing: .1em;
}

.frame-title b {
  margin-right: auto;
}

.frame-title > i {
  width: 6px;
  height: 6px;
  border: 1px solid #49504b;
}

.frame-diamond {
  width: 12px;
  height: 12px;
  margin-right: 2px;
  border: 1px solid #c7cbc8;
  transform: rotate(45deg);
}

.frame-body {
  height: calc(100% - 38px);
  display: grid;
  grid-template-columns: 24% 1fr;
}

.frame-body aside {
  padding: 26px 13px;
  border-right: 1px solid #1d211e;
  background: #090b0a;
}

.mini-brand {
  margin: 0 0 38px 12px;
  display: block;
  color: #eee;
  font-size: 12px;
  font-weight: 800;
  line-height: .8;
  letter-spacing: .1em;
}

.mini-brand em {
  color: #5d635f;
  font-style: normal;
  font-weight: 500;
}

.frame-nav {
  height: 34px;
  margin-bottom: 5px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #454b47;
  border: 1px solid transparent;
  font-size: 6px;
  letter-spacing: .11em;
}

.frame-nav i {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.frame-nav.active {
  color: #d8ddd9;
  border-color: #333934;
  background: #111411;
}

.frame-content {
  padding: 24px 25px;
}

.micro {
  color: #3f4541;
  font-size: 6px;
  letter-spacing: .16em;
}

.frame-hero {
  position: relative;
  height: 63%;
  margin-top: 18px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #272c28;
  background:
    linear-gradient(115deg, #141814 0, #090b0a 65%),
    #090b0a;
}

.frame-hero::after {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -65px;
  bottom: -95px;
  content: "";
  border: 1px solid #343b35;
  box-shadow: 0 0 0 24px #0b0e0c, 0 0 0 25px #252a26, 0 0 0 49px #090b0a;
  transform: rotate(35deg);
}

.frame-hero > span {
  color: #444a46;
  font-size: 6px;
  letter-spacing: .13em;
}

.frame-hero strong {
  margin-top: 13px;
  display: block;
  font-size: clamp(26px, 3vw, 48px);
  line-height: .77;
  letter-spacing: -.06em;
}

.frame-hero strong em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px #515752;
}

.frame-hero button {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  width: 47%;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0a0c0b;
  border: 0;
  background: #e5e8e5;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .11em;
}

.frame-hero button i {
  width: 5px;
  height: 5px;
  background: #080a09;
  transform: rotate(45deg);
}

.frame-stats {
  height: calc(37% - 12px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.frame-stats span {
  padding: 13px;
  display: grid;
  align-content: center;
  gap: 5px;
  color: #cdd2ce;
  border: 1px solid #1f231f;
  border-top: 0;
  font-size: 8px;
}

.frame-stats small {
  color: #414743;
  font-size: 5px;
  letter-spacing: .14em;
}

.signal-bar {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.signal-bar > div {
  padding: 26px 22px;
  display: grid;
  align-content: center;
  gap: 9px;
  border-right: 1px solid var(--line);
}

.signal-bar > div:last-child {
  border-right: 0;
}

.signal-bar small {
  color: #4f5551;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: .14em;
}

.signal-bar strong {
  color: #aeb4b0;
  font-size: 11px;
  font-weight: 550;
}

.section-grid {
  padding: 100px 0;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.release-copy h2,
.security-strip h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 3.6vw, 57px);
  line-height: .98;
  letter-spacing: -.045em;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  background: linear-gradient(135deg, #111411 0, #0b0e0c 65%);
}

.feature-grid article > span,
.card-index {
  color: #484e4a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: .14em;
}

.feature-grid h3 {
  margin: 48px 0 13px;
  font-size: 17px;
}

.feature-grid p,
.release-copy p,
.security-strip p,
.control-card > p {
  color: #777e79;
  font-size: 12px;
  line-height: 1.75;
}

.release-panel {
  margin: 100px 0;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #333934;
  background:
    linear-gradient(115deg, #171b18 0, #0b0e0c 58%),
    #0b0e0c;
}

.release-copy {
  padding: clamp(36px, 5vw, 70px);
}

.release-copy p {
  max-width: 520px;
}

.checksum-link {
  margin-top: 25px;
  display: inline-block;
  color: #9ba19d;
  font-size: 9px;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.download-stack {
  display: grid;
  align-content: center;
  border-left: 1px solid #303631;
}

.download-stack > a {
  min-height: 112px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d6dad7;
  border-bottom: 1px solid #303631;
  text-decoration: none;
  transition: background .18s;
}

.download-stack > a:last-child {
  border-bottom: 0;
}

.download-stack > a:hover {
  background: #ffffff07;
}

.download-stack span {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}

.download-stack small {
  color: #5a605c;
  font-size: 7px;
  letter-spacing: .15em;
}

.download-stack b {
  color: #5b615d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.security-strip {
  min-height: 240px;
  padding: 42px clamp(30px, 5vw, 68px);
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--line);
  background: #0b0e0c;
}

.security-strip h2 {
  font-size: clamp(28px, 3vw, 44px);
}

.security-strip p {
  max-width: 700px;
  margin-bottom: 0;
}

.security-icon {
  position: relative;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid #343a36;
  transform: rotate(45deg);
}

.security-icon i {
  width: 34px;
  height: 42px;
  border: 1px solid #909792;
}

.security-icon span {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  transform: rotate(45deg);
}

.site-footer {
  min-height: 130px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #070908;
}

.wordmark.compact {
  transform: scale(.85);
  transform-origin: left;
}

.site-footer p {
  color: #4f5551;
  font-size: 9px;
  letter-spacing: .07em;
}

.site-footer nav {
  justify-self: end;
  display: flex;
  gap: 25px;
}

.site-footer nav a {
  color: #666c68;
  font-size: 9px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Authentication */

.auth-body,
.account-body {
  background:
    radial-gradient(circle at 18% 22%, #202621, transparent 30rem),
    #080a09;
}

.auth-nav {
  position: relative;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.auth-shell {
  width: min(1180px, calc(100% - 44px));
  min-height: calc(100vh - 150px);
  margin: 34px auto;
  display: grid;
  grid-template-columns: 1fr minmax(430px, .72fr);
  border: 1px solid var(--line);
  background: #0a0d0b;
  box-shadow: 0 35px 100px #0008;
}

.auth-visual {
  position: relative;
  min-height: 680px;
  padding: clamp(45px, 6vw, 85px);
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(145deg, #151a16 0, #090c0a 65%),
    #090c0a;
}

.auth-visual::after,
.login-copy::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: -170px;
  content: "";
  border: 1px solid #3a413b;
  box-shadow: 0 0 0 45px #0a0d0b, 0 0 0 46px #252b26, 0 0 0 91px #080a09;
  transform: rotate(35deg);
}

/* Кольцо непрозрачное и на узком экране накрывает всю панель, поэтому текст
   поднимаем над ним, а не полагаемся на порядок в потоке. */
.auth-visual > *,
.login-copy > * {
  position: relative;
  z-index: 1;
}

.auth-visual h1,
.login-copy h1 {
  margin-top: 80px;
  font-size: clamp(58px, 6vw, 92px);
}

.auth-diagram {
  position: absolute;
  z-index: 2;
  left: clamp(45px, 6vw, 85px);
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #646a66;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: .12em;
}

.auth-diagram i {
  width: 46px;
  height: 1px;
  background: #343a36;
}

.auth-card {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  background: #0b0e0c;
}

.auth-card header h2 {
  margin: 10px 0 8px;
  font-size: 35px;
  letter-spacing: -.04em;
}

.auth-card header p {
  margin: 0;
  color: #686f6a;
  font-size: 11px;
}

form {
  display: grid;
  gap: 17px;
}

.auth-card form {
  margin-top: 32px;
}

label {
  display: grid;
  gap: 7px;
}

label > span {
  color: #717773;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

label > span em {
  color: #4d534f;
  font-style: normal;
  font-weight: 500;
}

label small {
  color: #505652;
  font-size: 8px;
  line-height: 1.45;
}

input {
  width: 100%;
  height: 45px;
  padding: 0 13px;
  color: #e9ecea;
  border: 1px solid #303631;
  border-radius: 0;
  outline: 0;
  background: #0d100e;
  font-size: 12px;
  transition: border-color .18s, background .18s;
}

input:focus {
  border-color: #7c847e;
  background: #101411;
}

input:invalid:not(:placeholder-shown) {
  border-color: #684343;
}

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
}

.password-field input {
  border-right: 0;
}

.password-field button {
  padding: 0 12px;
  color: #737a75;
  border: 1px solid #303631;
  background: #121512;
  font-size: 8px;
  letter-spacing: .1em;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
  justify-content: space-between;
}

output {
  display: none;
  padding: 12px;
  color: #d7a5a5;
  border: 1px solid #5f3c3c;
  background: #1b1111;
  font-size: 10px;
  line-height: 1.55;
}

output.visible {
  display: block;
}

output.success {
  color: #c8d7ca;
  border-color: #3e5e44;
  background: #101a12;
}

.auth-card footer {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #5d635f;
  border-top: 1px solid #222723;
  font-size: 9px;
}

.auth-card footer a {
  color: #aeb4b0;
  text-decoration: none;
}

.trap-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Account dashboard */

.logout-button {
  font: inherit;
  cursor: pointer;
}

.account-shell {
  width: min(1380px, calc(100% - 44px));
  margin: 34px auto 70px;
}

.login-panel {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr minmax(420px, .65fr);
  border: 1px solid var(--line);
  background: #0a0d0b;
}

.login-copy {
  position: relative;
  padding: clamp(48px, 7vw, 100px);
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: linear-gradient(145deg, #151a16, #090b0a 68%);
}

.login-copy h1 {
  margin-top: 80px;
}

.login-card {
  min-height: 680px;
}

.auth-separator {
  position: relative;
  margin: 22px 0;
  display: grid;
  place-items: center;
  color: #4e5550;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: .18em;
}

.auth-separator::before {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  content: "";
  background: #252a26;
}

.auth-separator span {
  z-index: 1;
  padding: 0 12px;
  background: #0b0e0c;
}

.microsoft-button {
  width: 100%;
  min-height: 50px;
  justify-content: flex-start;
  gap: 14px;
  color: #dfe4e0;
  border-color: #3b423c;
  background: #121613;
  cursor: pointer;
}

.microsoft-button:hover,
.microsoft-button:focus-visible {
  border-color: #747c76;
  background: #171c18;
}

.microsoft-button b {
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.microsoft-mark {
  width: 20px;
  height: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.microsoft-mark i {
  display: block;
  background: #dce1dd;
}

.microsoft-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: #030504d9;
  backdrop-filter: blur(12px);
}

.microsoft-overlay[hidden] {
  display: none;
}

.microsoft-flow {
  width: min(440px, 100%);
  padding: 38px;
  display: grid;
  gap: 18px;
  border: 1px solid #454c46;
  background:
    linear-gradient(145deg, #171c18, #0a0d0b 70%),
    #0a0d0b;
  box-shadow: 0 35px 100px #000c;
}

.microsoft-flow > small {
  color: #69706b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: .16em;
}

.microsoft-flow > strong {
  padding: 20px;
  color: #f0f3f1;
  border: 1px solid #3b413c;
  background: #090b0a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(28px, 7vw, 42px);
  letter-spacing: .13em;
  text-align: center;
  user-select: all;
}

.microsoft-flow > p {
  margin: 0;
  color: #777e79;
  font-size: 11px;
  line-height: 1.65;
}

.microsoft-flow > .button {
  width: 100%;
  justify-content: space-between;
}

.flow-status {
  color: #8d958f;
  font-size: 9px;
  letter-spacing: .06em;
}

.flow-status.error {
  color: #d7a5a5;
}

.microsoft-flow > button {
  justify-self: start;
  padding: 0;
  color: #666d68;
  border: 0;
  background: transparent;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.dashboard-head {
  min-height: 190px;
  padding: 45px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(115deg, #151a16, #0a0d0b 60%);
}

.dashboard-head h1 {
  margin: 10px 0 8px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.055em;
}

.dashboard-head h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px #707772;
}

.dashboard-head p {
  margin: 0;
  color: #666d68;
  font-size: 11px;
}

.profile-badge {
  min-width: 260px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #363c37;
  background: #0b0e0c;
}

.profile-badge > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #080a09;
  background: #e5e9e5;
  font-size: 21px;
  font-weight: 800;
}

.profile-badge > div {
  display: grid;
  gap: 5px;
}

.profile-badge small {
  color: #59605b;
  font-size: 7px;
  letter-spacing: .14em;
}

.profile-badge strong {
  font-size: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.control-card {
  min-height: 420px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-top: 0;
  margin-right: -1px;
  background: #0b0e0c;
}

.control-card h2 {
  margin: 23px 0 25px;
  font-size: 28px;
  letter-spacing: -.035em;
}

.control-card dl {
  margin: 0 0 30px;
}

.control-card dl > div {
  min-height: 45px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  border-bottom: 1px solid #202521;
}

.control-card dt {
  color: #59605b;
  font-size: 9px;
}

.control-card dd {
  margin: 0;
  color: #cbd0cc;
  font-size: 11px;
}

.control-card code {
  overflow-wrap: anywhere;
  color: #8f9691;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.compact-form {
  max-width: 520px;
  gap: 13px;
}

.compact-form .button {
  width: 100%;
}

.security-state {
  margin: 24px 0;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #2b302c;
  background: #0e110f;
}

.minecraft-identity {
  margin: 24px 0;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #2b302c;
  background: #0e110f;
}

.minecraft-identity > div {
  display: grid;
  gap: 5px;
}

.minecraft-identity small {
  color: #535a55;
  font-size: 7px;
  letter-spacing: .14em;
}

.minecraft-identity strong {
  font-size: 11px;
}

.minecraft-card > .button {
  width: 100%;
  margin-top: 25px;
}

.security-state > div {
  display: grid;
  gap: 5px;
}

.security-state small {
  color: #535a55;
  font-size: 7px;
  letter-spacing: .14em;
}

.security-state strong {
  font-size: 11px;
}

.state-dot {
  width: 13px;
  height: 13px;
  border: 1px solid #6a706c;
  background: #292d2a;
  transform: rotate(45deg);
}

.state-dot.active {
  border-color: #eff3ef;
  background: #e7ebe7;
  box-shadow: 0 0 20px #dce2dc55;
}

.truce-card .switch-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
}

.truce-card .switch-row input {
  width: 15px;
  height: 15px;
  accent-color: #e7ebe7;
}

.truce-card .switch-row span {
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: none;
  color: #9aa29c;
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #535a55;
}

.truce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.truce-actions .button {
  flex: 1 1 150px;
  width: auto;
}

.action-delay {
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
}

.action-delay > span {
  font-size: 8px;
  letter-spacing: .18em;
  color: #535a55;
}

.action-delay select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #2b302c;
  background: #0e110f;
  color: #e7ebe7;
  font: inherit;
  font-size: 11px;
}

.settings-groups {
  margin-top: 22px;
  display: grid;
  gap: 26px;
}

.settings-group h3 {
  margin: 0 0 10px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #535a55;
}

.setting-row {
  min-height: 52px;
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #1b201d;
}

.setting-row > div {
  display: grid;
  gap: 3px;
}

.setting-row strong {
  font-size: 11px;
  font-weight: 500;
}

.setting-row small {
  font-size: 9px;
  line-height: 1.5;
  color: #6a716c;
}

.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 25px;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch i {
  position: absolute;
  inset: 0;
  border: 1px solid #2b302c;
  background: #0e110f;
  pointer-events: none;
  transition: border-color .15s, background .15s;
}

.switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  background: #6a706c;
  transition: left .15s, background .15s, box-shadow .15s;
}

.switch input:checked + i {
  border-color: #dce2dc;
  background: #171b18;
}

.switch input:checked + i::after {
  left: 24px;
  background: #e7ebe7;
  box-shadow: 0 0 14px #dce2dc66;
}

.switch input:disabled + i {
  opacity: .45;
}

.setting-number,
.setting-select {
  flex: none;
  width: 104px;
  padding: 8px 10px;
  border: 1px solid #2b302c;
  background: #0e110f;
  color: #e7ebe7;
  font: inherit;
  font-size: 11px;
}

.setting-select {
  width: 132px;
}

.server-card.offline .settings-groups {
  opacity: .55;
}

@media (max-width: 500px) {
  .setting-row {
    gap: 12px;
  }

  .setting-number,
  .setting-select {
    width: 92px;
  }
}

.two-factor-confirm {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #252a26;
}

.two-factor-confirm > p {
  color: #69706b;
  font-size: 10px;
  line-height: 1.65;
}

.secret-block {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border: 1px solid #343a35;
  background: #080a09;
}

.secret-block small {
  grid-column: 1 / -1;
  color: #4f5551;
  font-size: 7px;
  letter-spacing: .13em;
}

.secret-block code {
  color: #d5dad6;
  font-size: 11px;
  letter-spacing: .09em;
}

.secret-block button {
  color: #969d98;
  border: 0;
  background: transparent;
  font-size: 7px;
  letter-spacing: .1em;
  cursor: pointer;
}

.recovery-card pre {
  padding: 20px;
  color: #d5dad6;
  border: 1px solid #303631;
  background: #080a09;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .08em;
  user-select: all;
}

.admin-card {
  background:
    linear-gradient(145deg, #171c18, #0b0e0c 66%),
    #0b0e0c;
}

.admin-card .button {
  margin-top: 35px;
}

@media (max-width: 1100px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav > nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 90px 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .launcher-frame {
    width: min(780px, 100%);
  }

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

  .signal-bar > div:nth-child(2) {
    border-right: 0;
  }

  .signal-bar > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .security-strip {
    grid-template-columns: 90px 1fr;
  }

  .security-strip > .button {
    grid-column: 2;
    justify-self: start;
  }

  .auth-shell,
  .login-panel {
    grid-template-columns: 1fr minmax(390px, .8fr);
  }

  .auth-visual,
  .login-copy {
    padding: 48px;
  }
}

@media (max-width: 800px) {
  .site-nav {
    min-height: 70px;
  }

  .landing {
    padding-inline: 20px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button-primary {
    min-width: 0;
  }

  .launcher-frame {
    min-height: 300px;
    transform: none;
  }

  .frame-body {
    grid-template-columns: 1fr;
  }

  .frame-body aside {
    display: none;
  }

  .signal-bar {
    grid-template-columns: 1fr;
  }

  .signal-bar > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid,
  .release-panel,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .release-panel {
    margin-block: 70px;
  }

  .download-stack {
    border-top: 1px solid #303631;
    border-left: 0;
  }

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

  .security-icon {
    width: 65px;
    height: 65px;
  }

  .security-strip > .button {
    grid-column: auto;
  }

  .site-footer {
    padding-block: 35px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer nav {
    justify-self: start;
  }

  .auth-shell,
  .login-panel {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: 1fr;
  }

  .auth-visual,
  .login-copy {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-visual h1,
  .login-copy h1 {
    margin-top: 42px;
    font-size: 58px;
  }

  .auth-diagram {
    display: none;
  }

  .auth-card,
  .login-card {
    min-height: 600px;
    padding: 38px 28px;
  }

  .account-shell {
    width: min(100%, calc(100% - 24px));
  }

  .dashboard-head {
    padding: 34px 27px;
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-badge {
    width: 100%;
    min-width: 0;
  }

  .control-card {
    min-height: 0;
    margin-right: 0;
  }
}

@media (max-width: 500px) {
  .site-nav {
    padding-inline: 16px;
  }

  .wordmark strong,
  .wordmark b {
    font-size: 12px;
  }

  .nav-account {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .launcher-frame {
    aspect-ratio: .95;
  }

  .frame-content {
    padding: 18px;
  }

  .frame-hero {
    height: 67%;
  }

  .frame-stats {
    height: 33%;
  }

  .feature-grid {
    display: block;
  }

  .security-strip {
    padding: 30px 24px;
  }

  .auth-shell {
    margin-top: 12px;
  }

  .auth-visual,
  .login-copy {
    min-height: 270px;
    padding: 34px 28px;
  }

  /* На узкой панели от кольца остаётся только угол — иначе оно закрашивает фон целиком. */
  .auth-visual::after,
  .login-copy::after {
    width: 190px;
    height: 190px;
    right: -110px;
    bottom: -110px;
    box-shadow: 0 0 0 24px #0a0d0b, 0 0 0 25px #252b26, 0 0 0 48px #080a09;
  }

  .auth-visual h1,
  .login-copy h1 {
    font-size: 48px;
  }

  .auth-visual > p,
  .login-copy > p {
    font-size: 11px;
  }

  .control-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .secret-block {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Landing page */

body.landing-page {
  color: #eeeeec;
  background: #090909;
}

.landing-page::before {
  display: none;
}

.landing-page .site-shell {
  width: min(1320px, 100%);
  border-inline-color: #191919;
  background: #0a0a0a;
}

.landing-page .site-nav {
  min-height: 72px;
  padding-inline: clamp(20px, 4vw, 52px);
  border-bottom-color: #242424;
  background: #0a0a0af2;
}

.landing-page .site-nav nav {
  gap: clamp(20px, 3vw, 38px);
}

.landing-page .site-nav nav a,
.landing-page .nav-account {
  color: #929292;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.landing-page .nav-account {
  min-height: 38px;
  border-color: #313131;
  border-radius: 3px;
  background: #111;
}

.landing-page .landing {
  padding: 0 clamp(20px, 4vw, 52px) 64px;
}

.landing-hero {
  min-height: 620px;
  padding-block: 68px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
  border-bottom: 1px solid #242424;
}

.landing-kicker {
  color: #777;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.landing-hero h1 {
  margin: 20px 0;
  font-size: clamp(64px, 7.4vw, 106px);
  line-height: .88;
  letter-spacing: -.075em;
}

.landing-hero-copy > p:not(.platform-note) {
  max-width: 535px;
  margin: 0;
  color: #a0a09d;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
}

.landing-page .hero-actions {
  margin-top: 34px;
  gap: 10px;
}

.landing-page .button {
  min-height: 50px;
  padding-inline: 19px;
  gap: 22px;
  border-color: #343434;
  border-radius: 3px;
  color: #c2c2bf;
  background: #111;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.landing-page .button-primary {
  color: #0b0b0b;
  border-color: #ededeb;
  background: #ededeb;
}

.landing-page .button-primary small {
  color: #676767;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}

.landing-page .button-primary > i,
.landing-page .button-primary > span + i {
  width: 6px;
  height: 6px;
}

.platform-note {
  margin: 16px 0 0;
  color: #626262;
  font-size: 11px;
}

.app-preview {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #303030;
  border-radius: 4px;
  background: #0d0d0d;
  box-shadow: 0 32px 80px #0008;
}

.app-preview-bar {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5e5e5e;
  border-bottom: 1px solid #242424;
  font-size: 9px;
}

.app-preview-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bdbdb9;
  font-weight: 700;
  letter-spacing: .05em;
}

.app-preview-logo i {
  width: 12px;
  height: 12px;
  display: block;
  border: 1px solid #cfcfcb;
  transform: rotate(45deg);
}

.app-preview-body {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(120deg, #121212, #0c0c0c 70%);
}

.server-state {
  color: #858582;
  font-size: 10px;
}

.server-state i {
  width: 6px;
  height: 6px;
  margin-right: 5px;
  display: inline-block;
  border-radius: 50%;
  background: #a7b4a8;
  box-shadow: 0 0 0 4px #a7b4a812;
}

.app-preview-body > div small {
  color: #595959;
  font-size: 8px;
  letter-spacing: .12em;
}

.app-preview-body strong {
  margin-top: 11px;
  display: block;
  font-size: clamp(42px, 5vw, 66px);
  line-height: .76;
  letter-spacing: -.065em;
}

.app-preview-body strong em {
  color: #555;
  font-style: normal;
  font-weight: 500;
}

.app-preview-body p {
  margin: 16px 0 0;
  color: #6d6d6a;
  font-size: 10px;
}

.preview-play {
  width: min(270px, 70%);
  min-height: 43px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0b0b0b;
  border-radius: 2px;
  background: #ededeb;
  font-size: 11px;
  font-weight: 700;
}

.preview-play i {
  width: 6px;
  height: 6px;
  background: #111;
  transform: rotate(45deg);
}

.app-preview-footer {
  min-height: 75px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #242424;
}

.app-preview-footer > span {
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 6px;
  color: #b2b2ae;
  border-right: 1px solid #242424;
  font-size: 10px;
}

.app-preview-footer > span:last-child {
  border-right: 0;
}

.app-preview-footer small {
  color: #555;
  font-size: 7px;
  letter-spacing: .08em;
}

.event-section {
  padding: 46px clamp(24px, 4vw, 46px);
  margin: 60px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  border: 1px solid #242424;
  background: linear-gradient(120deg, #101310 0, #0a0c0a 70%);
}

.event-section.at-war {
  border-color: #5d1f1f;
  background: linear-gradient(120deg, #1a0b0b 0, #0c0808 70%);
}

.event-copy {
  display: grid;
  gap: 10px;
}

.event-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -.02em;
}

.event-section.at-war .event-copy h2 {
  color: #ff6b6b;
  text-shadow: 0 0 26px rgba(255, 80, 80, .25);
}

.event-copy p {
  margin: 0;
  font-size: 13px;
  color: #9aa29c;
}

.event-copy small {
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #646a66;
}

.event-clock {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-clock > div {
  min-width: 84px;
  padding: 15px 12px 11px;
  display: grid;
  gap: 6px;
  justify-items: center;
  border: 1px solid #262626;
  background: rgba(6, 6, 6, .85);
}

.event-section.at-war .event-clock > div {
  border-color: #4a1c1c;
}

.event-clock strong {
  font: 700 32px/1 ui-monospace, "JetBrains Mono", monospace;
}

.event-section.at-war .event-clock strong {
  color: #ff8080;
}

.event-clock small {
  font-size: 8px;
  letter-spacing: .18em;
  color: #7c7c7c;
}

@media (max-width: 720px) {
  .event-section {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    margin: 40px 0;
  }

  /* Четыре ячейки в один ряд: перенос последней на свою строку выглядел сломанным. */
  .event-clock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
  }

  .event-clock > div {
    min-width: 0;
    padding: 12px 4px 9px;
  }

  .event-clock strong {
    font-size: 22px;
  }

  .event-clock small {
    font-size: 7px;
    letter-spacing: .1em;
  }
}


.download-section h2,
.account-cta h2 {
  margin: 17px 0 0;
  font-size: clamp(35px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
}






.download-section {
  padding: 110px 0;
  border-bottom: 1px solid #242424;
}

.download-section > header {
  margin-bottom: 40px;
}

.download-section > header > p {
  margin: 14px 0 0;
  color: #777;
  font-size: 13px;
}

.platform-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.download-card {
  position: relative;
  min-height: 320px;
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-items: start;
  gap: 24px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #0e0e0e;
  transition: border-color .18s, background .18s;
}

.download-card.recommended {
  border-color: #555;
  background: #111;
}

.device-choice {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #858582;
  font-size: 9px;
}

.platform-icon {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.platform-icon i {
  display: block;
  background: #bcbcb8;
}

.platform-icon-apple {
  display: grid;
  place-items: center;
  color: #bcbcb8;
  font-family: "SF Pro Display", Arial, sans-serif;
  font-size: 31px;
}

.platform-icon-apple::before {
  content: "⌘";
}

.download-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.download-card p {
  margin: 0;
  color: #777;
  font-size: 12px;
}

.download-card .button {
  width: 100%;
  justify-content: space-between;
}

.portable-link {
  width: max-content;
  color: #6f6f6c;
  font-size: 10px;
  text-decoration: none;
}

.portable-link:hover,
.portable-link:focus-visible {
  color: #c8c8c4;
}

.download-card .mac-open-note {
  margin: -10px 0 0;
  color: #646461;
  font-size: 9px;
  line-height: 1.45;
}

.account-cta {
  min-height: 230px;
  margin-top: 64px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  border: 1px solid #2b2b2b;
  border-radius: 4px;
  background: #0e0e0e;
}

.account-cta h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
}

.account-cta p {
  margin: 12px 0 0;
  color: #777;
  font-size: 13px;
}

.account-cta > div:last-child {
  display: flex;
  gap: 10px;
}

.landing-page .site-footer {
  min-height: 112px;
  border-top-color: #242424;
  background: #090909;
}

.landing-page .site-footer p,
.landing-page .site-footer nav a {
  color: #626262;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 980px) {
  .landing-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .landing-hero-copy {
    padding-top: 18px;
  }

  .app-preview {
    min-height: 410px;
  }

}

@media (max-width: 720px) {
  .landing-page .site-nav {
    grid-template-columns: 1fr auto;
  }

  .landing-page .site-nav nav {
    display: none;
  }

  .landing-page .landing {
    padding-inline: 18px;
  }

  .landing-hero {
    padding-block: 54px;
    gap: 46px;
  }

  .landing-hero h1 {
    font-size: clamp(58px, 17vw, 86px);
  }

  .landing-page .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-page .hero-actions .button {
    width: 100%;
  }

  .app-preview-body {
    min-height: 285px;
    padding: 24px;
  }

  .app-preview-footer {
    grid-template-columns: 1fr;
  }

  .app-preview-footer > span {
    min-height: 52px;
    border-right: 0;
    border-bottom: 1px solid #242424;
  }

  .app-preview-footer > span:last-child {
    border-bottom: 0;
  }

  .download-section {
    padding-block: 78px;
  }

  .platform-downloads {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: 295px;
  }

  html[data-platform="macos"] .download-card[data-platform-card="macos"],
  html[data-platform="windows"] .download-card[data-platform-card="windows"] {
    order: -1;
  }

  .account-cta {
    padding: 30px 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .account-cta > div:last-child {
    flex-direction: column;
  }

  .account-cta .button {
    width: 100%;
  }

  .landing-page .site-footer {
    padding-block: 32px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .landing-page .site-footer nav {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .landing-page .site-nav {
    padding-inline: 14px;
  }

  .landing-page .nav-account {
    padding-inline: 10px;
    font-size: 9px;
  }

  .landing-page .landing {
    padding-inline: 14px;
  }

  .app-preview {
    min-height: 390px;
  }

  .preview-play {
    width: 100%;
  }

  .download-card {
    padding: 26px 22px;
  }
}
