/* 3Desk — public legal pages (terms, privacy, gdpr, cookies) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:     #1e1e1e;
    --border: rgba(255, 255, 255, .08);
    --accent: #2789f9;
    --text:   #f0f0f0;
    --muted:  rgba(255, 255, 255, .4);
}

body {
    background: linear-gradient(165deg, #474747 0%, #0e0e0e 50%, #000000 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

.w-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.w-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(5, 5, 10, .75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.w-nav .w-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
}

.w-nav__enter,
.w-home__enter {
    font-size: .85rem;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
}

.w-nav__enter:hover,
.w-home__enter:hover { border-color: var(--accent); }

.w-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding: 72px 0 36px;
}

.w-mark {
    width: min(420px, 78vw);
    height: auto;
}

.w-home p {
    max-width: 34rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
}

.w-home__deck {
    max-width: 36rem;
    font-size: 1.15rem;
    color: #ffffff;
    line-height: 1.55;
}

.w-pipeline {
    width: min(720px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.w-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    width: 100%;
    margin: 4px 0 0;
    padding: 0;
}

.w-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.w-pipeline__icon {
    width: 100%;
    max-width: 96px;
    height: auto;
    margin-top: auto;
    padding-top: 10px;
    opacity: .92;
}

.w-steps strong {
    font-size: .95rem;
    font-weight: 700;
}

.w-steps span {
    font-size: .78rem;
    line-height: 1.4;
    color: var(--muted);
}

.w-rule {
    width: min(640px, 100%);
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    margin: 6px 0 0;
}

.w-engine {
    margin: 0;
    max-width: 36rem;
    font-size: 1.3rem;
    line-height: 1.55;
    letter-spacing: .02em;
    color: #ffffff;
}

.w-story {
    max-width: 40rem;
    margin: 0 auto;
    padding: 12px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.w-story h2 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.w-story .w-lead {
    font-size: 1.15rem;
}

.w-story p {
    font-size: .95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 640px) {
    .w-steps { grid-template-columns: 1fr 1fr; }
}

.w-legal {
    padding: 88px 0 48px;
}

.w-legal__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 28px;
}

.w-legal .privacy-doc h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--text);
}

.w-legal .privacy-doc p,
.w-legal .privacy-doc li {
    font-size: .9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
}

.w-legal .privacy-doc ul {
    margin: 0 0 16px 1.2rem;
}

.w-legal .privacy-doc a {
    color: var(--accent);
    text-decoration: none;
}

.w-legal .privacy-doc a:hover {
    text-decoration: underline;
}

.w-legal .privacy-doc__updated {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.w-legal .privacy-doc__contact {
    margin-top: 28px;
}

.cookie-table,
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: .85rem;
}

.cookie-table th,
.cookie-table td,
.legal-table th,
.legal-table td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    color: rgba(255, 255, 255, .72);
}

.cookie-table th,
.legal-table th {
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, .04);
}

.cookie-table code {
    font-size: .82rem;
    color: var(--accent);
}

.legal-note {
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
}

@media (max-width: 640px) {
    .cookie-table,
    .legal-table { display: block; overflow-x: auto; }
}

.w-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.w-footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.w-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.w-footer-links a {
    font-size: .8rem;
    color: var(--muted);
    text-decoration: none;
}

.w-footer-links a:hover { color: var(--text); }

.w-footer-copy {
    font-size: .74rem;
    color: rgba(255, 255, 255, .18);
}

.w-hit-count {
    font-variant-numeric: tabular-nums;
    letter-spacing: .08em;
}
