:root {
  --navy: #13263e;
  --gold: #e7c14a;
  --cream: #f5f1e8;
  --cream-2: #ebe5d4;
  --line: #334256;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: #fff; font-family: var(--sans); }

/* Hero */
.hero { text-align: center; padding: 55px 16px 0; }
/* Same logo as the site header (index.html .topnav--dark .topnav__brand): diamond mark + wordmark */
.brand { display: inline-flex; align-items: center; gap: 14px; height: 50px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; letter-spacing: .22em; color: #f3ece0; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; border: 1px solid #c9a961; transform: rotate(45deg); position: relative; flex: none; }
.brand__mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid #c9a961; opacity: .5; }
.brand__name { position: relative; top: 1px; }
h1 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 54px; line-height: 1.1; margin: 22px 0 0; }
.rule { width: 116px; height: 1px; background: var(--gold); margin: 22px auto 0; }
.rule.small { width: 56px; margin-top: 16px; }
.intro { font-size: 19px; line-height: 1.3; max-width: 1080px; margin: 46px auto 0; }
.intro.narrow { display: none; }

/* Form card */
.card { background: var(--navy); border-radius: 8px; max-width: 1160px; min-height: 500px; margin: 108px auto 0; padding: 48px 20px 64px; display: flex; align-items: center; }
#survey { width: 100%; max-width: 720px; margin: 0 auto; }
.q-title { font-size: 30px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; }
.q-desc { font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.7); margin: 0 0 8px; }
.sub { display: block; font-size: 22px; margin: 26px 0 6px; }
.text-in, .select-in { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.6); color: #fff; font: 400 30px/1.3 var(--sans); padding: 6px 0 10px; border-radius: 0; outline: none; }
textarea.text-in { resize: none; min-height: 48px; overflow: hidden; }
.text-in::placeholder { color: rgba(255,255,255,.4); }
.text-in:focus, .select-in:focus { border-bottom: 2px solid #fff; padding-bottom: 9px; }
.select-in { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 10px) 55%; background-size: 8px 8px; background-repeat: no-repeat; }
.select-in option { color: #000; }
.choices { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; }
.choice { display: flex; align-items: center; gap: 12px; min-width: 240px; max-width: 100%; text-align: left; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.6); color: #fff; font: 400 20px/1.3 var(--sans); padding: 8px 12px; cursor: pointer; }
.choice:hover { background: rgba(255,255,255,.3); }
.choice.sel { border: 2px solid #fff; padding: 7px 11px; }
.key { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); background: var(--navy); font-size: 12px; font-weight: 700; }
.choice.sel .key { background: #fff; color: #000; }
.actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.ok { background: var(--gold); color: #000; border: 0; font: 700 20px var(--sans); padding: 11px 16px; cursor: pointer; }
.ok:hover { filter: brightness(1.08); }
.hint { font-size: 13px; color: rgba(255,255,255,.75); }
.back { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.55); font: 400 14px var(--sans); cursor: pointer; }
.error { display: none; margin-top: 14px; background: #f7e6e6; color: #af0404; font-size: 14px; padding: 6px 10px; width: fit-content; }
.error.on { display: block; }
.done { font-size: 22px; line-height: 1.5; }
.done code { display: block; margin-top: 12px; font-size: 13px; color: var(--gold); word-break: break-all; }

/* Questions and answers */
.faq { padding: 96px 16px 120px; }
.faq h2 { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1.08; letter-spacing: -.56px; color: var(--cream); text-align: center; margin: 48px 0 0; }
#faq-list { max-width: 880px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 30px 16px 30px 8px; cursor: pointer; text-align: left; color: var(--cream); font: 400 18px/1.4 var(--sans); }
.faq-q .plus { color: var(--gold); font: 300 22px var(--sans); transition: transform .2s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 80px 14px 8px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 16px; line-height: 1.7; color: var(--cream-2); margin: 0 0 18px; }

/* Footer */
footer { padding: 0 16px 44px; text-align: center; font-size: 12px; line-height: 1.4; }
footer p { max-width: 1040px; margin: 0 auto 16px; }
.foot-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; margin-top: 60px; font-size: 13px; }
address { font-style: normal; text-align: left; }
.copy { text-align: right; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .hero { padding-top: 30px; }
  h1 { font-size: 30px; margin-top: 26px; }
  .rule { width: 38px; margin-top: 16px; }
  .intro.wide { display: none; }
  .intro.narrow { display: block; font-size: 16px; line-height: 1.25; margin-top: 26px; }
  .card { margin: 40px 10px 0; padding: 40px 32px 24px; align-items: stretch; }
  #survey { display: flex; flex-direction: column; }
  .screen { display: flex; flex-direction: column; flex: 1; }
  .q-title { font-size: 24px; }
  .q-desc { font-size: 16px; }
  .sub { font-size: 20px; }
  .text-in, .select-in { font-size: 22px; }
  .choice { font-size: 18px; width: 100%; }
  .actions { margin-top: auto; padding-top: 40px; flex-wrap: wrap; }
  .ok { width: 100%; font-size: 22px; padding: 10px; }
  .hint { display: none; }
  .back { margin: 0 auto; }
  .faq h2 { font-size: 36px; letter-spacing: -.36px; }
  #faq-list { margin: 44px 10px 0; }
  .faq-q { font-size: 16px; padding: 24px 12px 24px 4px; }
  .faq-a { padding: 0 20px 10px 8px; }
  .faq-a p { font-size: 15px; }
  .foot-row { display: block; margin-top: 40px; }
  address, .copy { text-align: center; }
  .links { margin: 16px 0; }
}
