/* styles/terms.css */
:root {
    --bg: #0b0f14;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-stroke: rgba(255, 255, 255, 0.12);
    --text: #e6eef7;
    --muted: #a9b6c6;
    --accent: #7cc4ff;
    --accent-2: #9ef0c1;
    --maxw: 980px;
    --radius: 16px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    background: radial-gradient(1000px 700px at 15% -10%, rgba(124, 196, 255, 0.15), transparent 60%),
        radial-gradient(1200px 900px at 100% 0%, rgba(158, 240, 193, 0.12), transparent 60%),
        var(--bg);
    color: var(--text);
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: .5rem .75rem;
    background: #111922;
    color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.site-header,
.site-footer {
    border-bottom: 1px solid var(--panel-stroke);
    background: rgba(6, 10, 14, 0.5);
    backdrop-filter: saturate(160%) blur(10px);
}

.site-footer {
    border-top: 1px solid var(--panel-stroke);
    border-bottom: 0;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px;
}

.site-header .container,
.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text);
}

.brand-mark {
    font-size: 1.4rem;
}

.brand-name {
    letter-spacing: .3px;
}

.header-actions .btn {
    display: inline-block;
    padding: .55rem .9rem;
    border: 1px solid var(--panel-stroke);
    border-radius: 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.header-actions .btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(124, 196, 255, .25), rgba(158, 240, 193, .2));
}

.header-actions .btn:hover {
    filter: brightness(1.05);
}

.terms .card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border: 1px solid var(--panel-stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(18px, 2.5vw, 32px);
}

.head h1 {
    margin: 0 0 6px;
    letter-spacing: .2px;
    font-size: clamp(28px, 3.2vw, 40px);
}

.head .meta {
    color: var(--muted);
    margin-top: 0;
    margin-bottom: 10px;
}

.head .lead {
    color: #d5e4f3;
    font-size: 1.02rem;
}

.head .note {
    margin-top: 10px;
    font-size: .93rem;
    color: #9fb2c7;
    background: rgba(124, 196, 255, 0.08);
    border: 1px dashed rgba(124, 196, 255, 0.35);
    padding: .6rem .75rem;
    border-radius: 10px;
}

.toc {
    margin: 24px 0 8px;
    padding: 16px;
    border: 1px solid var(--panel-stroke);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.toc h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--accent-2);
}

.toc ol {
    margin: .2rem 0 0 1.2rem;
}

.toc li {
    margin: .25rem 0;
}

.terms section {
    margin-top: 26px;
}

.terms h2 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.2vw, 26px);
    color: #def7ea;
}

.terms h3 {
    margin: 14px 0 6px;
    color: #cde8ff;
}

.terms p {
    margin: 8px 0;
}

.terms ul {
    margin: 8px 0 8px 1.2rem;
}

.disclaimer {
    margin-top: 8px;
    font-size: .95rem;
    color: #9fb2c7;
    background: rgba(255, 186, 0, 0.08);
    border: 1px solid rgba(255, 186, 0, 0.25);
    padding: .6rem .75rem;
    border-radius: 10px;
}

.contact {
    font-style: normal;
}

.contact a {
    color: var(--accent);
}

.site-footer nav a {
    color: var(--muted);
    margin-right: 8px;
}

.site-footer nav a:hover {
    color: var(--text);
}

@media (max-width: 720px) {

    .site-header .container,
    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-actions {
        display: flex;
        gap: 10px;
    }
}