:root {
  color-scheme: light;
  --white: #fff;
  --ink: #282420;
  --muted: #625a51;
  --line: #e8e1d8;
  --line-strong: #d8cec2;
  --surface: #fcfaf7;
  --surface-strong: #f5f0e8;
  --purple: #660874;
  --purple-deep: #50075b;
  --blue-tint: #edf2ff;
  --blue-line: #dce5f8;
  --mint-tint: #e9f5ef;
  --display: "Clab Serif", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

@font-face {
  font-family: "Clab Serif";
  src: url("assets/clab-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.7 var(--body); }
h1, h2, h3, p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button:not(:disabled), summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
section[id] { scroll-margin-top: 32px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 2; padding: 8px 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--white); }
.header-inner { min-height: 73px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header-inner > .button { justify-self: end; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 7px; font: 700 1.88rem/1 Georgia, serif; letter-spacing: -.075em; }
.wordmark span { margin-left: -6px; color: var(--purple); }
.wordmark img { flex: none; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3.1vw, 45px); font-size: .90625rem; font-weight: 600; color: var(--muted); }
.main-nav a:hover, .footer-inner > a:last-child:hover { color: var(--ink); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .55em; min-height: 48px; padding: 9px 19px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: .9375rem; line-height: 1.4; white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s; }
.button-small { min-height: 38px; font-size: .875rem; padding: 7px 14px; }
.button-primary { background: var(--ink); border-color: var(--ink); color: white; }
.button-primary:not(:disabled):hover { background: #443a31; border-color: #443a31; }
.button-primary:disabled { background: var(--surface-strong); border-color: var(--line); color: var(--muted); }
.button-outline { background: white; border-color: var(--line-strong); }
.button-outline:hover { border-color: var(--line-strong); background: var(--surface); }
.play-mark { width: 0; height: 0; border-block: .33em solid transparent; border-left: .49em solid currentColor; margin-right: .06em; }

.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(26px, 4vw, 62px); align-items: center; padding: clamp(44px, 6.2vw, 90px) 0 clamp(44px, 5.4vw, 78px); }
.hero-copy { position: relative; z-index: 1; }
.hero-label { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--muted); font-weight: 700; font-size: .90625rem; }
.hero-label > span { width: 9px; height: 9px; background: var(--purple); transform: rotate(45deg); }
.hero h1 { font: 700 clamp(2.9rem, 5.55vw, 5.15rem)/1.13 var(--display); letter-spacing: -.065em; white-space: nowrap; }
.hero h1 [lang] { letter-spacing: -.063em; }
.hero-accent { position: relative; display: inline-block; }
.hero-accent::after { content: ""; position: absolute; bottom: -.095em; left: 0; width: 100%; height: .17em; background: var(--purple); clip-path: polygon(0 54%, 17% 38%, 43% 32%, 72% 28%, 99% 42%, 100% 65%, 68% 61%, 41% 70%, 13% 77%, 1% 72%); opacity: .85; pointer-events: none; }
.hero-description { max-width: 32em; margin-top: 29px; color: var(--muted); font-size: 1.0625rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.hero-actions .button-primary { background: var(--purple); border-color: var(--purple); }
.hero-actions .button-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.hero-art { position: relative; display: grid; justify-items: center; align-content: center; isolation: isolate; min-width: 0; padding: 12px 0 0; }
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 5% 13%;
  background: radial-gradient(ellipse, #faf3e9 0%, #fff 73%);
  pointer-events: none;
}
.crab-response { width: min(86%, 438px); position: relative; z-index: 1; pointer-events: none; }
.crab-illustration { position: relative; aspect-ratio: 3 / 2; transform: rotate(-2deg); }
.crab-body, .crab-claw { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.crab-claw { display: none; }
.crab-eye {
  position: absolute;
  top: 45.5%;
  width: 4.9%;
  height: 8.3%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}
.crab-eye-left { left: 40.6%; }
.crab-eye-right { left: 57.65%; }
.crab-eye i {
  width: 55%;
  height: 56%;
  border-radius: 45% 54% 49% 53%;
  background: radial-gradient(ellipse at 34% 33%, #5b415e 0%, #49324e 55%, #302434 97%);
  transform: translate(var(--crab-look-x, 0%), var(--crab-look-y, 0%));
}
.hero-spark { position: absolute; width: 22px; aspect-ratio: 1; background: linear-gradient(145deg, #d8bb79 45%, #f3dfac 48%); clip-path: polygon(54% 0,65% 34%,100% 48%,66% 60%,46% 100%,34% 65%,0 54%,37% 37%); pointer-events: none; }
.hero-spark-top { top: 14%; right: 7%; }
.hero-spark-side { left: 8%; top: 49%; width: 15px; background: linear-gradient(145deg, #9caf9f 47%, #dce7de 50%); }
.paper-tasks { position: relative; display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(7px, 1.2vw, 15px); padding: 0; list-style: none; perspective: 500px; }
.paper-tasks::before { content: ""; position: absolute; inset: -23px 15% auto; height: 39px; border: 1px dashed #b2a797; border-bottom: 0; border-radius: 24px 24px 0 0; transform: skewY(-1deg); pointer-events: none; }
.paper-task { --paper-color: #f3e5db; --fold-color: #dfc4b2; --paper-angle: -4deg; position: relative; min-width: 0; padding: 12px clamp(7px, 1.1vw, 14px); background: var(--paper-color); border: 1px solid #59473b24; border-radius: 2px 0 3px 2px; box-shadow: 1px 4px 7px #342c2114; transform: rotate(var(--paper-angle)); }
.paper-task:nth-child(2) { --paper-color: #e9eee4; --fold-color: #c7d5c3; --paper-angle: 2deg; }
.paper-task:nth-child(3) { --paper-color: #f3ecd9; --fold-color: #e0d0a7; --paper-angle: -2deg; }
.paper-task::after { content: ""; position: absolute; top: -1px; right: -1px; width: 16px; aspect-ratio: 1; background: linear-gradient(45deg, var(--fold-color) 49%, #fff 52%); }
.paper-task strong, .paper-task span { display: block; line-height: 1.45; }
.paper-task strong { padding-right: 5px; font-size: clamp(.75rem, 1.15vw, .92rem); white-space: nowrap; }
.paper-task span { margin-top: 3px; color: var(--muted); font-size: .82rem; }
.paper-dispatch { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 5px 9px; border: 0; background: transparent; color: var(--purple); font-size: .85rem; font-weight: 700; }
.paper-dispatch:hover { text-decoration: underline; text-underline-offset: 3px; }
.paper-dispatch i, .footer-inner > a:last-child::after { width: 15px; height: 14px; background: linear-gradient(137deg, currentColor 54%, #cabcae 55%); clip-path: polygon(0 46%, 100% 3%, 75% 100%, 51% 67%, 31% 87%, 35% 59%); }
.hero-art.is-dispatched .paper-tasks::before { border-color: var(--purple); }

.showcase { border-top: 1px solid var(--line); padding-top: clamp(30px, 5.3vw, 74px); }
.showcase > h2 { margin-bottom: 20px; font: 700 clamp(1.8rem, 3.8vw, 3.15rem)/1.25 var(--display); letter-spacing: -.055em; }
.showcase-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / .95);
  backdrop-filter: blur(10px);
}
.showcase-nav::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: var(--purple); transform: scaleX(var(--story-progress, 0)); transform-origin: left; pointer-events: none; }
.showcase-nav a { padding: 5px 13px; color: var(--muted); border-radius: 6px; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.showcase-nav a:hover { background: var(--surface); color: var(--ink); }
.showcase-nav a[aria-current="step"] { color: var(--purple); background: var(--surface); }
.product-demos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  padding-top: clamp(20px, 3vw, 36px);
}
.product-demo {
  --card-inset: clamp(12px, 1.7vw, 24px);
  --fold-fill: var(--product-border);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px 0 8px 6px;
  background: var(--white);
  scroll-margin-top: 70px;
}
.product-demo::after, .workspace::after, .feature::after, .start-card::after { content: ""; position: absolute; top: -1px; right: -1px; width: var(--fold-size, 22px); aspect-ratio: 1; background: linear-gradient(45deg, var(--fold-fill, #ece4d9) 48%, var(--line) 50%, var(--white) 53%); pointer-events: none; }
.product-copy { padding: clamp(18px, 2.25vw, 30px) var(--card-inset) clamp(14px, 1.65vw, 22px); }
.product-copy h3 { font: 700 clamp(1.375rem, 2.3vw, 1.875rem)/1.3 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.product-copy p { margin-top: 8px; max-width: 36em; color: var(--muted); line-height: 1.65; }
.product-visual {
  min-width: 0;
  margin-top: auto;
  padding: 0 var(--card-inset) var(--card-inset);
}
.product-demo--inbox { --product-surface: #f2f4f6; --product-glow: #e7eaee; --product-border: #dce1e5; --product-ratio: 1152 / 720; }
.product-demo--team { --product-surface: #eff4f0; --product-glow: #e0ebe4; --product-border: #d6e3da; --product-ratio: 4 / 3; }
.product-demo--research { --product-surface: #f8f6f3; --product-glow: #ede8e3; --product-border: #e4ddd7; --product-ratio: 792 / 552; }
.product-demo--handoff { --product-surface: #edf2fc; --product-glow: #dce8ff; --product-border: #d7e2f5; --product-ratio: 684 / 518; }
.product-demo--review { --product-surface: #edf5ee; --product-glow: #d9ebdf; --product-border: #d0e5d7; --product-ratio: 876 / 666; }
.product-demo--remote { --product-surface: #fbf3e9; --product-glow: #f4e1c7; --product-border: #eadbc7; --product-ratio: 4 / 5; }
.product-window {
  margin: 0;
  border: 1px solid var(--product-border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}
.product-bar, .product-dialog-bar { display: flex; min-height: 44px; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 12px; }
.product-bar { color: var(--muted); font-size: .8125rem; border-top: 1px solid var(--line); }
.product-bar-actions { display: flex; align-items: center; gap: 4px; }
.product-control { padding: 3px 8px; border: 0; border-radius: 6px; color: var(--ink); background: transparent; font-size: .875rem; }
.product-control:hover { background: var(--product-surface); }
.product-stage {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  aspect-ratio: 4 / 3;
  padding: clamp(5px, .7vw, 10px);
  background: radial-gradient(ellipse at 80% 15%, var(--product-glow), transparent 70%) var(--product-surface);
  overflow: hidden;
}
.product-stage img, .product-motion { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; }
.product-motion { opacity: 0; visibility: hidden; pointer-events: none; }
.product-motion.has-frame { opacity: 1; visibility: visible; }
.product-dialog { width: min(var(--product-zoom-width, 640px), calc(100% - 26px)); max-width: none; max-height: calc(100% - 26px); padding: 0; border: 1px solid var(--line); border-radius: 13px; }
.product-dialog::backdrop { background: #151515c4; }
.product-dialog-bar { background: white; border-bottom: 1px solid var(--line); }
.product-dialog-view { max-height: calc(100dvh - 84px); overflow: auto; }
.product-dialog-view img { width: var(--product-zoom-width, 640px); max-width: none; height: auto; }
.tour-button[data-playing="true"] .play-mark { width: 8px; height: 10px; border: solid currentColor; border-width: 0 2px; }

.demo { margin-top: 88px; }
.demo-intro { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 0 0 15px; }
.demo-intro h2 { font-size: 1.1875rem; line-height: 1.4; }
.workspace { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px 0 10px 8px; background: white; box-shadow: 0 12px 32px #0000000c, 0 2px 5px #00000008; }
.workspace-bar { min-height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px 22px 8px 17px; border-bottom: 1px solid var(--line); background: var(--surface); }
.workspace-name { display: flex; gap: 8px; align-items: center; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.workspace-name img { flex: none; }
.scenario-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-strong); }
.scenario-tabs button { min-height: 30px; padding: 4px 11px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: .875rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.scenario-tabs button:hover { color: var(--ink); }
.scenario-tabs button[aria-selected="true"] { background: white; color: var(--purple); box-shadow: 0 1px 4px #00000015; }
.demo-label { justify-self: end; color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.workspace-body { display: grid; grid-template-columns: 197px minmax(0, 1fr) 240px; min-height: 316px; }
.demo-sidebar, .demo-tasks { padding: 17px 15px; background: var(--surface); }
.demo-sidebar { border-right: 1px solid var(--line); }
.demo-tasks { border-left: 1px solid var(--line); }
.pane-label { color: var(--muted); font-size: .8125rem; font-weight: 700; }
.demo-room { display: flex; align-items: center; gap: 7px; padding: 6px; margin-top: 9px; border-radius: 4px; background: var(--surface-strong); }
.room-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
.room-icon--group { grid-template: repeat(2, 13px) / repeat(2, 13px); place-content: center; }
.room-icon--group img { object-fit: contain; }
.room-icon--group img:first-child { grid-column: 1 / -1; }
.demo-room strong, .task-list strong { display: block; font-size: .875rem; line-height: 1.4; }
.demo-room small, .task-list small { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.member-label { margin-top: 16px; }
.demo-members { display: grid; gap: 8px; margin-top: 9px; padding: 0; list-style: none; }
.demo-members li { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.mini-avatar { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border-radius: 5px; font-size: .625rem; font-weight: 750; line-height: 1; }
.avatar-brand { padding: 2px; border: 1px solid var(--line); background: var(--white); object-fit: contain; }
.avatar-you { color: white; background: var(--ink); }
.avatar-device { color: #285e48; background: var(--mint-tint); }
.demo-chat { position: relative; min-width: 0; }
.demo-progress { position: absolute; top: 0; left: 0; right: 0; z-index: 1; display: flex; gap: 3px; padding-inline: 1px; pointer-events: none; }
.demo-progress span { flex: 1; height: 2px; background: var(--surface-strong); }
.demo-progress span::after { content: ""; display: block; height: 100%; background: var(--purple); transform: scaleX(0); transform-origin: left; }
.demo-progress span.is-filled::after { transform: scaleX(1); }
.chat-scroll { height: 259px; overflow: auto; overscroll-behavior: contain; padding: 14px 18px 12px; }
.chat-scroll:focus-visible { outline-offset: -3px; }
.chat-date { display: flex; justify-content: center; color: var(--muted); font-size: .75rem; }
.message { display: flex; gap: 8px; align-items: flex-start; margin-top: 11px; font-size: .875rem; line-height: 1.65; }
.message > div { padding: 7px 10px; border-radius: 7px; }
.message-user { justify-content: flex-end; }
.message-user > div { background: var(--blue-tint); }
.message-clab > div { background: var(--surface); }
.message-clab strong { display: block; color: var(--ink); font-size: .8125rem; line-height: 1.35; }
.message-clab p { margin-top: 3px; }
.message-icon { flex: 0 0 25px; }
.demo-events { padding: 0; list-style: none; }
.demo-event { border-left: 2px solid var(--line-strong); margin: 9px 0 0 32px; padding: 2px 0 2px 9px; }
.demo-event strong { display: block; color: var(--ink); font-size: .8125rem; line-height: 1.45; }
.demo-event p { font-size: .875rem; line-height: 1.5; }
.demo-deliverable { max-width: 31rem; margin-top: 8px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); }
.demo-deliverable summary { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 8px; color: var(--purple); font-size: .875rem; font-weight: 700; list-style: none; }
.demo-deliverable summary::-webkit-details-marker { display: none; }
.demo-deliverable summary::after { content: ""; width: 7px; height: 7px; margin-right: 2px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.demo-deliverable[open] summary::after { transform: rotate(225deg); }
.demo-deliverable ul { margin-bottom: 9px; padding: 2px 0 0 1.15em; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.demo-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 57px; padding: 8px 12px; border-top: 1px solid var(--line); background: white; }
.demo-status { margin-right: auto; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.demo-action { min-height: 36px; padding: 5px 11px; font-size: .875rem; border-radius: 6px; }
.demo-reset { min-height: 36px; padding: 3px 7px; background: none; border: 0; border-radius: 4px; color: var(--ink); font-size: .875rem; white-space: nowrap; }
.demo-reset:hover { background: var(--surface-strong); }
.task-list { list-style: none; margin-top: 9px; padding: 0; }
.task-list li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; padding: 8px 7px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.task-status { position: relative; width: 13px; height: 13px; flex: 0 0 13px; margin-top: 3px; border: 1px solid #929292; border-radius: 50%; }
.task-status[data-state="active"] { border: 3px solid var(--line); background: var(--purple); }
.task-status[data-state="done"] { border-color: #347459; background: #347459; }
.task-status[data-state="done"]::after { content: ""; position: absolute; top: 2px; left: 3px; width: 4px; height: 6px; border: solid white; border-width: 0 1px 1px 0; transform: rotate(42deg); }
.no-script { margin-top: 8px; color: var(--muted); font-size: .875rem; }

.features { margin-top: 115px; }
.features h2, .faq h2, .start h2 { font: 700 clamp(2.08rem, 4.5vw, 3.45rem)/1.22 var(--display); letter-spacing: -.055em; }
.features h2 { margin-bottom: 26px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.feature { position: relative; min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 6px 0 8px 6px; box-shadow: 0 3px 0 -2px var(--line); }
.feature h3 { margin-bottom: 6px; font-size: 1.14rem; line-height: 1.45; }
.feature p { color: var(--muted); }

.faq { display: grid; grid-template-columns: .7fr 1fr; gap: 28px; margin-top: 107px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 12px 2px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--muted); }
.faq summary span { width: 15px; height: 15px; flex: none; position: relative; transform: rotate(-8deg); }
.faq details[open] summary span { color: var(--purple); }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; top: 7px; left: 1px; width: 13px; height: 1px; background: currentColor; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { display: none; }
.faq details p { padding: 0 24px 15px 2px; color: var(--muted); }

.start { margin-block: 98px 62px; }
.start-card { --fold-size: 26px; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 39px; border: 1px solid var(--line); border-radius: 6px 0 8px 6px; background: var(--white); box-shadow: 3px 4px 0 var(--surface-strong); }
.start h2 { font-size: clamp(1.9rem, 4.3vw, 2.8rem); }
.start p { margin-top: 8px; color: var(--muted); }
.start-actions { display: grid; justify-items: center; gap: 7px; flex: none; }
.start-actions small { color: var(--muted); font-size: .8125rem; }
.start-source { color: var(--purple); font-size: .875rem; text-underline-offset: 3px; }
.start-source:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 16px; min-height: 74px; color: var(--muted); font-size: .875rem; }
.footer-inner .wordmark { color: var(--ink); font-size: 1.55rem; }
.footer-inner > a:last-child { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.footer-inner > a:last-child::after { content: ""; transform: rotate(-12deg); }

:is(.demo-intro h2, .features h2, .faq h2, .start h2)::after {
  content: "";
  display: block;
  width: 2.25em;
  height: 5px;
  margin-top: 4px;
  background: #a79988;
  clip-path: polygon(0 63%, 13% 49%, 48% 31%, 78% 30%, 100% 48%, 96% 65%, 64% 59%, 30% 73%, 1% 83%);
}

@media (max-width: 1050px) {
  .workspace-body { grid-template-columns: 165px minmax(0, 1fr) 190px; }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .hero { padding-block: 49px; gap: 17px; }
  .hero h1 { font-size: clamp(2.625rem, 7vw, 3.75rem); }
  .hero-description { margin-top: 21px; }
  .workspace-body { grid-template-columns: minmax(0, 1fr) 175px; }
  .demo-sidebar { grid-column: 1 / -1; padding: 7px 12px; border: 0; border-bottom: 1px solid var(--line); }
  .demo-sidebar .pane-label, .demo-members { display: none; }
  .demo-room { margin: 0; padding: 0; background: transparent; }
  .features, .faq { margin-top: 80px; }
  .feature { padding: 19px; }
  .start { margin-top: 72px; }
}

@media (max-width: 800px) {
  .product-demos { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .product-stage { aspect-ratio: var(--product-ratio); }
  .product-copy h3 { font-size: clamp(1.375rem, 4.5vw, 1.75rem); }
  .product-bar { font-size: .75rem; padding-inline: 6px; }
  .product-control { padding-inline: 5px; }
}

@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-art { width: min(100%, 540px); justify-self: center; }
}

@media (max-width: 570px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 60px; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 17px; padding: 37px 0 27px; }
  .hero-label { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(2.12rem, 10.35vw, 3.25rem); }
  .hero-description { font-size: 1rem; line-height: 1.72; }
  .hero-actions { margin-top: 17px; }
  .hero-art { padding: 0 4px; }
  .crab-response { width: min(93%, 320px); }
  .hero-spark-top { right: 7%; }
  .paper-task { padding-block: 9px; }
  .paper-task strong { font-size: clamp(.71875rem, 3vw, .875rem); }
  .paper-task span { font-size: .75rem; }
  .demo-intro { gap: 6px; margin-bottom: 10px; }
  .showcase > h2 { margin-bottom: 20px; font-size: clamp(1.4rem, 6vw, 1.65rem); }
  .showcase-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding-block: 7px; }
  .showcase-nav a { padding-inline: 4px; font-size: .8125rem; text-align: center; }
  .product-demo { scroll-margin-top: 92px; }
  .demo { margin-top: 55px; }
  .workspace-bar { grid-template-columns: 1fr auto; gap: 6px; padding: 8px 22px 8px 9px; }
  .workspace-name { grid-column: 1; grid-row: 1; }
  .demo-label { grid-column: 2; grid-row: 1; }
  .scenario-tabs { grid-column: 1 / -1; }
  .scenario-tabs button { flex: 1; padding-inline: 3px; }
  .workspace-body { grid-template-columns: 1fr; }
  .chat-scroll { height: 220px; padding-inline: 10px; }
  .demo-controls { padding-inline: 8px; }
  .demo-tasks { padding: 9px; border-left: 0; border-top: 1px solid var(--line); }
  .task-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin-top: 5px; }
  .task-list li { margin: 0; padding: 5px 3px; gap: 3px; }
  .task-list strong { font-size: .75rem; }
  .task-list small { overflow-wrap: anywhere; }
  .task-status { width: 11px; height: 11px; flex-basis: 11px; }
  .task-status[data-state="done"]::after { left: 2px; top: 1px; }
  .feature-grid, .faq { grid-template-columns: 1fr; }
  .features h2 { margin-bottom: 18px; }
  .features, .faq { margin-top: 62px; }
  .faq { gap: 16px; }
  .start { margin-block: 56px 34px; }
  .start-card { align-items: flex-start; flex-direction: column; padding: 23px; }
  .start-actions { justify-items: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: arrive .58s cubic-bezier(.18,.69,.2,1) both; }
  .hero-copy h1 { animation-delay: .08s; }
  .hero-copy .hero-description { animation-delay: .17s; }
  .hero-actions { animation-delay: .27s; }
  .hero-accent::after { animation: draw-mark .75s .42s cubic-bezier(.16,.76,.29,1) both; transform-origin: left; }
  .crab-response { transform: translate(var(--crab-x, 0px), var(--crab-y, 0px)); }
  .crab-illustration { --crab-angle: calc(-2deg + var(--crab-tilt, 0deg)); transform: rotate(var(--crab-angle)); animation: crab-arrive .95s .08s cubic-bezier(.18,.74,.28,1) backwards, crab-bob 1.35s 1.1s ease-in-out 2; }
  .crab-response[data-claw-moving] .crab-body {
    clip-path: polygon(30% 0, 69% 0, 69% 34%, 78.4% 43.2%, 81.2% 48.3%, 100% 39%, 100% 100%, 0 100%, 0 52.3%, 14.85% 52.3%, 19% 46.3%, 30% 35.3%);
  }
  .crab-response[data-claw-moving] .crab-claw { display: block; }
  /* The crops overlap the body at the hinges. */
  .crab-claw-left {
    clip-path: polygon(0 0, 30.5% 0, 30.5% 36.5%, 19.6% 47.5%, 15% 54%, 0 54%);
    transform: rotate(var(--crab-claw-left, 0deg));
    transform-origin: 17.2% 49.4%;
  }
  .crab-claw-right {
    clip-path: polygon(68.5% 0, 100% 0, 100% 40%, 81.9% 49.8%, 77.7% 44.4%, 68.5% 35%);
    transform: rotate(var(--crab-claw-right, 0deg));
    transform-origin: 79.9% 46%;
  }
  .hero-spark { animation: sparkle 1.2s .6s ease-in-out 2 both; }
  .hero-spark-side { animation-delay: .92s; }
  .is-inview { animation: arrive .58s cubic-bezier(.18,.69,.2,1) both; }
  .button { transition: background-color .18s, border-color .18s, color .18s, transform .18s; }
  .product-motion.has-frame { transition: opacity .18s ease; }
  .story-ready .product-demo:not(:focus-within) .product-copy h3 { opacity: var(--title-in, 1); transform: translateY(calc((1 - var(--title-in, 1)) * 18px)); }
  .story-ready .product-demo:not(:focus-within) .product-copy p { opacity: var(--copy-in, 1); transform: translateY(calc((1 - var(--copy-in, 1)) * 14px)); }
  .story-ready .product-demo:not(:focus-within) .product-window { opacity: var(--media-in, 1); transform: translateY(calc((1 - var(--media-in, 1)) * 26px)) scale(calc(.974 + var(--media-in, 1) * .026)); }
  .showcase-nav a { transition: color .18s ease, background-color .18s ease; }
  .product-dialog[open] { animation: arrive .22s ease-out both; }
  .demo-event, .faq details[open] > p { animation: arrive .27s ease-out both; }
  .demo-deliverable { animation: deliverable-in .4s .12s ease-out both; }
  .demo-progress span::after { transition: transform .4s cubic-bezier(.16,.76,.29,1); }
  .task-status { transition: background-color .21s, border-color .21s; }
  .task-status[data-state="active"] { animation: task-pulse .8s ease-out 3; }
  .task-status[data-state="done"]::after { animation: tick-in .27s ease-out both; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .button:active { transform: translateY(0); }
}

@keyframes arrive { from { opacity: .18; transform: translateY(17px); } to { opacity: 1; transform: none; } }
@keyframes deliverable-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes crab-arrive { from { opacity: 0; transform: translateY(23px) rotate(calc(var(--crab-angle) - 7deg)) scale(.93); } to { opacity: 1; transform: rotate(var(--crab-angle)); } }
@keyframes crab-bob { 0%, 100% { transform: rotate(var(--crab-angle)); } 50% { transform: translateY(-8px) rotate(calc(var(--crab-angle) + 3deg)); } }
@keyframes draw-mark { from { transform: rotate(-3deg) scaleX(0); } to { transform: rotate(-3deg) scaleX(1); } }
@keyframes sparkle { 0%, 100% { opacity: .54; transform: scale(.83) rotate(0); } 50% { opacity: 1; transform: scale(1.21) rotate(20deg); } }
@keyframes task-pulse { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--purple) 33%, transparent); } to { box-shadow: 0 0 0 5px transparent; } }
@keyframes tick-in { from { opacity: 0; transform: rotate(42deg) scale(.25); } to { opacity: 1; transform: rotate(42deg); } }

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