/* ASQ Quincy demo — CustomGPT.ai sales prop (visual parity with asq.org) */
:root {
  --navy: #0B3A63;
  --navy-deep: #072a48;
  --blue: #1B5E96;
  --blue-mid: #0b6bb5;
  --green: #7AA33E;
  --green-dark: #62852f;
  --orange: #A35E26;
  --text: #14326d;
  --muted: #5a6570;
  --bg: #f4f6f8;
  --card: #fff;
  --border: #d5dde6;
  --brand: #0b6bb5;
  --brand-dark: #0B3A63;
  --accent: #7AA33E;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(11, 58, 99, 0.1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.55; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1140px, calc(100% - 2.5rem)); margin: 0 auto; }

.demo-banner {
  background: linear-gradient(90deg, #7a00df, #0b6bb5);
  color: #fff; text-align: center; font-size: 0.78rem; padding: 0.4rem 1rem; font-weight: 600;
  position: sticky; top: 0; z-index: 100;
}

.utility-bar {
  background: var(--navy); color: #fff; font-size: 0.8rem; padding: 0.45rem 0;
}
.utility-bar .container {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: space-between;
}
.utility-bar .left { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }
.util-btn {
  display: inline-block; padding: 0.35rem 0.75rem; font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none !important; border-radius: 2px;
}
.util-btn.contact { background: var(--blue); color: #fff !important; }
.util-btn.member { background: var(--green); color: #fff !important; }
.util-btn.quincy { background: rgba(255,255,255,0.12); color: #fff !important; border: 1px solid rgba(255,255,255,0.25); }

.site-header {
  background: var(--navy); padding: 0.75rem 0 0; position: relative;
}
.site-header .container {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-bottom: 0.75rem;
}
.menu-btn {
  width: 64px; height: 64px; background: var(--green); color: #fff; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  font-weight: 800; font-size: 0.65rem; letter-spacing: 0.06em; cursor: pointer; flex-shrink: 0;
  text-transform: uppercase;
}
.menu-btn .bars { display: flex; flex-direction: column; gap: 4px; }
.menu-btn .bars i { display: block; width: 22px; height: 2.5px; background: #fff; font-style: normal; }

.logo-mark {
  display: flex; align-items: center; gap: 0.75rem; text-decoration: none !important; color: #fff;
}
.q-mark {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center; font-size: 1.85rem; font-weight: 800;
  color: #fff; position: relative;
}
.q-mark::after {
  content: ""; position: absolute; width: 10px; height: 10px; background: var(--green);
  border-radius: 2px; bottom: 6px; right: 4px; transform: rotate(35deg);
}
.logo-text .word { font-size: 1.6rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1; }
.logo-text .sub { font-size: 0.68rem; opacity: 0.85; margin-top: 0.2rem; font-weight: 500; }

.demo-hsearch { flex: 1 1 220px; max-width: 320px; position: relative; margin-left: auto; }
.demo-hsearch form { position: relative; margin: 0; display: flex; }
.demo-hsearch input {
  flex: 1; padding: 0.55rem 0.75rem; border: none; border-radius: 2px 0 0 2px;
  font-size: 0.88rem; font-family: var(--font); background: #e8eef4; color: var(--navy);
}
.demo-hsearch input:focus { outline: 2px solid rgba(122,163,62,0.4); }
.demo-hsearch .ai-tag {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  font-size: 0.6rem; font-weight: 800; color: var(--blue-mid); pointer-events: none;
}
.demo-hsearch .go {
  width: 42px; border: none; background: var(--navy-deep); color: #fff; cursor: pointer;
  border-radius: 0 2px 2px 0; font-size: 1rem;
}
.demo-hsearch .go:hover { background: #051e33; }
.demo-searchdrop {
  display: none; position: absolute; top: calc(100% + 10px); left: auto; right: 0;
  min-width: min(520px, 92vw); background: #fff; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,0.2); z-index: 60; overflow: hidden;
}
.demo-searchdrop .sd-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); background: #f4f6f8;
}
.demo-searchdrop .sd-head .lab { color: var(--blue-mid); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.72rem; font-weight: 800; }
.demo-searchdrop .sd-close { border: none; background: #e0e6f0; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
#customgpt_search { width: 100%; min-height: 160px; padding: 4px; }

.nav-panel {
  background: var(--green); width: 100%;
}
.nav {
  display: none; flex-wrap: wrap; gap: 0.25rem 1.25rem; padding: 0.85rem 0; align-items: center;
}
.nav.open { display: flex; }
.nav a { color: #fff; font-weight: 700; font-size: 0.88rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; }
.nav a:hover { text-decoration: underline; }
.nav .btn { background: var(--navy); padding: 0.4rem 0.85rem; border-radius: 2px; }
.nav-toggle.menu-btn { display: flex; } /* always show ASQ MENU */

.hero {
  background: var(--navy); color: #fff; padding: 4rem 0 3.5rem; position: relative;
  background-image: linear-gradient(135deg, #0B3A63 0%, #14326d 55%, #1B5E96 100%);
}
.hero .container { max-width: 720px; text-align: left; }
.hero-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.75rem;
}
.hero h1 { margin: 0 0 0.75rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; }
.hero p { margin: 0 0 1.25rem; color: #c5d4e4; font-size: 1.1rem; max-width: 36rem; }
.hero-link {
  display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none !important;
  border-bottom: 3px solid var(--green); padding-bottom: 0.25rem;
}
.hero-link:hover { color: #e8f4d8; }
.hero-dots { display: flex; gap: 0.45rem; margin-top: 2rem; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); }
.hero-dots span.active { background: var(--orange); }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.btn-primary, .btn-secondary, .btn-try {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.25rem; border-radius: 2px; font-weight: 700; text-decoration: none !important; font-size: 0.95rem;
}
.btn-primary { background: var(--green); color: #fff !important; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-try { background: var(--blue-mid) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.btn-try:hover { filter: brightness(1.08); }

.want-band {
  background: var(--green); color: #fff; padding: 1.75rem 0 2.25rem;
}
.want-band h2 {
  margin: 0 0 1.25rem; font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800;
}
.want-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.want-card {
  background: #fff; color: var(--navy); padding: 1.25rem 1.15rem; border-radius: 2px;
  box-shadow: var(--shadow); text-decoration: none !important; display: block;
}
.want-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.want-card h3 { margin: 0 0 0.35rem; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.want-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.section { padding: 3rem 0; }
.section.alt { background: var(--bg); }
.section-head { margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; font-size: 1.55rem; color: var(--navy); }
.section-head p { margin: 0.4rem 0 0; color: var(--muted); max-width: 38rem; }
.eyebrow { color: var(--green-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.35rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-accent { height: 5px; background: linear-gradient(90deg, var(--blue-mid), var(--green)); }
.card-body { padding: 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-body .tag {
  align-self: flex-start; background: rgba(122,163,62,0.15); color: var(--green-dark);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: 2px;
}
.card-body h3 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.card-body p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }

.cta-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.cta-pill {
  display: block; text-align: center; font-weight: 700; background: #fff; border: 1.5px solid var(--border);
  border-radius: 4px; padding: 1rem 0.75rem; color: var(--navy); text-decoration: none !important; box-shadow: var(--shadow);
}
.cta-pill:hover { border-color: var(--green); color: var(--green-dark); }

.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: #fff; border-radius: 8px; padding: 2rem 2.25rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 0.4rem; font-size: 1.45rem; }
.cta-band p { margin: 0; color: #c5d4e4; max-width: 34rem; }

.site-footer { background: var(--navy-deep); color: #b7c3d4; padding: 2.5rem 0 1.5rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.75rem; }
.site-footer h4 { color: #fff; margin: 0 0 0.7rem; font-size: 0.92rem; }
.site-footer a { color: #c9d6e8; display: block; margin-bottom: 0.35rem; font-size: 0.9rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem; font-size: 0.8rem; color: #8fa0b5; }
.footer-note strong { color: #d5deea; }

.assistant-page { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #f5f7fa; }
.assistant-page .assistant-frame { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.assistant-page #customgpt_chat { flex: 1; min-height: calc(100vh - 96px); width: 100%; }
.assistant-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 0.65rem 0; }
.assistant-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.assistant-bar a.back { font-weight: 700; color: var(--blue-mid); text-decoration: none; }
.assistant-bar strong { color: var(--navy); }

@media (max-width: 960px) {
  .want-grid, .grid-3, .footer-grid, .cta-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .want-grid, .grid-3, .footer-grid, .cta-strip { grid-template-columns: 1fr; }
  .demo-hsearch { flex: 1 1 100%; max-width: none; margin-left: 0; }
  .menu-btn { width: 56px; height: 56px; }
}
