:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #202122;
  --muted: #54595d;
  --rule: #a2a9b1;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: sans-serif;
}

.page {
  display: grid;
  min-height: 100vh;
  padding: 48px 32px;
  place-items: center;
}

.entry {
  width: min(720px, 100%);
}

.entry-heading {
  margin-bottom: 26px;
}

h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.kedge-stage {
  display: block;
  width: 100%;
}

.kedge-scene {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.scene-hit-area {
  fill: transparent;
  pointer-events: all;
}

.rope-shadow,
.rope-stroke,
.drawn-boat,
.drawn-anchor {
  pointer-events: none;
}

.rope-shadow,
.rope-stroke {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rope-shadow {
  stroke: #ececec;
  stroke-width: 3;
}

.rope-stroke {
  stroke: #242424;
  stroke-dasharray: 3 2;
  stroke-width: 1.15;
}

.anchor {
  cursor: grab;
}

.kedge-scene:active .anchor {
  cursor: grabbing;
}

p {
  max-width: 680px;
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.65;
}

.summary {
  color: var(--ink);
}

p + p {
  color: var(--muted);
}

@media (max-width: 700px) {
  .page {
    padding: 32px 20px;
  }

  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 0.98rem;
  }
}
