* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #182033;
    background: #f6f8fc;
}

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

.site-header {
    padding: 64px 0 48px;
    background: #eaf2ff;
    border-bottom: 1px solid #d8e5f8;
}

h1, h2, h3, p { margin-top: 0; }

h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.1; margin-bottom: 16px; }
h1 span { color: #195cbd; }
h2 { margin: 40px 0 16px; font-size: 1.6rem; }
h3 { margin-bottom: 8px; }

.intro { max-width: 720px; font-size: 1.1rem; }

a { color: #195cbd; text-decoration: none; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #0f3d82; }

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.project-card {
    overflow: hidden;
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dce4f0;
    border-radius: 14px;
}

.project-card.featured {
    /*border-color: #8bb8f5;*/
    /*background: linear-gradient(
        to bottom,
        #8bb8f5 0%,
        #ffffff 100%
    );*/
}
.project-card p { margin-bottom: 0; }

.project-card h3,
.project-card p {
  position: relative;
  z-index: 1;
}

.site-footer {
    margin-top: 56px;
    padding: 24px 0;
    background: #182033;
    color: #ffffff;
}

.site-footer a { color: #ffffff; }

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-content p { margin: 0; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-text {
    max-width: 720px;
}

.header-icon {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}