/* Quoreca styles — clean, flat, premium. One accent colour. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #14181f;
  --ink-soft: #5b6472;
  --ink-faint: #8a93a3;
  --border: #e4e7ec;
  --accent: #1f5fd6;
  --accent-hover: #1b54bd;
  --accent-soft: #eaf1fc;
  --accent-light: #5b9bff;
  --legal: #1d9e6f;
  --legal-bg: #e8f6f0;
  --care: #c98a17;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top nav */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
  text-decoration: none;
}
.logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #c7cdd6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */
.site-header {
  background: var(--ink);
  color: #fff;
  padding: 20px 0 56px;
}
.hero {
  margin-top: 44px;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 16px;
}
.hero-title {
  font-size: clamp(30px, 5.5vw, 50px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 0 0 18px;
}
.hero-sub {
  font-size: clamp(15px, 2.4vw, 18px);
  color: #c7cdd6;
  line-height: 1.6;
  margin: 0 0 26px;
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.hero-cta:hover {
  background: var(--accent-hover);
}

/* Car bar */
.car-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.car-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  flex-wrap: wrap;
}
.car-name {
  font-size: 18px;
  font-weight: 600;
}
.car-gen {
  color: var(--ink-faint);
  font-size: 14px;
  margin-left: 8px;
}
.variant-pick {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.variant-pick select {
  font-size: 15px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

/* Controls */
.controls {
  padding: 20px 0 6px;
}
#search {
  width: 100%;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 14px;
}
#search:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.chip {
  font-size: 13px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  text-transform: capitalize;
}
.chip:hover {
  border-color: var(--ink-faint);
}
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Results */
.count {
  color: var(--ink-faint);
  font-size: 13px;
  margin: 14px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding-bottom: 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(20, 24, 31, 0.04);
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.cat-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-top: 3px;
}
.does {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

.status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  align-self: flex-start;
}
.status.have {
  background: var(--legal-bg);
  color: var(--legal);
}
.status.add {
  background: var(--accent-soft);
  color: var(--accent);
}

.cost {
  font-size: 15px;
  font-weight: 600;
}
.cost .label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  display: block;
}

.meta-row {
  font-size: 13px;
  color: var(--ink-soft);
}
.meta-row strong {
  color: var(--ink);
  font-weight: 600;
}

.confidence {
  font-size: 12px;
  color: var(--ink-faint);
}
.confidence.verify {
  color: var(--care);
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.btn {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-soft {
  color: var(--ink-soft);
}
.source {
  font-size: 12px;
}
.source a {
  color: var(--ink-faint);
}

/* Landing — tool cards + promise */
.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
  padding: 40px 0 8px;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 24, 31, 0.04);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
a.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 24, 31, 0.1);
  border-color: #cfd6e0;
}
.tool-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 6px;
}
.tool-badge.live {
  background: var(--legal-bg);
  color: var(--legal);
}
.tool-badge.soon {
  background: #eef0f3;
  color: var(--ink-faint);
}
.tool-title {
  font-size: 19px;
  font-weight: 600;
  margin: 6px 0 0;
}
.tool-desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}
.tool-go {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.16s ease;
}
a.tool-card:hover .tool-go {
  transform: translateX(4px);
}
.tool-go.muted {
  color: var(--ink-faint);
}
.promise {
  padding: 32px 0 48px;
  max-width: 700px;
}
.promise-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}
.promise-text {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

/* Entrance animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-eyebrow,
.hero-title,
.hero-sub,
.hero-cta {
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title {
  animation-delay: 0.08s;
}
.hero-sub {
  animation-delay: 0.16s;
}
.hero-cta {
  animation-delay: 0.24s;
}
.tool-card {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}
.tools .tool-card:nth-child(1) {
  animation-delay: 0.28s;
}
.tools .tool-card:nth-child(2) {
  animation-delay: 0.38s;
}
.tools .tool-card:nth-child(3) {
  animation-delay: 0.48s;
}
.tools .tool-card:nth-child(4) {
  animation-delay: 0.58s;
}
.tool-badge.partner {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-cta,
  .tool-card {
    opacity: 1 !important;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 0;
}
.site-footer p {
  color: var(--ink-faint);
  font-size: 12px;
  margin: 0;
  max-width: 760px;
}
