@font-face { font-family: Roboto; src: url('/assets/Roboto-Regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Roboto; src: url('/assets/Roboto-Bold.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
:root { color-scheme: dark; font-family: Roboto, Arial, sans-serif; color: #f4f7ff; background: #060b20; font-synthesis: none; --cyan: #40e8ff; --violet: #e899ff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: #060b20 center / cover no-repeat; pointer-events: none; }
.home::before { background-image: url('/assets/home-scene.jpg'); }
.downloads::before { background-image: linear-gradient(#02061912, #02061926), url('/assets/download-scene.jpg'); }
a { color: inherit; }
button, summary { font: inherit; }
svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.brand { display: block; margin: 0 auto; }
.brand img { width: 100%; height: auto; display: block; }
.entrance { min-height: 100svh; padding: clamp(32px, 6vh, 70px) 24px 180px; display: flex; align-items: center; flex-direction: column; }
.home-brand { width: clamp(300px, 32vw, 460px); max-width: 100%; }
.entrance-actions { display: flex; gap: clamp(20px, 3vw, 42px); margin-top: 26px; }
.console-button { --accent: var(--cyan); position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 76px; padding: 16px 28px; border: 1px solid var(--accent); border-radius: 16px 5px 16px 5px; background: linear-gradient(180deg, #112c4ce6, #031126f5 50%, #133552e8); box-shadow: inset 0 0 0 3px #021322, inset 0 0 18px #31cfff33, 0 0 9px #2bd8ff55; color: #fff; font-size: 32px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease; }
.console-button::before, .console-button::after { content: ''; position: absolute; width: 6px; height: 25px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 9px var(--accent); top: calc(50% - 12px); }
.console-button::before { left: 10px; }
.console-button::after { right: 10px; }
.console-button.violet { --accent: var(--violet); background: linear-gradient(180deg, #381c52ed, #140c29f5 50%, #35214deb); box-shadow: inset 0 0 0 3px #150f26, inset 0 0 18px #d12bff2b, 0 0 9px #cd6cff66; }
.entrance-actions .console-button { width: clamp(240px, 26vw, 360px); }
.entrance-actions svg { width: 35px; height: 35px; }
.console-button:hover:not(:disabled), summary.console-button:hover { box-shadow: inset 0 0 0 3px #101b30, inset 0 0 22px #ffffff18, 0 0 17px color-mix(in srgb, var(--accent) 65%, transparent); transform: translateY(-2px); }
.console-button:active:not(:disabled) { transform: translateY(1px); }
.console-button:disabled { cursor: not-allowed; color: #c1b6d3; border-color: #816297; box-shadow: inset 0 0 0 3px #150f26; background: #1b142a; }
.console-button:disabled::before, .console-button:disabled::after { background: #816297; box-shadow: none; }
.download-content { width: min(1120px, calc(100% - 96px)); min-height: 100svh; margin: 0 auto; padding: 26px 0 64px; }
.download-brand { width: 240px; }
.download-title { display: flex; align-items: center; justify-content: center; gap: 16px; width: fit-content; margin: 12px auto 26px; font-size: 38px; font-weight: 700; line-height: 1.2; }
.download-title svg { width: 35px; height: 35px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.platform { min-height: 354px; padding: 24px 22px 26px; text-align: center; border: 1px solid #c18af2; border-radius: 26px; background: linear-gradient(155deg, #17192cec, #080d20f5); box-shadow: inset 0 1px 9px #e4a1ff38, 0 0 14px #a144ef42; }
.web-card { border-color: #54e8ff; box-shadow: inset 0 1px 9px #58e7ff38, 0 0 14px #00d8ff35; }
.platform-icon { height: 56px; width: 56px; color: #c99aff; stroke-width: 2; filter: drop-shadow(0 0 5px #bd7aff55); }
.web-card .platform-icon { color: #66ecff; }
.android-card .platform-icon { color: #a7f2ac; }
.robot-eyes { stroke-width: 3; }
h2 { margin: 12px 0 10px; font-size: 30px; line-height: 1.2; }
.platform > p { margin: 0 0 24px; color: #e4e7f2; font-size: 18px; line-height: 1.45; }
.card-button { width: 100%; min-height: 54px; padding: 12px 20px; font-size: 19px; gap: 10px; border-radius: 14px 4px 14px 4px; }
.card-button::before, .card-button::after { display: none; }
.card-button svg { height: 22px; width: 22px; }
.platform .platform-status { margin: 14px 0 10px; font-size: 14px; line-height: 1.5; color: #d1c6e3; }
.platform-status span { color: #aebbd4; }
.guide { margin-top: 12px; }
.guide summary { min-height: 44px; padding: 10px 0; color: #eee5ff; cursor: pointer; font-size: 16px; text-underline-offset: 4px; }
.guide summary:hover { text-decoration: underline; }
.guide summary::marker { color: #d6a8ff; font-size: 12px; }
.guide-content { text-align: left; color: #d9e2f1; font-size: 15px; line-height: 1.65; margin-top: 12px; padding-top: 4px; border-top: 1px solid #b49cda42; }
.guide-content p { margin: 12px 0 0; }
.guide-content ol { padding-left: 20px; }
.guide-content li { margin: 10px 0; }
.iphone-guide { margin-top: 0; }
.iphone-guide summary { padding: 12px 18px; font-size: 19px; }
.iphone-guide summary::-webkit-details-marker { display: none; }
.download-footer { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; }
.home-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #4ddfff; border-radius: 24px; padding: 8px 22px; text-decoration: none; background: #061526ed; box-shadow: 0 0 8px #37e9ff33; }
.home-link svg { color: var(--cyan); }
.home-link:hover { background: #12314b; }
.download-footer p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px 10px 24px; background: #061526e8; border-radius: 0 10px 10px 0; border-left: 1px solid #4ddfff80; font-size: 15px; line-height: 1.5; text-shadow: 0 1px 8px #000; }
.download-footer p svg { color: #50dfff; }
@media (min-width: 1800px) { .entrance { padding-top: 8vh; } .home-brand { width: 32vw; max-width: 530px; } }
@media (max-width: 900px) {
  .download-content { width: min(700px, calc(100% - 48px)); }
  .platforms { gap: 14px; }
  .platform { padding: 20px 14px; }
  .card-button, .iphone-guide summary { font-size: 16px; padding: 12px 10px; }
  .card-button svg { width: 18px; }
  .platform > p { font-size: 16px; }
  .download-footer { gap: 16px; }
  .download-footer p { padding-left: 16px; }
}
@media (max-width: 700px) {
  .home::before { background-position: 50% 100%; }
  .entrance { padding: max(44px, 7svh) 24px 260px; }
  .home-brand { width: 310px; }
  .entrance-actions { flex-direction: column; gap: 18px; margin-top: 26px; width: min(310px, 100%); }
  .entrance-actions .console-button { width: 100%; min-height: 62px; font-size: 26px; }
  .entrance-actions svg { width: 29px; height: 29px; }
  .download-content { width: min(430px, calc(100% - 40px)); padding: 24px 0 44px; }
  .download-brand { width: 180px; }
  .download-title { font-size: 32px; margin: 10px auto 24px; }
  .platforms { grid-template-columns: 1fr; gap: 20px; }
  .platform { min-height: auto; padding: 26px 24px; }
  .platform > p { font-size: 17px; }
  .card-button, .iphone-guide summary { font-size: 19px; padding: 13px 16px; }
  .card-button svg { width: 23px; }
  .download-footer { flex-direction: column; gap: 16px; margin-top: 24px; }
  .download-footer p { padding: 10px 12px; border-radius: 10px; border: 0; font-size: 14px; text-align: center; }
  .download-footer p svg { width: 20px; }
}
@media (max-width: 350px) { .entrance { padding-left: 20px; padding-right: 20px; } .platform { padding: 24px 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } .console-button:hover:not(:disabled), .console-button:active:not(:disabled) { transform: none; } }
