/* ahs-dynamics.com — tamni premium (29.10.2026). Sestra ssc.ba po kvalitetu, ali vlastiti identitet:
   noćna osnova, zelena iz <AHS/> loga kao jedini akcent (ljubičasta kosa crta samo u sjaju), potpis = „hrpa“ kartica proizvoda u heroju. */

@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin-ext.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;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin.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: 'Overpass Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/overpass-mono-latin-ext.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;
}
@font-face {
  font-family: 'Overpass Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/overpass-mono-latin.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: #05080E;
  --bg-2: #0A0F18;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #EEF2F6;
  --text-2: rgba(238, 242, 246, 0.68);
  --text-3: rgba(238, 242, 246, 0.44);
  --green: #7ED957;
  --green-ink: #0B1A05;
  --violet: #5E17EB;

  --f-text: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Overpass Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --r: 14px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background-image: var(--noise); opacity: 0.035; pointer-events: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--green-ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 200; background: var(--green); color: var(--green-ink); padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* ---------- Tipografija ---------- */
.display { font-stretch: 112%; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.036em; text-wrap: balance; }
.h2 { font-stretch: 112%; font-weight: 780; font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.02; letter-spacing: -0.032em; text-wrap: balance; }
.h3 { font-stretch: 108%; font-weight: 720; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.014em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.eyebrow::before { content: '<'; color: var(--green); letter-spacing: 0; }
.eyebrow::after { content: '/>'; color: var(--green); letter-spacing: 0; }
.lede { color: var(--text-2); font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 56ch; text-wrap: pretty; }
.mono { font-family: var(--f-mono); }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 650; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none;
  background: var(--green); color: var(--green-ink); transition: background-color .25s ease, color .25s ease, box-shadow .3s ease, transform .25s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover { text-decoration: none; box-shadow: 0 0 0 6px rgba(126, 217, 87, 0.18); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-dark { background: var(--green-ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 0 0 6px rgba(11, 26, 5, 0.18); }

/* ---------- Zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(5, 8, 14, 0.6);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(5, 8, 14, 0.85); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a.nav-cta { margin-left: 8px; background: var(--green); color: var(--green-ink); padding: 9px 18px; font-weight: 650; }
.nav a.nav-cta:hover { box-shadow: 0 0 0 5px rgba(126, 217, 87, 0.18); background: var(--green); }
.lang-switcher { display: flex; gap: 2px; margin-left: 12px; padding-left: 14px; border-left: 1px solid var(--line); }
.lang-switcher a { font-family: var(--f-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; color: var(--text-3); padding: 6px 8px; border-radius: 6px; text-decoration: none; }
.lang-switcher a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-toggle { display: none; margin-left: auto; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }
@media (max-width: 920px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.nav-cta { margin: 16px 0 0; text-align: center; border-radius: 999px; border: 0; padding: 14px; }
  .lang-switcher { margin: 16px 0 0; padding: 0; border: 0; }
  .lang-switcher a { padding: 8px 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 100px); padding-bottom: clamp(64px, 8vw, 112px); isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); mask: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; width: 900px; height: 900px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle at 40% 45%, rgba(126, 217, 87, 0.22), transparent 55%), radial-gradient(circle at 70% 60%, rgba(94, 23, 235, 0.22), transparent 55%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  font-family: var(--f-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
}
.hero-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.18); }
.hero h1 { margin-top: 26px; font-size: clamp(2.7rem, 5.8vw, 5.6rem); line-height: 0.96; letter-spacing: -0.042em; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lede { margin-top: 28px; max-width: 46ch; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 28px; font-family: var(--f-mono); font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.04em; }

/* Potpis: hrpa kartica proizvoda */
.stack { position: relative; height: 470px; perspective: 1400px; }
.stack-card {
  position: absolute; left: 50%; width: min(100%, 400px); padding: 22px 24px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 30, 44, 0.92), rgba(12, 18, 28, 0.92));
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; color: var(--text); text-decoration: none;
  transform: translateX(-50%) rotate(var(--rot, 0deg)) translate(var(--px, 0px), var(--py, 0px));
  transition: transform .6s var(--ease), border-color .3s ease;
  animation: float 7s ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.stack-card:hover { border-color: rgba(126, 217, 87, 0.5); }
.stack-card:nth-child(1) { top: 10px; --rot: -5deg; --delay: 0s; margin-left: -34px; }
.stack-card:nth-child(2) { top: 165px; --rot: 3deg; --delay: -2.3s; margin-left: 30px; z-index: 2; }
.stack-card:nth-child(3) { top: 320px; --rot: -2deg; --delay: -4.6s; margin-left: -14px; }
.stack-icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.stack-icon img { width: 34px; height: 34px; object-fit: contain; }
.stack-name { font-stretch: 110%; font-weight: 750; font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.stack-line { color: var(--text-2); font-size: 0.92rem; line-height: 1.4; margin-top: 2px; }
.stack-tag { grid-column: 2; justify-self: start; margin-top: 6px; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stack { height: auto; display: grid; gap: 12px; perspective: none; margin-top: 8px; }
  .stack-card, .stack-card:nth-child(n) { position: relative; top: auto; left: auto; margin: 0; width: 100%; transform: none; animation: none; }
}

/* ---------- Sekcije ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }

.statement-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; align-items: start; }
.statement-grid .eyebrow { padding-top: 0.9em; }
.statement-text { font-stretch: 108%; font-weight: 620; font-size: clamp(1.6rem, 3.1vw, 2.75rem); line-height: 1.18; letter-spacing: -0.024em; color: var(--text-3); text-wrap: pretty; }
.statement-text em { font-style: normal; color: var(--text); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; }
@media (max-width: 760px) { .statement-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Proizvodi */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); min-height: 520px;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: border-color .35s ease, transform .5s var(--ease);
}
.product::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(126, 217, 87, 0.13), transparent 60%);
}
.product:hover { border-color: rgba(126, 217, 87, 0.42); transform: translateY(-4px); }
.product:hover::before { opacity: 1; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-icon { width: 60px; height: 60px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.product-icon img { width: 38px; height: 38px; object-fit: contain; }
.chip { font-family: var(--f-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.product-name { margin-top: 44px; font-stretch: 112%; font-weight: 780; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -0.03em; }
.product-desc { margin-top: 12px; color: var(--text-2); text-wrap: pretty; }
.product-facts { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.product-facts li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 0.95rem; }
.product-facts li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 10px; height: 2px; background: var(--green); }
.product-link { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.86rem; color: var(--text); text-decoration: none; }
.product-link::after { content: ''; position: absolute; inset: 0; }
.product-link svg { width: 13px; height: 13px; color: var(--green); transition: transform .3s var(--ease); }
.product:hover .product-link svg { transform: translate(3px, -3px); }
@media (max-width: 1020px) { .products { grid-template-columns: 1fr; } .product { min-height: 0; } }

/* Za koga */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 32px 32px 8px; border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar .label { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.pillar .h3 { margin-top: 18px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.pillar p { margin-top: 12px; color: var(--text-2); text-wrap: pretty; }
.pillar .via { margin-top: 14px; font-family: var(--f-mono); font-size: 0.8rem; color: var(--text-3); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Kako radimo */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.principle { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.025); }
.principle .h3 { display: flex; align-items: baseline; gap: 12px; }
.principle .h3::before { content: '/'; color: var(--green); font-family: var(--f-mono); font-weight: 600; }
.principle p { margin-top: 12px; color: var(--text-2); max-width: 52ch; }
.principle a { color: var(--text); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* CTA (zeleni pojas) */
.cta { position: relative; overflow: hidden; background: var(--green); color: var(--green-ink); padding: clamp(88px, 12vw, 160px) 0 clamp(64px, 8vw, 104px); }
.cta::after {
  content: '</>'; position: absolute; pointer-events: none; right: -6%; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-weight: 600; font-size: clamp(12rem, 34vw, 30rem); line-height: 1; letter-spacing: -0.08em;
  color: rgba(11, 26, 5, 0.07);
}
.cta .wrap { position: relative; z-index: 1; }
.cta-title { font-stretch: 116%; font-weight: 800; font-size: clamp(2.6rem, 9.4vw, 8.4rem); line-height: 0.92; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.cta-row { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.cta-row p { font-size: 1.15rem; max-width: 50ch; color: rgba(11, 26, 5, 0.78); }
.cta-contacts { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(11, 26, 5, 0.2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.cta-contacts span { display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(11, 26, 5, 0.6); margin-bottom: 4px; }
.cta-contacts a { color: var(--green-ink); font-weight: 650; font-stretch: 106%; font-size: 1.1rem; text-decoration: none; }
.cta-contacts a:hover { text-decoration: underline; }
@media (max-width: 760px) { .cta-contacts { grid-template-columns: 1fr; } }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--bg); color: var(--text-2); padding: 64px 0 32px; font-size: 0.95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid .logo img { height: 28px; }
.footer-grid p { margin-top: 14px; line-height: 1.75; }
.footer-title { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 9px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.74rem; color: var(--text-3); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Pravne strane ---------- */
.page-head { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-head .display { margin-top: 18px; }
.updated { margin-top: 16px; font-family: var(--f-mono); font-size: 0.8rem; color: var(--text-3); }
.legal { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 112px; }
.legal > * { max-width: 760px; }
.legal h2 { font-stretch: 108%; font-weight: 740; font-size: 1.35rem; line-height: 1.25; margin: 48px 0 14px; }
.legal > h2:first-child { margin-top: 0; }
.legal p, .legal li, .legal dd { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 14px 0; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--green); }
.legal strong { color: var(--text); font-weight: 650; }
.legal a { color: var(--green); }
.legal-facts { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.legal-facts dt, .legal-facts dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal-facts dt { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding-right: 20px; }
.legal-facts dd { color: var(--text); }
@media (max-width: 640px) { .legal-facts { grid-template-columns: 1fr; } .legal-facts dt { border-bottom: 0; padding-bottom: 0; } .legal-facts dd { padding-top: 6px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.notfound .display { font-size: clamp(4rem, 14vw, 9rem); letter-spacing: -0.06em; }
.notfound .display span { color: var(--green); }
.notfound p { color: var(--text-2); margin-top: 8px; }
.notfound .btn { margin-top: 32px; }

/* ---------- Ulazak pri skrolanju ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .stack-card { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .product, .product::before, .btn, .btn svg, .stack-card { transition: none; }
}
