/* Drafting marks are decorative: they never capture pointer or focus events. */
:root {
  --draft-line: color-mix(in srgb, var(--accent) 58%, transparent);
  --draft-tick: color-mix(in srgb, var(--accent) 72%, transparent);
}

/* Section reference lines, registration marks, and measurement ticks. */
.section-label,
.ie-section-top {
  position: relative;
  border-top-style: dashed;
}
.section-label::before,
.section-label::after,
.ie-section-top::before,
.ie-section-top::after {
  content: "+";
  position: absolute;
  top: -10px;
  color: var(--draft-tick);
  font: 13px/1 ui-monospace, monospace;
  pointer-events: none;
}
.section-label::before, .ie-section-top::before { left: -4px; }
.section-label::after, .ie-section-top::after { right: -4px; }

/* Rulers sit in existing empty edges, outside the content and controls. */
.ie-hero::after,
.stage-ruler::before,
.stage-ruler::after,
.ie-diagram::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .75;
}
.ie-hero::after {
  left: clamp(24px, 5vw, 80px);
  right: clamp(24px, 5vw, 80px);
  bottom: 12px;
  height: 7px;
  border-bottom: 1px dashed var(--draft-line);
  background: repeating-linear-gradient(90deg, var(--draft-tick) 0 1px, transparent 1px 40px) left bottom / auto 5px repeat-x;
}
.stage-ruler::before,
.ie-diagram::after {
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--draft-tick) 0 1px, transparent 1px 40px);
}
.stage-ruler::after {
  top: 12px;
  bottom: 12px;
  right: 4px;
  width: 5px;
  background: repeating-linear-gradient(0deg, var(--draft-tick) 0 1px, transparent 1px 40px);
}

/* Construction lines distinguish the blueprint from ordinary dividers. */
.stage-ruler,
.ie-diagram,
.ie-system-node,
.ie-orbit > span,
.ie-pricing-scale span,
.ie-solution-hero-flow > span,
.flow-lab-board,
.lab-node,
.lab-branch {
  border-style: dashed;
}
.ie-accordions, .problem-grid, .principle-list > div, .footer-base {
  border-top: 1px dashed var(--draft-line);
}
.ie-accordions details, .ie-editorial-mark, .ie-hero-bottom, .problem-grid,
.app-flow-choice, .yc-channel, .footer-top {
  border-bottom: 1px dashed var(--draft-line);
}
.problem-grid article:not(:last-child) { border-right: 1px dashed var(--draft-line); }
@media(max-width:850px) { .problem-grid article:nth-child(2) { border-right: 0; } }
.ie-example-rail > span,
.ie-solution-route > i,
.lab-wire,
.flow-lab-meter {
  background: repeating-linear-gradient(90deg, var(--draft-line) 0 5px, transparent 5px 9px);
}
.lab-wire,
.flow-lab-meter {
  background: repeating-linear-gradient(0deg, var(--draft-line) 0 5px, transparent 5px 9px);
}

@media (max-width: 550px) {
  .ie-hero::after { left: 20px; right: 20px; }
  .ie-hero::after, .stage-ruler::before, .ie-diagram::after {
    background-size: auto 5px;
  }
}

/* Geometric notation, displayed as decoration rather than product metrics. */
.draft-spec {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto auto;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  width: 100%;
  margin-top: clamp(26px, 3vw, 42px);
  color: var(--soft);
  font: 11px/1.4 ui-monospace, monospace;
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
}
.draft-spec i {
  display: block;
  min-width: 24px;
  height: 5px;
  border-bottom: 1px dashed var(--draft-line);
  background: repeating-linear-gradient(90deg,var(--draft-tick) 0 1px,transparent 1px 24px) left bottom / auto 4px repeat-x;
}
@media (max-width: 550px) {
  .draft-spec { gap: 8px; font-size: 9px; letter-spacing: 0; margin-top: 24px; }
}
