/* Packfolio — packfolio.nl
   Dark, modern, indigo/violet accents. One committed visual world.
   No framework, no external fonts, no tracking. */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg:          #090d1c;
  --bg-2:        #10162c;
  --bg-3:        #171e3a;

  --line:        rgba(150, 165, 255, 0.12);
  --line-2:      rgba(150, 165, 255, 0.22);

  --text:        #eef1fb;
  --text-dim:    #a7adce;
  --text-faint:  #838cb2;

  --accent:        #4d5bef;   /* button / solid accent */
  --accent-hover:  #5f6dff;
  --accent-text:   #97a3ff;   /* accent as text/number on dark */
  --accent-violet: #b98cff;   /* gradient partner + glow */

  --ok:          #34d17a;

  --card-bg:     #ffffff;
  --card-ink:    #14172a;
  --card-dim:    #5c6280;
  --card-line:   #e8eaf5;
  --card-ok:     #128a4b;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0:  1rem;
  --step-1:  1.0625rem;
  --step-2:  clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-3:  clamp(1.6rem, 1.25rem + 1.7vw, 2.5rem);
  --step-4:  clamp(2.2rem, 1.3rem + 3vw, 3.5rem);

  --container: 1180px;
  --pad: clamp(1.15rem, 5vw, 2.75rem);
  --sp: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 16px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.15em; height: 1.15em;
  flex: none; display: inline-block; vertical-align: -0.18em;
  color: inherit;
}

/* ---------------------------------------------------------------- a11y */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 100;
  background: var(--accent); color: #fff;
  padding: 0.65rem 1rem; border-radius: 10px; font-weight: 600;
  text-decoration: none; transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--sp); }
.section--panel {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.section__title {
  font-size: var(--step-3);
  margin-top: 0.7rem;
  max-width: 22ch;
}
.section__lead {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: var(--step-1);
}

.grad {
  background: linear-gradient(96deg, #8f9bff 0%, #bd93ff 58%, #9c8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { background: none; color: var(--accent-text); }
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 13, 28, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand__tile { display: inline-flex; }
.brand__tile svg { border-radius: 8px; }
.brand__name { font-size: 1.2rem; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-3);
  color: var(--text);
  cursor: pointer;
}
.nav__toggle .ic { width: 22px; height: 22px; }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: inline-block; }
.nav__toggle[aria-expanded="true"] .ic:first-of-type { display: none; }

.nav__menu {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem var(--pad) 1.1rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.nav__menu.is-open { display: flex; }
.nav__menu > a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 600;
  padding: 0.7rem 0.25rem;
  border-radius: 8px;
}
.nav__menu > a:hover,
.nav__menu > a[aria-current="page"] { color: var(--text); }
.nav__soon {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--text-faint);
  font-weight: 600;
  font-size: var(--step--1);
  padding: 0.7rem 0.25rem;
}
.nav__menu .btn--sm { align-self: flex-start; margin-top: 0.35rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  font: inherit;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn--sm { padding: 0.6rem 0.95rem; font-size: var(--step--1); border-radius: 10px; }
.btn--accent {
  --btn-bg: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(77, 91, 239, 0.9);
}
.btn--accent:hover { --btn-bg: var(--accent-hover); }
.btn--ghost {
  --btn-bg: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--accent-text); background: rgba(151, 163, 255, 0.08); }
.btn--soon {
  --btn-bg: rgba(151, 163, 255, 0.12);
  color: var(--text-dim);
  border-color: var(--line-2);
  cursor: default;
}
.btn:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 80% 18%, rgba(123, 108, 255, 0.30), transparent 72%),
    radial-gradient(40% 35% at 98% 0%, rgba(185, 140, 255, 0.20), transparent 70%),
    radial-gradient(75% 60% at 8% 108%, rgba(77, 91, 239, 0.16), transparent 70%);
}
.hero__art {
  position: absolute; z-index: 0; pointer-events: none;
  right: -20%; top: -6%;
  width: min(540px, 96vw);
  opacity: 0.32;
}
.hero__grid,
.pills,
.error404 { position: relative; z-index: 1; }

.hero--center { min-height: 78vh; display: flex; align-items: center; }
.error404 { max-width: 40rem; }

.hero__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 5vw, 3rem);
}
.hero__title {
  font-size: var(--step-4);
  margin-top: 0.9rem;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}
.hero__lead {
  margin-top: 1.3rem;
  max-width: 46ch;
  font-size: var(--step-1);
  color: var(--text-dim);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}
.caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.3rem;
  list-style: none;
  padding: 0;
  margin-top: 2.2rem;
}
.caps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-dim);
}
.caps .ic { color: var(--accent-text); width: 1.05rem; height: 1.05rem; }

/* hero media / drop-card */
.hero__media { justify-self: center; width: 100%; max-width: 400px; }
.example__card { justify-self: start; margin-inline: 0; }

.drop-card {
  background: var(--card-bg);
  color: var(--card-ink);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow:
    0 34px 60px -24px rgba(6, 9, 22, 0.8),
    0 0 0 1px rgba(120, 130, 255, 0.14);
}
.drop-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
}
.tag--new { background: #e7f8ee; color: var(--card-ok); }
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--card-ok); }
.tag--sample {
  background: #eef0fb; color: var(--card-dim);
  border: 1px solid var(--card-line);
}
.drop-card__row { display: flex; gap: 0.85rem; }
.drop-card__thumb {
  flex: none;
  width: 68px;
  display: grid;
  place-items: center;
  background: #f5f6fc;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 0.5rem;
}
.drop-card__info { min-width: 0; }
.drop-card__brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-dim);
}
.drop-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}
.drop-card__store {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  font-size: var(--step--1);
  font-weight: 650;
  color: var(--accent);
}
.drop-card__store .ic { width: 0.9rem; height: 0.9rem; }
.drop-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--card-line);
}
.drop-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.drop-card__stock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--card-ok);
}
.drop-card__stock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--card-ok); flex: none; }
.drop-card__go {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.drop-card__go .ic { width: 18px; height: 18px; }
.drop-card__note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
}
.example__card .drop-card__note { text-align: left; }

/* hero pills strip */
.pills {
  list-style: none;
  padding-top: 1.6rem;
  margin-top: clamp(2rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.25rem 1.5rem;
}
.pills li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.2rem 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.pills__n {
  grid-row: 1 / span 2;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.pills__t { font-weight: 750; }
.pills__s { grid-column: 2; font-size: var(--step--1); color: var(--text-faint); }

/* ---------------------------------------------------------------- how */
.how {
  list-style: none;
  padding: 0;
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.how__item {
  background: var(--bg-2);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.section:not(.section--panel) .how__item { background: var(--bg); }
.how__ic {
  width: 26px; height: 26px;
  color: var(--accent-text);
  margin-bottom: 0.3rem;
}
.how__item h3 { font-size: var(--step-2); font-weight: 750; }
.how__item p { color: var(--text-dim); font-size: 0.95rem; }
.chip {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

/* ---------------------------------------------------------------- example */
.example { display: grid; gap: clamp(2rem, 6vw, 3.5rem); align-items: start; }
.example__notes {
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.example__notes li {
  color: var(--text-dim);
  font-size: 0.95rem;
  padding-left: 1.1rem;
  position: relative;
}
.example__notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-text);
}
.example__notes strong { color: var(--text); font-weight: 700; }
.example__disclaimer {
  margin-top: 1.4rem;
  font-size: var(--step--1);
  color: var(--text-faint);
  max-width: 46ch;
}

/* ---------------------------------------------------------------- over */
.over__title { max-width: 26ch; }

/* ---------------------------------------------------------------- statusband */
.statusband { background: var(--bg-3); border-block: 1px solid var(--line); }
.statusband__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding-block: 1.5rem;
}
.statusband__dot {
  flex: none;
  width: 9px; height: 9px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--accent-text);
  box-shadow: 0 0 0 4px rgba(151, 163, 255, 0.16);
}
.statusband p { max-width: 68ch; color: var(--text-dim); }
.statusband strong { color: var(--text); font-weight: 700; }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.75rem, 6vw, 4rem);
  font-size: var(--step--1);
}
.footer__grid {
  display: grid;
  gap: 2rem;
}
.footer__brand p { color: var(--text-faint); max-width: 32ch; margin-top: 0.8rem; }
.footer__col h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.8rem;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer__col a { color: var(--text-dim); text-decoration: none; }
.footer__col a:hover { color: var(--text); }
.footer__col span[data-discord-soon] { color: var(--text-faint); }

.footer__notes {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.footer__notes h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.footer__notes p { color: var(--text-faint); max-width: 52ch; }
.footer__notes :target h2 { color: var(--accent-text); }

.footer__legal {
  margin-top: 2.5rem;
  color: var(--text-faint);
}

/* ---------------------------------------------------------------- responsive */
@media (min-width: 620px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer__notes { grid-template-columns: repeat(3, 1fr); }
  .pills { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .how { grid-template-columns: 1fr 1fr; }
  .example { grid-template-columns: 1.05fr 0.95fr; }
}

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 0;
    background: none;
    border: 0;
  }
  .nav__menu > a { padding: 0.35rem 0; color: var(--text-dim); }
  .nav__menu .btn--sm { align-self: center; margin: 0; }
  .nav__soon { padding: 0; }
}

@media (min-width: 1040px) {
  .hero__art { right: -2%; top: 2%; width: min(600px, 46vw); opacity: 0.9; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }
  .hero__media { justify-self: end; max-width: 380px; }
  .hero__title { margin-top: 1.1rem; }
  .pills { grid-template-columns: repeat(4, 1fr); gap: 0 1.5rem; }
  .pills li { border-bottom: 0; border-left: 1px solid var(--line); padding-left: 1.4rem; }
  .pills li:first-child { border-left: 0; padding-left: 0; }
  .how { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .btn:active { transform: none; }
}
