/* Owns the reference design, responsive layout and accessible interaction states. */
:root {
    color-scheme: dark;
    --background: #12110f;
    --text: #f4efe6;
    --secondary: #b9afa0;
    --muted: #a29888;
    --accent: #a8823c;
    --rule: rgb(244 239 230 / 12%);
    --row-rule: rgb(244 239 230 / 10%);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 280px; background: var(--background); }
body { margin: 0; color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, .channel-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { color: var(--background); background: var(--secondary); }
.page { width: calc(100% - 56px); max-width: 420px; margin-inline: auto; padding-block: 72px 44px; padding-bottom: max(44px, env(safe-area-inset-bottom)); }
.landing { display: flex; flex-direction: column; gap: 40px; }
.intro { text-align: center; }
h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 2.125rem; line-height: 1.3; letter-spacing: .01em; font-optical-sizing: auto; }
.teaser { margin: 18px 0 0; padding-inline: 8px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1rem; line-height: 1.6; color: var(--secondary); }
.link-section { border-top: 1px solid var(--rule); padding-top: 34px; }
.eyebrow { margin: 0 0 10px; padding-left: 2px; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list > li + li { border-top: 1px solid var(--row-rule); }
.link-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 57px; padding: 16px 4px; }
.row-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row-label { font-size: 1rem; font-weight: 500; line-height: 1.5; transition: color 150ms ease; }
.row-description { color: var(--muted); font-size: .75rem; line-height: 1.5; letter-spacing: .01em; }
.arrow { flex-shrink: 0; color: var(--muted); transition: color 150ms ease, transform 150ms ease; }
.channels { text-align: center; }
.channels .eyebrow { padding-left: 0; }
.channel-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 10px 0 0; padding: 0; }
.channel-link { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; transition: color 150ms ease; }
.channel-link--disabled { color: var(--muted); cursor: not-allowed; }
.channel-tooltip { position: absolute; z-index: 1; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 6px; visibility: hidden; opacity: 0; font-size: .625rem; line-height: 1.4; white-space: nowrap; color: var(--text); }
.channel-tooltip > span { display: block; padding: 3px 7px; border: 1px solid var(--rule); border-radius: 3px; background: var(--background); }
.channel-link--disabled:hover .channel-tooltip, .channel-link--disabled:focus .channel-tooltip { visibility: visible; opacity: 1; }
.channel-link svg { flex-shrink: 0; }
.footer { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 24px; text-align: center; font-size: .75rem; line-height: 1.6; letter-spacing: .02em; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; min-height: 32px; }
.legal-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 12px; margin-top: 8px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 36px; }
.legal-nav [aria-current="page"] { color: var(--text); }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 8px 12px; background: var(--text); color: var(--background); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page--document { max-width: 620px; }
.document { overflow-wrap: anywhere; }
.document h1 { margin-block: 28px 32px; font-size: clamp(1.8rem, 6vw, 2.125rem); }
.document h2 { margin: 32px 0 12px; font-family: var(--serif); font-weight: 500; color: var(--text); font-size: 1.375rem; line-height: 1.4; }
.document p, .document ul, .document address { color: var(--secondary); font-size: .9375rem; }
.document address { font-style: normal; }
.document ul { padding-left: 22px; }
.document a:not(.back-link) { text-decoration: underline; text-underline-offset: 4px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; color: var(--secondary); }
.document .eyebrow { margin-top: 24px; }

@media (hover: hover) {
    .link-row[href]:hover .row-label, a.channel-link:hover, .footer a:hover, .document a:hover { color: var(--accent); }
    .link-row[href]:hover .arrow { color: var(--accent); transform: translateX(2px); }
}
.link-row:focus-visible .row-label { color: var(--accent); }
@media (max-width: 480px) {
    .page { padding-top: 52px; }
    .landing { gap: 32px; }
    .link-section { padding-top: 28px; }
    .footer { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
    a:focus-visible, .channel-link:focus-visible { outline-color: Highlight; }
}
