* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #f8fafc;
    line-height: 1.65;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 21px;
    font-weight: 700;
    color: #111827;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: #374151;
    font-size: 15px;
}

main {
    padding: 0;
}

.hero {
    padding: 52px 0 36px;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.15;
    color: #111827;
}

.hero p {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
    color: #4b5563;
}

.section {
    padding: 28px 0;
}

.section h2 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.25;
    color: #111827;
}

.section h3 {
    margin: 24px 0 10px;
    font-size: 21px;
    color: #111827;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
}

.card:last-child {
    margin-bottom: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.link-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px;
    color: #111827;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.link-card:hover {
    text-decoration: none;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.link-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.link-card span {
    display: block;
    color: #6b7280;
    font-size: 14px;
}

.table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

th {
    background: #f8fafc;
    font-weight: 700;
    color: #111827;
}

tr:last-child td {
    border-bottom: 0;
}

.ad-box {
    min-height: 90px;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin: 28px 0;
    background: #ffffff;
}

.note {
    padding: 16px 18px;
    background: #f8fafc;
    border-left: 4px solid #cbd5e1;
    margin: 20px 0;
}

.faq-item {
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

footer {
    margin-top: 36px;
    padding: 28px 0;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1100px);
    }

    .header-inner {
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        gap: 12px 16px;
    }

    .hero {
        padding: 36px 0 24px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 22px 0;
    }

    .section h2 {
        font-size: 24px;
    }

    .card {
        padding: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ad-box {
        min-height: 90px;
        margin: 24px 0;
    }

    th,
    td {
        padding: 12px 13px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
