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

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

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #111827;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

nav a {
    text-decoration: none;
    color: #374151;
    font-size: 14px;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    padding: 90px 0;
    background: #eef6ff;
    text-align: center;
}

.eyebrow {
    font-weight: 700;
    margin-bottom: 12px;
}

h1 {
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #4b5563;
}

.button {
    display: inline-block;
    padding: 13px 22px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
}

.tools,
.about {
    padding: 65px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 28px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tool-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
}

.tool-card h3 {
    margin-bottom: 12px;
}

.tool-card p {
    color: #6b7280;
    margin-bottom: 18px;
}

.tool-card a {
    font-weight: 700;
    text-decoration: none;
    color: #111827;
}

.about {
    background: #ffffff;
}

.about p {
    max-width: 800px;
    margin-bottom: 14px;
    color: #4b5563;
}

footer {
    padding: 25px 0;
    background: #111827;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 800px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }
}

.page-header {
    padding: 60px 0;
    background: #eef6ff;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 18px;
}

.calculator-section {
    padding: 60px 0;
}

.calculator-card {
    max-width: 650px;
    margin: 0 auto 45px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
}

.calculator-card h2 {
    font-size: 26px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 16px;
}

.form-group input:focus {
    outline: 2px solid #93c5fd;
    border-color: #2563eb;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #6b7280;
}

.calculator-card .button {
    border: 0;
    cursor: pointer;
    font-size: 16px;
}

.result-box {
    margin-top: 25px;
    padding: 22px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

.result-box h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.result-box p {
    font-size: 20px;
    font-weight: 700;
}

.info-section {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.info-section h2 {
    font-size: 28px;
}

.info-section ul {
    margin: 20px 0 20px 25px;
}

.info-section li {
    margin-bottom: 8px;
}

.last-verified {
    font-size: 14px;
    color: #6b7280;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .calculator-card,
    .info-section {
        padding: 20px;
    }

    .page-header {
        padding: 45px 0;
    }
}

.course-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.course-row input,
.course-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background: #ffffff;
}

.calculator-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.calculator-actions button {
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.calculator-actions button:hover {
    opacity: 0.9;
}

@media (max-width: 700px) {
    .course-row {
        grid-template-columns: 1fr;
    }

    .calculator-actions {
        flex-direction: column;
    }

    .calculator-actions button {
        width: 100%;
    }
}
