@charset "UTF-8";
.hero {
  background: var(--navy);
  color: rgb(237, 242, 242);
  padding: 64px 0px 0px;
}
.hero h1 {
  margin-bottom: 28px;
}
.hero-lead {
  font-size: 22px;
  line-height: 1.6;
  color: rgb(193, 208, 215);
}
.hero-bottom {
  justify-content: space-between;
  align-items: center;
  gap: 52px;
}
.hero-bottom p {
  color: rgb(170, 191, 201);
  margin: 0px;
}
.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
  border-top: 1px solid rgb(48, 69, 80);
  padding: 19px 0px;
  color: rgb(176, 196, 205);
  font:
    11px / 1.6 Consolas,
    monospace;
}
@media (max-width: 700px) {
  .hero {
    padding-top: 38px;
  }
  .hero h1 {
    letter-spacing: -0.04em;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: start;
    gap: 24px;
    margin: 26px 0px 32px;
  }
  .hero-bottom p {
    font-size: 14px;
  }
  .hero-scope {
    font-size: 10px;
    gap: 12px 20px;
    padding-block: 18px;
  }
}
@media print {
  .hero {
    background: white;
    color: black;
  }
  .hero p {
    color: rgb(51, 51, 51);
  }
  .hero-scope {
    color: rgb(51, 51, 51);
  }
  .hero {
    padding-block: 20px;
  }
  .hero-bottom {
    margin: 20px 0px;
  }
}
.hero h1 {
  font-size: clamp(38px, 4.4vw, 62px);
  max-width: 1120px;
}
.hero-lead {
  max-width: 850px;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(29px, 6.7vw, 44px);
  }
}
.hero-opening {
  display: grid;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  letter-spacing: -0.04em;
  margin-bottom: 23px;
}
.hero-copy .hero-lead {
  margin-bottom: 0px;
}
.time-code {
  position: relative;
  min-width: 0px;
  padding: 20px 0px 20px 25px;
  border-left: 1px solid rgb(38, 59, 72);
  pointer-events: none;
  user-select: none;
  container-type: inline-size;
}
.time-code pre {
  margin: 0px;
  color: rgb(127, 144, 157);
  font:
    clamp(4px, 4cqw, 11.5px) / 1.95 Consolas,
    "Courier New",
    monospace;
  letter-spacing: -0.025em;
  white-space: pre;
}
.time-code .py-keyword {
  color: rgb(186, 139, 99);
}
.time-code .py-class {
  color: rgb(155, 171, 183);
}
.time-code .py-function {
  color: rgb(182, 167, 124);
}
.time-code .py-self {
  color: rgb(156, 141, 166);
}
.time-code .py-number {
  color: rgb(129, 159, 169);
}
.time-code .py-comment {
  color: rgb(119, 138, 129);
  font-style: italic;
}
.time-code-en {
  display: none;
}
html:not(:lang(pl)) .time-code-pl {
  display: none;
}
html:not(:lang(pl)) .time-code-en {
  display: block;
}
@media (max-width: 1100px) {
  .hero-opening {
    grid-template-columns: minmax(0px, 1.6fr) minmax(0px, 1fr);
    gap: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(29px, 3.5vw, 38px);
  }
  .time-code {
    padding-left: 18px;
  }
}
@media (max-width: 850px) {
  .hero > .wrap {
    container-type: inline-size;
  }
  .hero-opening {
    font-size: 1cqw;
    display: grid;
    align-items: center;
  }
  .hero-copy {
    position: relative;
    text-shadow: none;
  }
  .hero-copy h1 {
    overflow-wrap: normal;
    letter-spacing: -0.04em;
  }
  .time-code {
    position: relative;
    inset: auto;
    width: auto;
    padding: 2em 0px 2em 1.8em;
    border-left: 1px solid rgb(38, 59, 72);
    opacity: 1;
    mask-image: none;
  }
  .time-code pre {
    font-size: 1.55em;
    line-height: 1.95;
  }
}
@media print {
  .hero-opening {
    display: block;
  }
  .time-code {
    display: none;
  }
  .time-code-meaning {
    display: none;
  }
}
.hero {
  padding-top: 46px;
}
.hero-copy h1 {
  margin: 0px 0px 25px;
}
.hero-copy .hero-lead {
  margin: 0px;
  max-width: 850px;
}
.hero-bottom {
  display: block;
  margin: 26px 0px 34px;
}
.hero-bottom p {
  max-width: 700px;
  font-size: 15px;
}
.project-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
  color: rgb(212, 227, 233);
}
.project-link:hover {
  text-decoration: underline;
}
.hero-scope {
  padding-block: 16px;
}
@media (max-width: 850px) {
  .hero-copy h1 {
    margin: 0px;
  }
  .hero-copy .hero-lead {
    max-width: 620px;
  }
  .time-code {
    grid-area: 1 / 2;
  }
  .hero-bottom {
    margin-top: 20px;
    margin-bottom: 24px;
  }
  .hero-bottom p {
    font-size: 14px;
    line-height: 1.75;
  }
  .hero {
    padding-top: 32px;
  }
}
@media print {
  .project-link {
    display: none;
  }
  .hero-copy h1 {
    font-size: 28pt;
  }
}
.screen-sections .hero {
  display: flex;
}
.screen-sections .hero > .wrap {
  flex: 0 0 auto;
}
@media (max-width: 700px) {
  .screen-sections .hero {
    display: block;
  }
  .screen-sections .hero {
    padding-block: 26px;
  }
}
@media print {
  .screen-sections .hero {
    display: block;
  }
}
.hero-visual {
  min-width: 0px;
  border-left: 1px solid rgb(38, 59, 72);
  padding-left: 25px;
}
.hero-visual .time-code {
  padding: 0px;
  border: 0px;
}
.robot-scene {
  margin: 14px 0px 0px;
}
.robot-scene iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1.95 / 1;
  border: 0px;
  background: transparent;
  filter: saturate(0.62);
}
.robot-scene figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgb(147, 173, 187);
  font:
    10px / 1.5 Consolas,
    monospace;
}
.robot-motion-toggle {
  font: inherit;
  color: rgb(181, 203, 213);
  background: none;
  border-width: 0px 0px 1px;
  border-style: none none solid;
  border-color: currentcolor currentcolor rgb(59, 85, 100);
  border-image: none;
  padding: 7px 0px;
  cursor: pointer;
}
.robot-motion-toggle:hover {
  color: rgb(237, 242, 242);
  border-color: rgb(157, 189, 203);
}
.robot-motion-toggle:focus-visible {
  outline: rgb(157, 189, 203) solid 2px;
  outline-offset: 3px;
}
.robot-motion-toggle:disabled {
  cursor: default;
  color: rgb(147, 173, 187);
  border-color: transparent;
}
@media (max-width: 1100px) {
  .hero-visual {
    padding-left: 18px;
  }
}
@media (max-width: 850px) {
  .hero-visual {
    padding-left: 1.8em;
  }
  .hero-visual .time-code {
    padding: 0px;
  }
  .robot-scene {
    margin-top: 2em;
  }
  .robot-scene figcaption {
    flex-wrap: wrap;
    line-height: 1.4;
  }
}
@media (max-height: 800px) and (min-width: 851px) {
  .robot-scene iframe {
    aspect-ratio: 2.5 / 1;
  }
  .hero-bottom {
    margin-block: 18px;
  }
  .hero-visual .time-code pre {
    line-height: 1.65;
  }
}
@media print {
  .hero-visual {
    display: none;
  }
}
.hero-visual .time-code {
  overflow: hidden;
  scroll-behavior: auto;
}
.time-code .code-line {
  display: block;
  white-space: pre;
  min-height: 1lh;
}
.robot-scene figcaption {
  justify-content: flex-end;
}
@media (max-width: 850px) {
  .time-code .code-line {
    border-left-width: 1px;
  }
}
@media (max-height: 800px) and (min-width: 851px) {
  .hero-visual .time-code {
    height: 166px;
  }
}
.hero-visual {
  position: relative;
  padding: 0px;
  border: 0px;
}
.hero-visual .time-code {
  position: absolute;
  z-index: 2;
  margin: 0px;
  background: rgb(16, 35, 48);
}
.hero-visual .robot-scene {
  position: absolute;
  inset: 0px;
  margin: 0px;
}
.hero-visual .robot-scene iframe {
  position: absolute;
  inset: 0px;
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
  pointer-events: none;
}
.robot-scene figcaption {
  position: absolute;
  z-index: 3;
  margin: 0px;
}
.time-code .code-line {
  position: relative;
  padding-left: 4.3ch;
  border-left: 2px solid transparent;
}
.time-code .code-line::before {
  content: attr(data-line);
  position: absolute;
  left: 1.4ch;
  width: 2ch;
  text-align: right;
  color: rgb(98, 127, 144);
}
.time-code .code-line.is-executing {
  background: rgb(48, 75, 92);
  color: rgb(245, 247, 239);
  border-left-color: rgb(228, 195, 124);
  box-shadow:
    rgb(101, 132, 148) 0px 1px inset,
    rgb(101, 132, 148) 0px -1px inset;
}
.time-code .code-line.is-executing::before {
  color: rgb(228, 195, 124);
}
.time-code .code-line.is-executing::after {
  content: "▶";
  position: absolute;
  left: 0.15ch;
  top: 0px;
  color: rgb(241, 207, 128);
  font-size: 0.85em;
}
@media (max-width: 850px) {
  .hero-visual {
    padding: 0px;
  }
  .hero-visual .time-code {
    min-height: 0px;
  }
}
.hero-visual .time-code {
  left: 28%;
  top: 14%;
  width: 42%;
  height: 34%;
}
.robot-motion-toggle {
  min-height: 28px;
}
@media (max-width: 850px) {
  .hero-visual .time-code {
    height: 34%;
  }
}
@media (min-width: 851px) and (max-height: 800px) {
  .screen-sections .hero {
    padding-block: 18px;
  }
  .hero-bottom {
    margin-top: 18px;
    margin-bottom: 22px;
  }
}
.screen-sections .hero {
  align-items: flex-start;
  padding-block: clamp(24px, 5vh, 44px);
}
.hero-opening {
  grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
  gap: 40px;
  align-items: start;
}
.hero-copy {
  padding-top: 13px;
}
.hero-copy h1 {
  font-size: clamp(34px, 3.05vw, 44px);
  line-height: 1.2;
}
.hero-copy .hero-lead {
  font-size: 18px;
  line-height: 1.65;
}
.hero-copy .hero-bottom {
  margin: 28px 0px 20px;
}
.hero-copy .hero-bottom p {
  font-size: 15px;
  line-height: 1.8;
  max-width: none;
}
.hero-visual {
  aspect-ratio: 5 / 4;
  margin-bottom: 36px;
}
.code-panel {
  position: absolute;
  left: 20%;
  top: 3%;
  width: 55%;
  height: 52%;
  z-index: 2;
  border: 1px solid rgb(102, 132, 146);
  overflow: hidden;
}
.code-panel-header {
  height: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 10px;
  border-bottom: 1px solid rgb(102, 132, 146);
  color: rgb(194, 212, 220);
  font:
    10px / 1 Consolas,
    monospace;
}
.hero-visual .code-panel .time-code {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: calc(100% - 26px);
  padding: 6px 0px;
  margin: 0px;
  border: 0px;
}
.hero-visual .time-code pre {
  font-size: clamp(4px, 4cqw, 12px);
  line-height: 1.6;
}
.code-panel .code-line::before {
  color: rgb(145, 170, 186);
}
.code-panel .code-line.is-executing {
  background: rgb(56, 86, 106);
  box-shadow:
    rgb(137, 168, 186) 0px 1px inset,
    rgb(137, 168, 186) 0px -1px inset;
}
.robot-scene figcaption {
  bottom: -34px;
  right: 0px;
}
@media (max-width: 850px) {
  .hero-copy h1 {
    grid-area: 1 / 1;
  }
  .hero-copy .hero-lead {
    grid-area: 2 / 1 / auto / -1;
    margin-top: 8px;
  }
  .hero-copy .hero-bottom {
    grid-area: 3 / 1 / auto / -1;
  }
  .hero-visual {
    margin-bottom: 44px;
  }
  .hero-visual .code-panel .time-code {
    min-height: 0px;
  }
  .code-panel-header {
    padding-inline: 3px;
  }
}
.code-panel {
  background: transparent;
  border-width: 0px 0px 1px;
  border-style: none none solid;
  border-color: currentcolor currentcolor rgb(102, 132, 146);
  border-image: none;
  box-shadow: none;
}
.code-panel-header {
  border: 1px solid rgb(102, 132, 146);
  background: rgb(24, 44, 58);
}
.hero-visual .code-panel .time-code {
  background: transparent;
}
.hero > .wrap > .hero-scope {
  gap: 12px 38px;
  font-size: 11px;
  margin-top: 32px;
}
@media (min-width: 851px) {
  .screen-sections .hero > .wrap {
    display: flex;
    flex-direction: column;
    min-height: calc(var(--section-viewport-height) - clamp(48px, 10vh, 88px));
  }
  .hero-copy {
    padding-top: 48px;
  }
  .hero-copy .hero-bottom {
    margin-top: clamp(80px, 14vh, 126px);
    margin-bottom: 0px;
  }
  .hero > .wrap > .hero-scope {
    margin-top: auto;
    padding-block: 19px 4px;
  }
  .hero-opening {
    margin-bottom: 30px;
  }
}
@media (max-width: 850px) {
  .hero > .wrap > .hero-scope {
    font-size: 10px;
    gap: 10px 22px;
    margin-top: 28px;
  }
}
#start {
  background: var(--section-deep);
  color: rgb(237, 242, 242);
}
.hero-visual .robot-scene iframe {
  filter: none;
}
.mobile-angle-readout {
  display: none;
}
.mobile-quote-author {
  display: none;
}
@media (max-width: 850px) {
  .hero-opening {
    grid-template-columns: minmax(0px, 0.9fr) minmax(0px, 1.1fr);
    gap: 16px 12px;
    grid-template-rows: auto;
  }
  .hero-copy {
    display: block;
    grid-area: 1 / 1;
    padding: 0px;
  }
  .hero-copy h1 {
    font-size: clamp(20px, 5.8vw, 30px);
    line-height: 1.2;
    margin-bottom: 20px;
    padding-top: 0px;
  }
  .hero-copy .hero-lead {
    font-size: 14px;
    line-height: 1.6;
    margin: 0px;
  }
  .hero-copy .hero-bottom {
    margin: 28px 0px 0px;
    gap: 20px;
  }
  .hero-copy .hero-bottom p {
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-copy .project-link {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-visual {
    grid-area: 1 / 2;
    aspect-ratio: 2 / 5;
    margin: 0px 0px 110px;
    place-self: start end;
    width: 100%;
    max-width: 240px;
  }
  .code-panel {
    left: 0px;
    top: 0px;
    width: 100%;
    height: 56%;
  }
  .code-panel-header {
    height: 22px;
    font-size: 10px;
    padding: 0px 5px;
  }
  .hero-visual .code-panel .time-code {
    height: calc(100% - 22px);
    padding-block: 5px;
  }
  .hero-visual .time-code pre {
    font-size: clamp(11px, 2.9vw, 14px);
    line-height: 1.45;
    white-space: pre-wrap;
    letter-spacing: 0px;
  }
  .time-code .code-line {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    padding-left: 3.4ch;
  }
  .time-code .code-line::before {
    left: 0.6ch;
  }
  .robot-scene figcaption {
    bottom: -104px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    font-size: 11px;
  }
  .mobile-quote-author {
    display: block;
    align-self: center;
    font:
      11px / 1.5 Arial,
      sans-serif;
    color: rgb(184, 203, 212);
    visibility: hidden;
  }
  .mobile-quote-author.is-visible {
    visibility: visible;
  }
  .mobile-angle-readout {
    display: block;
    font:
      11px / 1.5 Consolas,
      monospace;
    white-space: pre-line;
    color: rgb(184, 203, 212);
    align-self: flex-start;
  }
  .robot-motion-toggle {
    min-height: 44px;
    font-size: 11px;
  }
}
