/* orvix-predlog.rs root notice. Tokens, fonts and logo match orvix.rs on purpose:
   a reader who lands here must see at a glance that it is the same company.
   No JS, no inline styles: the CSP in _headers allows neither. */

/* Serbian letters (č ć š ž đ) live in the latin-ext subset, so both load. */
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('fonts/space-grotesk-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('fonts/space-grotesk-latin-wght-normal.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;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/inter-latin-wght-normal.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;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-wght-normal.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 {
  --bg: #07090d;
  --surface: #10141c;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #eef1f6;
  --muted: #8d96a6;
  --accent: #c6ff3d;
  --accent-ink: #0b0f04;

  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --container: 72rem;
  --radius: 1.5rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #2a3140 var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: .25rem; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Nav */
.nav { padding-block: 1.5rem; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1; color: var(--text); text-decoration: none; }
.logo__mark { width: 1em; height: 1em; overflow: visible; margin-right: -.02em; }
.logo__orbit { transform-origin: 16px 16px; transition: transform .9s var(--ease); }
.logo__orbit circle { fill: var(--accent); stroke: var(--bg); stroke-width: 2.4; }
.logo:hover .logo__orbit { transform: rotate(360deg); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { border-color: var(--text); }
.btn--small { padding: .65rem 1.1rem; font-size: .9375rem; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--text); border-color: var(--text); }
.btn svg { width: .8em; height: .8em; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(3rem, 7vw, 6rem); }
.eyebrow { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero h1 {
  margin-top: 1.25rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 7.2vw, 5.5rem); line-height: 1.02; letter-spacing: -.035em;
  max-width: 14ch; text-wrap: balance;
}
.hero__lead { margin-top: 1.75rem; max-width: 40rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }
.hero__lead strong { color: var(--text); font-weight: 500; }

/* Annotated address: the one thing on this page a reader should remember. */
.address {
  --addr: clamp(.8rem, 4.1vw, 3.25rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.address__grid { display: inline-grid; grid-template-columns: auto auto; column-gap: 0; row-gap: .9rem; }
/* The address stays one unbroken string. Only the underlines split, and the gap between
   them sits under the dot, so nobody reads a space into the URL. */
.address__part {
  position: relative;
  font-family: var(--font-mono); font-weight: 500;
  font-size: var(--addr); line-height: 1.1; letter-spacing: -.02em;
  white-space: nowrap; padding-bottom: .35em;
}
.address__part::after { content: ''; position: absolute; left: .6em; right: 0; bottom: 0; height: 2px; background: var(--line-strong); }
.address__part--lead { color: var(--accent); }
.address__part--lead::after { left: 0; background: var(--accent); }
.address__dot { color: var(--muted); }
/* width:0 + min-width:100% keeps each note as wide as the address part above it. */
.address__note { width: 0; min-width: 100%; padding-left: calc(var(--addr) * .6); font-size: clamp(.75rem, 1.3vw, .9375rem); line-height: 1.4; color: var(--muted); }
.address__note--lead { padding-left: 0; padding-right: .5em; color: var(--text); }

/* Facts */
.section { padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.section h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; max-width: 22ch; text-wrap: balance; }
.facts { margin-top: clamp(2rem, 4vw, 3.5rem); display: grid; gap: 2.5rem clamp(2rem, 4vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.fact h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; padding-top: 1.25rem; border-top: 2px solid var(--accent); }
.fact p { margin-top: .75rem; color: var(--muted); }
.fact a, .foot a { text-decoration-color: var(--line-strong); text-underline-offset: .2em; transition: text-decoration-color .2s; }
.fact a:hover, .foot a:hover { text-decoration-color: var(--accent); }
.mark { font-family: var(--font-mono); font-size: .875em; color: var(--text); white-space: nowrap; }

/* Owner's two choices */
.choices { margin-top: clamp(2rem, 4vw, 3.5rem); display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.choice { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.choice h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; }
.choice p { margin-top: .75rem; margin-bottom: 1.75rem; color: var(--muted); }
.choice .btn { margin-top: auto; }

/* Footer */
.foot { padding-block: 2.5rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.foot__inner { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* 404 */
.center { display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.center h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.center p { margin: 1rem auto 2rem; max-width: 34rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .hero > *, .address { animation: rise .9s var(--ease) both; }
  .hero > :nth-child(2) { animation-delay: .06s; }
  .hero > :nth-child(3) { animation-delay: .12s; }
  .address { animation-delay: .2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(1rem); } }
}
