/* Sales advisor entry points on the landing page (advisor-entry.js). Approved sketch:
   sketches/sales-advisor-landing.html. Header button with a support icon (orange stays for the signup button),
   a dedicated section above the FAQ and a plain invitation under the FAQ heading. No side bars, no dashed frames. */

.adv-head-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--rule-strong, #d9cdc2); background: #fff; color: #2e2e2e; font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.adv-head-btn:hover { background: #f1ece8; }
.adv-head-btn:focus-visible { outline: 3px solid #9a4f2c; outline-offset: 3px; }
.adv-head-btn[aria-busy="true"] { opacity: .75; }
.adv-head-btn svg { flex: none; }
.adv-head-btn { position: relative; }

/* Dedicated section above the FAQ (sketch: a white sheet set off-centre, the penguin on its edge). */
.adv-sec-card { position: relative; background: #fff; border-radius: var(--r-xl, 36px); padding: 48px 52px 44px; }
.adv-sec-peng { position: absolute; width: 96px; height: auto; top: -14px; inset-inline-end: 48px; filter: drop-shadow(0 10px 14px rgb(46 46 46 / .12)); }
.adv-sec-head { max-width: 34em; margin-bottom: 30px; }
.adv-sec-k { margin: 0 0 14px; color: #95502d; font-size: .9rem; font-weight: 500; }
.adv-sec h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.adv-sec h2 span { display: block; font-weight: 300; }
.adv-sec-p { margin: 0; font-size: 1.06rem; color: var(--ink-2, #67625e); max-width: 30em; }
.adv-sec-ui { max-width: 680px; }
.adv-sec-ideas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.adv-sec-idea { border: 0; background: var(--wash, #f1ece8); border-radius: 20px 20px 20px 6px; padding: 11px 18px; min-height: 44px; font: inherit; font-size: .97rem; line-height: 1.45; cursor: pointer; text-align: start; color: #2e2e2e; max-width: 100%; }
.adv-sec-idea:hover { background: #e9e1da; }
.adv-sec-idea:focus-visible, .adv-sec-send:focus-visible { outline: 3px solid #9a4f2c; outline-offset: 3px; }
.adv-sec-form { display: flex; gap: 8px; align-items: center; background: var(--surface, #fff); border: 1px solid var(--rule-strong, #d9cdc2); border-radius: 20px; padding: 6px; padding-inline-start: 18px; min-height: 64px; }
.adv-sec-fld { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: #2e2e2e; outline: 0; min-height: 44px; }
.adv-sec-form:focus-within { outline: 3px solid #9a4f2c; outline-offset: 2px; }
.adv-sec-send { flex: none; width: 48px; height: 48px; border-radius: 16px; border: 0; background: #2e2e2e; color: #fff; display: grid; place-items: center; cursor: pointer; }
.adv-sec-send:hover { background: #000; }
.adv-sec-send svg { transform: scaleX(-1); }
.adv-sec-note { margin: 12px 0 0; font-size: .78rem; color: var(--ink-2, #67625e); }
.adv-sec-note a { color: #95502d; text-underline-offset: 3px; }

.adv-invite { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule-strong, #d9cdc2); max-width: 20em; }
.adv-invite-k { margin: 0 !important; color: #95502d !important; font-size: .84rem !important; font-weight: 500; }
.adv-invite h3 { margin: 4px 0 6px; font-size: 1.08rem; line-height: 1.35; font-weight: 600; }
.adv-invite-p { margin: 0 0 12px !important; font-size: .88rem !important; color: var(--ink-2, #67625e); }
.adv-invite-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--rule-strong, #d9cdc2); background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: #2e2e2e;
}
.adv-invite-btn:hover { background: #f1ece8; }
.adv-invite-btn svg { transform: scaleX(-1); }
.adv-invite-btn:focus-visible { outline: 3px solid #9a4f2c; outline-offset: 3px; }

@media (max-width: 720px) {
  .adv-head-btn { min-height: 40px; padding: 0 12px; }
  .adv-sec-card { padding: 26px 18px 24px; border-radius: var(--r-l, 28px); }
  .adv-sec-peng { width: 64px; top: -6px; inset-inline-end: 16px; }
  .adv-sec-head { margin-bottom: 20px; padding-inline-end: 60px; }
  .adv-sec h2 { font-size: 1.6rem; }
  .adv-sec-p { font-size: .96rem; }
  .adv-sec-ideas { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 460px) {
  .adv-head-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .adv-head-btn { width: 40px; padding: 0; justify-content: center; }
}
