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

body {
    font-family: 'Verdana', sans-serif;
    line-height: 1.75;
    color: #37474f;
    background: #eceff1;
}

header {
    background: linear-gradient(135deg, #455a64 0%, #263238 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

nav {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
}

.page-intro {
    background: linear-gradient(135deg, #455a64 0%, #37474f 100%);
    color: white;
    padding: 70px 2rem;
    text-align: center;
}

.page-intro h1 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-intro p {
    font-size: 1.15rem;
    opacity: 0.9;
}

.terms-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.terms-box {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.terms-box h2 {
    color: #37474f;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #78909c;
}

.terms-box > p {
    color: #546e7a;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.terms-subsection {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.terms-subsection h3 {
    color: #455a64;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.terms-subsection p {
    color: #607d8b;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.numbered-list {
    list-style: none;
    counter-reset: item;
    margin: 1.5rem 0;
}

.numbered-list li {
    padding: 0.8rem 0;
    padding-left: 3rem;
    position: relative;
    color: #546e7a;
    font-size: 1rem;
    counter-increment: item;
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 2rem;
    height: 2rem;
    background: #78909c;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.important-section {
    background: linear-gradient(135deg, #fff3e0 0%, #fff 100%);
    border-left: 5px solid #ff9800;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.important-section h4 {
    color: #e65100;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.important-section p {
    color: #555;
    margin-bottom: 0;
}

.horizontal-rule {
    border: none;
    border-top: 1px solid #cfd8dc;
    margin: 3rem 0;
}

.acceptance-box {
    background: linear-gradient(135deg, #455a64 0%, #37474f 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.acceptance-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.acceptance-box p {
    opacity: 0.95;
    font-size: 1.05rem;
    line-height: 1.8;
}

footer {
    background: #263238;
    color: white;
    padding: 2rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #90a4ae;
    font-size: 0.9rem;
}

.footer-nav {
    margin-top: 1rem;
}

.footer-nav a {
    color: #90a4ae;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: white;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .terms-box {
        padding: 2rem;
    }

    .page-intro h1 {
        font-size: 2rem;
    }
}
