:root {
  color-scheme: dark;
  font-family: "DM Sans", "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #fafafa;
  background: #0a0a0a;
  --muted: #a1a5ad;
  --line: rgb(255 255 255 / 11%);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; }
button, summary { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #9ec9ff; outline-offset: 4px; }
.container { width: min(calc(100% - 48px), 1140px); margin-inline: auto; }
.mast { position: absolute; z-index: 3; inset: 0 0 auto; }
.nav { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 6px; align-items: center; font-weight: 650; font-size: 20px; letter-spacing: -.045em; text-decoration: none; }
.brand small { background: #e6e8eb; color: #17202e; border-radius: 3px; padding: 2px 4px; font: 700 10px/1.1 "Segoe UI", sans-serif; letter-spacing: .08em; }
.languages { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 24px; }
.languages[hidden] { display: none; }
.languages button { padding: 4px 10px; border: 0; border-radius: inherit; color: var(--muted); background: transparent; font-size: 12px; font-weight: 600; }
.languages button[aria-pressed="true"] { background: #464e59; color: white; }
.mobile-menu { display: none; }
.hero {
  padding: 171px 24px 80px;
  background: radial-gradient(ellipse at 89% 46%, #2d333a 0%, #172c46 25%, #101e30 42%, transparent 72%),
              linear-gradient(#040405 5%, #08090a 85%, #0a0a0a);
}
.intro { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.edition { color: #929baa; font-size: 12px; line-height: 18px; letter-spacing: .21em; font-weight: 600; }
h1, h2 { font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin-top: 14px; font-size: 40px; line-height: 1.5; }
.lead { margin-top: 31px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.lead p + p { margin-top: 4px; }
.release { display: table; position: relative; margin: 39px auto 0; text-align: left; }
.release summary { background: #fff; color: #16181b; border-radius: 40px; display: flex; align-items: center; gap: 9px; width: max-content; padding: 0 19px; height: 42px; list-style: none; font-size: 15px; font-weight: 550; }
.release summary::-webkit-details-marker { display: none; }
.release summary:hover { background: #e9eef5; }
.release svg { width: 17px; height: 17px; }
.release summary i { width: 24px; height: 16px; margin-left: 4px; border-left: 1px solid #d1d3d6; position: relative; }
.release summary i::after { content: ""; position: absolute; right: 2px; top: 3px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.release[open] summary i::after { transform: rotate(225deg); top: 7px; }
.release-info { position: absolute; width: min(330px, calc(100vw - 40px)); top: calc(100% + 10px); left: 50%; transform: translateX(-50%); padding: 18px 20px; border: 1px solid #465060; border-radius: 14px; color: #f4f6f8; background: #202731; box-shadow: 0 12px 36px #0008; }
.release-info p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #ccd1da; }
.desktop { display: grid; grid-template-columns: 22.4% minmax(0, 1fr); max-width: 1020px; margin: 55px auto 0; border: 1px solid #ffffff29; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 64px #0003; color: #f3f4f6; background: #151517; font: 13px/1.7 "Segoe UI", "Microsoft YaHei", sans-serif; }
.desktop svg { width: 15px; height: 15px; flex: none; }
.sidebar { display: flex; flex-direction: column; padding: 0 11px; color: #ebedf1; background: linear-gradient(130deg,#3a4250,#30353c); border-right: 1px solid #ffffff10; }
.window-tools, .chat-title, .workspace, .side-row, .compose-tools, .lights { display: flex; align-items: center; }
.window-tools { height: 44px; justify-content: space-between; color: #aeb4bd; }
.lights { gap: 8px; }
.lights i { width: 12px; height: 12px; background: #ff625a; border-radius: 50%; }
.lights i:nth-child(2) { background: #ffbf42; }
.lights i:nth-child(3) { background: #2bc851; }
.app-brand { margin: 4px 0 16px; font-size: 17px; }
.app-brand small { font-size: 8px; }
.side-row { gap: 7px; min-height: 34px; padding: 4px 7px; font-size: 12px; }
.side-row svg, .workspace svg { width: 14px; }
.side-row.new, .sessions li:first-child { border-radius: 8px; background: #ffffff13; }
.side-row.new { justify-content: center; margin-bottom: 9px; }
.workspace { justify-content: space-between; margin: 17px 6px 5px; font-size: 12px; color: #bbc0c8; }
.workspace svg + svg { margin-left: 7px; }
.sessions { list-style: none; padding: 0; margin-bottom: 8px; }
.sessions li { font-size: 12px; padding: 7px 4px 7px 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile { margin-top: auto; padding-bottom: 12px; }
.chat-title { gap: 12px; padding: 0 18px; height: 45px; border-bottom: 1px solid #ffffff0e; font-size: 12px; }
.chat-title svg { margin-left: auto; color: #b8bcc2; }
.chat-title .lights { display: none; }
.thread { max-width: 690px; margin: auto; padding: 22px 16px 16px; }
.question { width: fit-content; margin-left: auto; padding: 8px 15px; background: #2c2c2e; border-radius: 25px; }
.thought { padding-bottom: 6px; margin: 25px 0 7px; border-bottom: 1px solid var(--line); color: #b0b4ba; font-size: 12px; }
.thread p + p { margin-top: 15px; }
.thread ol { padding-left: 1.4em; margin: 14px 0; }
.thread li { margin-bottom: 5px; }
.composer { margin-top: 36px; border-radius: 16px; border: 1px solid var(--line); background: #212124; padding: 14px; color: #aaaeb4; font-size: 12px; }
.compose-tools { gap: 8px; margin-top: 22px; }
.compose-tools b { margin-left: auto; font-weight: 500; font-size: 11px; }
.capabilities { padding-block: 148px 110px; }
h2 { text-align: center; font-size: 36px; line-height: 1.5; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 80px; }
.grid article { display: flex; flex-direction: column; padding: 40px 40px 0; min-width: 0; background: #101010; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.grid h3 { margin: 0 0 8px; font-size: 20px; font-weight: 550; letter-spacing: -.02em; }
.grid article > p { margin: 0 0 40px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.grid .demo { margin-top: auto; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer a { text-underline-offset: 4px; }
@media (max-width: 900px) {
  .grid { gap: 20px; }
  .grid article { padding: 26px 24px 0; }
  .sidebar { padding-inline: 8px; }
  .thread { padding-inline: 22px; }
}
@media (max-width: 740px) {
  .hero { padding: 166px 24px 56px; }
  .container { width: calc(100% - 48px); }
  .nav { height: 60px; }
  .nav > .languages { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 19px; height: 14px; border-block: 2px solid #c5cbd2; position: relative; }
  .mobile-menu summary span::after { content: ""; position: absolute; top: 4px; width: 100%; border-top: 2px solid #c5cbd2; }
  .mobile-menu nav { position: absolute; inset: 59px 16px auto; border: 1px solid var(--line); border-radius: 14px; padding: 12px 20px; background: #161d25; box-shadow: 0 12px 36px #0008; }
  .mobile-menu a { display: block; padding: 10px 0; text-decoration: none; }
  .mobile-menu .languages { margin-block: 8px; }
  h1 { font-size: clamp(32px,10vw,40px); }
  .lead { margin: 30px auto 0; max-width: 34em; }
  .release { margin-top: 38px; }
  .desktop { display: block; margin-top: 38px; }
  .sidebar { display: none; }
  .chat-title .lights { display: flex; }
  .thread { padding: 16px; }
  .compose-tools { flex-wrap: wrap; }
  .capabilities { padding-block: 72px; }
  h2 { font-size: 28px; }
  .grid { grid-template-columns: 1fr; margin-top: 38px; }
  .grid article { padding: clamp(24px,10vw,40px) clamp(24px,10vw,40px) 0; }
  .grid article > p { margin-bottom: 24px; }
}
@media (forced-colors: active) {
  .release summary, .languages button[aria-pressed="true"] { border: 1px solid ButtonText; }
}
