/* The Exponential Time Hypothesis: a lecture-hall blackboard. Slate green,
   chalk white text in Atkinson Hyperlegible, Kalam for the chalk headings,
   yellow chalk for the thing that matters and red chalk for what broke. */

.xp-exponential-time-hypothesis {
  --slate: #1d2b25;
  --slate-deep: #16211c;
  --slate-line: #3b4d44;
  --chalk: #eef0e8;
  --dust: #b9c2b8;
  --yellow: #f2d27a;
  --red: #f08a7a;
  --blue: #9cc8e8;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 24px 3.5rem;
  color: var(--chalk);
  background: var(--slate);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
}

.xp-exponential-time-hypothesis a {
  color: var(--yellow);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.xp-exponential-time-hypothesis a:focus-visible,
.xp-exponential-time-hypothesis summary:focus-visible,
.xp-exponential-time-hypothesis input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.xp-exponential-time-hypothesis var {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.92em;
  color: var(--yellow);
}

.xp-exponential-time-hypothesis sup {
  line-height: 0;
}

.xp-exponential-time-hypothesis .eth-board {
  position: relative;
  padding: 2rem 2rem 2.2rem;
  border: 10px solid #5b4630;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--slate-deep);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.xp-exponential-time-hypothesis .eth-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dust);
}

.xp-exponential-time-hypothesis .eth-title {
  margin: 0 0 1rem;
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  color: var(--chalk);
}

.xp-exponential-time-hypothesis .eth-dek {
  margin: 0 0 1rem;
  font-size: 1.08rem;
}

.xp-exponential-time-hypothesis .eth-follow {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  color: var(--dust);
}

.xp-exponential-time-hypothesis .eth-short {
  padding: 1.1rem 1.3rem 0.4rem;
  border: 2px dashed var(--yellow);
  border-radius: 6px;
}

.xp-exponential-time-hypothesis .eth-short h2 {
  margin: 0 0 0.4rem;
  font-family: var(--hand);
  font-size: 1.6rem;
  color: var(--yellow);
}

.xp-exponential-time-hypothesis .eth-short ol {
  margin: 0;
  padding-left: 1.3rem;
}

.xp-exponential-time-hypothesis .eth-short li {
  margin-bottom: 0.6rem;
}

.xp-exponential-time-hypothesis .eth-video {
  margin: 2.2rem 0 0;
}

.xp-exponential-time-hypothesis .eth-video__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  width: min(100%, 360px);
  margin: 0 auto;
  background: #000;
  border: 2px solid var(--slate-line);
}

.xp-exponential-time-hypothesis .eth-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.xp-exponential-time-hypothesis .eth-video figcaption {
  text-align: center;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--dust);
}

.xp-exponential-time-hypothesis .eth-sec {
  margin-top: 2.8rem;
}

.xp-exponential-time-hypothesis .eth-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
  padding-bottom: 0.3rem;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.2;
  border-bottom: 2px solid var(--slate-line);
}

.xp-exponential-time-hypothesis .eth-sec p,
.xp-exponential-time-hypothesis .eth-dek {
  margin: 0 0 1rem;
}

.xp-exponential-time-hypothesis .eth-num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--yellow);
}

.xp-exponential-time-hypothesis .eth-lab {
  margin: 1.8rem 0;
  padding: 1.3rem;
  border: 2px solid var(--slate-line);
  border-radius: 8px;
  background: var(--slate-deep);
}

.xp-exponential-time-hypothesis .eth-lab__controls {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.xp-exponential-time-hypothesis .eth-lab__controls label {
  font-size: 0.98rem;
}

.xp-exponential-time-hypothesis .eth-lab__controls output {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--yellow);
}

.xp-exponential-time-hypothesis .eth-lab__controls input[type="range"] {
  width: 100%;
  margin: 0 0 0.6rem;
  accent-color: var(--yellow);
}

.xp-exponential-time-hypothesis .eth-lab__chart {
  display: block;
  width: 100%;
  height: auto;
}

.xp-exponential-time-hypothesis .eth-axes line {
  stroke: var(--slate-line);
  stroke-width: 2;
}

.xp-exponential-time-hypothesis .eth-axes text {
  fill: var(--dust);
  font-family: var(--mono);
  font-size: 17px;
}

.xp-exponential-time-hypothesis .eth-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.xp-exponential-time-hypothesis .eth-line--brute {
  stroke: var(--dust);
}

.xp-exponential-time-hypothesis .eth-line--prior {
  stroke: var(--blue);
  stroke-dasharray: 3 7;
}

.xp-exponential-time-hypothesis .eth-line--new {
  stroke: var(--red);
}

.xp-exponential-time-hypothesis .eth-floor {
  stroke: var(--yellow);
  stroke-width: 3;
  stroke-dasharray: 12 8;
}

.xp-exponential-time-hypothesis .eth-cross {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
}

.xp-exponential-time-hypothesis .eth-cursor {
  stroke: var(--chalk);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  opacity: 0.7;
}

.xp-exponential-time-hypothesis .eth-lab__readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1rem 0 0.6rem;
}

.xp-exponential-time-hypothesis .eth-lab__readout div {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--slate-line);
  border-radius: 6px;
}

.xp-exponential-time-hypothesis .eth-lab__readout dt {
  font-size: 0.82rem;
  color: var(--dust);
}

.xp-exponential-time-hypothesis .eth-lab__readout dd {
  margin: 0.2rem 0 0;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.xp-exponential-time-hypothesis .eth-lab__readout sup {
  font-size: 0.75em;
}

.xp-exponential-time-hypothesis #eth-r-new {
  color: var(--red);
}

.xp-exponential-time-hypothesis #eth-r-prior {
  color: var(--blue);
}

.xp-exponential-time-hypothesis .eth-lab__verdict {
  margin: 0.4rem 0;
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--yellow);
}

.xp-exponential-time-hypothesis .eth-lab figcaption {
  font-size: 0.86rem;
  color: var(--dust);
}

.xp-exponential-time-hypothesis .eth-quotes {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xp-exponential-time-hypothesis .eth-quotes li {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--yellow);
  background: var(--slate-deep);
}

.xp-exponential-time-hypothesis .eth-quotes blockquote {
  margin: 0 0 0.4rem;
  font-family: var(--hand);
  font-size: 1.3rem;
  line-height: 1.35;
}

.xp-exponential-time-hypothesis .eth-quotes p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dust);
}

.xp-exponential-time-hypothesis .eth-quotes strong {
  color: var(--chalk);
}

.xp-exponential-time-hypothesis .eth-timeline,
.xp-exponential-time-hypothesis .eth-updates,
.xp-exponential-time-hypothesis .eth-sources {
  margin: 0;
  padding-left: 1.2rem;
}

.xp-exponential-time-hypothesis .eth-timeline li,
.xp-exponential-time-hypothesis .eth-updates li,
.xp-exponential-time-hypothesis .eth-sources li {
  margin-bottom: 0.55rem;
}

.xp-exponential-time-hypothesis time {
  margin-right: 0.4rem;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9em;
  color: var(--yellow);
}

.xp-exponential-time-hypothesis details {
  margin-bottom: 0.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--slate-line);
  border-radius: 6px;
}

.xp-exponential-time-hypothesis summary {
  cursor: pointer;
  font-weight: 700;
}

.xp-exponential-time-hypothesis details p {
  margin: 0.6rem 0 0.2rem;
}

@media (max-width: 600px) {
  .xp-exponential-time-hypothesis {
    padding: 1.5rem 14px 2.5rem;
    font-size: 17px;
  }

  .xp-exponential-time-hypothesis .eth-board {
    padding: 1.3rem 1.1rem 1.4rem;
    border-width: 7px;
  }

  .xp-exponential-time-hypothesis .eth-lab {
    padding: 1rem 0.8rem;
  }

  .xp-exponential-time-hypothesis .eth-lab__readout {
    grid-template-columns: 1fr;
  }

  .xp-exponential-time-hypothesis .eth-sec h2 {
    font-size: 1.55rem;
  }
}
