:root {
    --blue: #0b3b5a;
    --blue-deep: #072b44;
    --blue-light: #eaf2f8;
    --blue-pale: #f5f9fc;
    --text: #263d4a;
    --muted: #667b87;
    --line: #c9d8e1;
    --white: #ffffff;
    --accent: #176ba0;
    --focus: #efc85c;
    --container: 1120px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Aptos, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-underline-offset: 0.22em;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: var(--white);
    color: var(--blue-deep);
    font-weight: 800;
    transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.container {
    width: min(var(--container), calc(100% - 3rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(7, 43, 68, 0.12);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
    gap: 2rem;
}

.brand {
    color: var(--blue-deep);
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: var(--blue-deep);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-contact {
    padding: 0.6rem 0.95rem;
    border: 1px solid var(--blue);
}

.hero {
    display: flex;
    min-height: 720px;
    align-items: center;
    border-bottom: 18px solid var(--blue-deep);
    background: var(--blue-light);
}

.hero-inner { padding-block: 6rem; }

.kicker,
.section-label p,
.app-category {
    margin: 0 0 1.2rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { color: var(--blue-deep); }

h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(4rem, 10vw, 8.5rem);
    font-weight: 850;
    letter-spacing: -0.075em;
    line-height: 0.9;
}

.hero-role {
    max-width: 790px;
    margin: 2.4rem 0 0;
    color: var(--blue);
    font-size: clamp(1.35rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.hero-note {
    margin: 1.2rem 0 2.2rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    background: var(--blue-deep);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
    background: #11587f;
    transform: translateY(-2px);
}

.section { padding-block: clamp(5rem, 9vw, 8.5rem); }

.editorial-grid {
    display: grid;
    grid-template-columns: 180px minmax(0, 760px);
    gap: clamp(2rem, 7vw, 7rem);
    justify-content: space-between;
}

.section-label { padding-top: 0.35rem; }

.section-content h2,
.tools-heading h2,
.contact h2 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    font-weight: 820;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.intro-text {
    margin: 2rem 0 1.2rem;
    color: var(--blue);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 650;
    line-height: 1.52;
}

.section-content > p:last-child { max-width: 700px; }

.tools { background: var(--blue-light); }

.tools-heading {
    display: grid;
    grid-template-columns: 180px minmax(0, 760px);
    gap: clamp(2rem, 7vw, 7rem);
    justify-content: space-between;
    margin-bottom: 4rem;
}

.tools-heading .kicker { padding-top: 0.35rem; }

.apps-grid { border-top: 1px solid #9fbbc9; }

.app-card {
    display: grid;
    grid-template-columns: minmax(120px, 0.38fr) minmax(0, 1.62fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
    padding-block: 2.75rem;
    border-bottom: 1px solid #9fbbc9;
}

.app-number {
    margin: 0;
    color: var(--blue-deep);
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 850;
    letter-spacing: -0.065em;
    line-height: 0.9;
}

.app-category { margin-bottom: 0.55rem; }

.app-card h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.app-card-content > p:not(.app-category) {
    max-width: 650px;
    margin: 0 0 1.25rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.app-link:hover { text-decoration: underline; }
.app-link span { transition: transform 160ms ease; }
.app-link:hover span { transform: translateX(4px); }

.notice { background: var(--blue-pale); }

.contact {
    background: var(--blue-deep);
    color: #d6e3ea;
}

.contact .kicker { color: #78bddf; }
.contact h2 { color: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.contact-card { padding-top: 0.45rem; }

.email-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.email-link:hover { text-decoration: underline; }

.contact-card p {
    max-width: 610px;
    color: #acc3cf;
    font-size: 0.9rem;
}

.site-footer {
    padding-block: 2.4rem;
    background: #051f31;
    color: #b9cbd4;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.footer-inner p,
.footer-meta p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
}

.profile-name {
    margin-bottom: 0.2rem !important;
    color: var(--white);
    font-weight: 800;
}

.footer-meta { text-align: right; }
.footer-meta a { color: var(--white); font-size: 0.86rem; }
.footer-meta p { margin-top: 0.35rem; }

@media (max-width: 860px) {
    nav a:not(.nav-contact) { display: none; }
    .hero { min-height: 650px; }
    .editorial-grid,
    .tools-heading,
    .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .app-card { grid-template-columns: 90px 1fr; gap: 1.5rem; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .footer-meta { text-align: left; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .container { width: min(var(--container), calc(100% - 2rem)); }
    .header-inner { min-height: 68px; }
    .brand { font-size: 1rem; }
    .nav-contact { padding: 0.5rem 0.75rem; }
    .hero { min-height: 600px; }
    .hero-inner { padding-block: 4.5rem; }
    h1 { font-size: clamp(3.75rem, 20vw, 5.6rem); }
    .section { padding-block: 4.5rem; }
    .tools-heading { margin-bottom: 2.5rem; }
    .app-card { grid-template-columns: 1fr; padding-block: 2rem; }
    .app-number { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
