/* Lettertypes op de eigen server (geen verzoeken naar Google). Courier Prime en Inter, SIL Open Font License. */
/* Courier Prime 400, latin-ext */

@font-face {

  font-family: 'Courier Prime';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url(../fonts/courier-prime-latin-ext-400.woff2) format('woff2');

  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;

}

/* Courier Prime 400, latin */

@font-face {

  font-family: 'Courier Prime';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url(../fonts/courier-prime-latin-400.woff2) format('woff2');

  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;

}

/* Courier Prime 700, latin-ext */

@font-face {

  font-family: 'Courier Prime';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url(../fonts/courier-prime-latin-ext-700.woff2) format('woff2');

  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;

}

/* Courier Prime 700, latin */

@font-face {

  font-family: 'Courier Prime';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url(../fonts/courier-prime-latin-700.woff2) format('woff2');

  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;

}

/* Inter 400, latin-ext */

@font-face {

  font-family: 'Inter';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url(../fonts/inter-latin-ext-400.woff2) format('woff2');

  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;

}

/* Inter 400, latin */

@font-face {

  font-family: 'Inter';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url(../fonts/inter-latin-400.woff2) format('woff2');

  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;

}

/* Inter 700, latin-ext */

@font-face {

  font-family: 'Inter';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url(../fonts/inter-latin-ext-400.woff2) format('woff2');

  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;

}

/* Inter 700, latin */

@font-face {

  font-family: 'Inter';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url(../fonts/inter-latin-400.woff2) format('woff2');

  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;

}

:root {
  --black: #040805;
  --panel: #0a110c;
  --rule: #1d2a20;
  --accent: #54ff70;
  --title: #eaffec;
  --subtitle: #7dff92;
  --text: #c9dccb;
  --line-number: #4f6d55;
  --content-width: 1000px;
  --scanlines: repeating-linear-gradient(transparent 0 2px, rgb(255 255 255 / .025) 2px 3px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, sans-serif;
}

a { color: var(--subtitle); }
a:hover { color: var(--accent); }

.blink { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

/* Hero banner */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(200px, 26vw, 380px);
  padding: 32px 16px;
  background: var(--scanlines), var(--black);
  font-family: "Courier Prime", "Courier New", monospace;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--title);
  text-shadow: 0 0 .25em rgb(84 255 112 / .55);
}
.hero .prompt,
.hero .cursor { color: var(--accent); }

/* Content */
.panel {
  background: var(--scanlines), var(--panel);
  border-block: 1px solid var(--rule);
  padding: 56px 16px;
}
.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
}
.panel h2 {
  margin: 0 0 1.5rem;
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 28px;
  line-height: 1.3;
  color: var(--title);
  text-shadow: 0 0 .3em rgb(84 255 112 / .35);
}
.panel h2 .prompt { color: var(--accent); }
.panel p { margin: 0 0 1rem; }

/* Green rule with line numbers */
.lines {
  --gutter: 48px;
  --number-offset: 22px;
  max-width: 760px;
  margin-left: var(--gutter);
  padding-left: 20px;
  border-left: 2px solid rgb(84 255 112 / .5);
}
.lines p { position: relative; }
.lines p:last-child { margin-bottom: 0; }
.lines p:first-child { font-size: 18px; color: var(--title); }
.lines .n {
  position: absolute;
  top: .25em;
  left: calc(-1 * (var(--gutter) + var(--number-offset)));
  width: calc(var(--gutter) - 12px);
  text-align: right;
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--line-number);
}

@media (max-width: 700px) {
  .lines { --gutter: 32px; --number-offset: 16px; padding-left: 14px; }
}

/* App page: screenshot next to the description */
.split {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.split > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(84 255 112 / .4);
  border-radius: 6px;
  box-shadow: 0 0 24px rgb(84 255 112 / .15);
}
.cmd-link {
  display: inline-block;
  margin-top: 1.5rem;
  font: 700 18px "Courier Prime", "Courier New", monospace;
  color: var(--title);
  text-decoration: none;
}
.cmd-link .prompt { color: var(--accent); }
.cmd-link:hover { color: var(--accent); text-shadow: 0 0 .4em rgb(84 255 112 / .6); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split > section { order: -1; }
  .split > img { max-width: 260px; margin: 0 auto; }
}

/* Privacy policy */
.policy { max-width: 760px; }
.policy h3 {
  margin: 2.25rem 0 .5rem;
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 19px;
  line-height: 1.4;
  color: var(--subtitle);
}
.policy h3::before { content: "## "; color: var(--line-number); }
.policy h3:first-child { margin-top: 0; }
.policy ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.policy li { margin-bottom: .5rem; }
.policy li::marker { content: "- "; color: var(--line-number); font-family: "Courier Prime", "Courier New", monospace; }
.policy strong { color: var(--title); }
.policy .updated {
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 14px;
  color: var(--line-number);
}
.policy .updated::before { content: "# "; }
