/* Small additions for accessible, real waitlist feedback; visual design is reference.css. */
#waitlist input { min-width: 0; }
#waitlist button { cursor: pointer; white-space: nowrap; }
#waitlist button:disabled { cursor: wait; opacity: .7; transform: none; }
#waitlist button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.waitlist-feedback:empty { display: none; }
.waitlist-feedback { margin-top: 12px; max-width: 28rem; font-size: 14px; line-height: 1.5; }
.waitlist-feedback[data-state="error"] { color: #943f2c; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { text-decoration: underline; }
.waitlist-honeypot { display: none; }
#waitlist-challenge { margin-top: 12px; max-width: 100%; }
.waitlist-email-help { margin-top: 24px; max-width: 28rem; font-size: 15px; line-height: 1.55; }
.waitlist-email-help + #waitlist { margin-top: 16px; }
.waitlist-email-support { margin-top: 10px; font-size: 13px; color: var(--color-muted-foreground); }
.waitlist-email-support a { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* The questionnaire stays on the landing page; native dialog keeps keyboard focus inside. */
.survey-dialog {
  box-sizing: border-box; margin: 0; padding: 0; border: 0; width: 100%; max-width: none;
  height: 100dvh; max-height: none; color: #3c332c; background: #fcf7ed;
  overflow-y: auto; overscroll-behavior: contain;
}
.survey-dialog[open] { display: flex; flex-direction: column; }
.survey-dialog::backdrop { background: #3c332c80; }
.survey-dialog [hidden] { display: none !important; }
.survey-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px clamp(20px, 5vw, 80px); flex-shrink: 0; }
.survey-brand { font-family: Georgia, serif; font-size: 32px; letter-spacing: -1.5px; text-decoration: none; }
.survey-brand span { color: #a04e32; font-size: 15px; vertical-align: middle; letter-spacing: 0; }
.survey-close { display: flex; align-items: center; gap: 14px; font-size: 14px; padding: 10px 14px; border: 1px solid #ddd2c2; border-radius: 100px; background: transparent; }
.survey-close span { font-size: 24px; line-height: 1; }
.survey-content { box-sizing: border-box; width: 100%; max-width: 740px; padding: 32px 24px 48px; margin: auto; }
.survey-eyebrow { color: #a04e32; font-size: 12px; letter-spacing: .15em; font-weight: 600; text-transform: uppercase; margin: 0 0 10px; }
.survey-intro { font-size: 14px; line-height: 1.65; color: #796e62; margin: 0 0 30px; max-width: 34rem; }
.survey-progress { font-size: 12px; color: #a04e32; margin: 0 0 20px; padding-top: 16px; border-top: 1px solid #e3d9ca; }
.survey-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.survey-question { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 4.8vw, 44px); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; margin: 0; padding: 0; max-width: 100%; }
.survey-hint { margin: 18px 0 26px; font-size: 16px; color: #786b5f; line-height: 1.6; max-width: 38rem; }
.survey-input { box-sizing: border-box; display: block; width: 100%; max-width: 100%; border: 1px solid #dcd0bf; border-radius: 12px; background: #fffdf8; padding: 17px 18px; color: #3c332c; font: inherit; font-size: 18px; line-height: 1.55; outline: none; }
.survey-input::placeholder { color: #9b8b7b; opacity: 1; }
.survey-input:focus { border-color: #a04e32; box-shadow: 0 0 0 3px #a04e3214; }
textarea.survey-input { resize: vertical; min-height: 144px; }
.survey-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.survey-options label { display: flex; align-items: center; gap: 12px; border: 1px solid #dcd0bf; border-radius: 10px; background: #fffdf8; min-height: 58px; padding: 12px 16px; cursor: pointer; line-height: 1.4; font-size: 15px; }
.survey-options label:has(input:checked) { border-color: #a04e32; background: #f5e8dc; }
.survey-options input { accent-color: #a04e32; width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.survey-other { margin-top: 20px; }
.survey-other label { display: block; margin-bottom: 10px; font-size: 14px; }
.survey-other label span { color: #796e62; }
.survey-optional { font-size: 12px; color: #796e62; margin: 10px 0 0; }
.survey-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.survey-primary { color: #fffdf8; background: #a04e32; border: 1px solid #a04e32; border-radius: 100px; font-size: 15px; line-height: 1.5; font-weight: 600; padding: 14px 24px; cursor: pointer; }
.survey-primary:hover { background: #8c4129; }
.survey-back, .survey-skip { font-size: 14px; border: 0; background: transparent; padding: 13px 8px; cursor: pointer; }
.survey-back { margin-right: 4px; }
.survey-skip { color: #796e62; text-decoration: underline; text-underline-offset: 4px; }
.survey-dialog button:disabled { opacity: .55; cursor: not-allowed; }
.survey-dialog button:focus-visible, .survey-options input:focus-visible { outline: 2px solid #a04e32; outline-offset: 4px; }
.survey-consent { margin-top: 18px; color: #796e62; font-size: 12px; line-height: 1.65; }
.survey-consent a { text-decoration: underline; text-underline-offset: 2px; }
.survey-feedback { font-size: 14px; line-height: 1.6; margin-top: 18px; }
.survey-feedback:empty { display: none; }
.survey-feedback[data-state="error"], .survey-feedback[data-state="challenge"] { color: #943f2c; }
.survey-footer { text-align: center; font-size: 12px; color: #948474; padding: 18px 24px 26px; flex-shrink: 0; }
.survey-success-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e9eee0; color: #667352; font-size: 25px; margin-bottom: 30px; }
.survey-success > p:not(.survey-eyebrow) { color: #796e62; font-size: 16px; line-height: 1.7; margin-top: 22px; max-width: 34rem; }
.survey-success .survey-primary { margin-top: 30px; }
@media (max-width: 540px) {
  .survey-header { padding: 18px 20px; }
  .survey-content { padding: 22px 22px 36px; }
  .survey-options { grid-template-columns: 1fr; gap: 8px; }
  .survey-options label { min-height: 48px; padding: 10px 14px; }
  .survey-intro { margin-bottom: 20px; }
  .survey-hint { margin: 16px 0 20px; font-size: 15px; }
  .survey-actions { gap: 8px; margin-top: 24px; }
  .survey-primary { padding: 13px 18px; }
  .survey-footer { text-align: left; padding-left: 22px; }
}

/* SON-236: keep the language choice visible without squeezing mobile navigation. */
.landing-header { flex-wrap: wrap; gap: 16px; }
.language-picker { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.language-picker select { min-height: 44px; padding: 8px 12px; border: 1px solid #c9bdaa; border-radius: 12px; background: #fcf7ed; color: #3c332c; font: inherit; font-size: 14px; }
.language-picker select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html[lang="vi"] body { font-family: Arial, sans-serif; }
html[lang="vi"] h1, html[lang="vi"] h2, html[lang="vi"] h3 { font-family: Georgia, serif; }
@media (max-width: 480px) { .landing-header nav { order: 3; width: 100%; } }
