/* ─── Pinic shared design tokens ──────────────────────────────────────────── */
:root {
  --green:        #00E496;
  --green-deep:   #00B377;
  --green-soft:   #C6F5E2;
  --green-tint:   #E8FBF3;
  --ink:          #0E0E10;
  --ink-soft:     #2A2A2E;
  --cream:        #F5F1E8;
  --cream-2:      #EEE8D8;
  --cream-3:      #FBF8F0;
  --paper:        #FFFFFF;
  --muted:        #6B6B6F;
  --muted-2:      #A09F99;
  --hair:         rgba(14,14,16,0.10);
  --hair-2:       rgba(14,14,16,0.06);
  --hair-3:       rgba(14,14,16,0.18);

  /* dark (extension/product cards) */
  --d-bg:         #0B0B0E;
  --d-surface:    #141418;
  --d-surface-2:  #1B1B22;
  --d-hair:       rgba(255,255,255,0.08);
  --d-hair-2:     rgba(255,255,255,0.16);
  --d-muted:      rgba(255,255,255,0.55);

  --col-bug:      #FF7A50;
  --col-ux:       #F5C842;
  --col-style:    #6EB5FF;
  --col-copy:     #C97BFF;
  --col-a11y:     #00E496;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-soft: 0 1px 0 rgba(14,14,16,0.04), 0 2px 8px rgba(14,14,16,0.05);
  --shadow-card: 0 1px 0 rgba(14,14,16,0.06), 0 8px 24px rgba(14,14,16,0.08);
  --shadow-pop:  0 24px 56px rgba(14,14,16,0.12), 0 2px 8px rgba(14,14,16,0.06);

  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'SFMono-Regular', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width:  980px; margin: 0 auto; padding: 0 32px; }

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,241,232,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav-brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .12s, background .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1f1f24; transform: translateY(-1px); }
.btn-green {
  background: var(--green); color: var(--ink);
  box-shadow: 0 1px 0 rgba(14,14,16,0.06), 0 4px 14px rgba(0,228,150,0.25);
}
.btn-green:hover { background: #00f7a4; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair-3); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ─── Common section ────────────────────────────────────────────────────── */
section { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-deep); font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  background: var(--green-tint); border: 1px solid var(--green-soft);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.h1 {
  font-size: clamp(44px, 6vw, 80px); line-height: 0.98;
  letter-spacing: -0.035em; font-weight: 700; text-wrap: balance;
}
.h2 {
  font-size: clamp(32px, 4.5vw, 56px); line-height: 1.02;
  letter-spacing: -0.03em; font-weight: 700; text-wrap: balance;
}
.h3 {
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 600;
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55;
  color: var(--muted); max-width: 620px; text-wrap: balance;
}

/* ─── Chip ──────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: var(--paper); border: 1px solid var(--hair-2); color: var(--ink-soft);
}
.chip-green { background: var(--green-tint); color: var(--green-deep); border-color: var(--green-soft); }
.chip-bug   { background: rgba(255,122,80,0.12); color: #c54a1f; border-color: rgba(255,122,80,0.25); }
.chip-ux    { background: rgba(245,200,66,0.18); color: #8c6a00; border-color: rgba(245,200,66,0.4); }
.chip-style { background: rgba(110,181,255,0.18); color: #2868b8; border-color: rgba(110,181,255,0.35); }
.chip-copy  { background: rgba(201,123,255,0.18); color: #7d34cc; border-color: rgba(201,123,255,0.3); }

/* ─── Card ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--paper); border: 1px solid var(--hair-2);
  border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-soft);
}

/* ─── Form ──────────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--hair-3); background: var(--paper); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-deep);
  box-shadow: 0 0 0 4px var(--green-tint);
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--hair-2); padding: 48px 0 40px; }
.foot-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.foot-brand img { width: 28px; height: 28px; }
.foot-tag { color: var(--muted); font-size: 14px; max-width: 280px; }
.foot-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--ink-soft); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--hair-2);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted);
}
.foot-bottom a { color: var(--ink-soft); }
.foot-bottom a:hover { color: var(--ink); }

/* ─── Reveal animation ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.22,.68,0,1.2), transform .55s cubic-bezier(.22,.68,0,1.2);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ─── Waitlist form ─────────────────────────────────────────────────────── */
.waitlist-form { margin-top: 20px; }
.waitlist-row { display: flex; gap: 8px; }
.waitlist-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  padding: 10px 14px;
  font-family: inherit;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.4); }
.waitlist-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,228,150,0.2); }
.waitlist-btn { flex-shrink: 0; white-space: nowrap; }
.waitlist-msg { font-size: 13px; margin-top: 10px; line-height: 1.4; }

/* ─── Sticker shapes ────────────────────────────────────────────────────── */
.sticker { position: absolute; pointer-events: none; display: flex; align-items: center; justify-content: center; }
