/* onquartz.dev – same palette and type as quartz.hr (docs/plan-redizajna.md in the quartz repo). */

@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-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; }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600.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: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-ext-600.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: Lora; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/lora-latin-400-italic.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: Lora; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/lora-latin-ext-400-italic.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; }

:root {
  --ink: #17152e;
  --orange: #ee7d11;
  --orange-text: #a65300; /* orange dark enough for small text on white and on --warm (4.5:1) */
  --red: #e2312b;
  --muted: #6b6880;
  --warm: #fbf1e6;
  --cool: #f6f5f8;
  --paper: #ffffff;
  --gradient: linear-gradient(90deg, var(--orange), var(--red) 55%, var(--ink));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--orange-text); text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, 1080px); margin-inline: auto; }
.narrow { max-width: 720px; }

/* Header */
.stripe { height: 4px; background: var(--gradient); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.lang { display: flex; gap: 4px; font-size: 0.9rem; }
.lang a, .lang span { padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.lang span { background: var(--cool); font-weight: 600; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: clamp(48px, 10vw, 112px) clamp(40px, 7vw, 80px); }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }
h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 18ch;
}
h1 em, h2 em { font-family: Lora, Georgia, serif; font-style: italic; font-weight: 400; color: var(--orange-text); }
.lead { margin: 24px 0 0; max-width: 60ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }

h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 16px; }

section { padding-block: clamp(40px, 7vw, 80px); }
.tinted { background: var(--cool); }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { padding: 28px; border-radius: 22px; background: var(--warm); }
.tinted .card { background: var(--paper); }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; margin-bottom: 12px; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600; }

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #2b2850; color: #fff; }

/* Abuse page */
ol.steps { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: step; }
ol.steps li { position: relative; padding: 0 0 14px 48px; counter-increment: step; overflow-wrap: anywhere; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--warm); color: var(--orange-text); font-weight: 600; font-size: 0.95rem;
}
.mail { font-size: 1.15rem; font-weight: 600; }
.note { color: var(--muted); font-size: 0.95rem; }

/* Dark band and footer */
.dark { background: var(--ink); color: #fff; }
.dark p { color: #cfcde0; }
.dark a { color: #ffb066; }
.dark a:hover { color: #fff; }
.dark .button { background: var(--orange); color: var(--ink); }
.dark .button:hover { background: #ffa04a; color: var(--ink); }
footer { padding-block: 28px; font-size: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
footer .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
