:root {
    --navy: #10233e;
    --blue: #1465df;
    --blue-dark: #0f4fb0;
    --light-blue: #eff6ff;
    --background: #f8fbff;
    --white: #ffffff;
    --muted: #44566f;
    --border: #d3e1f3;
    --pending: #fff2c4;
    --focus: #ffb000;
    --content-width: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--background);
    color: var(--navy);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 700px) { .wrap { padding: 0 1.5rem; } }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 10;
    padding: 0.75rem 1rem;
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
}
.skip-link:focus { top: 0.5rem; }

.preview-notice {
    background: var(--pending);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.site-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand img { display: block; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 700; box-shadow: inset 0 -2px 0 var(--blue); }
.site-nav .lang-switch { color: var(--blue); font-weight: 700; }

.hero { background: var(--navy); color: var(--white); padding: 4.5rem 0; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 3rem; }
.hero-main { flex: 999 1 34rem; min-width: 0; }
.hero-facts { flex: 1 1 16rem; margin: 0; border-top: 2px solid var(--white); }
.hero-facts div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #3a5070;
}
.hero-facts dt { color: #c6d4e8; }
.hero-facts dd { margin: 0; font-weight: 600; text-align: right; }
.eyebrow { margin-bottom: 1rem; font-weight: 600; color: #a9cbff; }
.lead { max-width: 40rem; margin-top: 1.5rem; font-size: 1.25rem; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }

.button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}
.button:hover { background: var(--blue-dark); color: var(--white); }
.hero .button, .cta .button { background: var(--white); color: var(--navy); }
.hero .button:hover, .cta .button:hover { background: var(--light-blue); color: var(--navy); }
.hero .text-link, .cta .text-link { color: var(--white); font-weight: 600; }
.hero .text-link:hover, .cta .text-link:hover { color: #a9cbff; }

.page-heading { background: var(--light-blue); padding: 3.5rem 0; }
.page-heading .lead { margin-top: 1rem; }

.section { padding: 4rem 0; }
.section--white { background: var(--white); }
.section-heading { margin-bottom: 2rem; }
.section-intro { max-width: 44rem; margin: -1rem 0 2rem; color: var(--muted); }

.service-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.service-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.service-list h3 { flex: 1 1 17rem; }
.service-list p { flex: 2 1 22rem; min-width: 0; }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: 1.5rem;
}
.project {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
}
.project-label { color: var(--blue); font-size: 0.9rem; font-weight: 700; }
.project-stack { color: var(--muted); font-size: 0.95rem; }
.project a { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-weight: 600; }
.screenshot-placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    background: var(--light-blue);
    border: 1px dashed var(--blue);
    color: var(--muted);
    font-size: 0.9rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.steps li { padding-top: 1rem; border-top: 2px solid var(--navy); counter-increment: step; }
.steps li::before {
    content: counter(step);
    display: block;
    color: var(--blue);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
}
.steps p { margin-top: 0.5rem; }

.prose { max-width: 44rem; }
.prose p + p { margin-top: 1rem; }
.prose h2 { margin: 2.5rem 0 0.75rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }

.contact-details { max-width: 36rem; margin: 2rem 0 0; }
.contact-details div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-details dt { flex: 0 0 9rem; color: var(--muted); }
.contact-details dd { margin: 0; font-weight: 600; }

.pending {
    background: var(--pending);
    color: var(--navy);
    border-radius: 3px;
    padding: 0.05rem 0.35rem;
    font-weight: 600;
}

.cta { background: var(--blue); color: var(--white); padding: 3.5rem 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta p { margin-top: 0.5rem; }

.site-footer { background: var(--navy); color: var(--white); padding: 2rem 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.site-footer a:hover { color: #a9cbff; }
.site-footer p { display: flex; align-items: center; flex-wrap: wrap; gap: 0 0.4rem; min-height: 44px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.text-link { display: inline-flex; align-items: center; min-height: 44px; }

.contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
