:root {
    color-scheme: light;

    --background: #f3f6fa;
    --surface: #ffffff;
    --primary: #173f67;
    --primary-hover: #0f2f4d;
    --text: #1f2937;
    --muted: #5f6b7a;
    --border: #d7dee8;
    --ready-bg: #dcfce7;
    --ready-text: #166534;
    --beta-bg: #fef3c7;
    --beta-text: #92400e;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

.site-header {
    padding: 64px 24px 52px;
    background: var(--primary);
    color: white;
    text-align: center;
}

.header-content {
    max-width: 760px;
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    line-height: 1.1;
}

.subtitle {
    max-width: 620px;
    margin: 18px auto 0;
    color: #dbeafe;
    font-size: 1.1rem;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1080px;
    margin: -28px auto 0;
    padding: 0 24px 32px;
}

.tool-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgb(15 23 42 / 8%);
}

.tool-icon {
    display: grid;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    place-items: center;
    background: #e7eef6;
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
}

.tool-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.tool-card h2 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 1.35rem;
}

.tool-card p {
    margin: 0 0 16px;
    color: var(--muted);
}

.status {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status.ready {
    background: var(--ready-bg);
    color: var(--ready-text);
}

.status.beta {
    background: var(--beta-bg);
    color: var(--beta-text);
}

.tool-button {
    display: inline-block;
    margin-top: auto;
    padding: 11px 16px;
    background: var(--primary);
    color: white;
    border-radius: 7px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.tool-button:hover,
.tool-button:focus-visible {
    background: var(--primary-hover);
}

.notice {
    max-width: 1032px;
    margin: 0 auto;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.notice h2 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 1.1rem;
}

.notice p {
    margin: 0;
    color: var(--muted);
}

footer {
    padding: 32px 24px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 760px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        flex-direction: column;
    }
}