/* Landing page — branded entry point */

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper-soft);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    background: linear-gradient(160deg, #1a3a5c 0%, #28537d 55%, #2b9eb3 100%);
    color: #fff;
    padding: 80px 32px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 35%);
    pointer-events: none;
}

.hero .hero-content {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin: 24px 0 12px;
    letter-spacing: -0.5px;
}

.hero p.subtitle {
    font-size: 19px;
    opacity: 0.92;
    margin: 0 auto;
    max-width: 720px;
    line-height: 1.55;
}

.hero .pills {
    margin-top: 28px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.hero .pill .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 8px #34d399;
}

main.container {
    max-width: 1100px;
    margin: -56px auto 0;
    padding: 0 32px 60px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px rgba(40, 83, 125, 0.18);
    border-color: var(--iwmi-blue-light);
}

.card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--iwmi-blue-pale);
    color: var(--iwmi-blue);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-size: 22px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    color: var(--iwmi-blue-dark);
}

.card p {
    margin: 0 0 16px;
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}

.card .card-cta {
    color: var(--iwmi-blue);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

.card .card-cta::after {
    content: " →";
    transition: margin-left 0.15s ease;
    display: inline-block;
}

.card:hover .card-cta::after {
    margin-left: 4px;
}

section.about {
    margin: 56px 0 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 800px) {
    section.about { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .hero { padding: 56px 24px 76px; }
}

section.about .about-text h2 {
    color: var(--iwmi-blue-dark);
    font-size: 22px;
    margin: 0 0 12px;
}

section.about .about-text p {
    line-height: 1.65;
    color: var(--ink);
    margin: 0 0 14px;
}

section.about .about-text p code {
    background: var(--iwmi-blue-pale);
    color: var(--iwmi-blue-dark);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.factbox {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--rule);
}

.factbox h4 {
    color: var(--iwmi-blue-dark);
    margin: 0 0 14px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.factbox dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    font-size: 14px;
}

.factbox dt {
    color: var(--ink-muted);
}

.factbox dd {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 13px;
}

.factbox dd a {
    color: var(--iwmi-blue);
    text-decoration: none;
}

.factbox dd a:hover {
    text-decoration: underline;
}
