.fd-home {
    width: min(1180px, calc(100% - 48px));
    margin: 32px auto 60px;
}
.fd-hero {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    color: #f5fbff;
    background: linear-gradient(114deg, #102137 12%, #15334a 58%, #106e6a 126%);
    border: 1px solid #32615f;
    border-radius: 22px;
}
.fd-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 51%;
    inset: 0 0 0 auto;
    background:
        radial-gradient(ellipse at 77% 48%, #57e1c64d 0 2%, transparent 3%),
        radial-gradient(ellipse at 77% 48%, transparent 0 24%, #7ee7d12d 25% 25.5%, transparent 26% 37%, #7ee7d12d 38% 38.5%, transparent 39%),
        repeating-linear-gradient(90deg, transparent 0 34px, #d4f6ff16 35px 36px),
        repeating-linear-gradient(0deg, transparent 0 34px, #d4f6ff16 35px 36px);
    mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.fd-hero-content {
    padding: clamp(32px, 6vw, 82px);
}
.fd-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}
.fd-hero p {
    max-width: 42ch;
    margin: 22px 0 0;
    color: #e0edf3;
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.6;
}
.fd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.fd-actions a {
    display: inline-flex;
    align-items: center;
    padding: 11px 17px;
    border: 1px solid #98d9cd;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}
.fd-actions .fd-primary { color: #092723; background: #9df2d9; }
.fd-actions .fd-primary:hover { color: #092723; background: #d2ffef; }
.fd-actions .fd-secondary { color: #f5fbff; }
.fd-actions .fd-secondary:hover { color: #fff; background: #ffffff24; }
.fd-home a:focus-visible { outline: 3px solid #42bb9c; outline-offset: 3px; }
.fd-projects { margin-top: 40px; }
.fd-heading { max-width: 68ch; margin-bottom: 20px; }
.fd-heading h2 { margin-bottom: 8px; font-size: 1.8rem; }
.fd-heading p { color: var(--color-text-light, #4c5760); line-height: 1.6; }
.fd-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.fd-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 19px;
    border: 1px solid var(--color-secondary, #d0d9dc);
    border-radius: 12px;
    background: var(--color-box-body, #fff);
}
.fd-card-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    margin-bottom: 13px;
    background: #e1f2ec;
    border-radius: 9px;
}
.fd-card-icon img { display: block; object-fit: contain; border-radius: 6px; }
.fd-sheet { color: #17624f; font-size: 0.64rem; font-weight: 850; letter-spacing: 0.06em; }
.fd-card h3 { margin: 0; font-size: 1.06rem; line-height: 1.35; }
.fd-card h3 a { color: inherit; }
.fd-card p { flex: 1; margin: 8px 0 15px; color: var(--color-text-light, #4c5760); line-height: 1.5; }
.fd-card nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 650; }
@media (max-width: 960px) {
    .fd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
    .fd-home { width: calc(100% - 28px); margin-top: 18px; }
    .fd-grid { grid-template-columns: 1fr; }
    .fd-hero::after { width: 68%; opacity: 0.45; }
}
