@font-face {
  font-family: Oswald;
  src: url("./oswald-cyrillic-600-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Oswald;
  src: url("./oswald-latin-600-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191-2199;
}
@font-face {
  font-family: Inter;
  src: url("./inter-cyrillic-400-normal.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url("./inter-latin-400-normal.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191-2199;
}

:root {
  color-scheme: dark;
  --navy: #13283f;
  --light: #f7f8fa;
  --ink: #13283f;
  --muted: #d0dbe7;
  --dark-muted: #475a70;
  --rule: #ffffff31;
  --paper-rule: #cbd5df;
  --accent: #ff823f;
  --action: #ff6a21;
  font:
    400 16px/1.6 Inter,
    system-ui,
    sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--light);
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #52aaf0;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
}
h2 {
  max-width: 26ch;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
}
h3,
dt {
  font-weight: 700;
  line-height: 1.3;
}
dd,
.section-lead {
  color: var(--muted);
}
.wrap {
  width: min(1260px, 100% - clamp(32px, 6vw, 96px));
  margin-inline: auto;
}
.section {
  padding-block: clamp(48px, 7vw, 104px);
}
.section-lead {
  max-width: 64ch;
  margin-top: 16px;
}
.skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 5;
  background: white;
  color: var(--ink);
  padding: 8px 16px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.header {
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  min-height: 82px;
}
.brand {
  width: fit-content;
  display: grid;
  font-size: 21px;
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.brand-dot {
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin-left: 0.22em;
  border-radius: 50%;
  vertical-align: top;
  background: var(--action);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.875rem;
}
.nav a,
.language a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}
.language {
  display: flex;
  border: 1px solid var(--rule);
  padding: 3px;
  border-radius: 9px;
}
.language a {
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 700;
}
.language [aria-current] {
  background: var(--light);
  color: var(--ink);
}
.hero {
  padding-top: clamp(44px, 7vw, 92px);
}
.kicker {
  color: var(--muted);
  font-size: 0.875rem;
}
.kicker > span[aria-hidden] {
  color: var(--accent);
  margin-inline: 0.35em;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.48fr 1fr;
  gap: clamp(20px, 5vw, 72px);
  align-items: end;
  margin-block: 30px clamp(38px, 6vw, 80px);
}
.hero h1 {
  font-size: clamp(3.05rem, 5.3vw, 5.45rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero h1 span {
  display: block;
}
.hero h1 span + span {
  color: var(--accent);
}
.hero-grid p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 37ch;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
}
.actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}
.primary {
  color: #172536;
  background: var(--action);
}
.primary:hover {
  background: var(--accent);
}
.outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.screen {
  overflow: hidden;
  border: 1px solid var(--paper-rule);
  border-radius: 14px;
  background: #e9eff6;
  color: var(--ink);
  min-width: 0;
}
.screen-top,
figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-size: 0.8rem;
}
.screen-top {
  min-height: 36px;
}
.screen-indicator {
  width: 8px;
  height: 8px;
  border: 1px solid var(--dark-muted);
  border-radius: 50%;
  margin-inline: 3px;
}
.screen-image {
  display: block;
  cursor: zoom-in;
}
.screen-image:focus-visible {
  outline-offset: -4px;
}
.screen-image img {
  width: 100%;
}
figcaption a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: none;
}
.flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  gap: 22px;
  padding: 0;
  margin: 27px 0 0;
  counter-reset: rental;
}
.flow li {
  counter-increment: rental;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.flow li::before {
  content: "0" counter(rental);
  color: var(--accent);
  font-weight: 700;
}
.flow h3 {
  margin-top: 8px;
}
.flow p {
  color: var(--muted);
  margin-top: 8px;
}
.paper {
  background: var(--light);
  color: var(--ink);
  color-scheme: light;
}
.paper dd,
.paper .section-lead,
.paper li {
  color: var(--dark-muted);
}
.site-grid,
.control {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}
.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.feature-list > div {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.paper .feature-list > div,
.module-grid > div,
.status-grid > div {
  border-color: var(--paper-rule);
}
dd {
  margin-top: 6px;
}
.screen-switch:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 24px 14px;
}
.screen-switch button {
  min-height: 44px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 6px 14px;
  background: transparent;
  color: inherit;
}
.screen-switch [aria-pressed="true"] {
  background: var(--light);
  color: var(--ink);
}
.gallery-panel + .gallery-panel:not([hidden]) {
  margin-top: 18px;
}
.screen-note {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.875rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 36px;
  margin-top: 28px;
}
.module-grid > div,
.status-grid > div {
  border-top: 1px solid var(--paper-rule);
  padding-top: 16px;
}
.control {
  align-items: start;
}
.control .feature-list {
  margin-top: 0;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.status-grid ul {
  margin-bottom: 0;
  padding-left: 1.25em;
}
.status-grid li + li {
  margin-top: 6px;
}
.footer {
  border-top: 1px solid var(--rule);
  padding-block: 20px;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}
#viewer {
  width: min(1320px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--navy);
  color: var(--light);
}
#viewer::backdrop {
  background: #091421dc;
}
.viewer-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.viewer-head h2 {
  font:
    700 1rem/1.3 Inter,
    sans-serif;
}
#viewer img {
  width: 100%;
  height: auto;
}
#viewer .viewer-scroll {
  overflow: auto;
}
@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    row-gap: 0;
    padding-top: 10px;
  }
  .nav {
    grid-row: 2;
    grid-column: 1 / -1;
    gap: 6px 16px;
  }
  .hero-grid,
  .site-grid,
  .control {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    margin-top: 18px;
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 9.5vw, 4rem);
  }
  .flow ol,
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  #viewer img {
    min-width: min(900px, 180vw);
  }
}
@media (max-width: 460px) {
  .screen-top,
  figcaption {
    padding-inline: 9px;
    font-size: 0.7rem;
  }
  .status-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
}
@media print {
  :root {
    color-scheme: light;
    --navy: white;
    --light: #13283f;
    --muted: #253d54;
    --rule: #cbd5df;
    --accent: #98410c;
  }
  body,
  .paper {
    background: white;
  }
  .header,
  .footer,
  .actions,
  .skip,
  .screen-switch,
  figcaption a,
  dialog {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .hero {
    padding-top: 0;
  }
  .section {
    padding-block: 24px;
  }
  .hero-grid {
    grid-template-columns: 1.45fr 1fr;
    gap: 16px;
    margin-block: 14px 20px;
  }
  .hero h1 {
    font-size: 36pt;
  }
  h2 {
    font-size: 25pt;
  }
  .screen,
  li,
  .module-grid > div {
    break-inside: avoid;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  .gallery-panel[hidden] {
    display: block !important;
    margin-top: 14px;
  }
}
