/* DISRUPTIVNE — site styles. Palette taken from the logo. */

@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap;
  src: url(fonts/poppins-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap;
  src: url(fonts/poppins-latin-400-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+2074, 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-style: normal; font-display: swap;
  src: url(fonts/poppins-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 600; font-style: normal; font-display: swap;
  src: url(fonts/poppins-latin-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b0414;
  --bg-card: rgba(26, 9, 51, .55);
  --text: #f1e6f6;
  --muted: #bba5c9;
  --pink: #f795fc;
  --ring: #f668f3;
  --magenta: #fd00fe;
  --mid: #c109d4;
  --purple: #7813a0;
  --line: rgba(247, 149, 252, .16);
  --grad: linear-gradient(90deg, #fd00fe, #c109d4 55%, #7813a0);
  --max: 1100px;
  --pad: clamp(1rem, 4vw, 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.7 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 4, 20, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: .7rem var(--pad);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem;
  grid-template-areas: "brand nav lang";
}
.brand { grid-area: brand; display: block; line-height: 0; }
.brand img { height: 34px; width: auto; display: block; }
.site-nav { grid-area: nav; }
.site-nav ul { display: flex; justify-content: flex-end; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: .92rem; letter-spacing: .02em; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--magenta); }
.lang { grid-area: lang; display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .8rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem .3rem .45rem; }
.lang:hover { color: #fff; border-color: var(--ring); }
.lang img { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; display: block; }

@media (max-width: 620px) {
  .header-inner { grid-template-columns: 1fr auto; grid-template-areas: "brand lang" "nav nav"; gap: .5rem 1rem; padding-bottom: .5rem; }
  .brand img { height: 28px; }
  .site-nav ul { justify-content: center; gap: 1.6rem; }
  .site-nav a { font-size: .88rem; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 5.5rem); display: grid; place-items: center; text-align: center;
  background: radial-gradient(ellipse at 50% 45%, #1f0a3d 0%, var(--bg) 68%);
}
#bg-anim { position: absolute; inset: 0; z-index: -1; }
#bg-anim canvas { display: block; width: 100%; height: 100%; }
.hero-content { position: relative; max-width: 940px; padding: 2.5rem var(--pad) 4.5rem; }
.hero-content::before {   /* soft dark halo so text stays readable over the animation */
  content: ""; position: absolute; inset: -8% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(11, 4, 20, .55), rgba(11, 4, 20, 0));
}
.eyebrow { display: block; font-size: clamp(.8rem, 2.4vw, .95rem); font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--pink); margin-bottom: 1.1rem; }
.hero h1 { margin: 0; font-weight: 600; font-size: clamp(1.75rem, 5.4vw, 3.3rem); line-height: 1.2; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(90deg, #ff4bff, #c46bff); }
.tagline { margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(.95rem, 2.6vw, 1.1rem); letter-spacing: .12em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.2rem; }
.btn { display: inline-block; padding: .8rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .92rem; letter-spacing: .03em; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 28px rgba(253, 0, 254, .28); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 34px rgba(253, 0, 254, .42); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(11, 4, 20, .4); }
.btn-ghost:hover { border-color: var(--ring); color: #fff; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--pad); }
.section-head { margin-bottom: 2.2rem; }
.section-head h2, .page-head h1 { margin: 0; font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.25; }
.section-head p, .page-head p { margin: .6rem 0 0; color: var(--muted); max-width: 60ch; }
.bar { display: block; width: 64px; height: 3px; background: var(--grad); border-radius: 3px; margin-top: 1rem; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.8rem 1.7rem 1.6rem; overflow: hidden;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad); }
.card:hover { border-color: rgba(246, 104, 243, .5); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(120, 19, 160, .3); }
.card h2, .card h3 { margin: 0 0 1rem; font-size: 1.3rem; font-weight: 600; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { position: relative; padding-left: 1.35rem; margin: .55rem 0; color: var(--muted); }
.card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.card p { margin: 0; color: var(--muted); }

/* ---------- inner pages ---------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 7vw, 4.5rem) var(--pad) 0; }
.page .section { padding-top: 2rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.4rem; margin: 0; }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 400; overflow-wrap: anywhere; }
.facts dd.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.card .who { margin: 0 0 .6rem; font-weight: 600; font-size: 1.05rem; }
address { font-style: normal; }
.soon { text-align: center; padding: 3rem 1.5rem; }
.soon p { margin: 0 auto; max-width: 52ch; }

/* ---------- 404 ---------- */
.notfound { max-width: 640px; margin: 0 auto; padding: clamp(3rem, 10vw, 6rem) var(--pad); text-align: center; }
.notfound .code { margin: 0; font-size: clamp(4rem, 18vw, 8rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { margin: .6rem 0 .8rem; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 600; }
.notfound p { margin: 0; color: var(--muted); }

/* ---------- cookie consent ---------- */
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 40; max-width: 460px; padding: 1.1rem 1.2rem;
  background: rgba(20, 8, 35, .97); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 44px rgba(0, 0, 0, .55); }
.consent p { margin: 0 0 .9rem; font-size: .88rem; line-height: 1.55; color: var(--text); }
.consent-actions { display: flex; gap: .7rem; }
.consent .btn { flex: 1; padding: .6rem 1rem; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer;
  color: var(--text); background: rgba(247, 149, 252, .08); border: 1px solid var(--ring); }   /* both buttons identical on purpose */
.consent .btn:hover { background: rgba(247, 149, 252, .2); color: #fff; }
@media (max-width: 520px) { .consent { left: .6rem; right: .6rem; bottom: .6rem; max-width: none; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: #fff; }

/* ---------- text pages (privacy) ---------- */
.prose { max-width: 820px; }
.prose h2 { margin: 1.6rem 0 .4rem; font-size: 1.1rem; font-weight: 600; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: .3rem 0; }
.prose .updated { font-size: .85rem; }
.prose h3 { margin: 1.2rem 0 .3rem; font-size: 1rem; font-weight: 600; }
.prose ul, .prose ol { margin: .4rem 0; padding-left: 1.3rem; color: var(--muted); }
.prose li { margin: .3rem 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0 .3rem; }
.prose figure { margin: 1.2rem 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); }
.prose blockquote { margin: 1rem 0; padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--magenta); color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.prose th { color: var(--text); font-weight: 600; }
.prose .byline { font-size: .85rem; }

/* ---------- articles ---------- */
.back { display: inline-block; margin-bottom: 1rem; font-size: .9rem; color: var(--muted); }
.back:hover { color: #fff; }
.lead { margin: 1rem 0 0; max-width: 62ch; font-size: 1.05rem; color: var(--text); }
.timeline { list-style: none; padding: 0; margin: .4rem 0; }
.timeline li { position: relative; padding-left: 4.2rem; margin: .8rem 0; }
.timeline li::before { display: none; }
.timeline li strong { position: absolute; left: 0; top: 0; color: var(--pink); font-weight: 600; }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.article-card h2 { margin: 0 0 .5rem; font-size: 1.3rem; font-weight: 600; }
.article-card h2 a { color: var(--text); }
.article-card h2 a:hover { color: var(--pink); }
.article-card p { margin: 0 0 .9rem; color: var(--muted); max-width: 62ch; }
.article-card .more { font-weight: 600; font-size: .92rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(11, 4, 20, .9); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 1.6rem var(--pad); display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.footer-inner span { white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 1.5rem 1.3rem 1.3rem; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dt { margin-top: .75rem; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
