:root {
    --navy-950: #051525;
    --navy-900: #071d33;
    --navy-800: #0c2b49;
    --navy-700: #143d62;
    --blue: #4b78c4;
    --blue-bright: #1da7ff;
    --red: #d00000;
    --yellow: #ffc20e;
    --ivory: #f4f8fb;
    --white: #ffffff;
    --ink: #10253b;
    --muted: #64788d;
    --border: rgba(15, 57, 93, .14);
    --shadow: 0 22px 60px rgba(2, 20, 38, .10);
    --radius: 24px;
    --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: 16px; transform: translateY(-160%); background: var(--yellow); color: #111; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition: background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
.site-header.is-scrolled { background: rgba(5, 21, 37, .88); backdrop-filter: blur(16px); box-shadow: 0 12px 36px rgba(0,0,0,.14); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 220px; height: auto; aspect-ratio: 2036 / 677; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.82); font-size: .94rem; }
.main-nav a { position: relative; transition: color .2s ease; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--yellow); transition: right .2s ease; }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 9px 18px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; }
.language-switch { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .78rem; }
.language-switch span { color: rgba(255,255,255,.28); }
.language-switch a { color: rgba(255,255,255,.5); font-weight: 800; letter-spacing: .04em; }
.language-switch a::after { display: none !important; }
.language-switch a.is-active { color: var(--yellow); }

.hero {
    position: relative;
    min-height: 790px;
    display: grid;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(4, 20, 36, .22) 0%, rgba(4, 20, 36, .44) 38%, rgba(4, 20, 36, .93) 76%, rgba(4, 20, 36, .98) 100%),
        url('../img/hero-background.png') center / cover no-repeat;
    isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(to bottom, transparent, rgba(5,21,37,.42)); z-index: -1; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(97,176,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(97,176,255,.05) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to right, transparent 15%, black 100%); opacity: .35; z-index: -1; }
.hero-content { display: flex; justify-content: flex-end; padding-top: 76px; }
.hero-copy { width: min(640px, 57%); margin-left: auto; }
.eyebrow, .kicker { margin: 0 0 18px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--blue); }
.eyebrow { color: #dceeff; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 44px; height: 3px; border-radius: 10px; background: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 5.6vw, 5.7rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
h1 strong { display: inline-block; color: #fff; font-weight: 760; }
.hero-lead { max-width: 620px; color: rgba(255,255,255,.75); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 750; font-size: .96rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #111827; background: var(--yellow); box-shadow: 0 12px 28px rgba(255,194,14,.18); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(255,194,14,.28); }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.04); }
.button-large { min-height: 58px; padding-inline: 30px; white-space: nowrap; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-tags li { border-left: 2px solid rgba(76, 180, 255, .72); padding-left: 11px; color: #c9d9e8; font-size: .87rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: var(--yellow); transform: translateX(-50%); animation: scrollCue 1.8s ease infinite; }
@keyframes scrollCue { 0%,100% { opacity: .3; transform: translate(-50%,0); } 45% { opacity: 1; transform: translate(-50%,10px); } }

.section { padding: 110px 0; }
.section-light { background: #fff; }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--navy-900); color: #fff; }
.split-grid, .workflow-grid, .approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-heading h2, .governance-head h2, .workflow-copy h2, .approach-copy h2, .contact-inner h2 { margin-bottom: 0; font-size: clamp(2.35rem, 4vw, 4.25rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
h2 span { color: var(--blue); }
.section-copy { padding-top: 34px; color: var(--muted); font-size: 1.03rem; }
.section-copy .lead { color: var(--ink); font-size: 1.22rem; }
.core-flow { margin-top: 70px; display: grid; grid-template-columns: repeat(9, auto); align-items: stretch; gap: 12px; }
.flow-card { min-width: 0; padding: 24px 20px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(14,48,76,.05); }
.flow-card span { font-size: .72rem; font-weight: 900; color: var(--blue); }
.flow-card h3 { margin: 9px 0 8px; font-size: 1.08rem; }
.flow-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.flow-card-accent { color: white; background: var(--navy-800); border-color: var(--navy-800); }
.flow-card-accent span { color: var(--yellow); }
.flow-card-accent p { color: #c8d8e7; }
.flow-arrow { display: grid; place-items: center; color: var(--blue); font-size: 1.7rem; }

.workflow-section { overflow: hidden; position: relative; }
.workflow-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -250px; border: 1px solid rgba(77,169,255,.15); border-radius: 50%; box-shadow: 0 0 0 80px rgba(77,169,255,.03), 0 0 0 160px rgba(77,169,255,.02); }
.workflow-grid { grid-template-columns: .8fr 1.2fr; align-items: center; }
.kicker-light { color: #6fc5f5; }
.workflow-copy h2 span, .contact-inner h2 span { color: var(--yellow); }
.workflow-copy > p:not(.kicker) { color: #afc0d0; }
.workflow-pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.workflow-pill-row span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #d8e7f4; font-size: .82rem; }
.workflow-visual { margin: 0; border: 1px solid rgba(123,194,255,.15); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.25); background: #fff; }
.workflow-visual img { width: 100%; height: 100%; object-fit: cover; }

.governance-head { max-width: 860px; }
.governance-head > p:last-child { max-width: 720px; margin-top: 25px; color: var(--muted); font-size: 1.04rem; }
.governance-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.governance-card { position: relative; padding: 32px 26px; min-height: 230px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.governance-card h3 { margin: 45px 0 10px; font-size: 1.22rem; }
.governance-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.governance-card-dark { color: white; background: var(--navy-800); border-color: var(--navy-800); }
.governance-card-dark h3 { margin-top: 45px; }
.governance-card-dark p { color: #bdd0df; }
.dot { position: absolute; top: 29px; left: 26px; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(0,0,0,.03); }
.dot-red { background: var(--red); }.dot-blue { background: var(--blue); }.dot-yellow { background: var(--yellow); }

.approach-grid { grid-template-columns: .72fr 1.28fr; align-items: center; }
.approach-copy p:last-child { margin-top: 24px; color: var(--muted); }
.io-panel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: 26px; background: var(--ivory); }
.io-column { padding: 30px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.io-column h3 { margin-bottom: 20px; }
.io-column span { display: block; margin: 10px 0; padding: 9px 12px; border-radius: 999px; background: #eef4f8; color: #35536c; font-size: .88rem; }
.io-column-output { color: #fff; background: var(--navy-800); }
.io-column-output span { color: #e2edf6; background: rgba(70,135,187,.35); }
.io-arrow { color: var(--yellow); font-size: 2.7rem; font-weight: 800; }

.contact-section { padding: 90px 0; color: #fff; background: linear-gradient(115deg, var(--navy-900), #0d3658); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.contact-inner > div { max-width: 850px; }
.contact-inner > div > p:not(.kicker) { margin: 24px 0 0; max-width: 760px; color: #b9cada; }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin-top: 30px; max-width: 760px; }
.contact-links a { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-links strong { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-links span { color: #b9cada; font-size: .92rem; overflow-wrap: anywhere; }
.contact-links a:hover span { color: var(--yellow); }
.site-footer { color: #8ea5ba; background: var(--navy-950); padding: 38px 0; font-size: .82rem; }
.footer-inner { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 30px; }
.footer-brand { display: inline-flex; width: 190px; }
.footer-brand img { width: 100%; height: auto; aspect-ratio: 2036 / 677; object-fit: contain; object-position: left center; }
.footer-meta { display: grid; gap: 4px; }
.footer-inner p { margin: 0; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-contact a { color: #b7c8d7; transition: color .2s ease; }
.footer-contact a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .72s ease, transform .72s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
    .main-nav { gap: 20px; }
    .hero { min-height: 720px; background-position: 42% center; }
    .hero-copy { width: 61%; }
    .core-flow { grid-template-columns: repeat(5, 1fr); }
    .flow-arrow { display: none; }
    .governance-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-grid, .split-grid, .approach-grid { gap: 52px; }
}

@media (max-width: 820px) {
    .header-inner { min-height: 74px; }
    .brand img { width: 190px; }
    .nav-toggle { display: block; z-index: 1002; }
    .main-nav { position: fixed; inset: 0 0 auto; min-height: 100vh; padding: 110px 30px 40px; display: flex; flex-direction: column; align-items: flex-start; background: rgba(5,21,37,.98); transform: translateX(100%); transition: transform .28s ease; }
    .main-nav.is-open { transform: none; }
    .main-nav a { font-size: 1.25rem; }
    .hero { min-height: 760px; background-position: 36% center; }
    .hero::before { content: ""; position: absolute; inset: 0; background: rgba(5,21,37,.58); z-index: -1; }
    .hero-content { justify-content: flex-start; }
    .hero-copy { width: 100%; max-width: 640px; }
    .section { padding: 82px 0; }
    .split-grid, .workflow-grid, .approach-grid { grid-template-columns: 1fr; }
    .section-copy { padding-top: 0; }
    .core-flow { grid-template-columns: 1fr 1fr; }
    .governance-grid { grid-template-columns: 1fr 1fr; }
    .contact-inner { align-items: flex-start; flex-direction: column; gap: 30px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-contact { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .hero { min-height: 720px; background-position: 31% center; }
    h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
    .hero-lead { font-size: 1rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .hero-tags { display: grid; }
    .section-heading h2, .governance-head h2, .workflow-copy h2, .approach-copy h2, .contact-inner h2 { font-size: 2.45rem; }
    .core-flow, .governance-grid { grid-template-columns: 1fr; }
    .io-panel { grid-template-columns: 1fr; }
    .io-arrow { transform: rotate(90deg); justify-self: center; }
    .workflow-visual { border-radius: 14px; }
    .workflow-visual img { min-height: 190px; object-fit: cover; object-position: center; }
    .footer-brand { width: 160px; }
    .contact-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
