:root {
  color-scheme: light;
  --paper: #f7f8fc;
  --ink: #151b27;
  --muted: #505a6e;
  --blue: #2854ff;
  --blue-dark: #1f42d4;
  --line: #e0e5ef;
  --white: #fff;
  --shell: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button, kbd { font: inherit; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
[id] { scroll-margin-top: 5.2rem; }

:focus-visible {
  outline: 3px solid #5979ff;
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: #f7f8fcf2;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.25rem;
  gap: 1.75rem;
}

.wordmark { display: block; width: 7.7rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3.5vw, 2.8rem);
  color: var(--muted);
  font-size: .91rem;
  font-weight: 600;
}

.site-nav a {
  padding: .55rem .1rem;
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3.25rem;
  padding: .8rem 1.3rem;
  background: var(--blue);
  border: 1px solid transparent;
  border-radius: .78rem;
  color: var(--white);
  font-weight: 680;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  background: var(--blue-dark);
  box-shadow: 0 .35rem 1.2rem #2346db30;
}

.button-small {
  justify-self: end;
  min-height: 2.55rem;
  padding: .65rem .95rem;
  font-size: .875rem;
  border-radius: .63rem;
}

.hero {
  min-height: 36rem;
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.8rem, 4.35vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.eyebrow {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: .91rem;
  letter-spacing: .065em;
}

.hero h1 {
  margin-block: .92rem 1.3rem;
  font-size: clamp(3rem, 5.85vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: 1.16;
}

.hero h1 em { color: var(--blue); font-style: normal; }

.hero-description {
  max-width: 22em;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.85rem;
}

.text-link {
  color: var(--blue-dark);
  font-size: .93rem;
  font-weight: 660;
  text-underline-offset: .2em;
  text-decoration-color: #96a8f5;
}

.text-link:hover { text-decoration-color: currentColor; }

.release-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .92rem;
  font-size: .84rem;
  color: var(--muted);
}

.release-meta span {
  width: .23rem;
  height: .23rem;
  border-radius: 50%;
  background: #95a1ba;
}

.experience {
  min-width: 0;
  --deck-ink: #eef2ff;
}

.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem .85rem;
  margin-bottom: .7rem;
  font-size: .875rem;
  color: var(--muted);
}

.demo-controls { display: flex; gap: .42rem; }

.demo-controls button {
  display: flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.2rem;
  padding: .35rem .6rem;
  border: 1px solid #dbe1ee;
  border-radius: .55rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
  font-size: .82rem;
  white-space: nowrap;
  cursor: pointer;
}

.demo-controls button:hover, .demo-controls button[aria-pressed="true"] {
  color: #1734b6;
  background: #eaf0ff;
  border-color: #aebdf9;
}

.demo-controls button:disabled {
  color: #647289;
  cursor: default;
}

kbd {
  display: inline-block;
  padding: .09em .37em;
  line-height: 1.35;
  border: 1px solid #dce2ef;
  border-bottom-width: 2px;
  border-radius: .34em;
  background: #f6f8fc;
  color: #222d42;
  font-size: .87em;
  font-weight: 650;
  white-space: nowrap;
}

.desktop {
  isolation: isolate;
  position: relative;
  height: clamp(23rem, 34vw, 28rem);
  overflow: hidden;
  border: 1px solid #243869;
  border-radius: 1.45rem;
  background:
    radial-gradient(ellipse at 45% 120%, #79aaff 0, #3057c8 24%, #1d327d 46%, transparent 76%),
    radial-gradient(ellipse at 104% 3%, #484ac0 0, #202d70 33%, transparent 68%),
    #111832;
  box-shadow: 0 1.45rem 2.65rem -1.16rem #1c35625f;
}

.desktop::after {
  position: absolute;
  z-index: -1;
  inset: 40% -10% -40% -10%;
  content: "";
  border-radius: 50% 52% 0 0;
  border-top: 1px solid #a5c1ff66;
  background: linear-gradient(116deg, #28458d77, #4d75e033 58%, #85aaff44);
  transform: rotate(-16deg);
}

.desktop-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0 0 auto;
  height: 2.1rem;
  background: #141d35a8;
  border-bottom: 1px solid #bacbff26;
  color: #dbe5ff;
  font-size: .75rem;
  font-weight: 600;
}

.desktop-dots {
  display: flex;
  gap: .31rem;
  position: absolute;
  left: .88rem;
}

.desktop-dots i {
  display: block;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #acbaf292;
}

.panel-shot {
  position: absolute;
  z-index: 2;
  width: 71%;
  filter: drop-shadow(0 .6rem .85rem #050d2590);
  transition: transform 230ms cubic-bezier(.2, .72, .26, 1), opacity 170ms ease;
}

.desktop-note {
  top: 3rem;
  left: 3.9%;
  transform-origin: top left;
}

.desktop-clipboard {
  right: 3.9%;
  bottom: 1rem;
  transform-origin: bottom right;
}

.experience:not([data-mode="overview"]) .desktop-note {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-110%);
}

.experience:not([data-mode="overview"]) .desktop-clipboard {
  opacity: 0;
  visibility: hidden;
  transform: translateY(110%);
}

.draft {
  position: absolute;
  z-index: 1;
  inset: 42% 17% auto;
  min-height: 6.2rem;
  overflow: hidden;
  border: 1px solid #eff4ff80;
  border-radius: .82rem;
  background: #f9faff;
  box-shadow: 0 .65rem 1.85rem #06124954;
  transition: transform 230ms ease;
}

.experience[data-mode="notes"] .draft { transform: translateY(76%); }
.experience[data-mode="clipboard"] .draft { transform: translateY(-72%); }

.draft-toolbar {
  height: 1.48rem;
  display: flex;
  align-items: center;
  gap: .26rem;
  padding-inline: .65rem;
  background: #e7edfc;
  border-bottom: 1px solid #dce4f6;
}

.draft-toolbar span {
  width: .31rem;
  height: .31rem;
  border-radius: 50%;
  background: #94a5cd;
}

.draft-content { padding: .64rem 1rem .8rem; }
.draft-title { display: block; color: #26314b; font-weight: 760; font-size: .82rem; }

.draft-output {
  margin-top: .4rem;
  min-height: 1.25rem;
  color: #54627e;
  font-size: .88rem;
  line-height: 1.5;
}

.draft-output.has-content { color: var(--blue-dark); }

.demo-cards, .demo-notes {
  position: absolute;
  z-index: 3;
  padding: .65rem;
  border: 1px solid #4b5f95;
  border-radius: .9rem;
  background: #17223b;
  color: var(--deck-ink);
  box-shadow: 0 .5rem 1.5rem #050d2590;
}

.demo-cards {
  inset: auto 3.9% 1rem;
  animation: lift 220ms cubic-bezier(.2, .72, .25, 1) both;
}

.demo-notes {
  inset: 3rem 3.9% auto;
  max-width: 30rem;
  animation: fall 220ms cubic-bezier(.2, .72, .25, 1) both;
}

@keyframes lift {
  from { transform: translateY(16%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fall {
  from { transform: translateY(-16%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.demo-cards-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .05rem .18rem .45rem;
  font-size: .85rem;
  font-weight: 650;
}

.demo-cards-bar button {
  padding: .24rem .5rem;
  background: #354b95;
  border: 1px solid #657cd0;
  border-radius: .4rem;
  color: var(--white);
  cursor: pointer;
}

.demo-cards-bar button:hover { background: #425cc2; }
.demo-cards-bar button kbd { margin-left: .15rem; }

.demo-tasks {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .18rem;
  margin: 0;
  padding: .38rem .65rem .48rem;
  background: #212d46;
  border: 1px solid #405173;
  border-radius: .56rem;
  font-size: .85rem;
}

.demo-tasks legend {
  padding-inline: .25rem;
  color: #dbe5ff;
  font-weight: 700;
}

.demo-tasks label {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 1.65rem;
  width: fit-content;
  cursor: pointer;
}

.demo-tasks input {
  width: .96rem;
  height: .96rem;
  margin: 0;
  accent-color: #7596ff;
}

.demo-tasks input:checked + span {
  color: #b4c0dc;
  text-decoration: line-through;
}

.demo-task-status {
  margin-top: .22rem;
  color: #b4c0dc;
  font-size: .76rem;
}

.demo-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .42rem;
}

.demo-choice {
  display: grid;
  align-content: start;
  gap: .32rem;
  min-height: 4.6rem;
  padding: .55rem .56rem;
  border: 1px solid #34466c;
  border-radius: .55rem;
  background: #212d46;
  color: inherit;
  font-size: .82rem;
  line-height: 1.45;
  text-align: start;
  cursor: pointer;
}

.demo-choice small { color: #b2c5ff; font-size: .74rem; }

.demo-choice[aria-pressed="true"], .demo-choice:hover {
  background: #2a3d6c;
  border-color: #839cff;
}

.demo-choice:focus-visible { outline-offset: -2px; }

.demo-hint {
  min-height: 1.2rem;
  padding-top: .68rem;
  color: var(--muted);
  font-size: .84rem;
}

.section { padding-block: clamp(3.5rem, 7vw, 6.7rem); }

.workspace-section { border-top: 1px solid var(--line); }

.section-heading { margin-bottom: 2rem; }

.section h2 {
  margin-top: .65rem;
  font-size: clamp(2.12rem, 4.4vw, 3.65rem);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.2;
}

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

.workspace-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
}

.workspace-card-copy {
  padding: clamp(1.2rem, 3vw, 2rem);
  padding-bottom: 1.3rem;
}

.panel-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #364d8d;
  font-size: .88rem;
  font-weight: 700;
}

.panel-label kbd { margin-left: auto; }

.direction {
  display: inline-block;
  width: .77rem;
  height: .92rem;
  background: var(--blue);
  border-radius: .2rem;
  clip-path: polygon(50% 0, 100% 37%, 100% 100%, 0 100%, 0 37%);
}

.direction-down { transform: rotate(180deg); background: var(--ink); }
.clipboard-card .panel-label { color: #354055; }

.workspace-card h3 {
  margin-block: .55rem .46rem;
  font-size: clamp(1.5rem, 2.55vw, 2.15rem);
  letter-spacing: -.045em;
}

.workspace-card p, .feature-rows dd, .editing-heading > p,
.editing-details p, .workflow-details p { color: var(--muted); }

.workspace-shot {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  object-position: left;
  padding-inline: .5rem;
  background: #f3f6fb;
}

.screenshot-link {
  display: block;
  position: relative;
  cursor: zoom-in;
}

.screenshot-link:focus-visible { outline-offset: -4px; }
.workspace-screenshot { border-block: 1px solid #e9edf4; }

.screenshot-label {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  padding: .2rem .55rem;
  border: 1px solid #d9e0ee;
  border-radius: .4rem;
  background: #f8faff;
  color: #294082;
  font-size: .78rem;
  line-height: 1.45;
  font-weight: 650;
}

.screenshot-link:hover .screenshot-label { background: #e5edff; }

.screenshot-dialog {
  width: min(94vw, 84rem);
  max-height: 90vh;
  padding: clamp(.7rem, 2vw, 1.1rem);
  border: 1px solid #d4deef;
  border-radius: 1rem;
  background: #eef3ff;
  color: var(--ink);
  box-shadow: 0 1.4rem 4.5rem #08102b80;
}

.screenshot-dialog::backdrop { background: #0d1637b8; }

.screenshot-dialog form {
  display: flex;
  justify-content: end;
  margin-bottom: .6rem;
}

.screenshot-dialog button {
  min-height: 2.4rem;
  padding-inline: .88rem;
  border: 1px solid #c7d3f1;
  border-radius: .56rem;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
}

.screenshot-dialog button:hover { background: #e6edff; }
.enlarged-screenshot { width: 100%; border-radius: .55rem; }

.feature-rows {
  padding: .65rem clamp(1.2rem, 3vw, 2rem) 1.02rem;
}

.feature-rows > div {
  display: grid;
  grid-template-columns: minmax(6.05rem, .77fr) 2fr;
  gap: .8rem;
  padding-block: .88rem;
}

.feature-rows > div + div { border-top: 1px solid #e9edf4; }
.feature-rows dt { font-weight: 700; }

.editing-section {
  background: #eef2fb;
  border-block: 1px solid #e1e7f4;
}

.editing-heading {
  display: grid;
  grid-template-columns: 1fr minmax(13rem, 29rem);
  align-items: end;
  gap: 1rem 2.75rem;
}

.edit-preview {
  padding: clamp(.5rem, 2.7vw, 1.8rem);
  border: 1px solid #d8e1f4;
  border-radius: 1.4rem;
  background: radial-gradient(ellipse at 29% 8%, #ecf1ff, #d6e2ff 72%);
}

.edit-preview img {
  width: 100%;
  border-radius: .82rem;
  box-shadow: 0 .65rem 2rem #2344801c;
}

.editing-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 2.4rem;
  margin-top: 1.6rem;
}

.editing-details h3, .workflow-details h3 {
  margin-bottom: .38rem;
  font-size: 1.2rem;
  font-weight: 730;
  letter-spacing: -.02em;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.workflow-details { margin-top: 1.45rem; }

.workflow-details article { padding-block: .84rem; }
.workflow-details article + article { border-top: 1px solid var(--line); }

.shortcuts {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.25rem clamp(1rem, 2.5vw, 1.65rem);
  background: var(--white);
}

.shortcuts table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: .93rem;
}

.shortcuts caption {
  margin-bottom: .5rem;
  color: var(--ink);
  font-weight: 760;
  font-size: 1.3rem;
  text-align: start;
}

.shortcuts th, .shortcuts td {
  padding: .48rem 0;
  border-bottom: 1px solid #ebedf4;
}

.shortcuts th {
  padding-right: .6rem;
  color: #3b4357;
  font-weight: 540;
}

.shortcuts td { text-align: end; }
.shortcuts p { margin-top: .75rem; color: var(--muted); font-size: .88rem; }

.install-section { padding-top: 0; }

.download-card {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.35rem, 4.6vw, 4rem);
  padding: clamp(1.35rem, 5.4vw, 4.4rem);
  border-radius: 1.45rem;
  background: radial-gradient(ellipse at 90% 120%, #2d50c0 0, #1c3277 32%, transparent 75%), #151e35;
  color: #f6f8ff;
}

.download-copy > img {
  width: 4.2rem;
  margin-left: -.28rem;
}

.download-copy h2 {
  margin-top: .65rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.download-copy > p { margin-block: .8rem 1.35rem; color: #d2ddf4; }

.button-light {
  background: var(--white);
  color: #1e3ecc;
}

.button-light:hover { background: #e7efff; }

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin-top: .75rem;
  color: #cbd6f2;
  font-size: .85rem;
}

.download-meta a { text-underline-offset: .15em; }
.download-meta a:hover { color: var(--white); }
.download-copy .download-build { margin: .35rem 0 0; font-size: .84rem; }

.install-preview {
  width: 100%;
  border: 1px solid #9aaeda;
  border-radius: .85rem;
  box-shadow: 0 .95rem 2rem #030a244f;
}

.installation-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem clamp(1.5rem, 5vw, 4.3rem);
  align-items: start;
  margin-top: 2rem;
}

.installation-guide h3 {
  margin-bottom: .65rem;
  font-size: 1.3rem;
  letter-spacing: -.018em;
}

.install-steps {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding-left: 1.45rem;
  color: var(--muted);
}

.install-steps li { padding-left: .2rem; }
.install-steps li::marker { color: var(--blue-dark); font-weight: 680; }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 2.85rem;
  gap: 1rem;
  padding: .56rem .15rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 670;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--blue-dark);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1;
}

.faq details[open] summary::after { content: "−"; }
.faq details p { padding: .1rem .15rem .8rem; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.15rem;
  color: var(--muted);
  font-size: .86rem;
}

.footer-inner .wordmark { width: 6.55rem; }

@media (max-width: 61rem) {
  .hero { grid-template-columns: 1fr 1.18fr; gap: 1.65rem; }
  .hero h1 { font-size: clamp(2.85rem, 6.4vw, 4.3rem); }
  .desktop { height: 22rem; }
  .workspace-shot { object-fit: contain; padding-inline: .28rem; }
  .feature-rows > div { grid-template-columns: 1fr; gap: .15rem; padding-block: .72rem; }
}

@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; gap: 2.1rem; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4.8rem); }
  .hero-description { max-width: 26em; }
  .desktop { height: clamp(19rem, 55vw, 26rem); }
  .panel-shot { width: 78%; }
  .workflow { grid-template-columns: 1fr; }
  .editing-heading { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .install-preview { max-width: 28rem; }
}

@media (max-width: 36rem) {
  .header-inner { gap: .45rem; min-height: 3.75rem; }
  .site-nav .nav-wide { display: none; }
  .site-nav a { font-size: .84rem; }
  .hero { padding-top: 2.6rem; }
  .wordmark { width: min(100%, 6.65rem); }
  .hero-actions { gap: .9rem; }
  .demo-heading { align-items: flex-start; flex-wrap: wrap; }
  .desktop { border-radius: 1.05rem; }
  .desktop-note { top: 2.55rem; }
  .demo-notes { top: 2.55rem; }
  .panel-shot { width: 83%; }
  .draft { inset-inline: 13%; }
  .draft-content { padding-inline: .72rem; }
  .experience[data-mode="notes"] .draft { visibility: hidden; }
  .demo-choice { padding: .38rem; font-size: .79rem; }
  .workspace-grid, .editing-details, .installation-guide { grid-template-columns: 1fr; }
}

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