
:root{
  --brand:#3b9010;
  --brand-dark:#0e2204;
  --link:#2c6b0c;
  --button:#008507;
  --focus:#00c973;
  --text:#646464;
  --bg:#fafafa;
  --neutral:#ecebea;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Salesforce Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 1rem 0;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--brand);
  font-weight: 600;
}
.logo-dot {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--brand);
  display: inline-block;
}

/* Nav */
.site-nav .menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav .menu a {
  text-decoration: none;
  color: var(--link);
  padding: 0.5rem 0.25rem;
}
.site-nav .menu a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(59,144,16,0.06), transparent 70%);
  padding: 2.5rem 0 1.5rem;
}
.hero h1 { font-size: 2.0rem; font-weight: 300; margin: 0 0 0.25rem; }
.hero p { margin: 0 0 1rem; }
.button, .wp-block-button__link {
  background: var(--button);
  color: #fff;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  border: none;
  display: inline-block;
  text-decoration: none;
}
.button:hover, .wp-block-button__link:hover { filter: brightness(0.96); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1rem;
  margin: 1rem auto 2rem;
}
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

/* Inputs mimic SLDS-like look from snippet */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #808080;
  padding: 0 12px;
  font-size: 16px;
  background: #fff;
  color: #222;
}

textarea { height: 120px; padding: 12px; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--focus);
  border-color: transparent;
  box-shadow: none;
}

.has-error input, .has-error select, .has-error textarea {
  border-color: #ea001e;
}

/* Content */
.entry-title { font-weight: 300; letter-spacing: 0; }
a { color: var(--link); }
a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  margin-top: 2rem;
}
.site-footer p { margin: 0; padding: 1rem 0; font-size: 0.9375rem; color: #333; }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}


/* ------------------------------------
   Quest Lookalike Pattern Styles
-------------------------------------*/
.qd-hero {
  background: linear-gradient(180deg, rgba(59,144,16,0.06), transparent 70%);
  padding: 2.5rem 0 1.5rem;
}
.qd-hero h1 { font-weight: 300; letter-spacing: 0; margin: 0 0 0.25rem; }
.qd-hero p  { margin: 0 0 1rem; }

.qd-grid { margin: 1rem auto 2rem; }
.qd-cards { gap: 1rem; }
.qd-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.qd-form .wp-block-columns { gap: 1rem; }

.qd-results-card h2 {
  font-weight: 300;
  margin-top: 0;
}
.qd-results-card { padding: 1.25rem; }

/* Buttons */
.wp-block-button .wp-block-button__link,
.button {
  background: var(--button);
  color: #fff;
  border-radius: 4px;
  border: none;
  padding: 0.5rem 1rem;
}
.wp-block-button .wp-block-button__link:hover,
.button:hover { filter: brightness(0.96); text-decoration: none; }

/* Inputs */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #808080;
  padding: 0 12px;
  font-size: 16px;
  background: #fff;
  color: #222;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--focus) !important;
  border-color: transparent;
  box-shadow: none;
}

.has-error input, .has-error select, .has-error textarea { border-color: #ea001e; }

/* Header / Footer refinements for closer match */
.site-header { background: #fff; border-bottom: 1px solid #e6e6e6; }
.site-footer { background: #fff; border-top: 1px solid #e6e6e6; }

/* Links */
a { color: var(--link); }
a:hover { text-decoration: underline; }

/* Utility layout container consistent with portal widths */
.wrap { width: min(1200px, 92vw); margin: 0 auto; padding: 1rem 0; }
