:root {
  color-scheme: dark;
  --bg: #080b12;
  --bg-deep: #05070b;
  --surface: #0d121c;
  --surface-raised: #121926;
  --surface-soft: rgba(20, 29, 44, 0.72);
  --text: #f5f8ff;
  --text-soft: #a8b3c7;
  --text-dim: #6f7b91;
  --blue: #4d6bfe;
  --blue-bright: #6f87ff;
  --cyan: #6bc8ff;
  --line: rgba(208, 223, 255, 0.12);
  --line-strong: rgba(208, 223, 255, 0.22);
  --success: #67e8b5;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --page: min(1180px, calc(100vw - 48px));
  --display: "Arial Nova", "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: linear-gradient(180deg, #08101d 0%, var(--bg) 32%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-atmosphere {
  position: absolute;
  inset: 0 0 auto;
  height: 980px;
  overflow: hidden;
  pointer-events: none;
}

.page-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(135, 166, 226, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 166, 226, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.7) 58%, transparent 96%);
}

.light-field {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.36;
}

.light-field-a {
  top: -210px;
  right: -80px;
  width: 760px;
  height: 620px;
  background: radial-gradient(circle at 38% 50%, #76baff 0, #315eea 32%, transparent 70%);
  transform: rotate(-14deg);
}

.light-field-b {
  top: 270px;
  left: -240px;
  width: 600px;
  height: 520px;
  background: radial-gradient(circle, rgba(49, 101, 229, 0.78), transparent 67%);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  height: 78px;
  pointer-events: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--page);
  height: 78px;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 0;
  pointer-events: auto;
  transition:
    width 260ms cubic-bezier(0.22, 1, 0.36, 1),
    height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    border-radius 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled .header-inner {
  width: min(1160px, calc(100vw - 32px));
  height: 64px;
  padding: 0 16px;
  border-color: var(--line);
  border-radius: 18px;
  background: rgba(8, 12, 20, 0.82);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(125%);
  transform: translateY(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
}

.brand-wordmark {
  width: 128px;
  height: auto;
  filter: brightness(0) invert(1);
}

.harness-badge {
  padding: 2px 5px;
  border: 1px solid rgba(240, 245, 255, 0.55);
  border-radius: 2px;
  color: #f4f7fd;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

.community-chip {
  margin-left: 4px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-soft);
  font-size: 13px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-github {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 12px;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-repositories {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
}

.language-switcher button {
  min-width: 31px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--text-dim);
  font: 650 10px/1 var(--body);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-switcher button:hover {
  color: var(--text);
}

.language-switcher button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(111, 135, 255, 0.98), rgba(63, 94, 239, 0.98));
  box-shadow: 0 4px 14px rgba(63, 94, 239, 0.25);
  color: #fff;
}

.language-switcher button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.header-official {
  background: transparent;
}

.header-github:hover {
  border-color: var(--line-strong);
  color: var(--text);
  transform: translateY(-1px);
}

.header-github svg {
  width: 15px;
  fill: currentColor;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 70px;
  width: var(--page);
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 72px 0 104px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.identity-label,
.section-kicker,
.feature-label,
.notice-index {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.identity-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 7px 11px;
  border: 1px solid rgba(107, 200, 255, 0.22);
  border-radius: 99px;
  background: rgba(36, 93, 163, 0.14);
  color: #bedcff;
  font-size: 10px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(103, 232, 181, 0.1);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 5.8vw, 88px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 .windows-word {
  color: transparent;
  background: linear-gradient(115deg, #fff 0%, #a9c9ff 45%, #6789ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 580px;
  margin: 29px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 248px;
  height: 62px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button > svg:first-child {
  width: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

html[lang="en"] .hero h1 {
  font-size: clamp(52px, 5.3vw, 82px);
  letter-spacing: -0.055em;
}

.button small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue-bright), #3f5eef);
  box-shadow: 0 18px 42px rgba(47, 77, 214, 0.28), inset 0 1px rgba(255, 255, 255, 0.24);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 22px 52px rgba(47, 77, 214, 0.36), inset 0 1px rgba(255, 255, 255, 0.24);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.official-website-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 508px;
  height: 58px;
  margin-top: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(107, 200, 255, 0.3);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(43, 93, 190, 0.24), rgba(77, 107, 254, 0.08));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 14px 34px rgba(22, 56, 137, 0.12);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.official-website-button:hover {
  border-color: rgba(107, 200, 255, 0.56);
  background: linear-gradient(100deg, rgba(43, 93, 190, 0.34), rgba(77, 107, 254, 0.14));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 18px 42px rgba(22, 56, 137, 0.2);
  transform: translateY(-2px);
}

.official-website-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #6bc8ff, #4d6bfe);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.26);
}

.official-website-icon img {
  width: 23px;
  height: 23px;
  filter: brightness(0) invert(1);
}

.official-website-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.official-website-copy small {
  color: #9bc8ff;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.official-website-copy b {
  font-size: 13px;
  font-weight: 650;
}

.official-website-arrow {
  margin-left: auto;
  color: var(--cyan);
  font-size: 17px;
}

.button-arrow {
  width: 15px;
  margin-left: auto;
  flex: 0 0 auto;
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.7;
}

.release-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.release-meta i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--text-dim);
}

.release-meta a:hover {
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 52px 0 86px 16px;
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(117, 163, 255, 0.15);
  border-radius: 50%;
}

.orbit-one {
  inset: 5% -15% 4% 1%;
  transform: rotate(7deg);
}

.orbit-two {
  inset: 17% -2% 15% -10%;
  border-color: rgba(117, 163, 255, 0.08);
  transform: rotate(-8deg);
}

.desktop-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 106%;
  margin-left: 1%;
  border: 1px solid rgba(189, 215, 255, 0.2);
  border-radius: 18px;
  background: #111319;
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.52), 0 0 0 8px rgba(83, 117, 181, 0.04);
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding-left: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #171a21;
  color: #bdc6d5;
  font-size: 9px;
}

.window-brand,
.window-controls {
  display: flex;
  align-items: center;
}

.window-brand {
  gap: 7px;
}

.mini-mark {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.window-controls span {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  color: #8590a1;
  font-size: 12px;
}

.window-controls span:last-child {
  font-size: 15px;
}

.window-body {
  display: grid;
  grid-template-columns: 146px 1fr;
  height: 390px;
}

.app-sidebar {
  position: relative;
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: #17181c;
  color: #b6bfcd;
  font-size: 9px;
}

.app-wordmark {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 4px 22px;
}

.app-wordmark img {
  width: 74px;
  filter: brightness(0) invert(1);
}

.app-wordmark b {
  margin-left: 3px;
  padding: 2px 3px;
  border: 1px solid #697283;
  border-radius: 2px;
  font-size: 6px;
  vertical-align: middle;
}

.new-chat {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: #484b52;
  color: #fff;
  text-align: center;
}

.new-chat span {
  margin-right: 4px;
}

.sidebar-label {
  margin: 18px 4px 8px;
  color: #778293;
}

.workspace-row,
.conversation {
  padding: 7px 8px;
  border-radius: 7px;
}

.workspace-row {
  color: #e6eaf1;
  font-weight: 600;
}

.workspace-row span {
  margin-right: 5px;
  color: #6daeff;
}

.conversation {
  margin-top: 2px;
  color: #8e98a8;
}

.conversation.active {
  background: #2a2c31;
  color: #fff;
}

.settings-row {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #e4e8ef;
}

.settings-row span {
  margin-left: 5px;
}

.app-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 56px;
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 47, 67, 0.5), transparent 47%),
    #111316;
}

.canvas-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f0f3f8;
  font-size: 17px;
  font-weight: 600;
}

.canvas-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.canvas-brand em {
  padding: 2px 5px;
  border: 1px solid rgba(111, 135, 255, 0.4);
  border-radius: 99px;
  color: #a8b9f9;
  font-size: 6px;
  font-style: normal;
}

.prompt-card {
  width: min(420px, 100%);
  height: 112px;
  margin-top: 32px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #2a2c30;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.prompt-card p {
  margin: 0;
  color: #7d8796;
  font-size: 10px;
}

.prompt-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 47px;
  color: #aeb7c5;
  font-size: 8px;
}

.prompt-toolbar b {
  color: #d7dce5;
}

.model-name {
  margin-left: auto;
}

.send {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #405683;
  color: #a9b5cd;
  font-size: 14px;
}

.visual-caption {
  position: absolute;
  bottom: 10px;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.visual-caption b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-soft);
  font-size: 8px;
}

.identity-notice {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.45fr 1.1fr 0.65fr;
  gap: 52px;
  width: var(--page);
  margin: 0 auto;
  padding: 48px;
  border: 1px solid rgba(107, 200, 255, 0.18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(115deg, rgba(43, 80, 142, 0.19), rgba(13, 18, 28, 0.86) 48%),
    var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.notice-index {
  color: #8ab8f5;
  font-size: 9px;
}

.section-kicker {
  margin: 0 0 14px;
  color: #88a6dc;
  font-size: 10px;
}

.notice-copy h2,
.section-heading h2,
.architecture-copy h2,
.download-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.notice-copy h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.notice-copy > p:last-child {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.85;
}

.notice-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notice-links a {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 12px;
  transition: color 150ms ease, padding-left 150ms ease;
}

.notice-links a:hover {
  padding-left: 4px;
  color: var(--text);
}

.notice-links span {
  color: #789fff;
}

.section-shell {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: 0 auto;
  padding: 140px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
}

.section-heading > p,
.architecture-copy > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.9;
}

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

.feature-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 12%, rgba(80, 112, 202, 0.13), transparent 34%),
    var(--surface-soft);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.feature-card-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr 0.7fr;
  align-items: center;
  gap: 34px;
  min-height: 280px;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 66px;
  border: 1px solid rgba(118, 155, 255, 0.3);
  border-radius: 14px;
  background: rgba(77, 107, 254, 0.1);
  color: #91acff;
  font-size: 21px;
}

.feature-card-wide .feature-icon {
  margin: 0;
}

.icon-window {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 11px;
}

.icon-window span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.feature-label {
  margin: 0 0 12px;
  color: #7387ae;
  font-size: 9px;
}

.feature-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.feature-card > p:last-child,
.feature-card-wide > div:nth-child(2) > p:last-child {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.85;
}

.theme-swatch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 128px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.swatch-light,
.swatch-dark {
  padding: 14px;
}

.swatch-light {
  background: #eef1f7;
}

.swatch-dark {
  background: #15171c;
}

.swatch-light span,
.swatch-dark span {
  display: block;
  width: 72%;
  height: 8px;
  border-radius: 99px;
  box-shadow: 0 18px 0, 0 36px 0, 0 54px 0;
}

.swatch-light span {
  color: #ccd3df;
  background: #4d6bfe;
}

.swatch-dark span {
  color: #333842;
  background: #6f87ff;
}

.architecture {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.architecture-copy h2 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.06;
}

.architecture-copy > p {
  margin-top: 25px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #a9bfff;
  font-size: 13px;
}

.text-link:hover {
  color: #d7e1ff;
}

.runtime-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 480px;
  padding: 52px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(108, 142, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 142, 212, 0.04) 1px, transparent 1px),
    rgba(12, 17, 27, 0.72);
  background-size: 32px 32px;
}

.map-rail {
  position: absolute;
  right: 20%;
  bottom: 91px;
  left: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5579d4 30%, #5579d4 70%, transparent);
}

.map-node {
  position: relative;
  z-index: 2;
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(18, 25, 38, 0.94);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.25);
}

.node-runtime {
  border-color: rgba(102, 139, 255, 0.36);
  background: linear-gradient(145deg, rgba(51, 75, 137, 0.38), rgba(18, 25, 38, 0.94));
}

.node-top {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.node-top b {
  color: #819eea;
}

.map-node h3 {
  margin: 45px 0 7px;
  font-size: 19px;
}

.map-node p {
  margin: 0;
  color: var(--text-soft);
  font-size: 10px;
}

.map-node code {
  display: inline-block;
  margin-top: 22px;
  color: #8293b1;
  font-family: var(--mono);
  font-size: 9px;
}

.map-transfer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #7f92b7;
  font-family: var(--mono);
  font-size: 7px;
}

.map-transfer i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(111, 135, 255, 0.38);
  border-radius: 50%;
  background: #18223a;
  color: #9eb1f4;
  font-size: 14px;
  font-style: normal;
}

.map-source {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 47px;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: translateX(50%);
}

.source-dot {
  width: 9px;
  height: 9px;
  border: 2px solid #7697f4;
  border-radius: 50%;
  background: #13203b;
  box-shadow: 0 0 0 7px rgba(79, 112, 203, 0.12);
}

.map-source p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.map-source b {
  font-size: 10px;
}

.map-source p span {
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 8px;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
  overflow: hidden;
  margin-bottom: 110px;
  padding: 72px;
  border: 1px solid rgba(116, 154, 255, 0.25);
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, rgba(35, 62, 126, 0.45), rgba(15, 20, 31, 0.88) 58%);
}

.download-glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 420px;
  border-radius: 50%;
  background: rgba(87, 129, 255, 0.3);
  filter: blur(80px);
}

.download-copy,
.download-actions {
  position: relative;
  z-index: 2;
}

.download-copy h2 {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
}

.download-copy > p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.8;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.download-actions .button {
  min-width: 260px;
}

.checksum-link {
  color: var(--text-dim);
  font-size: 10px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 4px;
}

.checksum-link:hover {
  color: var(--text-soft);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  width: var(--page);
  min-height: 130px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-logo img {
  width: 102px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-brand > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand b {
  color: var(--text-soft);
  font-size: 12px;
}

.footer-brand > div:last-child > span {
  font-size: 9px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--text-soft);
}

.site-footer > p {
  justify-self: end;
  margin: 0;
  font-family: var(--mono);
}

.js .reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(12px) scale(0.997);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: translateY(0);
}

.js .hero-visual.reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.js .hero-visual.reveal .desktop-window {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(28px) scale(0.975);
}

.js .hero-visual.reveal .visual-orbit {
  opacity: 0;
  transform: scale(0.92);
}

.js .hero-visual.reveal.is-visible .desktop-window {
  opacity: 1;
  filter: none;
  transform: none;
  transition:
    opacity 720ms 120ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms 120ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms 120ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .hero-visual.reveal.is-visible .visual-orbit {
  opacity: 1;
  transform: rotate(7deg) scale(1);
  transition: opacity 700ms 240ms ease, transform 1100ms 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .hero-visual.reveal.is-visible .orbit-two {
  opacity: 1;
  transform: rotate(-8deg) scale(1);
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-official {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 94px;
  }

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

  .hero-visual {
    width: 86%;
    margin: 20px auto 0;
  }

  .desktop-window {
    width: 100%;
  }

  .identity-notice {
    grid-template-columns: 0.35fr 1fr;
  }

  .notice-links {
    grid-column: 2;
  }

  .architecture {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .architecture-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 30px, 620px);
    --radius-xl: 24px;
  }

  .site-header,
  .header-inner {
    height: 68px;
  }

  .site-header.is-scrolled .header-inner {
    width: calc(100vw - 20px);
    height: 56px;
    padding: 0 13px;
    border-radius: 16px;
    transform: translateY(6px);
  }

  .community-chip,
  .header-github {
    display: none;
  }

  .header-repositories {
    gap: 0;
  }

  .hero {
    min-height: auto;
    padding: 76px 0 90px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(44px, 13.5vw, 62px);
  }

  .hero h1 .windows-word,
  .hero h1 .desktop-word {
    display: block;
  }

  .hero-lead {
    font-size: 14px;
  }

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

  .button {
    width: 100%;
  }

  .official-website-button {
    width: 100%;
  }

  .release-meta {
    flex-wrap: wrap;
  }

  .hero-visual {
    width: 100%;
    margin-top: 10px;
    padding-left: 0;
  }

  .desktop-window {
    transform: none;
  }

  .window-body {
    grid-template-columns: 94px 1fr;
    height: 310px;
  }

  .app-sidebar {
    padding: 14px 8px;
  }

  .app-wordmark {
    overflow: hidden;
    white-space: nowrap;
  }

  .app-wordmark b,
  .conversation:nth-of-type(2),
  .settings-row span {
    display: none;
  }

  .app-canvas {
    padding: 30px 18px;
  }

  .canvas-brand {
    font-size: 12px;
  }

  .prompt-card {
    height: 96px;
    margin-top: 24px;
  }

  .prompt-toolbar {
    margin-top: 37px;
  }

  .model-name {
    display: none;
  }

  .identity-notice {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px;
  }

  .notice-links {
    grid-column: auto;
  }

  .section-shell {
    padding: 100px 0;
  }

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

  .section-heading h2,
  .architecture-copy h2 {
    font-size: 42px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-wide {
    display: block;
    grid-column: auto;
    min-height: 310px;
    padding: 28px;
  }

  .feature-card-wide .feature-icon,
  .feature-icon {
    margin: 0 0 56px;
  }

  .theme-swatch {
    height: 90px;
    margin-top: 30px;
  }

  .runtime-map {
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 32px 24px 96px;
  }

  .map-transfer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .map-transfer i {
    transform: rotate(90deg);
  }

  .map-source {
    bottom: 38px;
  }

  .map-rail {
    display: none;
  }

  .download-section {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 72px;
    padding: 38px 28px;
  }

  .download-copy h2 {
    font-size: 40px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .site-footer > p {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .js .hero-visual.reveal .desktop-window,
  .js .hero-visual.reveal .visual-orbit {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
