/* Inner pages: support, legal documents, data deletion and 404. Builds on styles.css. */
.inner-page { background: radial-gradient(70% 420px at 50% 0%, rgba(230, 185, 103, .10), transparent 70%), radial-gradient(60% 500px at 100% 0%, rgba(40, 80, 160, .18), transparent 70%), var(--bg); }
.document-main { padding-top: calc(var(--header-h) + 90px); padding-bottom: 120px; }

.page-heading { max-width: 860px; margin-bottom: 50px; }
.page-heading h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1; letter-spacing: -.05em; margin-bottom: 24px; }
.page-intro { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--soft); max-width: 44ch; }
.updated { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.document-notice { display: flex; gap: 18px; align-items: flex-start; max-width: 1000px; margin-bottom: 50px; padding: 22px 26px; border-radius: 18px; background: rgba(230, 185, 103, .06); border: 1px solid rgba(230, 185, 103, .28); }
.document-notice > span { color: var(--gold); font-size: 22px; line-height: 1; }
.document-notice strong { font-size: 14px; color: var(--gold); font-weight: 600; }
.document-notice p { font-size: 14px; color: #d6cdb8; line-height: 1.7; max-width: 80ch; margin: 6px 0 0; }

.document-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: 70px; align-items: start; }
.document-toc { position: sticky; top: calc(var(--header-h) + 30px); padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.document-toc > p { font: 600 11px/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.document-toc nav { display: flex; flex-direction: column; }
.document-toc a { font-size: 13.5px; color: var(--muted); padding: 7px 0 7px 14px; line-height: 1.45; border-left: 1px solid var(--line); transition: color .25s, border-color .25s; }
.document-toc a:hover { color: var(--text); border-color: var(--gold); }

.document-content section { scroll-margin-top: calc(var(--header-h) + 30px); padding-bottom: 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.document-content section:last-child { border: 0; margin-bottom: 0; }
.document-content h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.035em; line-height: 1.2; margin-bottom: 18px; }
.document-content p, .document-content li { font-size: 16px; line-height: 1.8; color: var(--soft); }
.document-content p:last-child { margin-bottom: 0; }
.document-content ul, .document-content ol { padding-left: 22px; margin-bottom: 1em; }
.document-content li { margin-bottom: 8px; }
.document-content li::marker { color: var(--gold); }
.document-content a, .support-main p a, .faq-section a, .form-hint a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(230, 185, 103, .4); text-underline-offset: 4px; transition: text-decoration-color .25s; }
.document-content a:hover, .support-main p a:hover, .faq-section a:hover { text-decoration-color: var(--gold); }

/* Support */
.support-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.contact-panel { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(70% 60% at 100% 0%, rgba(230, 185, 103, .08), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); }
.contact-panel h2, .support-side h2, .faq-section h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.04em; margin-bottom: 16px; }
.contact-panel > p, .support-side p { font-size: 15px; line-height: 1.75; color: var(--soft); }
.contact-pending { display: flex; gap: 15px; align-items: center; padding: 20px; border: 1px solid rgba(230, 185, 103, .25); border-radius: 14px; margin-top: 24px; }
.contact-pending p { font-size: 14px; color: #e4c58e; margin: 0; line-height: 1.6; }
.support-side { padding-top: 10px; }
.support-callout { margin-block: 28px; padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(234, 58, 45, .3); background: rgba(234, 58, 45, .06); }
.support-callout h3 { font-size: 16px; letter-spacing: -.02em; color: #ffb4a8; margin-bottom: 8px; }
.support-callout p { font-size: 14px; margin: 0; }
.text-link { font-size: 14px; font-weight: 600; color: var(--gold); }

#support-form { margin-top: 28px; }
#support-form label { display: flex; flex-direction: column; gap: 9px; font-size: 13px; font-weight: 500; color: var(--soft); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#support-form input, #support-form select, #support-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(5, 11, 22, .7); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; line-height: 1.5; transition: border-color .25s, box-shadow .25s; }
#support-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
#support-form textarea { resize: vertical; min-height: 140px; }
#support-form input:focus, #support-form select:focus, #support-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230, 185, 103, .15); }
#support-form ::placeholder { color: #6f7f95; }
#support-form .button { margin-top: 4px; }
.form-hint { font-size: 13px; color: var(--muted); line-height: 1.7; }
.form-hint a { overflow-wrap: anywhere; }
#support-result { font-size: 14px; line-height: 1.7; color: var(--gold); margin-top: 18px; }
#support-result:empty { display: none; }

.faq-section { max-width: 860px; margin-top: 100px; }
.faq-section > h2 { margin-bottom: 26px; }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; font: 600 17px/1.45 var(--display); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); transition: transform .35s var(--ease), border-color .25s; }
.faq-section details[open] summary > span { transform: rotate(45deg); border-color: var(--gold); }
.faq-section details > div { padding: 0 50px 24px 0; color: var(--soft); font-size: 15px; line-height: 1.75; }

/* 404 */
.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.not-found .eyebrow { font: 400 italic 120px/1 var(--serif); letter-spacing: 0; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 16px; }
.not-found > p:not(.eyebrow) { line-height: 1.7; color: var(--soft); font-size: 17px; margin-bottom: 30px; }

@media (max-width: 960px) {
  .document-layout { grid-template-columns: 1fr; gap: 30px; }
  .document-toc { position: static; }
  .document-toc nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .support-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .document-main { padding-top: calc(var(--header-h) + 50px); padding-bottom: 80px; }
  .page-heading { margin-bottom: 34px; }
  .document-notice { padding: 18px; gap: 12px; }
  .document-toc nav { grid-template-columns: 1fr; }
  .document-content p, .document-content li { font-size: 15.5px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .faq-section { margin-top: 70px; }
  .faq-section summary { font-size: 16px; }
  .faq-section details > div { padding-right: 0; }
  .not-found .eyebrow { font-size: 90px; }
}
