:root { -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--brand-dark); color: var(--text-main); font: 400 15px/1.85 var(--myanmar-type); }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .28em; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: absolute; top: 5px; left: 10px; z-index: 10; padding: 8px 20px; color: var(--brand-dark); background: var(--brand-gold); }
.layout {
  width: min(1176px, calc(100% - clamp(48px, 9vw, 144px)));
  margin: clamp(34px, 5vw, 76px) auto;
  display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr);
  align-items: start; gap: clamp(36px, 6vw, 92px);
}
.campaign {
  min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center;
  border: 1px solid var(--rule);
  background: var(--brand-dark);
}
.campaign-logo {
  --logo-size: clamp(166px, 20vw, 260px);
  margin-top: clamp(12px, 2vw, 24px);
}
.signature {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: 100%; padding: clamp(24px, 3.2vw, 46px) clamp(30px, 4vw, 60px);
}
.signature::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: url("/assets/double-gold-cover.webp") center bottom / cover no-repeat;
  mask-image: linear-gradient(to bottom, transparent, black 72%);
}
.signature img { width: min(100%, 288px); height: auto; display: block; }
.survey-meta { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding-block: 4px 10px; }
.eligibility { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-muted); }
.age-stamp { border: 1px solid var(--control-line); border-radius: 50%; display: grid; place-items: center; width: 34px; height: 34px; color: var(--brand-gold); }
.survey { min-width: 0; }
.survey:focus:not(:focus-visible), .state-panel:focus:not(:focus-visible), .feedback:focus:not(:focus-visible) { outline: none; }
.survey-heading { border-bottom: 1px solid var(--rule); padding-bottom: 20px; }
.retailer { color: var(--brand-gold); font: 400 clamp(19px, 2vw, 23px)/1.2 var(--english-type); }
.survey-heading h1 { margin-block: 3px 8px; color: var(--brand-gold); font: 400 clamp(29px, 2.8vw, 40px)/1.5 var(--myanmar-heading-type); }
.campaign-date { display: flex; align-items: center; gap: 9px; color: var(--brand-gold); font-size: 13px; }
.calendar-icon { position: relative; width: 15px; height: 14px; flex: 0 0 15px; border: 1px solid currentColor; border-radius: 2px; }
.calendar-icon::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; border-top: 1px solid; }
.calendar-icon::after { content: ""; position: absolute; top: -3px; left: 2px; width: 6px; height: 4px; border-inline: 1px solid; }
#intro { margin-top: 10px; color: var(--text-main); font-size: 14px; }
#intro [lang|="en"], .field-label [lang|="en"], .file-hint:lang(en) { font-family: var(--english-body-type); }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 19px; margin: 21px 0 20px; }
.field { min-width: 0; }
.field label, .field-label { color: var(--text-main); font-weight: 500; font-size: 15px; display: block; margin-bottom: 6px; }
.field input, select { display: block; width: 100%; min-height: 50px; padding: 8px 13px; color: var(--text-main); font-size: 15px; line-height: 1.75; border: 1px solid var(--control-line); border-radius: 3px; background: var(--field-bg); }
.field input::placeholder, select:invalid { color: var(--text-muted); opacity: 1; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--brand-gold); box-shadow: inset 0 0 0 100vmax var(--brand-dark); }
select option { background: var(--brand-dark); color: var(--brand-gold); }
select { appearance: none; padding-right: 38px; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; height: 6px; width: 6px; border: solid var(--brand-gold); border-width: 0 1.5px 1.5px 0; right: 17px; top: 50%; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field input:focus, select:focus { border-color: var(--brand-gold); outline: 2px solid var(--brand-gold); outline-offset: 2px; }
.field input[aria-invalid="true"], select[aria-invalid="true"], .upload-area.invalid { border: 2px dashed var(--brand-gold); }
.field-error { color: var(--brand-gold); font-size: 13px; line-height: 1.8; margin-top: 6px; }
.upload-area { display: flex; align-items: center; gap: 7px; padding: 8px; border: 1px dashed var(--control-line); border-radius: 3px; color: var(--brand-gold); background: var(--brand-dark); }
.upload-choice, .camera-choice { position: relative; display: flex; align-items: center; cursor: pointer; min-height: 49px; border-radius: 3px; }
.upload-choice { flex: 1; gap: 13px; padding: 2px 10px; font-size: 14px; font-weight: 650; }
.camera-choice { justify-content: center; gap: 7px; margin-right: 3px; padding: 3px 8px; color: var(--brand-gold); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.upload-choice input, .camera-choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-choice:focus-within, .camera-choice:focus-within { outline: 2px solid var(--brand-gold); outline-offset: 1px; }
.upload-choice:hover, .camera-choice:hover { background: var(--brand-gold); color: var(--brand-dark); }
.upload-glyph { position: relative; width: 36px; height: 36px; flex: 0 0 36px; background: var(--brand-gold); border-radius: 50%; color: var(--brand-dark); }
.upload-glyph::before { content: ""; position: absolute; left: 10px; top: 19px; width: 14px; height: 6px; border: solid currentColor; border-width: 0 1.7px 1.7px; border-radius: 0 0 2px 2px; }
.upload-glyph i { position: absolute; height: 12px; width: 2px; background: currentColor; left: 17px; top: 9px; }
.upload-glyph i::after { content: ""; position: absolute; width: 6px; height: 6px; border: solid currentColor; border-width: 1.7px 1.7px 0 0; transform: rotate(-45deg); top: 0; left: -2.8px; }
.camera-icon { position: relative; width: 17px; height: 12px; border: 1.3px solid currentColor; border-radius: 2px; }
.camera-icon::before { content: ""; position: absolute; height: 4px; width: 4px; border: 1px solid currentColor; border-radius: 50%; top: 2px; left: 5px; }
.camera-icon::after { content: ""; position: absolute; width: 6px; height: 2px; background: currentColor; top: -3px; left: 4px; border-radius: 2px 2px 0 0; }
.file-hint, .selected-file { margin-top: 7px; color: var(--text-muted); font-size: 13px; line-height: 1.9; }
.selected-file { color: var(--brand-gold); overflow-wrap: anywhere; font-weight: 650; }
.privacy { margin: 18px 0; display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 13px; line-height: 1.95; }
.lock-icon { display: block; position: relative; margin-top: 9px; margin-inline: 2px; flex: 0 0 12px; width: 12px; height: 10px; border: 1.3px solid var(--brand-gold); border-radius: 2px; }
.lock-icon::before { content: ""; position: absolute; top: -7px; left: 1px; width: 6px; height: 7px; border: 1.3px solid var(--brand-gold); border-bottom: 0; border-radius: 5px 5px 0 0; }
.submit-button, .secondary-button { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 49px; padding: 8px 20px; border-radius: 3px; font-size: 15px; font-weight: 650; line-height: 1.8; }
.submit-button { width: 100%; color: var(--brand-dark); background: var(--brand-gold); border: 1px solid var(--brand-gold); }
.submit-button:hover { color: var(--brand-gold); background: var(--brand-dark); }
.submit-button:disabled { color: var(--brand-gold); background: var(--brand-dark); border: 1px dashed var(--control-line); cursor: wait; }
.send-arrow { position: relative; width: 19px; height: 1px; background: currentColor; }
.send-arrow::after { content: ""; position: absolute; right: 0; top: -3px; height: 6px; width: 6px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.preview-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; font-size: 12px; color: var(--brand-gold); }
.preview-label { display: flex; align-items: center; gap: 7px; }
.preview-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-gold); }
.preview-note a { padding-block: 3px; }
.feedback, .state-panel { margin: 16px 0; border: 1px solid var(--control-line); padding: 12px 16px; background: var(--brand-dark); color: var(--brand-gold); font-size: 14px; }
.feedback[data-tone="error"] { color: var(--brand-gold); border: 2px dashed var(--brand-gold); }
.state-panel { margin: 24px 0; padding: 20px; }
.state-panel h2 { color: var(--brand-gold); font: 400 21px/1.75 var(--myanmar-heading-type); }
.state-panel p { margin-top: 7px; }
.state-panel[data-tone="success"] { border-color: var(--brand-gold); }
.secondary-button { background: var(--brand-dark); color: var(--brand-gold); border: 1px solid var(--brand-gold); margin-top: 16px; font-size: 14px; }
.secondary-button:hover { background: var(--brand-gold); color: var(--brand-dark); }
@media (max-width: 900px) {
  .layout { width: min(650px, calc(100% - 40px)); display: block; margin-block: 20px 40px; }
  .campaign { grid-template-columns: 38% 62%; align-items: stretch; }
  .campaign-logo { --logo-size: clamp(84px, 20vw, 124px); align-self: center; margin: 0; }
  .signature { padding: 16px clamp(14px, 4vw, 30px); }
  .signature::before { mask-image: linear-gradient(to right, transparent, black 55%); }
  .signature img { width: min(100%, 216px); }
  .survey { margin-top: 24px; }
}
@media (max-width: 540px) {
  .layout { width: calc(100% - 32px); margin-top: 16px; }
  .survey { margin-top: 20px; }
  .survey-meta { padding-bottom: 7px; }
  .survey-heading { padding-bottom: 15px; }
  .field-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-top: 18px; }
  .field input, select { font-size: 16px; }
}
@media (max-width: 370px) {
  .eligibility { gap: 5px; font-size: 11px; }
  .upload-choice { gap: 6px; padding-inline: 3px; }
  .camera-choice { padding-inline: 2px; }
}
@media (forced-colors: active) {
  .upload-area, .submit-button { border: 1px solid ButtonText; }
}
