/* kërpën design system */
:root {
  /* Brand */
  --k-blue: #2C8DC9;
  --k-blue-deep: #1F6FA3;
  --k-blue-ink: #0F3E5C;
  --k-cyan: #19B8E6;
  --k-orange: #F28C3C;
  --k-magenta: #E6007E;
  --k-gold: #C9A24A;

  /* Primary is tweakable */
  --k-primary: var(--k-blue);
  --k-primary-deep: var(--k-blue-deep);

  /* Neutrals — cool tinted */
  --bg: oklch(0.993 0.003 240);
  --bg-2: oklch(0.975 0.004 240);
  --bg-3: oklch(0.955 0.005 240);
  --ink: oklch(0.18 0.02 240);
  --ink-2: oklch(0.35 0.02 240);
  --ink-3: oklch(0.55 0.015 240);
  --line: oklch(0.92 0.008 240);
  --line-2: oklch(0.88 0.01 240);
  --dark: oklch(0.14 0.02 240);
  --dark-2: oklch(0.20 0.025 240);

  /* Type */
  --font-display: "Roboto Slab", "Zilla Slab", Georgia, serif;
  --font-body: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radii */
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --r-xl: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 240 / 0.06), 0 1px 1px oklch(0.2 0.02 240 / 0.04);
  --shadow: 0 8px 24px -12px oklch(0.2 0.05 240 / 0.25);
  --shadow-lg: 0 30px 60px -30px oklch(0.2 0.05 240 / 0.35);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Containers */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 32px; }

/* Eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--k-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}

/* Display type */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.display-xl { font-size: clamp(52px, 7.5vw, 104px); }
.display-lg { font-size: clamp(40px, 5.5vw, 72px); }
.display-md { font-size: clamp(32px, 4vw, 52px); }
.display-sm { font-size: clamp(24px, 2.6vw, 34px); }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 58ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--k-primary);
  color: white;
}
.btn-primary:hover { background: var(--k-primary-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: black; }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-icon {
  width: 18px; height: 18px;
  display: inline-block;
}

/* Section */
section { padding: 120px 0; }
section.tight { padding: 80px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
}

/* Card */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

/* Dark section */
.dark-sec {
  background: var(--dark);
  color: white;
}
.dark-sec .display, .dark-sec .lead { color: white; }
.dark-sec .lead { color: oklch(0.85 0.01 240); }
.dark-sec .eyebrow { color: var(--k-cyan); }

/* Product box tag (color chip) */
.box-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.box-tag .dot { width: 8px; height: 8px; border-radius: 50%; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
}
.marquee-item::after {
  content: "✦";
  color: var(--k-primary);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Utility */
.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* Page header base (used inside components) */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.99 0.003 240 / 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo-mark {
  height: 28px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav a {
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); border-color: var(--k-primary); }
.header-spacer { flex: 1; }

/* Footer */
.footer {
  background: var(--dark);
  color: oklch(0.8 0.01 240);
  padding: 80px 0 40px;
}
.footer a:hover { color: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h5 {
  color: white;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.25 0.02 240);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: oklch(0.55 0.015 240);
  letter-spacing: 0.04em;
}

/* Form */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: white;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--k-primary);
  box-shadow: 0 0 0 4px oklch(from var(--k-primary) l c h / 0.15);
}
.field textarea { min-height: 120px; resize: vertical; }

/* Tweaks panel */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 300px;
  padding: 18px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tweaks-panel h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tweak-group { display: flex; flex-direction: column; gap: 8px; }
.tweak-group > label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  background: white;
  cursor: pointer;
  transition: all .15s;
}
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.chip-color {
  width: 28px; height: 28px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid white;
  outline: 1px solid var(--line-2);
  cursor: pointer;
}
.chip-color.active { outline: 2px solid var(--ink); }

/* Placeholder img */
.placeholder {
  background: repeating-linear-gradient(
    45deg,
    oklch(0.95 0.005 240),
    oklch(0.95 0.005 240) 8px,
    oklch(0.92 0.006 240) 8px,
    oklch(0.92 0.006 240) 16px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: var(--r);
}

/* Responsive */
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { padding: 14px 20px; gap: 20px; }
  .nav { gap: 16px; font-size: 13px; }
}
