@font-face {
  font-family: "Kawalis Body";
  src: url("/assets/body.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --surface: #FFFFFF;
  --paper: #F7F7F7;
  --ink: #101010;
  --muted: #626870;
  --line: #E5E5E5;
  --gold: #C48622;
  font-family: "Kawalis Body", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.9; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.shell { width: min(100% - 40px, 820px); margin-inline: auto; }
.legal-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); }
.legal-header .shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.home-link img { width: 46px; height: 46px; object-fit: contain; }
.back-link { color: var(--muted); font-size: 14px; }
.legal-main { padding-block: 64px 80px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 13px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 54px); line-height: 1.45; }
.summary { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.updated { display: inline-block; margin-top: 20px; padding: 7px 12px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; }
.legal-content { margin-top: 52px; }
section { padding-block: 27px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.6; }
p { margin: 0; color: var(--muted); }
p + p { margin-top: 12px; }
ul { margin: 12px 0 0; padding: 0 22px 0 0; color: var(--muted); }
li + li { margin-top: 7px; }
.notice { margin-top: 28px; padding: 20px; border-inline-start: 4px solid var(--gold); background: var(--paper); border-radius: 8px; }
.notice strong { color: var(--ink); }
.request-form { margin-top: 30px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.field { display: grid; gap: 8px; }
.field label, .consent { font-weight: 800; }
.field input { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--surface); color: var(--ink); font: inherit; direction: ltr; text-align: left; }
.field input:focus { border-color: var(--gold); outline: 3px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.field small { color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.consent input { width: 19px; height: 19px; margin-top: 5px; accent-color: var(--gold); flex: 0 0 auto; }
.submit-button { min-height: 52px; margin-top: 22px; border: 0; border-radius: 8px; padding: 12px 24px; background: var(--ink); color: var(--surface); font: inherit; font-weight: 900; cursor: pointer; }
.submit-button:hover { background: var(--gold); color: #101010; }
.submit-button:disabled { cursor: wait; opacity: .58; }
.form-status { min-height: 30px; margin-top: 16px; color: var(--muted); }
.form-status.is-success { color: #247A48; }
.form-status.is-error { color: #B42318; }
.honeypot { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.support-slate { position: relative; overflow: hidden; margin-top: 30px; padding: 30px; border-radius: 12px; background: #101010; color: #F7F4EE; }
.support-slate::before { content: ''; position: absolute; inset: 0 0 auto; height: 9px; background: repeating-linear-gradient(135deg, var(--gold) 0 28px, #F7F4EE 28px 56px, #101010 56px 84px); }
.support-slate small { color: #C7C2BA; font-size: 11px; letter-spacing: 1.8px; }
.support-slate h2 { margin: 15px 0 8px; font-size: clamp(23px, 4vw, 32px); }
.support-slate p { color: #C7C2BA; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.help-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.help-card .card-label { display: block; margin-bottom: 8px; color: var(--gold); font-size: 12px; font-weight: 900; }
.help-card h2 { margin-bottom: 8px; font-size: 20px; }
.help-card p { font-size: 15px; }
.help-faq { margin-top: 52px; }
.help-faq > h2 { font-size: 26px; }
.help-faq details { border-top: 1px solid var(--line); }
.help-faq details:last-child { border-bottom: 1px solid var(--line); }
.help-faq summary { position: relative; cursor: pointer; list-style: none; padding-block: 20px; padding-inline: 34px 0; color: var(--ink); font-weight: 900; }
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary::before { content: '+'; position: absolute; inset-inline-start: 0; color: var(--gold); font-size: 24px; font-weight: 400; }
.help-faq details[open] summary::before { content: '−'; }
.help-faq details p { padding: 0 0 20px; }
.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; margin-top: 52px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; }
.contact-panel h2 { margin-bottom: 9px; }
.contact-actions { display: grid; gap: 10px; }
.contact-button { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 18px; border-radius: 8px; background: var(--gold); color: #101010; font-weight: 900; text-decoration: none; }
.contact-button:hover { color: #101010; filter: brightness(1.06); }
.contact-meta { text-align: center; color: var(--muted); font-size: 12px; }
.legal-footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 13px; }
.legal-footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.legal-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (prefers-color-scheme: dark) {
  :root { --surface: #131313; --paper: #1B1B1B; --ink: #F7F4EE; --muted: #B2AEA7; --line: #303030; --gold: #E2B04F; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 32px, 820px); }
  .legal-header .shell { min-height: 74px; }
  .home-link img { width: 40px; height: 40px; }
  .legal-main { padding-block: 42px 60px; }
  .summary { font-size: 16px; }
  .legal-content { margin-top: 38px; }
  h2 { font-size: 20px; }
  .support-slate { padding: 26px 20px 22px; }
  .help-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Help center */
.help-page {
  color-scheme: dark;
  --surface: #131313;
  --paper: #1B1B1B;
  --ink: #F7F4EE;
  --muted: #B2AEA7;
  --line: #30302E;
  --gold: #E2B04F;
  min-height: 100vh;
  background: #131313;
  color: var(--ink);
}
.help-page .help-shell { width: min(100% - 48px, 1120px); }
.help-page .legal-header { position: sticky; top: 0; z-index: 20; background: rgba(19, 19, 19, .9); backdrop-filter: blur(18px); }
.help-page .legal-header .shell { min-height: 78px; }
.help-page .home-link { gap: 14px; font-size: 15px; }
.help-page .home-link img { width: 52px; height: 52px; }
.help-page .back-link { text-decoration: none; }
.help-main { overflow: hidden; background: #131313; }
.help-page section { padding-block: 0; border-top: 0; }
.help-hero { position: relative; isolation: isolate; padding-block: 92px 86px !important; text-align: center; border-bottom: 1px solid var(--line) !important; }
.help-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 52% 78% at 50% 22%, rgba(226, 176, 79, .16), rgba(196, 134, 34, .045) 45%, transparent 72%); }
.help-hero .eyebrow { margin-bottom: 12px; }
.help-hero h1 { font-size: clamp(42px, 6vw, 68px); }
.help-hero .summary { margin-top: 10px; font-size: 18px; }
.help-search { position: relative; display: flex; align-items: center; width: min(100%, 720px); min-height: 66px; margin: 34px auto 0; border: 1px solid #494641; border-radius: 16px; background: #F7F4EE; box-shadow: 0 18px 55px rgba(0, 0, 0, .26), 0 0 0 1px rgba(226, 176, 79, .08); color: #161513; text-align: right; }
.help-search:focus-within { border-color: var(--gold); box-shadow: 0 18px 55px rgba(0, 0, 0, .3), 0 0 0 4px rgba(226, 176, 79, .14); }
.help-search svg { width: 23px; height: 23px; margin-inline: 22px 4px; fill: none; stroke: #6B655C; stroke-width: 1.8; stroke-linecap: round; flex: 0 0 auto; }
.help-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 17px 14px; background: transparent; color: #161513; font: inherit; font-size: 16px; text-align: right; }
.help-search input::placeholder { color: #777168; opacity: 1; }
.help-search input::-webkit-search-cancel-button { display: none; }
.help-search button { width: 44px; height: 44px; margin-inline-end: 9px; border: 0; border-radius: 10px; background: transparent; color: #736D63; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.help-search button:hover { background: #E8E4DC; color: #161513; }
.help-search-status { min-height: 27px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.help-section-heading { margin-bottom: 30px; }
.help-section-heading .eyebrow { margin-bottom: 7px; }
.help-section-heading h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.help-library { padding-block: 82px !important; }
.help-section-heading-split { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.help-section-heading-split > p { max-width: 340px; color: var(--muted); }
.help-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.help-page .help-topic { scroll-margin-top: 108px; padding: 26px 28px 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(27, 27, 27, .82); }
.help-topic h3 { margin: 0 0 8px; color: var(--gold); font-size: 17px; }
.help-topic details { border-top: 1px solid var(--line); }
.help-topic summary { position: relative; min-height: 62px; display: flex; align-items: center; padding-block: 16px; padding-inline: 34px 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 800; line-height: 1.6; }
.help-topic summary::-webkit-details-marker { display: none; }
.help-topic summary::before { content: '+'; position: absolute; inset-inline-start: 0; color: var(--gold); font-size: 23px; font-weight: 400; }
.help-topic details[open] summary::before { content: '−'; }
.help-topic details p { padding: 0 0 20px; font-size: 15px; }
.help-topic details a { color: var(--gold); }
.help-empty { margin: 20px 0 0; padding: 22px; border: 1px dashed #4B463D; border-radius: 14px; text-align: center; }
.help-page .contact-panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: 42px; align-items: center; margin-top: 0; margin-bottom: 90px; padding: 42px; border: 1px solid rgba(226, 176, 79, .3); border-radius: 20px; background: radial-gradient(circle at 8% 100%, rgba(226, 176, 79, .12), transparent 42%), #191918; }
.help-page .contact-panel .eyebrow { margin-bottom: 7px; }
.help-page .contact-panel h2 { margin-bottom: 10px; font-size: clamp(27px, 3vw, 38px); }
.help-page .contact-panel > div > p:not(.eyebrow) { max-width: 650px; }
.help-page .support-safety { margin-top: 16px; color: #D7B978 !important; font-size: 13px; }
.help-page .contact-actions { min-width: 230px; }
.help-page .contact-button { min-height: 56px; border-radius: 12px; background: linear-gradient(120deg, #B87C19, #E2B04F 48%, #F3D37F); }
.help-page .legal-footer { background: #101010; }

@media (max-width: 900px) {
  .help-page .contact-panel { grid-template-columns: 1fr; gap: 28px; }
  .help-page .contact-actions { width: min(100%, 340px); min-width: 0; }
}

@media (max-width: 640px) {
  .help-page .help-shell { width: min(100% - 32px, 1120px); }
  .help-page .legal-header .shell { min-height: 70px; }
  .help-page .home-link img { width: 44px; height: 44px; }
  .help-page .home-link span { font-size: 13px; }
  .help-page .back-link { font-size: 12px; }
  .help-hero { padding-block: 58px 52px !important; }
  .help-hero h1 { font-size: 39px; }
  .help-hero .summary { font-size: 15px; }
  .help-search { min-height: 58px; margin-top: 26px; border-radius: 13px; }
  .help-search svg { width: 20px; height: 20px; margin-inline-start: 16px; }
  .help-search input { padding: 14px 10px; font-size: 14px; }
  .help-search button { width: 40px; height: 40px; }
  .help-section-heading { margin-bottom: 22px; }
  .help-section-heading h2 { font-size: 28px; }
  .help-library { padding-block: 52px 56px !important; }
  .help-section-heading-split { display: block; }
  .help-section-heading-split > p { margin-top: 8px; font-size: 14px; }
  .help-topic-grid { grid-template-columns: 1fr; gap: 14px; }
  .help-page .help-topic { padding: 21px 20px 7px; border-radius: 14px; }
  .help-topic summary { min-height: 58px; padding-block: 14px; font-size: 15px; }
  .help-page .contact-panel { margin-bottom: 58px; padding: 27px 22px; border-radius: 16px; }
  .help-page .contact-panel h2 { font-size: 28px; }
  .help-page .legal-footer .shell { display: block; }
  .help-page .legal-footer nav { margin-top: 12px; gap: 10px 15px; }
}
