/* Inner pages: About, FAQs, Contact, Event account, Events */

/* Title band (black, orange headline) */
.page-head { background: var(--ink); color: var(--cream); padding: clamp(18px, 2.4vw, 32px) var(--gutter); display: flex; flex-direction: column; gap: 10px; }
.page-head h1 { font-size: var(--fs-h1); line-height: .86; color: var(--orange); text-wrap: balance; }
.page-head .intro { max-width: 680px; }
.page-head .intro a, .page-body .copy a, .inline-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.page-head .intro a:hover { color: var(--orange); }

.page-body { padding: var(--section-y) var(--gutter); }
.wrap { max-width: 1120px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: auto; }
.about-photo .bug { position: absolute; top: 0; left: 0; }
.copy { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.copy .lead { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--fs-h3); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } }

/* FAQs */
.faqs { max-width: 1120px; border-top: 2px solid var(--ink); }
.faq { border-bottom: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--fs-h3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; font-size: 1.3em; line-height: .7; color: var(--orange); }
.faq[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--orange); }
.faq p { max-width: calc(100% - 48px); padding-bottom: 22px; }
.faq p a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Forms (Contact, Event account) */
.form-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
.side-block { display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--orange); padding-top: 16px; }
.side-block a { font-weight: 800; word-break: break-all; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label b { color: var(--orange); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 0; padding: 11px 12px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7a706a; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; }
.field .err-msg { display: none; font-size: 13px; font-weight: 800; color: #A33A12; }
.field.has-err input, .field.has-err textarea { border-color: #A33A12; }
.field.has-err .err-msg { display: block; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.note { font-size: var(--fs-note); }
.form-error { font-size: var(--fs-small); font-weight: 800; }
.thanks { border: 2px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.thanks h2 { font-size: var(--fs-h2); color: var(--ink); }

/* How it works (Event account) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 4px solid var(--cream); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.step:first-child { border-top-color: var(--orange); }
.step-n { font-weight: 800; font-stretch: 75%; font-size: 40px; line-height: 1; color: var(--orange); }
.step h3 { font-size: var(--fs-h4); }

.how { display: flex; flex-direction: column; gap: 24px; }

.how-login a { font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Event account: How it works (left) + form (right) */
.acct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.acct-grid .form-col { order: 2; }
.acct-grid .how { order: 1; gap: 16px; }
.how h2 { font-size: var(--fs-h2); }
.steps--list { grid-template-columns: 1fr !important; gap: 0; border-top: 2px solid var(--ink); }
.steps--list .step { border-top: 0; border-bottom: 1px solid var(--ink); padding: 14px 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 4px; }
.steps--list .step-n { grid-row: span 2; font-size: 32px; }
.steps--list .step h3 { font-size: var(--fs-h4); }
@media (max-width: 860px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-grid .form-col { order: 1; }
  .acct-grid .how { order: 2; }
}
.form-solo { max-width: 760px; }
.about-photo { margin: 0; }

/* Event account: left and right columns end at the same line */
.acct-grid { align-items: stretch; }
.acct-grid .form-col { display: flex; flex-direction: column; }
.acct-grid .form { flex: 1; }
.acct-grid .field:has(textarea) { flex: 1; }
.acct-grid .field textarea { flex: 1; }
.acct-grid .how > p:first-of-type { margin-top: -8px; }
.steps--list .step { padding: 11px 0; }
.steps--list .step p { font-size: var(--fs-small); }
@media (max-width: 860px) { .acct-grid .field textarea { flex: none; } }

/* ---------- Policy pages (Privacy, Terms, Child safety): generated documents, styled by their data-custom-class ---------- */
.legal [data-custom-class="body"] { max-width: 760px; }
.legal [data-custom-class="title"] { font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .9; font-size: var(--fs-h1); margin: 0 0 8px; }
.legal [data-custom-class="subtitle"] { font-size: var(--fs-small); }
.legal [data-custom-class="heading_1"] { display: block; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--fs-h3); line-height: 1.05; margin: 20px 0 4px; }
.legal [data-custom-class="heading_2"] { display: block; font-weight: 800; font-size: var(--fs-h4); margin: 12px 0 2px; }
.legal [data-custom-class="link"], .legal a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--orange); overflow-wrap: anywhere; }
.legal ul, .legal ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.legal table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.legal th, .legal td { border: 2px solid var(--ink); padding: 8px; text-align: left; vertical-align: top; }
