/* Recco's base: tokens, type, buttons, fields. A cool fog canvas with white sheets; raccoon-charcoal ink; Recco's
   hoodie amber for his actions; deep teal where a store got picked; midnight only for the panel where Recco works. */
@import url('/assets/fonts.css');

:root {
  --fog: #edeef0;
  --fog-2: #e4e5e9;
  --sheet: #ffffff;
  --ink: #24222d;
  --ink-2: #5e5b6b;
  --ink-3: #8b8997;
  --line: #e1e1e6;
  --line-2: #d3d3da;
  --amber: #f5a524;
  --amber-2: #ffc562;
  --amber-tint: #fff3dc;
  --amber-ink: #7a4a00;
  --teal: #0e7c6b;
  --teal-2: #13a088;
  --teal-tint: #dcf1ec;
  --rose: #c2413a;
  --rose-tint: #fbe6e4;
  --night: #17162e;
  --night-2: #22204a;
  --night-3: #2e2c5c;
  --glow: #ffd27a;
  --r: 14px;
  --r-s: 9px;
  --display: 'Gabarito', ui-rounded, system-ui, sans-serif;
  --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font: 400 15px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 34px; line-height: 1.08; font-weight: 800; }
h2 { font-size: 22px; line-height: 1.2; font-weight: 750; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.soft { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 13px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

/* buttons: ink is the default; amber is Recco doing something for you */
.btn {
  appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; font: 600 14px/1 var(--text);
  background: var(--ink); color: #fff; transition: transform .15s var(--ease), background .15s; text-decoration: none;
}
.btn:hover { background: #3a3746; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.amber { background: var(--amber); color: #2a1a00; }
.btn.amber:hover { background: var(--amber-2); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { background: var(--sheet); }
.btn.teal { background: var(--teal); }
.btn.teal:hover { background: var(--teal-2); }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }
.link { appearance: none; background: none; border: 0; padding: 0; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--sheet); border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 10px 12px; width: 100%; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.err { color: var(--rose); font-size: 13px; min-height: 1em; }

.sheet { background: var(--sheet); border-radius: var(--r); border: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--fog); color: var(--ink-2); white-space: nowrap; }
.chip.teal { background: var(--teal-tint); color: var(--teal); }
.chip.amber { background: var(--amber-tint); color: var(--amber-ink); }
.chip.rose { background: var(--rose-tint); color: var(--rose); }

/* sign-in */
.signin { display: grid; gap: 14px; }
.signin h2 { margin-bottom: 2px; }
.signin .g { width: 18px; height: 18px; }
.si-google { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.si-google:hover { background: var(--fog); }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.signin form { display: grid; gap: 10px; }

/* Recco himself: one gentle float is the only motion that isn't asked for */
.recco { position: relative; display: inline-block; margin: 0; }
.recco img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(23, 22, 46, .18)); }
.recco.float img { animation: float 4.2s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-7px) rotate(.6deg); } }
@media (prefers-reduced-motion: reduce) { .recco.float img { animation: none; } * { scroll-behavior: auto !important; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 90;
  background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 14px;
  transition: all .25s var(--ease); pointer-events: none; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast img { width: 26px; height: 26px; object-fit: contain; }

/* answer tiles (the console's grid and the landing's demo) */
.tile { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; transition: transform .15s var(--ease); }
.tile.s-top { background: var(--teal); box-shadow: 0 3px 10px rgba(14, 124, 107, .35); }
.tile.s-top i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.tile.s-named, .tile.s-linked { background: var(--teal-tint); box-shadow: inset 0 0 0 2px var(--teal); }
.tile b { font: 800 12px var(--display); color: var(--teal); }
.tile.s-none { box-shadow: inset 0 0 0 1.5px var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 5px, #f1f1f4 5px 6px); }
.tile.wait { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.18), rgba(255,255,255,.06)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.tile.gone { box-shadow: inset 0 0 0 1.5px var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -0.02em; padding: 2px 6px 14px; color: var(--ink); }
