/* Andy Bird Builds brand: orange #FF6A00, charcoal #2C2F33, white, light gray.
   Headings Outfit, logo Poppins, body Inter. Shared by every page on the site. */
:root {
  --orange: #FF6A00;        /* brand orange: header, tags, accents (dark text on it) */
  --orange-btn: #E35A00;    /* a touch deeper so white button text reads */
  --orange-btn-dark: #B84800;
  --orange-text: #C24E00;   /* orange that's readable as text on white */
  --orange-tint: #FFF1E6;
  --ink: #2C2F33;           /* charcoal */
  --body: #4D4D4D;
  --muted: #686868;
  --line: #E0E0E0;
  --soft: #F5F5F5;
  --paper: #FFFFFF;
  --page: #F9F9F9;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 18px/1.45 Inter, system-ui, sans-serif; }
a { color: var(--orange-text); }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

header.top { background: var(--orange); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { font-family: Poppins, sans-serif; font-weight: 600; font-size: 21px; color: #fff; text-decoration: none; white-space: nowrap; }
.top-link { color: #fff; font-family: Poppins, sans-serif; font-weight: 500; font-size: 16px; text-decoration: none; text-align: right; padding: 11px 4px; }
.top-link:hover { text-decoration: underline; }
.top-nav { display: flex; gap: 22px; align-items: center; }
.top-link .short { display: none; }
@media (max-width: 640px) {
  .top-nav { gap: 14px; }
  .top-link .long { display: none; }
  .top-link .short { display: inline; }
}
@media (max-width: 420px) { .logo { font-size: 18px; } .top-link { font-size: 15px; } }

.btn {
  font: 700 17px Inter, sans-serif; color: #fff; background: var(--orange-btn); border: 0;
  border-radius: 30px; padding: 14px 24px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 0 var(--orange-btn-dark);
}
.btn:hover { background: var(--orange-btn-dark); }
.btn:disabled { opacity: .6; cursor: wait; }

/* Email signup card */
.signup { background: var(--ink); color: #E8E8E8; border-radius: var(--radius); padding: 22px; }
.signup h2, .signup h3 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 23px; line-height: 1.15; color: #fff; margin: 0 0 6px; }
.signup p { margin: 0 0 14px; font-size: 16px; color: #E8E8E8; }
.signup form { display: grid; gap: 8px; }
.signup input[type=email] { font: 500 16px Inter, sans-serif; padding: 12px 14px; border-radius: 10px; border: 0; width: 100%; color: var(--ink); }
.signup .btn { width: 100%; box-shadow: none; }
.signup .fine { font-size: 14px; color: #D0D0D0; margin: 8px 0 0; }
.signup .msg { font-size: 15px; margin: 8px 0 0; color: #fff; min-height: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Free project files offer (offer.js). Shares the dark .signup card look. */
.offer .eyebrow { color: var(--orange); margin-bottom: 6px; }
.offer form { display: grid; gap: 8px; }
.offer input[type=email] { font: 500 16px Inter, sans-serif; padding: 12px 14px; border-radius: 10px; border: 0; width: 100%; color: var(--ink); }
.offer .btn { width: 100%; box-shadow: none; text-align: center; }
.offer .fine { font-size: 14px; color: #D0D0D0; margin: 8px 0 0; }
.offer .msg { font-size: 15px; margin: 8px 0 0; color: #fff; min-height: 1px; }
.offer-thanks h2 { color: #fff; }
.offer-thanks .pitch { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.offer-thanks .pitch h3 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 19px; color: #fff; margin: 0 0 6px; }
.offer-thanks .pitch .btn { display: block; }
.signup.under-results { margin: 18px 0 8px; }
/* One copy of the offer per screen: the sidebar card on desktop, the under-results card on phones. */
@media (min-width: 861px) { .signup.under-results { display: none; } }
.offer-thanks .pitch .btn { text-decoration: none; }
dialog.offer-pop { border: 0; padding: 0; border-radius: var(--radius); width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--ink); color: #E8E8E8; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog.offer-pop::backdrop { background: rgba(20,22,25,.6); }
.offer-pop-body { padding: 28px 24px 8px; }
.offer-pop-body h2 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 26px; line-height: 1.15; color: #fff; margin: 0 0 8px; padding-right: 24px; }
.offer-pop-body p { margin: 0 0 14px; font-size: 16px; color: #E8E8E8; }
.offer-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; padding: 6px 10px; cursor: pointer; }
.offer-skip { display: block; margin: 0 auto 18px; background: none; border: 0; color: #D0D0D0; padding: 10px; font: 500 15px Inter, sans-serif; text-decoration: underline; cursor: pointer; }
.signup.inline { display: none; margin: 4px 0; }
@media (max-width: 860px) {
  .signup.inline { display: block; }
  body.has-results .signup.side { display: none; }
}

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 15px; color: var(--muted); background: var(--paper); }
footer a { color: var(--muted); }
