/* ============================================================================
   QA Leap — shared shell
   Single source of truth for the site's visual chrome: design tokens, the layout
   container, buttons, the header and the footer. Linked by BOTH the marketing
   site (/index.html) and the showcase (/showcase/index.html) so the two pages
   share one visual language and never drift apart. Page-specific styles (hero,
   sections, the run animation, etc.) stay in each page's own stylesheet.
   ============================================================================ */

:root {
  --ink: #0b0f19;
  --ink-soft: #1a2032;
  --text: #2b3348;
  --muted: #6b7488;
  --line: #e6e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --accent: #00b8f8;          /* brand blue — frog logo */
  --accent-dark: #0090cf;
  --accent-ink: #04283b;      /* dark text on accent buttons */
  --green: #1e8f5c;
  --green-soft: rgba(34, 168, 108, 0.14);
  --red: #d64545;
  --red-soft: #fdecec;
  --amber: #b8791a;
  --amber-soft: #fff7e6;
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(11, 15, 25, 0.04), 0 8px 30px rgba(11, 15, 25, 0.06);
}

/* Layout container — both class names resolve identically */
.wrap, .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 13px 22px; font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 184, 248, 0.35); text-decoration: none; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.btn-light:hover { background: rgba(255, 255, 255, 0.16); }

/* Header / nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { font-size: 15px; color: var(--text); font-weight: 500; }
.nav-links a.link:hover { color: var(--ink); text-decoration: none; }

/* Footer */
footer { background: var(--ink); color: #9aa3b8; padding: 56px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand .logo { color: #fff; margin-bottom: 12px; }
.foot-brand p { font-size: 14px; max-width: 320px; }
.foot-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; padding: 5px 0; color: #9aa3b8; }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* Shared responsive (shell only) */
@media (max-width: 900px) { .nav-links a.link { display: none; } }
@media (max-width: 600px) { .foot-grid { flex-direction: column; } }
