:root {
  --bg: #05070b;
  --ink: #f3f7fc;
  --muted: #8b99ab;
  --line: #1e2836;
  --line-strong: #2c3a4c;
  --accent: #8fc2ff;
  --panel: #0b0e13;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "HarmonyOS Sans SC", "Alibaba PuHuiTi", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 56% 44% at 50% 42%, #1e3b57 0%, #142e47 38%, rgba(5, 8, 13, 0) 76%),
    radial-gradient(ellipse 55% 40% at 50% 6%, rgba(20, 54, 88, 0.5), transparent 72%),
    radial-gradient(ellipse 30% 34% at 78% 25%, rgba(30, 70, 110, 0.2), transparent 72%),
    #05080d;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #cfe6ff;
  color: #08111c;
}

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

.shell {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- header ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(235, 245, 255, 0.36);
  border-radius: 50%;
  background: transparent;
  color: #eef6ff;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-version {
  margin-left: 2px;
  padding: 2px 4px;
  border-radius: 2px;
  background: #e9eef5;
  color: #0a0d12;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 27px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #8b99ab;
  font-size: 10px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang:hover {
  color: #eef6ff;
  border-color: #2b394b;
}

.lang.is-active {
  background: #252a32;
  color: #eef6ff;
}

.write-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid #2b394b;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #d3e0ef;
  font-size: 10.5px;
  letter-spacing: 0.01em;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.write-link span {
  color: var(--accent);
  font-size: 10px;
}

.write-link:hover {
  border-color: #6ea5df;
  background: #eef5fd;
  color: #08111c;
}

.write-link:hover span {
  color: #08111c;
}

/* ---------- floating scroll nav ---------- */

.float-nav {
  position: fixed;
  z-index: 90;
  top: 12px;
  left: 50%;
  width: min(1400px, calc(100% - 48px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -14px) scale(0.99);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.float-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.float-inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(118, 124, 132, 0.74), rgba(88, 94, 102, 0.76));
  box-shadow:
    0 22px 55px -26px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(1.05);
  -webkit-backdrop-filter: blur(26px) saturate(1.05);
}

.float-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.float-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(240, 248, 255, 0.4);
  border-radius: 50%;
  color: #f2f8ff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.float-name {
  color: #f2f7fd;
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.float-badge {
  padding: 3px 7px;
  border-radius: 2px;
  background: #f1f6fc;
  color: #0b1118;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.float-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-ghost,
.float-primary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 10.5px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.float-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e7eff9;
}

.float-ghost span {
  color: #b9c6d6;
  font-size: 11px;
}

.float-primary {
  background: #f1f6fc;
  color: #08111c;
  font-weight: 600;
}

.float-primary span {
  font-size: 12px;
}

.float-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.float-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

/* ---------- hero ---------- */

.hero {
  padding: 58px 0 0;
  text-align: center;
}

.launch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: #a5b7cb;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.launch b {
  color: var(--accent);
  font-size: 10px;
  font-weight: 400;
}

.launch span {
  margin-left: 2px;
  color: #6f8095;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 22px;
  font-size: clamp(2.7rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.hero .lead {
  max-width: 630px;
  margin: 0 auto 52px;
  color: #a4b2c4;
  font-size: 13.5px;
  line-height: 1.82;
  letter-spacing: 0.005em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 23px;
  border-radius: 999px;
  background: #f1f6fc;
  color: #08111c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.005em;
  box-shadow: 0 10px 30px -14px rgba(180, 220, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-icon {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 16px 36px -16px rgba(180, 220, 255, 0.7);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aebed1;
  font-size: 12px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.btn-text span {
  color: var(--accent);
  font-size: 12px;
}

.btn-text:hover {
  color: var(--accent);
}

/* ---------- app window ---------- */

.app-window {
  width: min(1010px, 100%);
  margin: 83px auto 0;
  overflow: hidden;
  border: 1px solid #303338;
  border-radius: 13px;
  background: #151517;
  box-shadow:
    0 70px 150px -60px rgba(0, 0, 0, 0.98),
    0 0 140px -70px rgba(84, 151, 226, 0.45);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid #26282b;
  background: #151517;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.window-dots i:nth-child(1) {
  background: #ff5f57;
}

.window-dots i:nth-child(2) {
  background: #febc2e;
}

.window-dots i:nth-child(3) {
  background: #28c840;
}

.window-title {
  color: #9aa2ad;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.window-version {
  margin-left: auto;
  color: #70747b;
  font-family: var(--mono);
  font-size: 7.5px;
}

.window-body {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 585px;
}

.window-side {
  display: flex;
  flex-direction: column;
  padding: 0 14px 16px;
  background: #373f4b;
}

.side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  margin: 0 -14px;
  padding: 0 14px;
}

.window-toggle {
  color: #b9c1cc;
  font-size: 12px;
  line-height: 1;
}

.window-brand {
  margin: 18px 0 16px;
  padding: 0 6px;
  color: #f2f5fa;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.window-brand span {
  color: #cfe4ff;
}

.window-new {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.11);
  color: #edf2f9;
  font-size: 10px;
}

.window-new span {
  color: #d7e8ff;
  font-size: 14px;
  line-height: 1;
}

.window-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.window-nav a {
  padding: 8px 9px;
  border-radius: 5px;
  color: #c2cad5;
  font-size: 11px;
}

.window-nav a.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.window-label {
  margin: 26px 0 8px;
  padding: 0 8px;
  color: #a9b2be;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.window-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.window-list span {
  padding: 6px 9px;
  overflow: hidden;
  border-radius: 5px;
  color: #c6ced9;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.window-list span.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.window-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 14px 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.window-avatar {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border: 1px solid #b8c2d0;
  border-radius: 50%;
  color: #f2f6fb;
  font-family: var(--mono);
  font-size: 7.5px;
}

.window-profile b {
  display: block;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.3;
}

.window-profile small {
  display: block;
  color: #c1c9d4;
  font-size: 8px;
  line-height: 1.3;
}

.window-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #151517;
}

.chat-scroll {
  flex: 1;
  padding: 26px 40px 20px;
}

.chat-user {
  width: max-content;
  max-width: 78%;
  margin-left: auto;
  padding: 10px 16px;
  border: 1px solid #3b3f45;
  border-radius: 14px;
  background: #2a2d32;
  color: #e8e8e8;
  font-size: 12px;
  line-height: 1.5;
}

.chat-think {
  margin: 22px 0 14px;
  color: #8a8f96;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.chat-think span {
  color: #b6bbc2;
}

.chat-reply {
  max-width: 720px;
  color: #c9cacc;
  font-size: 12.8px;
  line-height: 1.9;
}

.chat-reply p {
  margin: 0 0 12px;
}

.chat-reply strong {
  color: #ffffff;
  font-weight: 600;
}

.chat-reply ol {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 19px;
}

.chat-reply li {
  padding-left: 2px;
}

.chat-reply b {
  color: #f3f3f3;
  font-weight: 600;
}

.chat-composer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  min-height: 80px;
  margin: 0 24px 20px;
  padding: 11px 12px 9px 15px;
  border: 1px solid #3a3d42;
  border-radius: 12px;
  background: #1f2125;
}

.composer-placeholder {
  margin: 0;
  color: #9a9da2;
  font-size: 10.5px;
}

.composer-bar {
  display: flex;
  align-items: center;
  gap: 9px;
}

.composer-chip {
  padding: 5px 8px;
  border: 1px solid #4a4e55;
  border-radius: 6px;
  color: #c3c6cb;
  font-size: 8px;
  line-height: 1;
}

.composer-model {
  margin-left: auto;
  color: #989ba1;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.01em;
}

.chat-plus {
  color: #b3b7bd;
  font-size: 16px;
  line-height: 1;
}

.chat-send {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3b5a7a;
  color: #f4f9ff;
  font-size: 11px;
  line-height: 1;
}

/* ---------- update notes ---------- */

.updates {
  margin-top: 98px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-head span {
  color: #75859a;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-top: 28px;
}

.update-grid h3 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.update-grid p {
  max-width: 270px;
  margin: 0;
  color: #93a2b6;
  font-size: 12.5px;
  line-height: 1.85;
}

/* ---------- changelog ---------- */

.changelog {
  margin-top: 84px;
}

.log-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.log-item time {
  padding-top: 2px;
  color: #75859a;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.log-item p {
  margin: 0;
  color: #d6e1ef;
  font-size: 13.5px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.empty {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.all-link:hover {
  color: var(--ink);
}

/* ---------- footer ---------- */

.site-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 88px;
  padding: 22px 0 38px;
  border-top: 1px solid var(--line);
  color: #75859a;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.site-foot span:nth-child(2) {
  margin-left: auto;
  margin-right: auto;
}

.site-foot a:hover {
  color: var(--accent);
}

/* ---------- recent notes ---------- */

.notes-home {
  margin-top: 124px;
}

.notes-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.notes-heading .eyebrow {
  margin-bottom: 12px;
  color: #7e90a6;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.notes-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.note-card {
  display: flex;
  min-height: 185px;
  flex-direction: column;
  padding: 24px 25px;
  border: 1px solid #1a2431;
  border-radius: 10px;
  background: linear-gradient(150deg, #0b0f15, #080b10);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.note-card:hover {
  border-color: #2e4055;
  transform: translateY(-2px);
}

.note-card time {
  color: #6f8196;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.note-card p {
  margin: 16px 0 0;
  color: #cfdae8;
  font-size: 12.5px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.note-card.is-write {
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-style: dashed;
  border-color: #243244;
  color: #9fb0c4;
  text-align: center;
}

.note-card.is-write:hover {
  color: #eaf3ff;
  border-color: #4d6a8b;
}

.write-plus {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #33465c;
  border-radius: 50%;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.note-card.is-write b {
  display: block;
  margin-bottom: 4px;
  color: #dbe8f6;
  font-size: 12px;
  font-weight: 500;
}

.note-card.is-write small {
  display: block;
  color: #7f90a5;
  font-size: 9.5px;
  line-height: 1.7;
}

.notes-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
}

.notes-footer .all-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8093a8;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.notes-footer .all-link:hover {
  color: var(--ink);
}

/* ---------- contact ---------- */

.contact-home {
  max-width: 680px;
  margin: 150px auto 0;
  text-align: center;
}

.contact-home .eyebrow {
  margin-bottom: 14px;
  color: #7e90a6;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.contact-home h2 {
  margin: 0 0 15px;
  font-size: clamp(1.9rem, 3.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.contact-home > p:not(.eyebrow) {
  margin: 0 auto 28px;
  color: #93a2b5;
  font-size: 12.5px;
  line-height: 1.9;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}

.btn-quiet {
  color: #a5b6c9;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.btn-quiet span {
  color: var(--accent);
}

.btn-quiet:hover {
  color: var(--accent);
}

/* ---------- capabilities ---------- */

.cap-section {
  width: min(1136px, calc(100% - 48px));
  margin: 292px auto 0;
}

.cap-head {
  margin-bottom: 66px;
  text-align: center;
}

.cap-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cap-card {
  position: relative;
  display: flex;
  min-height: 460px;
  flex-direction: column;
  padding: 26px 27px 24px;
  border: 1px solid #22262b;
  border-radius: 10px;
  background: #0d0e10;
}

.cap-card::after {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #4a4c51;
  content: "Ⅱ";
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.cap-copy h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cap-copy p {
  max-width: 450px;
  margin: 0;
  color: #8f9299;
  font-size: 12px;
  line-height: 1.75;
}

.cap-visual {
  margin-top: 110px;
  padding-top: 0;
}

.visual-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6e727a;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mini-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  margin-top: 20px;
  padding: 0 13px;
  border: 1px solid #2b2e34;
  border-radius: 9px;
  background: #181a1e;
  color: #8f9299;
}

.mini-composer p {
  margin: 0;
  font-size: 10.5px;
}

.mini-composer span {
  color: #7f858e;
  font-size: 15px;
  line-height: 1;
}

.mini-composer i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border-radius: 50%;
  background: #3b5a7a;
  color: #ffffff;
  font-size: 11px;
  font-style: normal;
}

.visual-foot {
  margin: 12px 0 0;
  color: #5f646c;
  font-family: var(--mono);
  font-size: 7.5px;
}

.note-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 17px 13px;
  border: 1px solid #23262b;
  border-radius: 7px;
  background: #15171a;
}

.mini-note time {
  padding-top: 2px;
  color: #747980;
  font-family: var(--mono);
  font-size: 7.5px;
}

.mini-note p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #c2c4c8;
  font-size: 10.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-note > span {
  padding: 2px 5px;
  border: 1px solid #2f3339;
  border-radius: 3px;
  color: #6e737b;
  font-family: var(--mono);
  font-size: 6px;
}

.mini-more {
  margin-top: 2px;
  color: #7d8ba0;
  font-family: var(--mono);
  font-size: 7.5px;
  text-align: right;
}

.mini-more span {
  color: var(--accent);
}

.mini-empty {
  margin: 0;
  padding: 22px 0;
  color: #7b8088;
  font-size: 10.5px;
}

.schedule-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-pill {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  border: 1px solid #2a2d32;
  border-radius: 999px;
  background: #181a1e;
}

.schedule-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.schedule-pill b {
  color: #c4c8ce;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  white-space: nowrap;
}

.schedule-pill em {
  overflow: hidden;
  color: #8d929a;
  font-size: 9.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid #1e2125;
}

.schedule-row span {
  color: #666b72;
  font-family: var(--mono);
  font-size: 7.5px;
}

.schedule-row p {
  margin: 0;
  color: #aeb2b8;
  font-size: 10px;
}

.code-visual {
  overflow: hidden;
  padding: 0;
  border: 1px solid #23262b;
  border-radius: 8px;
  background: #111316;
}

.code-head {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid #23262b;
  color: #70757d;
  font-family: var(--mono);
  font-size: 7px;
}

.code-head span:last-child {
  color: #3f444b;
  letter-spacing: 3px;
}

.code-visual pre {
  overflow: hidden;
  margin: 0;
  padding: 13px 12px 15px;
  color: #9ea3aa;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.85;
}

.code-visual .ln {
  display: inline-block;
  width: 20px;
  color: #484d55;
}

.code-visual .kw {
  color: #8fc2ff;
}

.code-visual i {
  color: #b8c7a8;
  font-style: normal;
}

/* ---------- developer experience ---------- */

.dev-section {
  width: min(1136px, calc(100% - 48px));
  margin: 120px auto 0;
}

.dev-section > h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.1vw, 2.05rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 62px;
}

.dev-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  padding: 24px 26px;
  border: 1px solid #22262b;
  border-radius: 10px;
  background: #0d0e10;
}

.dev-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
}

.dev-card p {
  max-width: 400px;
  margin: 0;
  color: #8f9299;
  font-size: 10.5px;
  line-height: 1.7;
}

.cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 9px 10px;
  border: 1px solid #24272c;
  border-radius: 5px;
  background: #15171a;
}

.cmd code {
  color: #aeb4bd;
  font-family: var(--mono);
  font-size: 8px;
}

.cmd span {
  margin-left: auto;
  color: #6d737b;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

/* ---------- join ---------- */

.join-section {
  position: relative;
  z-index: 0;
  margin-top: 170px;
  padding: 0 20px;
  text-align: center;
}

.join-section::before {
  position: absolute;
  z-index: -1;
  inset: -150px -30% -40px;
  background: radial-gradient(ellipse 52% 60% at 50% 52%, rgba(42, 102, 158, 0.42), transparent 68%);
  content: "";
  pointer-events: none;
}

.join-section .eyebrow {
  margin-bottom: 14px;
  color: #7e90a6;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.join-section h2 {
  margin: 0 0 15px;
  font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.join-section > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto;
  color: #9298a1;
  font-size: 11.5px;
  line-height: 1.85;
}

.join-actions {
  display: flex;
  max-width: 520px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
}

.join-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid #292c31;
  border-radius: 999px;
  background: #111316;
  color: #c2c7cf;
  font-size: 9.5px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.join-pill span {
  color: #818b99;
}

.join-pill b {
  color: #8fc2ff;
  font-weight: 400;
}

.join-pill:hover {
  border-color: #4a5564;
  color: #ffffff;
}

/* ---------- footer ---------- */

.site-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(1136px, calc(100% - 48px));
  align-items: center;
  gap: 20px;
  margin: 120px auto 0;
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: #6f7680;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c7ccd3;
}

.foot-mark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #3a3f46;
  border-radius: 50%;
  font-size: 6.5px;
}

.foot-copy {
  text-align: center;
}

.foot-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.foot-links a:hover {
  color: var(--accent);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5.6vw, 3.2rem);
  }

  .window-body {
    grid-template-columns: 184px minmax(0, 1fr);
  }

  .chat-scroll {
    padding: 28px 30px 20px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 640px);
  }

  .topbar {
    min-height: 74px;
  }

  .hero {
    padding: 42px 0 0;
  }

  .launch {
    margin-bottom: 20px;
    font-size: 8.5px;
  }

  .hero h1 {
    max-width: 520px;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 9.4vw, 2.9rem);
    line-height: 1.22;
  }

  .hero .lead {
    max-width: 440px;
    margin-bottom: 26px;
    font-size: 13px;
    line-height: 1.9;
  }

  .hero .lead br {
    display: none;
  }

  .btn-primary {
    min-height: 44px;
    padding: 0 21px;
    font-size: 12.5px;
  }

  .app-window {
    margin-top: 34px;
    border-radius: 11px;
  }

  .window-bar {
    height: 37px;
  }

  .window-body {
    display: block;
    min-height: 0;
  }

  .window-side {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid #1e2836;
  }

  .window-brand {
    margin: 0;
    padding: 0;
    font-size: 12.5px;
  }

  .window-new,
  .window-label,
  .window-list,
  .window-profile {
    display: none;
  }

  .window-nav {
    flex-direction: row;
    gap: 2px;
    margin-left: auto;
  }

  .window-nav a {
    padding: 5px 8px;
    font-size: 8.5px;
  }

  .window-nav a:not(.is-active) {
    display: none;
  }

  .chat-scroll {
    padding: 22px 20px 18px;
  }

  .chat-user {
    font-size: 11.5px;
  }

  .chat-think {
    margin-top: 18px;
  }

  .chat-reply {
    font-size: 12px;
    line-height: 1.85;
  }

  .chat-reply ol {
    gap: 6px;
  }

  .chat-composer {
    margin: 0 16px 16px;
    min-height: 74px;
  }

  .notes-home {
    margin-top: 84px;
  }

  .notes-heading {
    margin-bottom: 30px;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .note-card {
    min-height: 0;
    padding: 22px 22px;
  }

  .contact-home {
    margin-top: 96px;
  }

  .updates {
    margin-top: 66px;
  }

  .update-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .update-grid > div {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .update-grid h3 {
    font-size: 14.5px;
  }

  .update-grid p {
    max-width: 470px;
  }

  .changelog {
    margin-top: 58px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .section-head h2 {
    font-size: 1.35rem;
  }

  .log-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .log-item time {
    font-size: 7.5px;
  }

  .log-item p {
    font-size: 13px;
  }

  .site-foot {
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 64px;
    padding-bottom: 28px;
  }

  .site-foot span:nth-child(2) {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .float-nav {
    top: 8px;
    width: calc(100% - 20px);
  }

  .float-inner {
    min-height: 54px;
    gap: 10px;
    padding: 0 8px 0 12px;
  }

  .float-mark {
    width: 28px;
    height: 28px;
    font-size: 8px;
  }

  .float-name {
    font-size: 12.5px;
  }

  .float-badge {
    padding: 2px 5px;
    font-size: 5.5px;
  }

  .float-ghost,
  .float-primary {
    min-height: 34px;
    padding: 0 11px;
    font-size: 9.5px;
  }

  .cap-section,
  .dev-section,
  .site-foot {
    width: min(100% - 36px, 640px);
  }

  .cap-section {
    margin-top: 120px;
  }

  .cap-head {
    margin-bottom: 38px;
  }

  .cap-head h2 {
    font-size: 1.55rem;
  }

  .cap-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cap-card {
    min-height: 0;
    padding: 22px;
  }

  .cap-visual {
    margin-top: 64px;
  }

  .cap-copy h3 {
    font-size: 15.5px;
  }

  .dev-section {
    margin-top: 130px;
  }

  .dev-section > h2 {
    font-size: 1.55rem;
  }

  .dev-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }

  .dev-card {
    min-height: 150px;
    padding: 20px;
  }

  .join-section {
    margin-top: 140px;
    padding: 0;
  }

  .join-section h2 {
    font-size: 1.7rem;
  }

  .join-actions {
    max-width: 360px;
  }

  .join-pill {
    padding: 8px 12px;
    font-size: 9px;
  }

  .site-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 80px;
    padding: 18px 0 26px;
  }

  .foot-copy {
    order: 3;
    width: 100%;
    text-align: left;
  }

  .foot-links {
    margin-left: auto;
  }
}

@media (max-width: 440px) {
  .brand-version {
    display: none;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .site-foot {
    display: flex;
  }

  .foot-links {
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
