/* HostedFor's own pages on a company's address (sign-in, the list, the agreement pages). Decks bring their own styles.
   A company chooses the page style (dark or light) and an accent colour; both arrive as attributes on <html>. */
:root { --ground: #0b0e14; --panel: #131824; --line: #1f2633; --ink: #f2f5f9; --soft: #9aa6b8; --faint: #6b7686; --strong: #ffffff; --terms: #c3ccd8;
  --accent: #4f8cff; --on-accent: #ffffff; --accent-ink: color-mix(in srgb, var(--accent) 55%, white); }
:root[data-style="light"] { --ground: #ffffff; --panel: #f6f7f9; --line: #dfe4ea; --ink: #0f172a; --soft: #475569; --faint: #64748b; --strong: #0f172a; --terms: #334155;
  --accent-ink: color-mix(in srgb, var(--accent) 80%, black); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font: 16px/1.5 var(--body, Inter, system-ui, sans-serif); }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
header { border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-weight: 600; letter-spacing: -.01em; }
.wordmark img { height: 26px; width: auto; display: block; }
.wordmark .tile { display: inline-block; padding: 5px 9px; border-radius: 6px; }
.wordmark .tile.on-white { background: #fff; } .wordmark .tile.on-dark { background: #0b0e14; }
.who { color: var(--soft); font-size: 14px; display: flex; gap: 16px; align-items: center; margin: 0; }
.who button { background: none; border: 0; padding: 0; color: var(--accent-ink); font: inherit; cursor: pointer; }
main { flex: 1; }
footer { color: var(--faint); font-size: 12px; padding: 20px 0; text-align: center; }
.rise > * { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.rise > *:nth-child(2) { animation-delay: .08s; } .rise > *:nth-child(3) { animation-delay: .16s; }
.rise > *:nth-child(4) { animation-delay: .24s; } .rise > *:nth-child(n+5) { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise > * { animation: none; opacity: 1; transform: none; } }
.label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
h1, h2 { font-family: var(--heading, inherit); }
h1 { font-weight: 300; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.02em; line-height: 1.15; margin: 12px 0 26px; }
.narrow { max-width: 380px; margin: 0 auto; padding: clamp(48px, 14vh, 128px) 0 64px; }
.narrow.wide { max-width: 560px; padding-top: clamp(32px, 7vh, 64px); }
label { display: block; font-size: 13px; color: var(--soft); margin-bottom: 6px; }
input[type=email], input[type=text], input[type=search], select { width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--strong); padding: 13px 14px; font: inherit; font-size: 15px; margin-bottom: 14px; outline: none; transition: border-color .3s; }
input:focus, select:focus { border-color: var(--accent); }
.btn { display: inline-flex; justify-content: center; background: var(--accent); color: var(--on-accent); border: 0; padding: 13px 22px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.narrow .btn { width: 100%; }
.link { color: var(--accent-ink); }
.fine { color: var(--faint); font-size: 13px; margin-top: 18px; }
.soft { color: var(--soft); font-size: 15px; margin: 0 0 20px; }
.strong { color: var(--strong); font-weight: 600; margin-bottom: 10px; }
.terms { border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; margin-bottom: 20px; max-height: 42vh; overflow-y: auto; }
.terms p { color: var(--terms); font-size: 13px; line-height: 1.55; margin: 0 0 12px; }
.terms p:last-child { margin: 0; }
.terms a { color: var(--accent-ink); }
.list { padding: 40px 0 80px; }
.tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.tools input, .tools select { margin: 0; }
.tools .find { flex: 1 1 260px; } .tools .order { flex: 0 1 220px; }
.deck-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.deck-row:last-of-type { border-bottom: 1px solid var(--line); }
.deck-row[hidden] { display: none; }
.deck-row h2 { font-size: 20px; font-weight: 600; margin: 0; }
.deck-row p { color: var(--soft); font-size: 14px; margin: 6px 0 0; max-width: 480px; }
.deck-row small { display: block; color: var(--faint); font-size: 13px; margin-top: 8px; }
.open { border: 1px solid var(--line); padding: 11px 19px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .3s, color .3s; }
.open:hover { border-color: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
