@font-face {
  font-family: 'InterLocal';
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'InterLocal';
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'InterLocal';
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'InterLocal';
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'InterLocal';
  src: url('/assets/fonts/inter-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  --bg: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #111827;
  --muted: #5b6476;
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.14);
  --primary: #5b5cf0;
  --primary-2: #7b61ff;
  --pink: #ec4899;
  --shadow: 0 20px 56px rgba(31, 41, 55, 0.10);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: InterLocal, Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91,92,240,0.10), transparent 30%),
    radial-gradient(circle at top right, rgba(236,72,153,0.08), transparent 25%),
    linear-gradient(180deg, #fcfdff 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(1120px, calc(100vw - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(246,248,252,0.74);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--pink)); box-shadow: 0 0 0 8px rgba(91,92,240,0.10); }
.nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav-pills { gap: 10px; }
.nav-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.88);
  border: 1px solid var(--line); color: var(--text); font-weight: 600;
}
.nav-pill:hover { border-color: rgba(91,92,240,0.25); background: rgba(91,92,240,0.05); color: var(--primary); }
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(91,92,240,0.09); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
h1, h2, h3, h4 { margin: 0 0 14px; letter-spacing: -0.04em; }
.card-title { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; margin: 0 0 8px; color: var(--text); }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 0.95; margin-top: 20px; }
h2 { font-size: clamp(28px, 4vw, 40px); }
.lead { font-size: 20px; line-height: 1.65; color: var(--muted); max-width: 760px; margin: 0; }
.emphasis { color: var(--primary); }
.homepage { padding-bottom: 48px; }
.hero-simple { padding: 84px 0 36px; }
.hero-centered { max-width: 860px; margin: 0 auto; text-align: center; display: grid; gap: 20px; justify-items: center; }
.hero-lead { max-width: 680px; margin: 0 auto; }
.hero-search { width: min(980px, 100%); max-width: 980px; margin: 8px auto 0; }
.hero-feedback { min-height: 20px; }
.search-results { width: min(980px, 100%); margin: 4px auto 0; }
.results-shell { display: grid; gap: 12px; text-align: left; }
.result-card {
  display: grid; gap: 6px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.92);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.result-card strong { font-size: 16px; }
.result-card span { color: var(--muted); line-height: 1.5; }
.results-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.search-shell {
  display: flex; gap: 12px; padding: 12px; background: rgba(255,255,255,0.92);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.search-shell input { flex: 1 1 720px; min-width: 0; border: 0; outline: none; background: transparent; padding: 18px 18px; font-size: 17px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 16px; padding: 15px 18px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; box-shadow: var(--shadow);
  white-space: nowrap;
}
.button.ghost { background: white; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.section { padding: 42px 0; }
.section-tight { padding-top: 22px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section-head p { margin: 0; color: var(--muted); max-width: 700px; line-height: 1.6; }
.section-head-stack { align-items: start; }
.compact-intro { max-width: 760px; font-size: 18px; }
.section-head-minimal h2 { margin-bottom: 6px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-minimal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-item {
  background: rgba(255,255,255,0.88); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow);
}
.step-item span {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(91,92,240,0.10); color: var(--primary); font-weight: 800; margin-bottom: 16px;
}
.step-item p { color: var(--muted); margin: 0; line-height: 1.6; }
.step-item .card-title { margin-bottom: 4px; }
.card { background: var(--surface); border: 1px solid rgba(17, 24, 39, 0.06); border-radius: var(--radius); box-shadow: var(--shadow); }
.strong-intro { background: linear-gradient(180deg, rgba(91,92,240,0.06), rgba(255,255,255,0.96)); }
.small-lead { font-size: 18px; max-width: 100%; }
.winner-card { border-color: rgba(91,92,240,0.12); }
.winner-card { display: flex; flex-direction: column; height: 100%; }
.winner-card .amazon-link { margin-top: auto; width: 100%; min-height: 54px; }
.compact-thing-card { gap: 14px; }
.thing-image-wrap {
  width: 100%; height: 220px; border-radius: 18px; border: 1px solid var(--line);
  background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.thing-image { width: 100%; height: 100%; object-fit: contain; }
.thing-image-placeholder {
  background: linear-gradient(180deg, rgba(91,92,240,0.06), rgba(236,72,153,0.04));
  padding: 18px; text-align: center; color: var(--muted); font-weight: 600;
}
.thing-pitch { font-size: 16px; line-height: 1.5; color: var(--text); margin: 0; }
.thing-bullets { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 8px; }
.thing-details { border: 1px solid var(--line); background: white; border-radius: 18px; padding: 12px 14px; }
.thing-details summary { cursor: pointer; font-weight: 700; }
.thing-details .product-item { border: 0; padding: 10px 0 0; min-height: 0; }
.category-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.compact-card { gap: 14px; }
.compact-card .button { margin-top: auto; width: 100%; min-height: 54px; }
.browse-card-minimal .tagline {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.browse-card-image-wrap {
  width: 100%; height: 168px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: white;
  display: flex; align-items: center; justify-content: center;
}
.browse-card-image { width: 100%; height: 100%; object-fit: contain; }
.category-card .tagline { color: var(--muted); line-height: 1.6; margin: 0; }
.category-card h3 { margin-bottom: 8px; }
.badges, .pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge, .chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: white; border: 1px solid var(--line); color: var(--muted);
  min-height: 36px;
  width: fit-content;
}
.product-list { display: grid; gap: 12px; }
.product-item { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.product-item strong { display: block; margin-bottom: 6px; }
.product-item small { color: var(--muted); display: block; margin-top: 6px; }
.panel, .hero-panel, .agent-box { padding: 24px; }
.empty-state-card { text-align: center; justify-items: center; gap: 14px; }
.empty-state-card p { color: var(--muted); margin: 0; }
.info-list { display: grid; gap: 10px; color: var(--muted); }
.info-list strong { color: var(--text); }
.question-box { padding: 18px; border-radius: 18px; background: white; border: 1px solid var(--line); }
.options { display: grid; gap: 10px; margin-top: 12px; }
.option-btn { text-align: left; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.option-btn:hover, .option-btn.active { border-color: rgba(91,92,240,0.4); background: rgba(91,92,240,0.05); }
.free-text { width: 100%; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 92px; }
.progress { height: 10px; background: rgba(17,24,39,0.08); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--pink)); transition: width .35s ease; }
.pipeline { display: grid; gap: 12px; }
.stage { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.stage .state, .small { font-size: 13px; color: var(--muted); }
.stage.done { border-color: rgba(22,163,74,0.2); background: rgba(22,163,74,0.05); }
.stage.live { border-color: rgba(91,92,240,0.25); background: rgba(91,92,240,0.05); }
.hidden { display: none !important; }
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; }
.manual-answer-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 12px; align-items: end; }
.manual-answer-text { margin-top: 0; min-height: 88px; }
.manual-answer-btn { min-height: 54px; }
.input, .select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: white; }
.alert { padding: 14px 16px; border-radius: 16px; background: rgba(255,140,66,0.10); color: #9a4d16; border: 1px solid rgba(255,140,66,0.18); }
.waiting-shell { display: grid; justify-items: center; gap: 18px; padding: 28px 12px 8px; min-height: 360px; align-content: center; }
.waiting-orb {
  width: 86px; height: 86px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(91,92,240,0.18));
  border: 1px solid rgba(91,92,240,0.15); box-shadow: 0 12px 40px rgba(91,92,240,0.16);
  animation: floaty 2.6s ease-in-out infinite;
}
.waiting-bubble {
  max-width: 360px; text-align: center; padding: 16px 18px; border-radius: 20px;
  background: white; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; line-height: 1.5;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}
.kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 18px; }
.kpi strong { display: block; font-size: 28px; margin-bottom: 6px; }
.kpi span { color: var(--muted); font-size: 14px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-size: 13px; }
.table td { line-height: 1.5; }
.footer { padding: 40px 0 70px; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .grid-3, .grid-2, .steps-minimal, .kpi-strip, .section-head { grid-template-columns: 1fr; display: grid; }
  .nav { display: none; }
  .search-shell { flex-direction: column; }
  .search-shell input {
    flex: none;
    width: 100%;
    min-height: 56px;
    max-height: 56px;
    height: 56px;
  }
  .search-shell button {
    width: 100%;
    min-height: 54px;
    max-height: 54px;
    height: 54px;
  }
  .topbar-inner { padding: 14px 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(100vw - 20px, 100%); }
  .hero-simple { padding: 34px 0 18px; }
  .hero-centered { gap: 14px; }
  h1 { font-size: clamp(34px, 11vw, 46px); line-height: 1.02; }
  .lead { font-size: 17px; }
  .hero-lead { max-width: 100%; }
  .hero-search {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }
  .search-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }
  .search-shell input {
    display: block;
    flex: none;
    width: 100%;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    padding: 0 16px;
    font-size: 16px;
    line-height: 56px;
    align-self: start;
    appearance: none;
    -webkit-appearance: none;
  }
  .search-shell button {
    display: flex;
    width: 100%;
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    align-self: start;
  }
  .steps-minimal { gap: 12px; }
  .step-item { padding: 18px; border-radius: 18px; }
  .section { padding: 24px 0; }
  .section-tight { padding-top: 12px; }
  .manual-answer-row { grid-template-columns: 1fr; }
  .manual-answer-btn { width: 100%; }
}
