/* ============================================================
   91AIgency — 91aigency.com
   Light, Material-inspired, trust-first. Built 05-Jul-2026.
   Palette per workspace design defaults (Google Material).
   ============================================================ */

:root {
  --text:        #202124;
  --muted:       #5F6368;
  --bg:          #F8F9FA;
  --white:       #FFFFFF;
  --border:      #E8EAED;
  --navy:        #0E1B2D;   /* brand navy — buttons, footer, headings */
  --navy-soft:   #1B2F49;   /* hover state */
  --navy-tint:   #E8EEF6;
  --orange:      #FF844B;   /* brand orange — graphics, icons, borders only (2.4:1 on white) */
  --orange-deep: #B84A14;   /* text-safe orange — links, eyebrow text (5.2:1 on white) */
  --orange-tint: #FFEDE4;
  --blue:        #1967D2;   /* legacy alias, unused after re-theme */
  --blue-bright: #1A73E8;
  --blue-tint:   #E8F0FE;
  --green:       #188038;   /* success text — AA on white */
  --green-icon:  #34A853;
  --green-tint:  #E6F4EA;
  --yellow-tint: #FEF7E0;
  --red:         #D93025;
  --red-tint:    #FCE8E6;
  --purple:      #A142F4;
  --purple-tint: #F3E8FD;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 3px rgba(60, 64, 67, 0.12);
  --shadow-lg:   0 4px 16px rgba(60, 64, 67, 0.16);
  --font:        'Roboto', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:   'Poppins', 'Roboto', -apple-system, sans-serif;
  --mono:        'Roboto Mono', 'SF Mono', Menlo, monospace;
  --container:   1120px;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style-position: outside; padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--white); color: var(--navy); padding: 10px 16px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.skip-link:focus { left: 16px; top: 12px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 600; color: var(--text); font-family: var(--font-head); }
.brand-logo { height: 34px; width: auto; display: block; }
.brand:hover { text-decoration: none; }
.brand-91ai { color: var(--orange); }
.brand-gency { color: #C2C2C2; }
.footer-brand .brand { gap: 0; font-size: 1.35rem; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 20px;
  color: var(--text); font-size: 0.95rem;
}
.nav-links a:hover { background: var(--bg); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--orange-deep); background: var(--orange-tint); }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 10px 20px !important; border-radius: 24px !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--navy-soft); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-wash-cool {
  background:
    url('/images/wash-cool.svg?v=20260706a') no-repeat left -180px bottom -260px / 620px auto,
    var(--bg);
}
.section-wash-warm {
  background:
    url('/images/wash-warm.svg?v=20260706a') no-repeat right -180px top -200px / 640px auto,
    var(--white);
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .lead { margin-top: 12px; }

.eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 16px;
  background: var(--orange-tint); color: var(--orange-deep);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow-green { background: var(--green-tint); color: #137333; }
.eyebrow-purple { background: var(--navy-tint); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  background:
    url('/images/wash-warm.svg?v=20260706a') no-repeat right -120px top -140px / 760px auto,
    url('/images/wash-cool.svg?v=20260706a') no-repeat left -200px bottom -240px / 640px auto,
    linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}
.hero h1 { max-width: 780px; }
.hero .lead { max-width: 680px; margin: 20px 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; margin-bottom: 44px; }
.hero-grid .hero-ctas { margin-bottom: 0; }
.hero-art img { width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.page-hero-grid .hero-art img { max-width: 330px; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 26px;
  font-size: 1rem; font-weight: 500; font-family: var(--font);
  cursor: pointer; border: none; transition: background 0.2s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--orange-tint); }

.proof-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 22px; padding: 9px 18px;
  font-size: 0.9rem; color: var(--muted); box-shadow: var(--shadow);
}
.proof-chip strong { color: var(--text); font-weight: 500; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: box-shadow 0.2s, transform 0.2s;
}
.section-alt .card { box-shadow: none; }
a.card { color: var(--text); display: block; }
a.card:hover { text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-tint);
}
.card-icon svg { width: 24px; height: 24px; }
.card-link { display: inline-block; margin-top: 14px; color: var(--orange-deep); font-weight: 500; font-size: 0.95rem; }

.pain-card { border-left: 4px solid var(--orange); }
.pain-card p { color: var(--text); font-size: 1rem; }
.pain-card .pain-tag { font-size: 0.8rem; color: var(--muted); margin-top: 10px; display: block; }

/* ---------- Feature list / checklist ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--text);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23188038"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/12px no-repeat;
}
.crosslist { list-style: none; padding: 0; }
.crosslist li { padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--muted); }
.crosslist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D93025"><path d="M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z"/></svg>') center/11px no-repeat;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text h2 { margin-bottom: 16px; }
.split-text p { margin-bottom: 14px; color: var(--muted); }
.split-text p strong { color: var(--text); font-weight: 500; }

/* ---------- Quiz ---------- */
.quiz-box {
  max-width: 680px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.quiz-progress { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
.quiz-question { font-size: 1.2rem; font-weight: 500; margin-bottom: 20px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option {
  text-align: left; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--font); font-size: 0.98rem; color: var(--text);
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.quiz-option:hover { background: var(--orange-tint); border-color: var(--orange); }
.quiz-result-score {
  width: 110px; height: 110px; border-radius: 50%;
  border: 6px solid var(--orange); background: var(--orange-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; font-weight: 700; color: var(--orange-deep);
  margin: 0 auto 20px;
}
.quiz-result h3 { text-align: center; margin-bottom: 10px; }
.quiz-result p { color: var(--muted); text-align: center; margin-bottom: 22px; }
.quiz-result .hero-ctas { justify-content: center; margin-bottom: 0; }
.quiz-restart { background: none; border: none; color: var(--muted); font-size: 0.85rem; cursor: pointer; margin-top: 18px; display: block; margin-left: auto; margin-right: auto; font-family: var(--font); }
.quiz-restart:hover { color: var(--orange-deep); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 44px 20px 4px; font-size: 1.05rem; font-weight: 500;
  font-family: var(--font); color: var(--text); cursor: pointer; position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 10px; top: 50%;
  width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: -3px; }
.faq-a { display: none; padding: 0 4px 22px; color: var(--muted); max-width: 700px; }
.faq-a p + p { margin-top: 10px; }
.faq-item.open .faq-a { display: block; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: 0.9rem; font-weight: 500; }
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-tint);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-message { display: none; margin-top: 16px; font-weight: 500; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Contact info panel ---------- */
.contact-panel { background: var(--bg); border-radius: var(--radius); padding: 32px; }
.contact-panel h2 { margin-bottom: 6px; font-size: 1.25rem; }
.contact-panel > p { color: var(--muted); font-size: 0.95rem; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; }
.contact-row .card-icon { flex-shrink: 0; width: 40px; height: 40px; }
.contact-row h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-row p { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); border-radius: var(--radius); padding: 56px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--orange-tint); }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 48px 0 56px;
  background:
    url('/images/wash-warm.svg?v=20260706a') no-repeat right -160px top -180px / 680px auto,
    linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}
.page-hero h1 { max-width: 760px; font-size: 2.4rem; }
.page-hero .lead { max-width: 680px; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C2C2C2; padding: 56px 0 32px; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.92rem; margin-top: 12px; max-width: 300px; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #C2C2C2; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #26354A; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.85rem; color: #9AA0A6;
}
.site-footer .brand { color: #fff; }

/* ---------- Utility ---------- */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.note { font-size: 0.88rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art img, .page-hero-grid .hero-art img { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
}
@media (max-width: 1000px) {
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav-cta { text-align: center; margin-top: 8px; border-radius: var(--radius-sm) !important; }
  .nav-toggle { display: block; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero {
    padding: 56px 0 48px;
    background-size: 460px auto, 380px auto, auto;
    background-position: right -140px top -120px, left -180px bottom -200px, 0 0;
  }
  .page-hero { background-size: 420px auto, auto; background-position: right -160px top -140px, 0 0; }
  .section-wash-cool, .section-wash-warm { background-size: 420px auto, auto; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  .hero .lead, .lead { font-size: 1.05rem; }
  .btn { width: 100%; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .faq-q::after, .nav-toggle span { transition: none; }
}
