/* ==========================================================================
   BUDGET PET FINDS - a simple link list
   Tap a product name, go straight to that product.
   ========================================================================== */

:root {
  --accent:      #e64a19;   /* change this one line to recolour the page */
  --accent-soft: #fff1ec;
  --ink:         #16181d;
  --muted:       #6b7280;
  --bg:          #f6f7f9;
  --card:        #ffffff;
  --line:        #e4e6ec;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* The whole page is one narrow column, on phones and on desktop alike. */
.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- header ------------------------------------------------------ */
.site-header {
  padding: 40px 18px 26px;
  text-align: center;
}

.site-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tagline {
  margin: 8px auto 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- the link list ----------------------------------------------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;              /* big, easy to tap */
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease,
              transform 0.12s ease;
}

.link-name {
  font-size: 1.02rem;
  font-weight: 700;
}

.link-tail {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

@media (hover: hover) {
  .link:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
  }
}

.link:active { transform: scale(0.99); }

.link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* A product with no link yet: visibly inactive, and not tappable. */
.link--soon {
  background: #f2f3f6;
  color: #9ba0aa;
  cursor: default;
}

.link--soon .link-tail {
  color: #9ba0aa;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- footer ------------------------------------------------------ */
.site-footer {
  margin-top: 34px;
  padding: 22px 18px 40px;
  text-align: center;
}

.site-footer p {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.empty-note {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
