:root {
  color-scheme: dark;
  --ink: #f6f8ff;
  --muted: #a8b0c5;
  --faint: #77819b;
  --line: rgba(194, 207, 255, 0.16);
  --panel: rgba(18, 25, 51, 0.68);
  --blue: #79a4ff;
  --blue-deep: #446ceb;
  --mint: #9de3ce;
  --background: #070b1b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  background-image: radial-gradient(circle at 82% 9%, rgba(55, 89, 205, 0.18), transparent 24rem), radial-gradient(circle at 15% 36%, rgba(48, 96, 169, 0.11), transparent 28rem);
}
a { color: inherit; text-decoration: none; }

.site-header, main, footer {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; letter-spacing: -0.025em; }
.brand-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: linear-gradient(145deg, #91b3ff, #4b6fe8 62%, #2d4196); box-shadow: 0 5px 18px rgba(80, 115, 255, 0.3); font-size: 15px; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.app-switcher { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(20, 28, 57, 0.58); }
.app-switch-button { padding: 7px 10px; border: 0; border-radius: 7px; color: var(--faint); background: transparent; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.app-switch-button:hover { color: var(--ink); }
.app-switch-button[aria-pressed="true"] { color: #07112d; background: #9bb9ff; box-shadow: 0 2px 9px rgba(50, 84, 187, 0.28); }
nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--ink); }

.hero { min-height: 370px; padding: 28px 0 34px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 74px; }
.eyebrow { margin: 0 0 14px; color: var(--mint); font-size: 12px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 17px; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -0.066em; }
.hero-description { max-width: 520px; margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.recommended-download { width: min(100%, 410px); }
.system-status { display: flex; align-items: center; gap: 9px; min-height: 22px; margin-bottom: 10px; color: var(--mint); font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(157, 227, 206, 0.1); }
.download-main { display: flex; min-height: 58px; padding: 0 19px 0 22px; align-items: center; justify-content: space-between; gap: 16px; border-radius: 15px; background: linear-gradient(120deg, #779dff, #597cea); color: #06102b; font-size: 16px; font-weight: 760; box-shadow: 0 16px 32px rgba(66, 101, 230, 0.29); transition: transform 160ms ease, box-shadow 160ms ease; }
.download-main:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(66, 101, 230, 0.42); }
.download-main.is-unavailable { color: #d4ddf7; background: rgba(65, 81, 132, 0.58); box-shadow: none; cursor: not-allowed; }
.download-main.is-unavailable:hover { transform: none; box-shadow: none; }
.arrow { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: rgba(4, 19, 60, 0.14); font-size: 18px; }
.manual-link { margin: 11px 3px 0; padding: 0; border: 0; color: var(--faint); background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.manual-link:hover { color: var(--blue); }
.download-meta { min-height: 18px; margin: 9px 3px 0; color: var(--faint); font-size: 12px; line-height: 1.45; }

.hero-visual { position: relative; display: grid; min-height: 300px; place-items: center; isolation: isolate; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); z-index: -1; }
.orb-one { width: 320px; height: 320px; background: radial-gradient(circle at 33% 29%, rgba(149, 190, 255, 0.92), rgba(81, 112, 236, 0.38) 34%, rgba(18, 27, 74, 0) 70%); }
.orb-two { width: 240px; height: 240px; transform: translate(95px, 83px); background: radial-gradient(circle, rgba(47, 101, 234, 0.45), rgba(30, 55, 159, 0) 70%); }
.assistant-card { width: min(100%, 350px); padding: 17px; border: 1px solid rgba(212, 221, 255, 0.25); border-radius: 22px; background: linear-gradient(138deg, rgba(37, 49, 94, 0.75), rgba(17, 23, 53, 0.88)); box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34); backdrop-filter: blur(18px); }
.card-topline { display: flex; align-items: center; gap: 8px; color: #d8e1ff; font-size: 12px; font-weight: 680; }
.card-time { margin-left: auto; color: #8290b2; font-weight: 500; }
.pulse { width: 8px; height: 8px; border-radius: 4px; background: #a3f1dc; box-shadow: 0 0 14px #a3f1dc; }
.assistant-card > p { margin: 23px 4px 17px; font-size: 22px; font-weight: 680; letter-spacing: -0.04em; }
.suggestion-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.suggestion-row span { padding: 8px 10px; border: 1px solid rgba(208, 220, 255, 0.15); border-radius: 8px; color: #cad4f5; background: rgba(10, 15, 35, 0.32); font-size: 12px; }
.prompt-line { display: flex; padding: 12px 10px 12px 14px; align-items: center; border: 1px solid rgba(220, 229, 255, 0.14); border-radius: 10px; color: #7885a8; background: rgba(8, 13, 32, 0.7); font-size: 12px; }
.prompt-line b { display: grid; width: 21px; height: 21px; margin-left: auto; place-items: center; border-radius: 6px; color: #152253; background: #aac5ff; }

.download-section, .release-section { padding: 58px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 29px; }
.release-heading { margin-bottom: 21px; }
h2 { margin: 0; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.1; letter-spacing: -0.055em; }
.section-heading > p { max-width: 330px; margin: 0 0 3px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.manual-toggle { min-width: 148px; padding: 11px 13px 11px 15px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(27, 36, 70, 0.54); font: inherit; font-size: 13px; cursor: pointer; transition: border-color 160ms ease, color 160ms ease, background 160ms ease; }
.manual-toggle:hover { border-color: rgba(155, 184, 255, 0.48); color: var(--ink); background: rgba(38, 50, 91, 0.72); }
.manual-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.manual-intro { margin: -7px 0 20px; color: var(--muted); font-size: 14px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.download-card { position: relative; min-height: 236px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.download-card:hover { transform: translateY(-3px); border-color: rgba(155, 184, 255, 0.48); background: rgba(30, 40, 80, 0.7); }
.download-card.is-recommended { border-color: rgba(145, 182, 255, 0.72); box-shadow: inset 0 0 0 1px rgba(129, 169, 255, 0.13), 0 15px 45px rgba(28, 62, 175, 0.17); }
.recommendation { position: absolute; top: 15px; right: 15px; padding: 5px 8px; border-radius: 6px; color: #c5d4ff; background: rgba(109, 143, 246, 0.18); font-size: 11px; font-weight: 690; }
.platform-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 35px; border-radius: 12px; color: #dbe5ff; background: rgba(125, 157, 255, 0.12); font-size: 25px; }
.download-card h3 { margin-bottom: 6px; font-size: 18px; letter-spacing: -0.035em; }
.download-card p { margin-bottom: 18px; color: var(--faint); font-size: 13px; }
.card-download { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 13px; font-weight: 720; }
.card-download:hover { color: #b9ccff; }
.card-download.is-unavailable { color: var(--faint); }

.release-section { padding-bottom: 54px; }
.release-list { border-top: 1px solid var(--line); }
.release-item { border-bottom: 1px solid var(--line); }
.release-toggle { width: 100%; padding: 23px 5px; display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 20px; border: 0; color: var(--ink); background: transparent; text-align: left; font: inherit; cursor: pointer; }
.release-toggle:hover .release-version { color: var(--blue); }
.release-version { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; transition: color 150ms ease; }
.release-version small { padding: 4px 7px; border-radius: 5px; color: var(--mint); background: rgba(116, 217, 183, 0.12); font-size: 10px; letter-spacing: 0.04em; }
time { color: var(--faint); font-size: 13px; }
.chevron { color: var(--muted); font-size: 20px; transition: transform 160ms ease; }
.release-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.release-content { padding: 0 5px 25px; color: var(--muted); }
.release-content ul { margin: 0; padding-left: 19px; }
.release-content li { padding: 5px 0; font-size: 14px; line-height: 1.5; }

footer { min-height: 84px; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }

@media (max-width: 800px) {
  .header-actions { gap: 16px; }
  .hero { min-height: auto; padding: 46px 0 52px; grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { display: none; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 480px; margin-top: 13px; }
  .manual-toggle { margin-top: 20px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 190px; }
  .platform-icon { margin-bottom: 24px; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 32px, 1160px); }
  .site-header { height: auto; min-height: 69px; padding: 13px 0; align-items: flex-start; }
  .brand { padding-top: 7px; font-size: 13px; }
  .header-actions { flex-direction: column; align-items: flex-end; gap: 8px; }
  .app-switch-button { padding: 6px 8px; font-size: 11px; }
  nav { gap: 17px; font-size: 13px; }
  .hero { padding-top: 38px; }
  h1 { font-size: 42px; }
  .hero-description { font-size: 16px; }
  .hero-visual { min-height: 280px; }
  .assistant-card { transform: scale(0.92); }
  .download-section, .release-section { padding: 48px 0; }
  .release-toggle { grid-template-columns: 1fr 22px; gap: 9px; }
  time { grid-column: 1; grid-row: 2; }
  .chevron { grid-column: 2; grid-row: 1 / span 2; }
  footer { align-items: flex-start; flex-direction: column; gap: 7px; }
}

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