/* suubbs — base tokens + shared chrome
   Chassis: Mobbin-style restraint (hairlines, off-whites, systematic type)
   Personality: Jitter-style chunk + motion (tight display type, pills, color pops) */

:root {
  --paper: #ffffff;
  --paper-2: #f7f7f5;
  --card: #f3f3f1;
  --ink: #17161a;
  --ink-2: #5f5d66;
  --ink-3: #9b99a3;
  --line: #e8e7ea;
  --line-strong: #d9d8dc;

  --accent: #5b5bf7;
  --lime: #d8fa4e;
  --coral: #ff6a55;
  --sky: #7accff;
  --amber: #ffc24b;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --pill: 999px;

  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-lift: 0 1px 2px rgba(23, 22, 26, 0.05), 0 12px 32px -12px rgba(23, 22, 26, 0.18);
  --shadow-pop: 0 2px 6px rgba(23, 22, 26, 0.08), 0 24px 56px -16px rgba(23, 22, 26, 0.28);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg, video { display: block; max-width: 100%; }

::selection { background: var(--lime); color: var(--ink); }

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

/* ---- wordmark: the logo is a subtitle box ---- */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark .mark {
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  padding: 8px 12px 9px;
  border-radius: 9px;
  transition: transform 0.35s var(--ease-spring), background-color 0.2s ease;
}

.wordmark:hover .mark { transform: rotate(-3deg) scale(1.06); background: var(--accent); }

/* ---- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active { transform: scale(0.96); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: scale(1.04); box-shadow: var(--shadow-pop); }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: scale(1.04); }

.btn-small { padding: 10px 18px; font-size: 13.5px; }

.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- little labels ---- */

.kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper);
}

.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  outline: 3px solid color-mix(in srgb, var(--lime) 35%, transparent);
  animation: chip-pulse 2.4s ease-in-out infinite;
}

@keyframes chip-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
