:root {
  color-scheme: dark;
  --ink: #f5f3f2;
  --muted: #b3afb2;
  --soft: #cecbcd;
  --line: #2c2c31;
  --panel: #18181c;
  --black: #101013;
  --accent: #ff675e;
  --action: #fb5148;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--black);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, input:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #ffd4ce;
  outline-offset: 4px;
}
.wrap { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); background: #121215; }
.bar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--muted); font-weight: 550; }
.mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--action); color: #170707; font-weight: 900; }
.languages { display: flex; gap: 3px; }
.languages a { display: grid; min-width: 44px; min-height: 44px; place-items: center; border-radius: 7px; font-weight: 650; font-size: 13px; text-decoration: none; color: var(--muted); }
.languages a[aria-current] { color: var(--ink); background: #232328; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(294px, 1fr);
  grid-template-rows: auto 1fr; align-items: start; column-gap: clamp(24px, 4vw, 54px);
  row-gap: 26px; margin-block: clamp(38px, 6vw, 82px) 0;
}
.intro { grid-column: 1; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .10em; color: var(--accent); }
.version { border: 1px solid #45434a; border-radius: 5px; padding: 3px 7px; font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }
h1 { margin: 12px 0 14px; font-size: clamp(42px, 5.9vw, 84px); line-height: .98; letter-spacing: -.055em; overflow-wrap: anywhere; }
.summary { margin: 0; max-width: 48ch; font-size: clamp(16px, 1.7vw, 21px); color: var(--soft); line-height: 1.5; }
.access { grid-column: 2; grid-row: 1 / 3; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid #e54e47; border-radius: 15px; padding: clamp(18px, 3vw, 30px); min-width: 0; }
.state-dot { width: 7px; height: 7px; border-radius: 2px; background: currentColor; flex: none; }
.unlocked { color: #9be0bd; }
h2 { margin: 9px 0 8px; font-size: clamp(20px, 2.5vw, 31px); line-height: 1.18; letter-spacing: -.035em; }
.muted { margin: 0; color: var(--muted); line-height: 1.48; }
.login { margin-top: 26px; display: grid; gap: 10px; }
.login label { font-size: 14px; font-weight: 640; }
.login input { width: 100%; min-height: 50px; background: #101013; border: 1px solid #55525a; border-radius: 8px; color: var(--ink); padding: 10px 12px; font-size: 16px; }
.primary { display: flex; min-height: 50px; margin-top: 4px; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 15px; border: 0; border-radius: 8px; background: var(--action); color: #170707; font-weight: 800; text-align: left; }
.primary:hover { background: #ff766e; }
.error { margin: 0; color: #ffa79e; line-height: 1.4; font-size: 14px; }
.files { margin-top: 20px; display: grid; gap: 9px; }
.file { display: flex; align-items: center; gap: 11px; padding: 9px 11px; min-height: 62px; background: #222227; border: 1px solid #3c3c43; border-radius: 9px; text-decoration: none; }
.file:hover { border-color: var(--accent); }
.file strong, .file small { display: block; line-height: 1.4; }
.file small { color: var(--muted); font-variant-numeric: tabular-nums; }
.file-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 7px; background: #3b2426; color: #ff9a92; font-size: 21px; }
.file-arrow { margin-left: auto; color: var(--muted); }
.install { margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.quiet { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--soft); text-decoration: underline; text-underline-offset: 4px; }
details summary { cursor: pointer; min-height: 44px; align-content: center; }
.shot { grid-column: 1; margin: 0; min-width: 0; border: 1px solid var(--line); background: #16161a; border-radius: 12px; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 13px; padding: 10px 13px; color: var(--muted); }
.info { display: grid; grid-template-columns: 1.72fr 1fr; gap: clamp(24px, 4vw, 54px); margin-block: 36px 54px; }
.info section { border-top: 1px solid var(--line); padding-top: 12px; }
.info h2 { font-size: 18px; }
.info p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 20px 30px; color: var(--muted); font-size: 13px; }
.error-page { min-height: 54vh; padding-block: 48px; }
.error-page h1 { font-size: clamp(34px, 5vw, 58px); max-width: 22ch; line-height: 1.09; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 60px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; margin-top: 34px; gap: 22px; }
  .access { grid-column: 1; grid-row: auto; }
  .info { grid-template-columns: 1fr; gap: 18px; margin-block: 24px 36px; }
  .login { margin-top: 20px; }
}
