/* Public legal pages and the footer every page carries (templates/legal, partials/legal_footer.html). */
body.legal-page { background: var(--surface-page, #f5f7f7); }
.legal { max-width: 1100px; margin: 0 auto; padding: 32px 0 64px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.legal-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; align-self: start; }
.legal-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-body, #303a36); text-decoration: none; font-size: 15px; }
.legal-nav a:hover { background: var(--gray-100, #eef1f0); color: var(--ink, #0e1412); text-decoration: none; }
.legal-nav a[aria-current="page"] { background: var(--gray-100, #eef1f0); color: var(--ink, #0e1412); font-weight: 500; }
.legal-doc { max-width: 72ch; color: var(--ink, #0e1412); font-size: 16px; line-height: 1.6; }
.legal-doc h1 { font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 4px; }
.legal-doc h2 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin: 32px 0 8px; }
.legal-updated { color: var(--text-muted, #66726c); font-size: 14px; margin: 0 0 24px; }
.legal-doc ul { padding-left: 20px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--ink, #0e1412); text-decoration: underline; text-underline-offset: 2px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; background: #fff; border: 1px solid var(--gray-200, #dfe4e0); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--gray-150, #e8ecec); }
.legal-table th { font-weight: 500; color: var(--text-muted, #66726c); font-size: 13px; border-top: 0; }
@media (max-width: 760px) {
    .legal { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 0 48px; }
    .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .legal-doc h1 { font-size: 26px; }
    .legal-table { display: block; overflow-x: auto; }
}

/* Always at the bottom of the window, even on a page with little on it: the body fills the
   window, and the footer sticks to the window's bottom edge within it (sticky, top 100vh). */
body { min-height: 100vh; min-height: 100dvh; }
.ntel-footer {
    position: sticky; top: 100vh; top: 100dvh; overflow: hidden; margin-top: 48px;
    background: var(--ink, #0e1412); color: #f5f7f7; font-family: var(--font-text, system-ui, sans-serif);
}
/* The brand's dark ground: a faint grid fading out from the bottom, and a soft green glow. */
.ntel-footer::before, .ntel-footer::after { content: ''; position: absolute; pointer-events: none; }
.ntel-footer::before {
    inset: 0;
    background-image: linear-gradient(rgba(112, 245, 163, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(112, 245, 163, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000 20%, transparent 75%);
}
.ntel-footer::after {
    left: 50%; bottom: -300px; width: 900px; max-width: 120%; height: 420px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(112, 245, 163, 0.2), transparent);
}
.ntel-footer-in { position: relative; z-index: 1; max-width: var(--page-max, 1400px); margin: 0 auto; padding: 44px 30px 28px; display: flex; flex-direction: column; gap: 32px; }
.ntel-footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px 48px; flex-wrap: wrap; }
.ntel-footer-hello { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 560px; }
.ntel-footer-logo { display: block; height: 32px; width: auto; }
.ntel-footer-moment {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1px solid #2a3531;
    border-radius: 999px; background: transparent; color: #f5f7f7; font: 500 14px/1 var(--font-display, sans-serif); cursor: pointer;
    transition: background .15s cubic-bezier(.22, 1, .36, 1);
}
.ntel-footer-moment:hover { background: #1c2622; }
.ntel-footer-moment:focus-visible { outline: 2px solid var(--green-spring, #70f5a3); outline-offset: 2px; }
.ntel-footer-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-spring, #70f5a3); }
.ntel-footer-line { margin: 0; font: 500 26px/1.2 var(--font-display, sans-serif); letter-spacing: -0.02em; color: #f5f7f7; }
.ntel-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 12px 40px; padding-top: 6px; font-size: 15px; }
.ntel-footer a { color: #c9cfca; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .15s, border-color .15s; }
.ntel-footer a:hover, .ntel-footer a:focus-visible { color: var(--green-spring, #70f5a3); border-color: var(--green-spring, #70f5a3); }
.ntel-footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
    padding-top: 18px; border-top: 1px solid #1f2925; font-size: 13px; color: #8c9691;
}
.ntel-footer-by { display: inline-flex; align-items: center; gap: 10px; }
.ntel-footer-by img { display: block; height: 15px; width: auto; }
@media (max-width: 640px) {
    .ntel-footer-in { padding: 32px 16px 22px; gap: 24px; }
    .ntel-footer-line { font-size: 21px; }
    .ntel-footer-links { gap: 10px 28px; }
}
