:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #626a78;
  --soft: #f5f6fa;
  --paper: #ffffff;
  --line: #d8dde6;
  --blue: #0f7bff;
  --red: #ff384c;
  --yellow: #f5c400;
  --green: #28c667;
  --cyan: #18bed6;
  --violet: #7c5cff;
  --shadow: 0 24px 70px rgba(31, 37, 50, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8f9fc 0%, #ffffff 36%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
  padding: 0 clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(22, 25, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 850;
}

.brand-icon,
.dock-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f9fcff, #eef8ff);
  border: 1px solid #c9d6e3;
  box-shadow: 0 8px 18px rgba(15, 123, 255, 0.18);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand-icon svg,
.dock-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
}

.brand-icon rect,
.dock-icon rect {
  fill: #f7fbff;
  stroke: #bed0df;
}

.brand-icon path,
.dock-icon path {
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-icon path:last-child,
.dock-icon path:last-child {
  stroke: var(--red);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: #343944;
  font-size: 14px;
  font-weight: 760;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 5vw, 78px) 96px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 250, 253, 0.98) 0%, rgba(248, 250, 253, 0.88) 38%, rgba(248, 250, 253, 0.15) 78%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.24) 48%, rgba(255,255,255,0.94));
}

#hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.floating-dock {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 7vw, 110px);
  bottom: clamp(36px, 9vh, 96px);
  display: flex;
  align-items: center;
  gap: 0;
  transform: translateZ(0);
  filter: drop-shadow(0 28px 46px rgba(26, 31, 42, 0.18));
}

.dock-icon {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  width: min(760px, 62vw);
  padding: 8px 10px 8px 18px;
  margin-left: -8px;
  overflow: hidden;
  border: 1px solid rgba(30, 34, 43, 0.16);
  border-radius: 0 12px 12px 0;
  background: rgba(246, 247, 250, 0.94);
  backdrop-filter: blur(18px);
}

.demo-toolbar button,
.demo-toolbar .select,
.demo-toolbar .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 28px;
  border: 0;
  border-radius: 7px;
  color: #373c46;
  background: #e4e7ed;
  font-size: 13px;
  font-weight: 780;
}

.demo-toolbar button.active,
.demo-toolbar button:hover {
  color: #fff;
  background: var(--blue);
}

.demo-toolbar .select {
  min-width: 64px;
  padding: 0 10px;
}

.demo-toolbar .swatch {
  display: inline-block;
  width: 31px;
  height: 28px;
  border-radius: 8px;
  background: var(--red);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.demo-toolbar strong {
  font-size: 14px;
  min-width: 18px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 28px;
  color: #333946;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.5;
  font-weight: 650;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.compatibility,
.device-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.compatibility span,
.device-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: #39404b;
  background: #eef1f6;
  border: 1px solid #dde3ec;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #fff;
}

.status-strip div {
  min-height: 92px;
  padding: 20px clamp(20px, 5vw, 58px);
  border-right: 1px solid var(--line);
}

.status-strip strong,
.status-strip span {
  display: block;
}

.status-strip strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.status-strip span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 620;
}

.section {
  padding: clamp(60px, 8vw, 112px) clamp(20px, 5vw, 78px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.privacy-copy,
.download-panel p,
.future-products p,
.workflow-cards p,
.feature-grid p,
.tool-list em {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 590;
}

.demo-section {
  background: #fff;
}

.tool-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.tool-stage {
  min-height: 560px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15,123,255,0.12), transparent 38%),
    linear-gradient(315deg, rgba(40,198,103,0.12), transparent 42%),
    #f1f4f8;
}

.mac-window {
  height: 100%;
  overflow: hidden;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  color: #697282;
  background: #eef1f6;
  border-bottom: 1px solid #d8dde6;
  font-size: 13px;
  font-weight: 780;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-top span:nth-child(1) { background: #ff5f57; }
.window-top span:nth-child(2) { background: #febc2e; }
.window-top span:nth-child(3) { background: #28c840; }
.window-top b { margin-left: 6px; }

.stage-content {
  position: relative;
  min-height: 516px;
  padding: 32px;
  background:
    linear-gradient(#e9edf4 1px, transparent 1px),
    linear-gradient(90deg, #e9edf4 1px, transparent 1px),
    #fbfcfe;
  background-size: 28px 28px;
}

.worksheet {
  max-width: 500px;
  min-height: 300px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e1e5ec;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(30, 38, 52, 0.08);
}

.worksheet p {
  color: #4e5664;
  font-weight: 620;
}

.mini-graph {
  position: relative;
  width: min(100%, 430px);
  height: 230px;
  margin-top: 22px;
  border: 1px solid #9da6b4;
  background:
    linear-gradient(#d7dce5 1px, transparent 1px),
    linear-gradient(90deg, #d7dce5 1px, transparent 1px),
    linear-gradient(#939cab 1px, transparent 1px),
    linear-gradient(90deg, #939cab 1px, transparent 1px),
    #fff;
  background-size: 14px 14px, 14px 14px, 70px 70px, 70px 70px;
}

.axis-x,
.axis-y,
.curve {
  position: absolute;
  display: block;
}

.axis-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #15171c;
}

.axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #15171c;
}

.curve {
  left: 20%;
  top: 22%;
  width: 58%;
  height: 45%;
  border: 5px solid var(--red);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.annotation-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.annotation-layer .ambient-ink {
  width: 100%;
  height: 100%;
}

.demo-ink {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 0;
  transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
  animation: drawLine 2.8s ease-in-out infinite;
}

.ink-pen {
  stroke: var(--red);
  stroke-width: 8;
}

.ink-highlight {
  stroke: rgba(245, 196, 0, 0.52);
  stroke-width: 22;
}

.demo-shape {
  fill: rgba(15, 123, 255, 0.1);
  stroke: var(--blue);
  stroke-width: 4;
}

.demo-arrow {
  fill: none;
  stroke: var(--green);
  stroke-width: 7;
  stroke-linecap: round;
}

.demo-eraser {
  fill: rgba(255,255,255,0.68);
  stroke: #16191f;
  stroke-width: 3;
  opacity: 0;
}

.tool-demo {
  position: absolute;
  inset: 28px;
  display: none;
  pointer-events: none;
}

.demo-mode-pen .pen-demo,
.demo-mode-highlighter .highlighter-demo,
.demo-mode-eraser .eraser-demo,
.demo-mode-graph .graph-demo,
.demo-mode-board .board-demo,
.demo-mode-text .text-demo,
.demo-mode-image .image-demo,
.demo-mode-multi .multi-demo {
  display: block;
}

.demo-mode-pen .ambient-ink,
.demo-mode-highlighter .ambient-ink,
.demo-mode-eraser .ambient-ink,
.demo-mode-graph .ambient-ink,
.demo-mode-board .ambient-ink,
.demo-mode-text .ambient-ink,
.demo-mode-image .ambient-ink,
.demo-mode-multi .ambient-ink {
  opacity: 0;
}

.demo-paper {
  position: absolute;
  left: 34px;
  top: 28px;
  width: min(430px, calc(100% - 68px));
  min-height: 250px;
  padding: 26px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(22, 28, 40, 0.12);
}

.paper-line {
  display: block;
  width: 72%;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: #dfe5ee;
}

.paper-line.short {
  width: 42%;
}

.paper-line.wide {
  width: 88%;
}

.handwritten {
  position: absolute;
  left: 34px;
  bottom: 42px;
  display: block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--red);
  font-family: "Comic Sans MS", "Marker Felt", cursive;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.15;
  animation: writeText 3.2s steps(22, end) infinite;
}

.demo-pen-nib {
  position: absolute;
  left: 42px;
  bottom: 38px;
  width: 17px;
  height: 34px;
  border: 2px solid #17191f;
  border-radius: 5px 5px 3px 3px;
  background: #fff;
  transform: rotate(42deg);
  animation: penNibMove 3.2s ease-in-out infinite;
}

.demo-pen-nib::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -8px;
  width: 8px;
  height: 12px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.highlighter-demo .demo-paper p {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  max-width: 360px;
  color: #273140;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 720;
}

.highlight-target {
  display: inline;
  background: linear-gradient(90deg, rgba(245, 196, 0, 0.54), rgba(245, 196, 0, 0.54)) 0 70% / 0 18px no-repeat;
  animation: highlightText 2.5s ease-in-out infinite;
}

.highlight-swipe {
  position: absolute;
  left: 38px;
  top: 134px;
  width: 76px;
  height: 30px;
  border-radius: 7px;
  background: rgba(245, 196, 0, 0.70);
  transform: rotate(-3deg);
  animation: highlighterMove 2.5s ease-in-out infinite;
}

.eraser-demo svg {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  width: calc(100% - 56px);
  height: 150px;
}

.eraser-scribble {
  fill: none;
  stroke: var(--red);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: eraseInk 2.8s ease-in-out infinite;
}

.eraser-circle {
  position: absolute;
  left: 76px;
  bottom: 88px;
  width: 54px;
  height: 54px;
  border: 3px solid #17191f;
  border-radius: 50%;
  background: rgba(255,255,255,0.56);
  animation: eraserCircleMove 2.8s ease-in-out infinite;
}

.movable-graph {
  position: absolute;
  left: 74px;
  top: 56px;
  width: 360px;
  height: 220px;
  border: 1px solid #9da6b4;
  background:
    linear-gradient(#d7dce5 1px, transparent 1px),
    linear-gradient(90deg, #d7dce5 1px, transparent 1px),
    linear-gradient(#939cab 1px, transparent 1px),
    linear-gradient(90deg, #939cab 1px, transparent 1px),
    #fff;
  background-size: 14px 14px, 14px 14px, 70px 70px, 70px 70px;
  box-shadow: 0 22px 45px rgba(15, 123, 255, 0.16);
  animation: graphMoveResize 3.2s ease-in-out infinite;
}

.movable-graph .graph-axis-x,
.movable-graph .graph-axis-y {
  position: absolute;
  display: block;
  background: #17191f;
}

.movable-graph .graph-axis-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
}

.movable-graph .graph-axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
}

.movable-graph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movable-graph path {
  fill: none;
  stroke: var(--red);
  stroke-width: 7;
  stroke-linecap: round;
}

.resize-handle {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 4px;
  background: var(--blue);
}

.graph-label {
  position: absolute;
  left: 74px;
  top: 300px;
  padding: 8px 11px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
}

.board-demo {
  inset: 0;
}

.board-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 34px;
  color: #fff;
  background: #101319;
  animation: boardSwitch 4s ease-in-out infinite;
}

.board-screen strong {
  font-size: clamp(30px, 4vw, 48px);
}

.board-screen span {
  max-width: 520px;
  font-size: 18px;
  font-weight: 720;
  text-align: center;
}

.board-writing {
  width: 260px;
  height: 8px;
  margin: 22px auto 0;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(-4deg);
  animation: boardWrite 2.8s ease-in-out infinite;
}

.text-composer {
  position: absolute;
  left: 54px;
  top: 44px;
  width: 280px;
  padding: 14px;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(22, 28, 40, 0.14);
  animation: composerPop 3.2s ease-in-out infinite;
}

.text-composer label,
.text-composer span,
.text-composer button {
  display: block;
}

.text-composer label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.text-composer span {
  min-height: 78px;
  padding: 10px;
  border: 1px solid #dce2eb;
  border-radius: 7px;
  color: #273140;
  background: #f9fbfe;
  font-weight: 720;
}

.text-composer button {
  margin: 12px 0 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 7px 12px;
  color: #fff;
  background: var(--blue);
  font-weight: 850;
}

.placed-text {
  position: absolute;
  right: 58px;
  bottom: 76px;
  padding: 12px 14px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: #17191f;
  background: #fff;
  font-size: 20px;
  font-weight: 850;
  box-shadow: 0 18px 34px rgba(15, 123, 255, 0.15);
  animation: placedTextMove 3.2s ease-in-out infinite;
}

.pasted-image {
  position: absolute;
  left: 70px;
  top: 54px;
  width: 300px;
  height: 185px;
  padding: 20px;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(22, 28, 40, 0.14);
  animation: imageResize 3.2s ease-in-out infinite;
}

.pasted-image strong,
.pasted-image span {
  display: block;
}

.pasted-image strong {
  margin-bottom: 10px;
  font-size: 21px;
}

.pasted-image span {
  color: var(--muted);
  font-weight: 720;
}

.pasted-image i {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 38px;
  height: 54px;
  border-radius: 50%;
  border: 5px solid rgba(245, 196, 0, 0.55);
}

.image-demo svg {
  position: absolute;
  left: 84px;
  top: 116px;
  width: 380px;
  height: 220px;
}

.image-demo path {
  fill: none;
  stroke: var(--red);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 600;
  animation: drawLine 2.8s ease-in-out infinite;
}

.multi-demo {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.demo-mode-multi .multi-demo {
  display: grid;
}

.display {
  position: relative;
  min-height: 210px;
  padding: 18px;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(22, 28, 40, 0.10);
}

.display b {
  color: #273140;
}

.display-one {
  border-color: rgba(15, 123, 255, 0.68);
}

.display-one i {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 46px;
  height: 7px;
  border-radius: 99px;
  background: var(--red);
  transform: rotate(-12deg);
}

.multi-demo > span {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 8px 12px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-weight: 850;
}

.tool-list {
  display: grid;
  gap: 10px;
}

.tool-list button {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 14px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-list button:hover,
.tool-list button.selected {
  border-color: rgba(15, 123, 255, 0.48);
  box-shadow: 0 12px 26px rgba(15, 123, 255, 0.10);
  transform: translateY(-1px);
}

.tool-list span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 850;
}

.tool-list strong {
  font-size: 17px;
}

.tool-list em {
  display: block;
  font-style: normal;
  font-size: 14px;
}

.feature-grid-section {
  background: #f6f8fb;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.feature-grid article {
  min-height: 255px;
  padding: 24px;
  background: #fff;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.workflows {
  background: #fff;
}

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

.workflow-cards article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.animated-card {
  position: relative;
  min-height: 210px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #dfe4ed;
  border-radius: 8px;
  background: #f6f8fb;
}

.animated-card::before,
.animated-card::after {
  content: "";
  position: absolute;
  display: block;
}

.animated-card.teach {
  background:
    linear-gradient(#dce2eb 1px, transparent 1px),
    linear-gradient(90deg, #dce2eb 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
}

.animated-card.teach::before {
  left: 18%;
  top: 28%;
  width: 66%;
  height: 38%;
  border-top: 5px solid var(--red);
  border-right: 5px solid var(--red);
  border-radius: 50%;
  animation: sweep 2.6s ease-in-out infinite;
}

.animated-card.present::before {
  left: 32px;
  right: 32px;
  top: 38px;
  height: 22px;
  border-radius: 99px;
  background: #dfe5ee;
  box-shadow: 0 46px 0 #dfe5ee, 0 92px 0 #dfe5ee;
}

.animated-card.present::after {
  left: 80px;
  top: 28px;
  width: 128px;
  height: 52px;
  border: 7px solid rgba(245, 196, 0, 0.62);
  border-radius: 50%;
  animation: pulseMark 2.2s ease-in-out infinite;
}

.animated-card.support::before {
  left: 42px;
  top: 42px;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #e6ebf3;
  box-shadow: 122px 12px 0 #e6ebf3;
}

.animated-card.support::after {
  left: 114px;
  top: 128px;
  width: 140px;
  height: 7px;
  border-radius: 99px;
  background: var(--green);
  transform: rotate(-21deg);
  animation: pointerMove 2.4s ease-in-out infinite;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 78px);
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(24, 190, 214, 0.34), transparent 26%),
    linear-gradient(135deg, #17191f, #273140);
}

.privacy-section .eyebrow,
.privacy-section .privacy-copy {
  color: rgba(255, 255, 255, 0.74);
}

.privacy-section h2 {
  color: #fff;
}

.privacy-copy ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.privacy-copy li {
  margin-bottom: 10px;
}

.download-section {
  background: #f6f8fb;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(22, 28, 40, 0.08);
}

.download-actions {
  justify-content: flex-end;
}

.future-products {
  padding: clamp(48px, 7vw, 78px) clamp(20px, 5vw, 78px);
  border-block: 1px solid var(--line);
  background: #fff;
}

.future-products h2 {
  max-width: 900px;
}

.future-products p {
  max-width: 780px;
}

.developer-section {
  padding: clamp(52px, 7vw, 82px) clamp(20px, 5vw, 78px);
  background: #f6f8fb;
  border-bottom: 1px solid var(--line);
}

.developer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.developer-heading .eyebrow {
  margin-bottom: 10px;
}

.developer-section h2 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.4vw, 58px);
}

.developer-copy {
  max-width: 720px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(22, 28, 40, 0.07);
}

.developer-copy p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 590;
}

.developer-copy p:last-child {
  margin-bottom: 0;
}

.developer-copy strong {
  color: var(--ink);
}

.site-footer {
  padding: 24px clamp(20px, 5vw, 78px);
  background: #fff;
  color: var(--muted);
  font-weight: 680;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer a {
  color: #4c5565;
  font-weight: 760;
}

.demo-mode-highlighter .ink-pen,
.demo-mode-highlighter .demo-shape,
.demo-mode-highlighter .demo-arrow {
  opacity: 0.22;
}

.demo-mode-eraser .demo-eraser {
  opacity: 1;
  animation: eraserMove 1.7s ease-in-out infinite;
}

.demo-mode-graph .mini-graph {
  transform: scale(1.04);
  box-shadow: 0 18px 34px rgba(15, 123, 255, 0.16);
}

.demo-mode-board .stage-content {
  background: #101319;
}

.demo-mode-board .worksheet {
  background: #181c24;
  border-color: #303746;
  color: #fff;
}

.demo-mode-board .worksheet p,
.demo-mode-board .window-top {
  color: #c9d1df;
}

.demo-mode-text .worksheet::after {
  content: "x = 2 or x = -3";
  position: absolute;
  left: 82px;
  bottom: 74px;
  padding: 8px 10px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 123, 255, 0.14);
  font-weight: 780;
}

.demo-mode-image .stage-content::after {
  content: "Pasted question image";
  position: absolute;
  right: 42px;
  bottom: 52px;
  width: 190px;
  height: 130px;
  display: grid;
  place-items: center;
  border: 2px dashed #8c96a7;
  border-radius: 8px;
  color: #4f5868;
  background: #fff;
  font-weight: 800;
}

.demo-mode-multi .stage-content::before {
  content: "Active display only";
  position: absolute;
  right: 44px;
  top: 62px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
}

@keyframes drawLine {
  0% { stroke-dashoffset: 700; }
  42%, 100% { stroke-dashoffset: 0; }
}

@keyframes writeText {
  0%, 12% { width: 0; }
  62%, 100% { width: min(360px, calc(100% - 62px)); }
}

@keyframes penNibMove {
  0%, 12% { transform: translate(0, 0) rotate(42deg); }
  62%, 100% { transform: translate(312px, -12px) rotate(42deg); }
}

@keyframes highlightText {
  0%, 18% { background-size: 0 18px; }
  62%, 100% { background-size: 100% 18px; }
}

@keyframes highlighterMove {
  0%, 18% { transform: translate(0, 0) rotate(-3deg); opacity: 1; }
  62% { transform: translate(244px, 34px) rotate(-3deg); opacity: 1; }
  100% { transform: translate(244px, 34px) rotate(-3deg); opacity: 0; }
}

@keyframes eraseInk {
  0%, 24% { opacity: 1; stroke-dasharray: 600; stroke-dashoffset: 0; }
  72%, 100% { opacity: 0.10; stroke-dasharray: 600; stroke-dashoffset: 420; }
}

@keyframes eraserCircleMove {
  0%, 20% { transform: translate(0, 0); }
  68%, 100% { transform: translate(210px, -48px); }
}

@keyframes graphMoveResize {
  0%, 100% { transform: translate(0, 0) scale(0.88); }
  45% { transform: translate(44px, 18px) scale(1.08); }
  72% { transform: translate(18px, 8px) scale(0.98); }
}

@keyframes boardSwitch {
  0%, 45% { color: #fff; background: #101319; }
  55%, 100% { color: #17191f; background: #fff; }
}

@keyframes boardWrite {
  0%, 18% { width: 0; opacity: 0; }
  45%, 100% { width: 260px; opacity: 1; }
}

@keyframes composerPop {
  0% { transform: translateY(12px); opacity: 0; }
  18%, 100% { transform: translateY(0); opacity: 1; }
}

@keyframes placedTextMove {
  0%, 42% { transform: translate(0, 22px) scale(0.96); opacity: 0; }
  62%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

@keyframes imageResize {
  0%, 100% { transform: translate(0, 0) scale(0.92); }
  52% { transform: translate(34px, 18px) scale(1.08); }
}

@keyframes eraserMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(120px, -44px); }
}

@keyframes sweep {
  0%, 100% { transform: rotate(-16deg) translateX(-6px); }
  50% { transform: rotate(-8deg) translateX(8px); }
}

@keyframes pulseMark {
  0%, 100% { transform: scale(0.96); opacity: 0.54; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes pointerMove {
  0%, 100% { transform: translateX(-12px) rotate(-21deg); }
  50% { transform: translateX(24px) rotate(-21deg); }
}

@media (max-width: 1180px) {
  .demo-toolbar {
    width: min(680px, 68vw);
  }

  .demo-toolbar button:nth-of-type(n + 10),
  .demo-toolbar .select:nth-of-type(n + 3) {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .floating-dock {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .demo-toolbar {
    width: calc(100vw - 96px);
  }

  .status-strip,
  .tool-explorer,
  .workflow-cards,
  .privacy-section,
  .developer-inner,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 60px;
  }

  .hero {
    min-height: 820px;
    padding-top: 92px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .demo-toolbar {
    width: calc(100vw - 88px);
    gap: 5px;
  }

  .demo-toolbar .select,
  .demo-toolbar button:nth-of-type(n + 6),
  .demo-toolbar .step,
  .demo-toolbar strong {
    display: none;
  }

  .status-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .tool-stage {
    min-height: 460px;
    padding: 12px;
  }

  .stage-content {
    min-height: 420px;
    padding: 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
