/* Nariboo web — light "flyer" theme.
   Shared by every page: tokens, nav, footer, buttons, sticker cards. */

:root {
  --bg:      #f3f1fd;   /* lavender paper */
  --bg2:     #ebe6fd;
  --paper:   #ffffff;
  --ink:     #1a1433;   /* navy ink, used for text + outlines */
  --ink2:    #48425a;
  --ink3:    #807a96;
  --purple:  #6a4fd9;
  --purple2: #5640c4;
  --lilac:   #b6a4ff;
  --lav:     #e4dcfd;
  --yellow:  #f3d37a;
  --coral:   #ff675b;
  --mint:    #7df0c4;
  --line:    2.5px solid var(--ink);
  --shadow:  5px 5px 0 var(--ink);
  --display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --font:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --hand:    'Permanent Marker', 'Comic Sans MS', cursive;
  --serif:   'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

/* ── Brand mark (app icon: ink tile + glowing pin) ── */
.mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.8px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(243, 241, 253, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 2px solid var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink2);
}
.nav-link:hover { color: var(--ink); background: var(--lav); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font); font-size: 16px; font-weight: 800;
  text-decoration: none; border: var(--line); cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-light   { background: var(--paper); color: var(--ink); }
.btn-yellow  { background: var(--yellow); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn svg { flex-shrink: 0; }

/* ── Sticker card ── */
.sticker {
  background: var(--paper);
  border: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ── Footer ── */
.footer {
  border-top: 2px solid var(--ink);
  background: var(--paper);
  padding: 40px clamp(16px, 4vw, 40px) 44px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px;
}
.footer-tag { font-size: 14px; color: var(--ink2); margin-top: 8px; max-width: 300px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col h4 {
  font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 10px;
}
.footer-col a {
  display: block; font-size: 14px; font-weight: 600; color: var(--ink2);
  text-decoration: none; padding: 3px 0;
}
.footer-col a:hover { color: var(--purple); }
.footer-copy {
  max-width: 1120px; margin: 28px auto 0; padding-top: 20px;
  border-top: 1.5px dashed rgba(26, 20, 51, 0.25);
  font-size: 12.5px; color: var(--ink3);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

.nav-link, .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .brand-name { font-size: 19px; }
  .mark { width: 32px; height: 32px; }
  .nav-link { padding: 8px 8px; font-size: 13px; }
  .nav .btn-sm { padding: 7px 14px; font-size: 13px; }
}

/* ── Legal / document pages ── */
.doc { max-width: 760px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 40px) 90px; line-height: 1.75; }
.doc-header { background: var(--paper); border: var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 28px 24px; margin-bottom: 40px; }
.doc-header h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 7vw, 64px); line-height: 1; margin-bottom: 8px; }
.doc-meta { color: var(--ink3); font-size: 14px; font-weight: 600; }
.doc h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.4px; margin: 40px 0 10px; padding-top: 18px; border-top: 1.5px dashed rgba(26, 20, 51, 0.2); }
.doc h3 { font-size: 16px; font-weight: 800; margin: 24px 0 6px; }
.doc p { color: var(--ink2); margin-bottom: 14px; font-size: 15.5px; }
.doc ul { color: var(--ink2); margin: 8px 0 14px 22px; font-size: 15.5px; }
.doc li { margin-bottom: 6px; line-height: 1.65; }
.doc li::marker { color: var(--purple); }
.doc strong { color: var(--ink); }
.doc a { color: var(--purple); font-weight: 600; }
