/* webnavzdy.sk until the launch (W1): the studio's tokens (../studio/styles.css :root), the generator's window
   (../studio/intro/intro.css .iv-okno, .iv-chrome) and its agent line (.iv-kod); the field of code comes from
   ../studio/priroda.css and kod.js. One screen, nothing to scroll. */
:root {
  --bg: #0C100E;
  --text: #F4F1EC;
  --warm: #A7BF73;
  --ember: #2F5B41;
  --display: "Sora", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad-x: clamp(16px, 6vw, 110px);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
html { background: var(--bg); }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--display); -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: var(--grain); }

/* a column of its own for the window: as a size container it has no width from its content. Clipped: the glow is wider
   than a phone (140vw), and its overflow widened the phone's page to 469 px (the orchestrator's check, 10-30) */
.pr { position: relative; overflow: clip; min-height: 100svh; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 720px);
  place-content: center; justify-items: center; gap: 16px; padding: 88px var(--pad-x) 48px; }
/* the moss light behind the window, as the home's glow */
.pr::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(1100px, 140vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(47, 91, 65, .42), rgba(47, 91, 65, .12) 55%, transparent); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; }
.skip:focus { left: 12px; }
/* the wordmark leads home: on the 404 page it is the way back */
.pr-znak { position: absolute; top: 24px; left: var(--pad-x); color: var(--text); font: 700 22px/1.2 var(--display);
  letter-spacing: -.01em; text-decoration: none; transition: color .4s; }
.pr-znak:hover { color: var(--warm); }
.pr-znak:focus-visible { outline: 2px solid var(--warm); outline-offset: 6px; border-radius: 4px; }

.pr-okno { justify-self: stretch; border-radius: 14px; overflow: hidden; container-type: inline-size; background: #18181B;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 241, 236, .08); }
.pr-lista { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1F1F23;
  border-bottom: 1px solid rgba(244, 241, 236, .06); }
.pr-lista i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 241, 236, .22); }
.pr-adresa { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(244, 241, 236, .08);
  color: rgba(244, 241, 236, .72); font: 500 12px/1.4 var(--display); white-space: nowrap; }
.pr-obsah { display: grid; justify-items: center; text-align: center; padding: clamp(40px, 10cqw, 76px) clamp(20px, 7cqw, 56px) clamp(40px, 10cqw, 72px); }

.pr-stav { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(18px, 4cqw, 26px); padding: 8px 16px 8px 14px;
  border: 1px solid rgba(167, 191, 115, .38); border-radius: 999px; color: var(--warm); font: 600 12px/1.4 var(--display);
  letter-spacing: .18em; text-transform: uppercase; }
/* a still dot: nothing here is live, so nothing pulses */
.pr-bod { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.pr h1 { margin: 0; font: 700 clamp(28px, 6.2cqw, 46px)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.pr h1 em { font-style: normal; font-weight: 400; color: var(--warm); }
.wn-l { font-weight: 300; }
.pr-veta { max-width: 32ch; margin: clamp(14px, 3cqw, 20px) 0 0; color: rgba(244, 241, 236, .74); font-size: clamp(16px, 2.6cqw, 19px);
  line-height: 1.55; text-wrap: balance; }
.pr-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(26px, 5cqw, 34px); padding: 16px 28px;
  border-radius: 999px; background: var(--warm); color: #11170B; font: 600 15px/1 var(--display); text-decoration: none;
  transition: background .3s; }
.pr-mail:hover { background: #BDD18C; }
.pr-mail:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.pr-mail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

.pr-agent { margin: 0; color: rgba(244, 241, 236, .55); font: 400 12px/1.75 var(--mono); }
.pr-agent span { color: var(--warm); }
.pr-kurzor { display: inline-block; width: .55em; height: 1.15em; margin-left: 4px; vertical-align: -.22em;
  background: rgba(244, 241, 236, .6); animation: pr-blik 1.1s steps(1) infinite; }
@keyframes pr-blik { 50% { opacity: 0; } }

@media (max-width: 760px) {
  .pr { padding-top: 76px; }
  .pr-znak { top: 20px; font-size: 20px; }
  .pr h1 { font-size: clamp(26px, 8.6cqw, 34px); }
}
@media (prefers-reduced-motion: reduce) {
  .pr-kurzor { animation: none; }
}
