/* Personal and Team use the same product typography and distinct workspace surfaces. */
body[data-page="personal"] {
  background: #fbfcfe;
}
body[data-page="team"] {
  background: #101214;
}
.workspace-page {
  --ws-bg: #fbfcfe;
  --ws-soft: #eef3f9;
  --ws-stage: #dfebf9;
  --ws-fg: #16191e;
  --ws-muted: #4d5764;
  --ws-line: #cdd6df;
  --ws-strong: #005ec2;
  --ws-accent: #c4daf1;
  --ws-window: #fbfcff;
  --ws-shadow: 0 15px 34px -16px #2336504d;
  background: var(--ws-bg);
  color: var(--ws-fg);
}
.ws-team {
  --ws-bg: #101214;
  --ws-soft: #1a1d21;
  --ws-stage: #292d32;
  --ws-fg: #f7f8fa;
  --ws-muted: #b8bec7;
  --ws-line: #393e43;
  --ws-strong: #c3cbd5;
  --ws-accent: #515960;
  --ws-window: #212529;
  --ws-shadow: 0 16px 38px -17px #000b;
  color-scheme: dark;
}
.ws-inner {
  width: min(1200px, calc(100% - clamp(36px, 8vw, 128px)));
  margin-inline: auto;
}
.ws-chapter,
.ws-start {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 5vw, 85px);
}
.ws-hero {
  padding-block: clamp(34px, 3vw, 52px) clamp(48px, 6vw, 88px);
}
.ws-hero-copy {
  text-align: center;
  max-width: 1020px;
  margin-inline: auto;
}
.ws-hero-copy > p {
  margin-inline: auto;
}

.ws-hero h1,
.workspace-page h2,
.workspace-page h3 {
  font-weight: 580;
  text-wrap: balance;
}
.ws-hero h1 {
  font-size: clamp(42px, 5.6vw, 82px);
  letter-spacing: -0.04em;
  line-height: 1.015;
}
.ws-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--ws-strong);
}
.ws-hero-copy > p,
.ws-body {
  margin-top: 22px;
  max-width: 49ch;
  color: var(--ws-muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}
.ws-hero-copy > p {
  max-width: 61ch;
}
.ws-entry {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 32px;
}
.ws-entry small {
  color: var(--ws-muted);
  font-size: 13px;
  line-height: 1.4;
}
.ws-cta {
  background: #0065cd;
  color: white;
  white-space: nowrap;
}
.ws-cta:hover {
  background: #0053ac;
}
.ws-team .ws-cta {
  background: #f4f6f8;
  color: #15181b;
}
.ws-team .ws-cta:hover {
  background: #d9dfe4;
}
.ws-hero-art {
  position: relative;
  isolation: isolate;
  margin: clamp(30px, 3vw, 48px) auto 0;
  padding-block: clamp(20px, 3vw, 40px);
}
.ws-hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 7%;
  border-radius: clamp(20px, 2.6vw, 36px);
  background: linear-gradient(145deg, var(--ws-soft), var(--ws-stage) 62%, var(--ws-accent));
}
.ws-hero-frame {
  width: 64%;
  margin-inline: auto;
}
.ws-hero-frame .ws-screen:focus-visible {
  outline: 3px solid var(--ws-strong);
  outline-offset: 4px;
}
.ws-screen {
  display: block;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--ws-window);
  color: var(--ws-fg);
  box-shadow: var(--ws-shadow);
  text-align: initial;
  cursor: zoom-in;
}
.ws-screen-bar {
  min-height: 31px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 12px;
  font-weight: 580;
  line-height: 1.2;
  color: var(--ws-muted);
}
.ws-screen-bar svg {
  justify-self: end;
}
.ws-window-marks {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ws-window-marks i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ws-muted);
  opacity: 0.45;
}
.ws-screen img {
  width: 100%;
  display: block;
  aspect-ratio: 1.6;
  object-fit: cover;
  object-position: top center;
}
.ws-hero-frame .ws-screen img {
  aspect-ratio: auto;
  height: auto;
}
.ws-hero-prompts {
  pointer-events: none;
}
.ws-question {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: clamp(236px, 28vw, 356px);
  padding: clamp(16px, 1.6vw, 24px);
  border-radius: 16px;
  background: var(--ws-window);
  color: var(--ws-fg);
  box-shadow:
    0 10px 25px -8px #17243538,
    0 1px 2px #17243512;
  font-size: clamp(20px, 1.85vw, 27px);
  font-weight: 550;
  line-height: 1.22;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}
.ws-question:first-child {
  --from-x: 18px;
  left: 0;
  top: 13%;
  border-bottom-right-radius: 4px;
}
.ws-question:last-child {
  --from-x: -18px;
  right: 0;
  top: 35%;
  border-bottom-left-radius: 4px;
}
.ws-question[data-intent="send"] {
  background: #edf5ff;
}
.ws-team .ws-question {
  background: #343940;
  box-shadow: 0 12px 26px -5px #0008;
}
.ws-team .ws-question[data-intent="send"] {
  background: #263c50;
}
.ws-team .ws-question[data-intent="send"] small {
  color: #c5e2ff;
}
@keyframes ws-prompt-appear {
  from {
    opacity: 0;
    transform: translate(var(--from-x), 7px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ws-question {
    animation: ws-prompt-appear 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards;
  }
  .ws-question:last-child {
    animation-delay: 0.42s;
  }
}
.ws-question small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ws-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
}
.ws-question svg {
  flex: none;
  width: 17px;
  height: 17px;
}
.ws-jumps {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  padding-block: 10px;
  border-block: 1px solid var(--ws-line);
}
.ws-jumps a,
.ws-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 570;
}
.ws-jumps a svg {
  width: 15px;
  transform: rotate(90deg);
}
.ws-jumps a:hover,
.ws-link:hover {
  color: var(--ws-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ws-team .ws-jumps {
  flex-wrap: wrap;
}
.ws-security {
  padding-block: clamp(48px, 6.5vw, 96px);
  background: var(--ws-soft);
  scroll-margin-top: 72px;
}
.ws-security-intro,
.ws-security-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
}
.ws-security-intro p,
.ws-security-copy p {
  max-width: 53ch;
  color: var(--ws-muted);
  font-size: clamp(16px, 1.28vw, 19px);
  line-height: 1.5;
  text-wrap: pretty;
}
.ws-security-examples {
  position: relative;
  min-inline-size: 0;
  margin: clamp(28px, 4vw, 52px) 0 0;
  padding: clamp(20px, 3.5vw, 46px);
  border: 0;
  border-radius: 18px;
  background: var(--ws-bg);
}
.ws-security-radio,
.ws-security-legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ws-security-examples label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin: 0 6px 4px 0;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--ws-stage);
  color: var(--ws-fg);
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
}
.ws-security-examples label:hover {
  background: var(--ws-line);
}
.ws-security-radio:checked + label {
  color: var(--ws-bg);
  background: var(--ws-fg);
}
.ws-security-radio:focus-visible + label,
.ws-security-case .ws-screen:focus-visible {
  outline: 2px solid #9ccaff;
  outline-offset: 3px;
}
.ws-security-case {
  display: none;
  margin-top: 20px;
}
#show-login:checked ~ #case-login,
#show-password:checked ~ #case-password {
  display: grid;
}
.workspace-page .ws-security-copy h3 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}
.ws-security-copy p {
  margin: 12px 0 0;
}
.ws-security-copy h4 {
  margin: 24px 0 0;
  font-size: 17px;
}
.ws-security-case .ws-screen {
  max-width: 490px;
  justify-self: center;
}
.ws-security-case .ws-screen img {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #0c0f11;
}
@media (max-width: 760px) {
  .ws-security-intro,
  .ws-security-case {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .ws-security-examples {
    padding: 20px 16px;
  }
  .ws-security-examples label {
    margin-right: 3px;
    padding-inline: 11px;
    font-size: 14px;
  }
}
.ws-chapter,
.ws-start {
  padding-block: clamp(64px, 8vw, 120px);
}
.workspace-page h2 {
  font-size: clamp(35px, 4.1vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.workspace-page h3 {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.ws-steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.ws-steps li {
  padding-block: 14px;
  border-top: 1px solid var(--ws-line);
}
.ws-steps p,
.ws-detail p {
  margin-top: 7px;
  color: var(--ws-muted);
  font-size: 16px;
  line-height: 1.48;
  text-wrap: pretty;
}
.ws-proof {
  min-width: 0;
  padding: clamp(14px, 2.7vw, 42px);
  background: var(--ws-stage);
  border-radius: 21px;
}
.ws-action {
  background: var(--ws-soft);
}
.ws-reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}
.ws-reverse .ws-proof {
  grid-column: 1;
  grid-row: 1;
}
.ws-reverse .ws-chapter-copy {
  grid-column: 2;
  grid-row: 1;
}
.ws-detail {
  border-top: 1px solid var(--ws-line);
  padding-top: 20px;
  margin-top: 24px;
}
.ws-link {
  line-height: 1.35;
}
.ws-chapter-copy > .ws-link {
  margin-top: 16px;
  color: var(--ws-strong);
}
.ws-action-proof,
.ws-personal .ws-action-proof .ws-screen {
  background: var(--ws-bg);
}
.ws-action-proof .ws-screen img {
  aspect-ratio: auto;
}
.ws-start {
  grid-template-columns: 1.3fr minmax(240px, 0.7fr);
}
.ws-bottom-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 25px;
  margin-top: 28px;
}
.ws-sources {
  padding: clamp(20px, 3vw, 38px);
  border-radius: 20px;
  background: var(--ws-soft);
}
.ws-sources ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.ws-sources li {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 43px;
  border-top: 1px solid var(--ws-line);
}
.ws-sources li strong {
  font-size: 15px;
  font-weight: 540;
}
.ws-sources li small {
  margin-left: auto;
  font-size: 13px;
  color: var(--ws-muted);
}
@media (max-width: 840px) {
  .ws-chapter,
  .ws-reverse,
  .ws-start {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .ws-reverse .ws-proof,
  .ws-reverse .ws-chapter-copy {
    grid-column: auto;
    grid-row: auto;
  }
  .ws-chapter h2,
  .ws-start h2 {
    max-width: 20ch;
  }
  .ws-chapter-copy {
    max-width: 65ch;
  }
  .ws-proof {
    padding: clamp(12px, 4vw, 30px);
  }
  .ws-start {
    grid-template-columns: 1fr minmax(200px, 0.68fr);
  }
}
@media (max-width: 720px) {
  .ws-hero-art {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 28px;
    padding: 0;
  }
  .ws-hero-art::before {
    inset: 22px -5px;
    border-radius: 18px;
  }
  .ws-hero-frame {
    grid-row: 2;
    width: 82%;
  }
  .ws-hero-prompts {
    display: contents;
  }
  .ws-question {
    position: relative;
    inset: auto;
    width: min(89%, 358px);
    padding: 15px 18px;
    font-size: clamp(18px, 4.8vw, 22px);
    gap: 6px;
  }
  .ws-question:first-child {
    grid-row: 1;
    justify-self: start;
    top: auto;
    margin-bottom: 5px;
  }
  .ws-question:last-child {
    grid-row: 3;
    justify-self: end;
    top: auto;
    margin-top: -4px;
  }
  .ws-question small {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .ws-inner {
    width: calc(100% - 36px);
  }
  .ws-hero {
    padding-block: 34px 32px;
  }
  .ws-hero h1 {
    font-size: clamp(34px, 8.2vw, 49px);
  }
  .ws-hero-copy > p,
  .ws-body {
    margin-top: 16px;
  }
  .ws-entry {
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }
  .ws-proof,
  .ws-sources {
    border-radius: 15px;
  }
  .ws-jumps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 14px;
  }
  .ws-jumps a {
    font-size: 13px;
    line-height: 1.25;
    gap: 4px;
  }
  .ws-jumps a svg {
    width: 12px;
    flex: none;
  }
  .ws-chapter,
  .ws-start {
    padding-block: 50px;
  }
  .ws-proof {
    padding: 12px;
  }
  .ws-screen-bar {
    min-height: 26px;
    padding-inline: 9px;
    font-size: 10px;
  }
  .ws-steps {
    margin-top: 22px;
  }
  .ws-start {
    grid-template-columns: minmax(0, 1fr);
  }
  .ws-entry small {
    font-size: 12px;
  }
}
