/* Tubzer legal pages – shared styles (matches tubzerapp.de index) */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #3d3d3d;
    color: #fff;
    min-height: 100vh;
    padding: 2rem 1rem 3rem;
    line-height: 1.6;
}

.wrap { max-width: 680px; margin: 0 auto; }

/* Header */
.top { text-align: center; margin-bottom: 2rem; }
.top .logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e98e8e;
    text-decoration: none;
    display: inline-block;
}
.top .logo:hover { color: #f4b0b0; }
.top .kicker {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* Pill navigation between the legal documents */
.docs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.2rem 0 0;
}
.docs-nav a {
    border: 1px solid #5a5a5a;
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    color: #ddd;
    text-decoration: none;
    font-size: 0.85rem;
}
.docs-nav a:hover { border-color: #e98e8e; color: #e98e8e; }
.docs-nav a[aria-current="page"] { border-color: #e98e8e; color: #e98e8e; }

/* Document */
h1 { font-size: 1.8rem; line-height: 1.25; margin-bottom: 0.4rem; }
.meta { color: #888; font-size: 0.85rem; margin-bottom: 1.8rem; }

h2 {
    font-size: 1.2rem;
    margin: 2.2rem 0 0.7rem;
    padding-top: 1.2rem;
    border-top: 1px solid #5a5a5a;
}
h3 { font-size: 1rem; margin: 1.4rem 0 0.4rem; color: #fff; }

p, li { color: #c8c8c8; font-size: 0.95rem; }
p { margin-bottom: 0.9rem; }
ul, ol { margin: 0 0 1rem 1.3rem; }
li { margin-bottom: 0.35rem; }
strong { color: #fff; font-weight: 600; }

a { color: #e98e8e; }
a:hover { color: #f4b0b0; }

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    background: #2f2f2f;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    color: #eee;
    word-break: break-all;
}

/* Summary box */
.box {
    border: 1px solid #5a5a5a;
    border-left: 3px solid #e98e8e;
    border-radius: 8px;
    padding: 1rem 1.1rem;
    margin: 0 0 1.5rem;
    background: #363636;
}
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.box ul { margin-left: 1.1rem; }

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.6rem 0 1.2rem;
    font-size: 0.88rem;
}
th, td {
    text-align: left;
    vertical-align: top;
    padding: 0.5rem 0.55rem;
    border-bottom: 1px solid #555;
    color: #c8c8c8;
}
th { color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: none; }

/* Address block */
address { font-style: normal; color: #c8c8c8; font-size: 0.95rem; margin-bottom: 0.9rem; line-height: 1.7; }

/* Document list on /legal/ */
.doclist { list-style: none; margin: 0 0 1.5rem; }
.doclist li { margin: 0; }
.doclist a {
    display: block;
    text-decoration: none;
    border: 1px solid #5a5a5a;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
    color: #fff;
}
.doclist a:hover { border-color: #e98e8e; }
.doclist .t { font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.doclist .t span.arrow { color: #e98e8e; }
.doclist .d { color: #999; font-size: 0.85rem; margin-top: 0.15rem; }

/* URL list for stores */
.urls { list-style: none; margin: 0 0 1.2rem; }
.urls li { margin-bottom: 0.45rem; font-size: 0.9rem; }
.urls li span { color: #999; display: block; font-size: 0.8rem; }

/* Footer */
.foot {
    border-top: 1px solid #5a5a5a;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    color: #999;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.7;
}
.foot a { color: #b0b0b0; text-decoration: none; }
.foot a:hover { color: #e98e8e; }

@media (max-width: 480px) {
    body { padding: 1.4rem 1rem 2.5rem; }
    h1 { font-size: 1.5rem; }
    table, thead, tbody, th, td, tr { display: block; }
    thead { display: none; }
    tr { border-bottom: 1px solid #555; padding: 0.4rem 0; }
    td { border: none; padding: 0.2rem 0; }
    td[data-label]::before { content: attr(data-label) ": "; color: #fff; font-weight: 600; }
}
