/* Legal: the footer's bottom bar with its "LEGAL" dropdown (on every page),
   and the text styles for the /terms and /privacy pages.
   Linked just before body-text.css on every page. */

/* ---- Footer bottom bar ---------------------------------------------------- */

/* A thin strip under the main footer: copyright on the left, Legal menu on the right.
   flex-wrap lets the two stack on narrow phones instead of squeezing together. */
.footer-bottom{border-top:1px solid rgba(255,255,255,.1)}
.footer-bottom-inner{max-width:1400px;margin:0 auto;padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;color:#a29e97;font-size:14px}
@media (min-width:768px){.footer-bottom-inner{padding:20px 40px}}

/* ---- Legal dropdown -------------------------------------------------------- */

/* The menu is a native <details> element: the browser opens and closes it when
   <summary> is clicked, with no JavaScript. position:relative makes it the
   anchor the absolutely positioned link list below is placed against. */
.legal-menu{position:relative}

/* The clickable "LEGAL" label. list-style:none and the ::-webkit-details-marker
   rule hide the browser's default triangle so we can draw our own chevron. */
.legal-menu summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-family:var(--font-label);font-weight:600;font-size:14px;letter-spacing:.18em;color:#ece9e4;transition:color .15s}
.legal-menu summary::-webkit-details-marker{display:none}
.legal-menu summary:hover,.legal-menu[open] summary{color:#e0523f}
.legal-menu summary:focus-visible{outline:2px solid #c23b2c;outline-offset:4px}

/* Chevron flips to point down while the menu is open ([open] is the attribute
   the browser adds to <details> when it is expanded). */
.legal-menu summary svg{width:14px;height:14px;transition:transform .2s}
.legal-menu[open] summary svg{transform:rotate(180deg)}

/* The list of links. It opens upward (bottom:100%) because the footer is the
   bottom of the page and there is no room below it. Left aligned on phones,
   where the menu sits on its own line at the left edge, right aligned from
   768px up, where it sits at the right edge. */
.legal-menu-list{position:absolute;bottom:calc(100% + 12px);left:0;z-index:20;min-width:220px;padding:6px 0;background:#161616;border:1px solid rgba(255,255,255,.1);border-top:2px solid #c23b2c;box-shadow:0 12px 32px rgba(0,0,0,.5)}
@media (min-width:768px){.legal-menu-list{left:auto;right:0}}
.legal-menu-list a{display:block;padding:12px 18px;font-family:var(--font-label);font-size:14px;letter-spacing:.12em;color:#ece9e4;transition:color .15s,background-color .15s}
.legal-menu-list a:hover,.legal-menu-list a:focus-visible{color:#e0523f;background:rgba(255,255,255,.04);outline:none}
.legal-menu-list a[aria-current="page"]{color:#c23b2c}

/* ---- /terms and /privacy page text ---------------------------------------- */

/* Keeps lines to a comfortable reading length. */
.legal-body{max-width:760px;margin-top:48px}

/* Section headings: Oswald caps with a short red rule above, like the site's other dividers. */
.legal-body h2{margin-top:56px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-family:var(--font-label);font-weight:600;font-size:22px;letter-spacing:.06em;text-transform:uppercase;color:#fff}
.legal-body h2:first-child{margin-top:0}
.legal-body h3{margin-top:28px;font-family:var(--font-label);font-weight:600;font-size:17px;letter-spacing:.06em;color:#ece9e4}

/* Body copy. Tailwind's reset strips list bullets, so they are added back here. */
.legal-body p,.legal-body li{font-size:17px;line-height:1.75;color:#a29e97}
.legal-body p{margin-top:16px}
.legal-body ul{margin-top:12px;padding-left:22px;list-style:disc}
.legal-body li{margin-top:8px}
.legal-body li::marker{color:#c23b2c}
.legal-body strong{color:#ece9e4;font-weight:500}

/* Links in the text: underlined so they read as links, red on hover. */
.legal-body a{color:#ece9e4;text-decoration:underline;text-decoration-color:#c23b2c;text-underline-offset:3px;transition:color .15s}
.legal-body a:hover{color:#e0523f}

/* "Last updated" line under the page title. */
.legal-updated{margin-top:12px;font-size:15px;color:#a29e97}
