/* Support, the legal pages, the 404 and the design review bar. */

/* ============ LEGAL AND SUPPORT PAGES ============ */
.page-hero { padding: calc(var(--header) + clamp(56px, 8vw, 120px)) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .t-h2 { margin-top: 16px; }
.page-hero .t-lede { margin-top: 18px; }
.page-hero .t-lede a, .contact-card p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Support: Settings, where Contact Support lives, beside the headline */
.page-hero--support { overflow: clip; }
.page-hero--support .shell { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; gap: 40px clamp(32px, 6vw, 96px); }
.page-hero__device { justify-self: end; width: min(240px, 100%); height: auto; transform: rotate(3deg); filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.55)); margin-bottom: -120px; }
@media (max-width: 860px) { .page-hero--support .shell { grid-template-columns: 1fr; } .page-hero__device { display: none; } }
.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px clamp(32px, 6vw, 96px); align-items: start; padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--band); }
.support__faq { scroll-margin-top: 24px; }
.support__faq > .t-h3 { margin-bottom: 28px; }
.support .contact-card { position: sticky; top: calc(var(--header) + 32px); margin-top: 0; flex-direction: column; align-items: stretch; gap: 24px; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } .support .contact-card { position: static; } }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--band); }
.legal__toc { position: sticky; top: calc(var(--header) + 32px); align-self: start; font-size: 14px; }
.legal__toc a { display: block; padding: 6px 0 6px 14px; color: var(--fg-4); border-left: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.legal__toc a:hover, .legal__toc a[aria-current="location"] { color: #fff; border-left-color: #fff; }
.legal__body { max-width: 720px; }
.legal__body section + section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal__body h2 { font-size: 24px; line-height: 1.25; font-weight: 600; color: #fff; letter-spacing: -0.015em; }
.legal__body h3 { margin-top: 26px; font-size: 17px; font-weight: 600; color: #fff; }
.legal__body p, .legal__body li { margin-top: 12px; color: var(--fg-2); font-size: 17px; line-height: 1.65; }
.legal__body ul { margin-top: 8px; }
.legal__body li { position: relative; padding-left: 18px; margin-top: 6px; }
.legal__body li::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 5px; height: 5px; border-radius: 50%; background: var(--fg-4); }
.legal__body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__meta { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 20px; font-size: 13px; color: var(--fg-4); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { display: none; } }
/* Support questions, in groups under a short heading */
.faq__group + .faq__group { margin-top: 56px; }
.faq__group-title { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--fg-3); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.6px solid var(--fg-3); border-bottom: 1.6px solid var(--fg-3); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 0 24px; color: var(--fg-2); max-width: 680px; }
.faq details > div p + p { margin-top: 10px; }
.faq details > div a, .legal__meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 28px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 0 0 1px var(--line); }
.contact-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.contact-card p { margin-top: 6px; color: var(--fg-3); }

/* ============ 404 ============ */
.lost { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.lost__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: var(--header); }
.lost .t-display { margin-top: 18px; }
.lost__inner .t-lede { margin-top: 20px; }
.lost__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ============ REVIEW BAR (design review only) ============ */
.review { position: fixed; left: 50%; bottom: 14px; z-index: 90; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(20, 20, 22, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 30px rgba(0, 0, 0, 0.45); font-size: 12px; color: var(--fg-2); white-space: nowrap; }
.review[hidden] { display: none; }
.review__label { font-family: var(--font-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 10.5px; color: var(--fg-4); }
.review__pages { display: flex; gap: 10px; }
.review__pages a:hover { color: #fff; }
.review__close { width: 28px; height: 28px; border-radius: 50%; color: var(--fg-3); font-size: 16px; }
@media (max-width: 760px) { .review__pages { display: none; } }
.detail__readout { flex-wrap: nowrap; }
@media (max-width: 600px) { .detail__readout { font-size: 11px; padding: 8px 12px; gap: 8px; } }
